/* ============================================
   CONDUIT - A Premium Landing Page
   ============================================ */

:root {
    /* Color Palette - Warm Dark Theme with Coral Accent */
    --bg-deep: #0a0a0c;
    --bg-surface: #111114;
    --bg-elevated: #18181c;
    --bg-card: #1e1e24;
    
    --accent: #ff6b4a;
    --accent-light: #ff8a70;
    --accent-glow: rgba(255, 107, 74, 0.4);
    --accent-subtle: rgba(255, 107, 74, 0.1);
    
    --text-primary: #fafafa;
    --text-secondary: #a8a8b8;
    --text-muted: #64647a;
    
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    
    /* Typography - Editorial System */
    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-serif: 'Crimson Pro', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Type Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;
    --text-7xl: 6rem;
    
    /* Spacing */
    --section-gap: 8rem;
    --container-max: 1200px;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   BASE & RESET
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.65;
    letter-spacing: -0.011em;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   GRAIN OVERLAY
   ============================================ */

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   FLOATING ORBS
   ============================================ */

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff3d00 100%);
    top: -200px;
    right: -200px;
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    bottom: 20%;
    left: -150px;
    opacity: 0.1;
    animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    bottom: -100px;
    right: 20%;
    opacity: 0.08;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-lg);
    letter-spacing: -0.02em;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-mark {
    color: var(--accent);
    font-size: 1.375rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.nav-cta:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.nav-cta svg {
    transition: transform 0.3s var(--ease-out);
}

.nav-cta:hover svg {
    transform: translate(2px, -2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s var(--ease-out);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 0 4rem;
    position: relative;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s var(--ease-out) backwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent-subtle);
    border: 1px solid rgba(255, 107, 74, 0.2);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-light);
}

.social-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

.social-badge:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.social-badge svg {
    opacity: 0.6;
    flex-shrink: 0;
}

.social-badge:hover svg {
    opacity: 1;
}

.badge-value {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 1.25ch;
    text-align: center;
    transition: all 0.3s var(--ease-out);
}

.badge-value.loaded {
    animation: countPop 0.4s var(--ease-bounce);
}

@keyframes countPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.badge-label {
    color: var(--text-muted);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.25rem, 12vw, 7rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.035em;
    margin-bottom: 1.75rem;
    animation: fadeInUp 0.8s var(--ease-out) 0.1s backwards;
}

.title-line {
    display: block;
}

.title-line:first-child {
    font-weight: 400;
    color: var(--text-secondary);
}

.title-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #ff9a7a 40%, var(--accent-light) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.title-dot {
    -webkit-text-fill-color: var(--accent);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s backwards;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s backwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: -0.01em;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 24px -4px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px -4px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--bg-deep);
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero Device */
.hero-device {
    position: relative;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s backwards;
}

.device-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.device-frame {
    position: relative;
    width: 280px;
    border-radius: 32px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 32px 64px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.device-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 0 0 1px rgba(255, 107, 74, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 24px 48px rgba(0, 0, 0, 0.3),
        0 48px 96px rgba(0, 0, 0, 0.4),
        0 0 80px -20px var(--accent-glow);
}

.device-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.device-reflection {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
    transform: scaleY(-1);
    opacity: 0.3;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   REVIEWS SECTION
   ============================================ */

.reviews {
    padding: calc(var(--section-gap) * 0.75) 0;
    background: var(--bg-deep);
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--border);
}

/* Rating Pills */
.reviews-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.stat-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--bg-elevated);
    border-radius: 50%;
    color: var(--text-secondary);
}

.stat-pill-icon.ios {
    color: #a3a3a3;
}

.stat-pill-icon.android {
    color: #3ddc84;
}

.stat-pill-value {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.stat-pill-label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--text-muted);
    letter-spacing: -0.01em;
}

/* Marquee Container */
.reviews-marquee {
    position: relative;
    overflow: hidden;
    margin: 0 -2rem;
    padding: 0.75rem 0;
}

.reviews-marquee::before,
.reviews-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.reviews-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-deep) 0%, transparent 100%);
}

.reviews-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-deep) 0%, transparent 100%);
}

/* Marquee Track */
.marquee-track {
    display: flex;
    gap: 1rem;
    width: max-content;
}

.marquee-left {
    animation: marqueeLeft 40s linear infinite;
}

.marquee-right {
    animation: marqueeRight 35s linear infinite;
}

/* Translate by exactly half + half a gap to align with duplicate set */
@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.5rem)); }
}

@keyframes marqueeRight {
    0% { transform: translateX(calc(-50% - 0.5rem)); }
    100% { transform: translateX(0); }
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* Review Cards */
.review-card {
    flex: 0 0 auto;
    width: 340px;
    padding: 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    position: relative;
    transition: all 0.3s var(--ease-out);
}

.review-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-elevated);
    transform: translateY(-2px);
}

.review-card[data-platform="ios"] {
    border-top: 2px solid rgba(163, 163, 163, 0.3);
}

.review-card[data-platform="android"] {
    border-top: 2px solid rgba(61, 220, 132, 0.3);
}

.review-text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.review-rating {
    font-size: var(--text-xs);
    color: #fbbf24;
    letter-spacing: 0.05em;
}

.review-author {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}

.review-platform-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--bg-card);
    border-radius: 6px;
    color: #a3a3a3;
}

.review-platform-badge.android {
    color: #3ddc84;
}

/* Reviews CTA */
.reviews-cta {
    text-align: center;
    margin-top: 3rem;
}

.reviews-cta p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.reviews-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.review-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.review-link:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.review-link.ios:hover {
    color: #fff;
}

.review-link.android:hover {
    color: #3ddc84;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: var(--section-gap) 0;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Hero Feature */
.feature-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.1) 0%, rgba(255, 107, 74, 0.02) 100%);
    border: 1px solid rgba(255, 107, 74, 0.2);
    border-radius: 24px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.feature-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(255, 107, 74, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.feature-hero-content {
    position: relative;
    z-index: 1;
}

.feature-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.feature-hero-badge svg {
    width: 12px;
    height: 12px;
}

.feature-hero h3 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-hero > .feature-hero-content > p {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 1.5rem;
}

.feature-hero-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.feature-hero-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.feature-hero-list svg {
    color: var(--accent);
    flex-shrink: 0;
}

.feature-hero-visual {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-hero-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff3d00 100%);
    border-radius: 28px;
    color: #fff;
    box-shadow: 0 16px 48px -8px var(--accent-glow);
}

.feature-hero-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.feature-hero-rings .ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 107, 74, 0.2);
    border-radius: 50%;
    animation: heroRingPulse 3s ease-out infinite;
}

.feature-hero-rings .ring:nth-child(1) {
    width: 120px;
    height: 120px;
    animation-delay: 0s;
}

.feature-hero-rings .ring:nth-child(2) {
    width: 150px;
    height: 150px;
    animation-delay: 0.5s;
}

.feature-hero-rings .ring:nth-child(3) {
    width: 180px;
    height: 180px;
    animation-delay: 1s;
}

@keyframes heroRingPulse {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Feature Categories */
.feature-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.feature-category {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s var(--ease-out);
}

.feature-category:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent-subtle);
    border-radius: 10px;
    color: var(--accent);
}

.category-header h4 {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.category-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-feature {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.mini-feature-name {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.mini-feature-desc {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    color: var(--text-muted);
    letter-spacing: -0.01em;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: var(--section-gap) 0;
    background: var(--bg-deep);
    overflow: hidden;
    border-top: 1px solid var(--border);
}

.gallery-showcase {
    position: relative;
    padding: 2rem 0;
    max-width: 100vw;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-showcase::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1.5rem;
    min-width: max-content;
}


.gallery-item {
    flex: 0 0 auto;
    width: min(240px, 28vw);
    scroll-snap-align: center;
    position: relative;
}

.gallery-item img {
    width: 100%;
    max-height: min(520px, 55vh);
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 12px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s var(--ease-out);
    border: 1px solid var(--border);
}

.gallery-item:hover img {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 24px 64px rgba(0, 0, 0, 0.4),
        0 0 60px -20px var(--accent-glow);
    border-color: rgba(255, 107, 74, 0.3);
}

.gallery-label {
    display: block;
        text-align: center;
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.gallery-item:hover .gallery-label {
    color: var(--accent);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: var(--section-gap) 0;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
}

.cta-card {
    position: relative;
    padding: 4rem;
    background: linear-gradient(135deg, var(--accent) 0%, #e55a3a 100%);
    border-radius: 32px;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta-card p {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
        justify-content: center;
    gap: 1rem;
        flex-wrap: wrap;
}

.cta-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: ringPulse 4s ease-out infinite;
}

.cta-ring:nth-child(1) {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.cta-ring:nth-child(2) {
    width: 400px;
    height: 400px;
    animation-delay: 0.5s;
}

.cta-ring:nth-child(3) {
    width: 600px;
    height: 600px;
    animation-delay: 1s;
}

@keyframes ringPulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.7;
    letter-spacing: -0.01em;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

.footer-col h4 {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col a {
    display: block;
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--text-muted);
    padding: 0.375rem 0;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: -0.01em;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-out);
}

.footer-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: 0.05s; }
.feature-card:nth-child(3) { transition-delay: 0.1s; }
.feature-card:nth-child(4) { transition-delay: 0.15s; }
.feature-card:nth-child(5) { transition-delay: 0.2s; }
.feature-card:nth-child(6) { transition-delay: 0.25s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .feature-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-hero-content p {
        max-width: 100%;
    }
    
    .feature-hero-list {
        align-items: center;
    }
    
    .feature-hero-visual {
        margin: 0 auto;
        width: 150px;
        height: 150px;
    }
    
    .feature-hero-icon {
        width: 80px;
        height: 80px;
        border-radius: 24px;
    }
    
    .feature-hero-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .feature-hero-rings .ring:nth-child(1) { width: 100px; height: 100px; }
    .feature-hero-rings .ring:nth-child(2) { width: 125px; height: 125px; }
    .feature-hero-rings .ring:nth-child(3) { width: 150px; height: 150px; }
    
    .review-card {
        width: 300px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .btn {
        width: 100%;
    }
    
    .feature-hero {
        padding: 2rem;
    }
    
    .feature-hero-visual {
        display: none;
    }
    
    .feature-hero-list {
        align-items: flex-start;
    }
    
    .feature-hero {
        text-align: left;
    }
    
    .feature-categories {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        width: min(200px, 40vw);
    }
    
    .gallery-item img {
        max-height: min(400px, 50vh);
    }
    
    /* Reviews responsive */
    .reviews-stats {
        gap: 0.75rem;
    }
    
    .stat-pill {
        padding: 0.375rem 0.75rem 0.375rem 0.375rem;
    }
    
    .stat-pill-value {
        font-size: var(--text-base);
    }
    
    .review-card {
        width: 280px;
    }
    
    .reviews-marquee::before,
    .reviews-marquee::after {
        width: 60px;
    }
    
    .reviews-links {
        flex-direction: column;
        align-items: center;
    }
    
    .review-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .cta-card {
        padding: 3rem 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
        line-height: 0.98;
    }
    
    .hero-subtitle {
        font-size: var(--text-base);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .device-frame {
        width: 240px;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Reviews smallest screens */
    .review-card {
        width: 260px;
        padding: 1.25rem;
    }
    
    .reviews-marquee::before,
    .reviews-marquee::after {
        width: 40px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SHORT VIEWPORT ADJUSTMENTS
   ============================================ */

@media (max-height: 700px) {
    .gallery {
        padding: 4rem 0;
    }
    
    .gallery-item img {
        max-height: 45vh;
    }
    
    .gallery-showcase {
        padding: 1rem 0;
    }
}

@media (max-height: 600px) {
    .gallery-item img {
        max-height: 40vh;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
}

/* ============================================
   SELECTION
   ============================================ */

::selection {
    background: var(--accent);
    color: #fff;
}

::-moz-selection {
    background: var(--accent);
    color: #fff;
}
