/* CSS Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Premium Color Palette - Dark + Terracotta Brand Identity */
    --color-primary: #0A0E14;
    --color-primary-elevated: #12161E;
    --color-gradient: #202734;

    /* Refined Terracotta Spectrum */
    --blue-900: #5F2E1E;
    --blue-800: #6F3B2B;
    --blue-700: #804A3D;
    --blue-600: #A5614A;
    --blue-500: #BE7A5B;
    --blue-400: #CE8E6D;
    --blue-300: #DE9F7A;
    --blue-200: #E8B38F;
    --blue-100: #F2C7A8;

    /* Accent Colors */
    --color-accent: #804A3D;
    --color-accent-light: #A5614A;
    --cyan-bright: #E8906B;
    --cyan-glow: #F5AB8F;

    /* Text Colors */
    --color-text: #FFFFFF;
    --color-text-muted: #A0AEC0;

    /* Surface Layers - Premium Opacity Values */
    --surface-base: rgba(255, 255, 255, 0.02);
    --surface-elevated: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --surface-active: rgba(255, 255, 255, 0.08);

    /* Border System */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(232, 144, 107, 0.12);
    --border-strong: rgba(232, 144, 107, 0.25);

    /* Premium Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, #804A3D 0%, #A5614A 25%, #BE7A5B 50%, #DE9F7A 75%, #E8B38F 100%);
    --gradient-accent: linear-gradient(90deg, #A5614A, #E8906B);
    --gradient-hero: linear-gradient(135deg, #BE7A5B, #DE9F7A, #F5AB8F);
    --gradient-animated: linear-gradient(90deg, #BE7A5B 0%, #DE9F7A 20%, #E8B38F 40%, #F2C7A8 60%, #DE9F7A 80%, #BE7A5B 100%);
    --gradient-card-glow: linear-gradient(145deg, rgba(128, 74, 61, 0.08) 0%, rgba(232, 144, 107, 0.04) 50%, rgba(245, 171, 143, 0.06) 100%);
    --gradient-text-premium: linear-gradient(120deg, #FFFFFF 0%, #FCF0E8 30%, #DE9F7A 70%, #E8906B 100%);

    /* Premium Shadow & Glow System */
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    --shadow-3: 0 4px 8px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.08), 0 16px 32px rgba(0, 0, 0, 0.06);
    --shadow-4: 0 8px 16px rgba(0, 0, 0, 0.1), 0 16px 32px rgba(0, 0, 0, 0.1), 0 24px 48px rgba(0, 0, 0, 0.08);

    --glow-blue-soft: 0 0 60px rgba(232, 144, 107, 0.15);
    --glow-blue-medium: 0 0 80px rgba(232, 144, 107, 0.25);
    --glow-blue-strong: 0 0 100px rgba(245, 171, 143, 0.35);
    --glow-cyan-soft: 0 0 60px rgba(245, 171, 143, 0.15);
    --glow-cyan-strong: 0 0 100px rgba(245, 171, 143, 0.3);

    /* Premium Typography System */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --tracking-tight: -0.02em;
    --tracking-normal: 0;

    /* Layout */
    --max-width: 1200px;

    /* Premium Spacing Scale - 8px Grid System */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px - base */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px - medium */
    --space-8: 2rem;      /* 32px - large */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px - 2xl */
    --space-16: 4rem;     /* 64px - 3xl */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px - section spacing */
    --space-32: 8rem;     /* 128px */

    /* Component-specific spacing */
    --card-padding: clamp(1.5rem, 3vw, 2rem);
    --grid-gap: clamp(1.5rem, 3vw, 2.5rem);
    --section-padding-y: clamp(5rem, 12vw, 8rem);
    --section-padding-x: clamp(1.5rem, 5vw, 3rem);

    /* Premium Border Radius System */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --radius-2xl: 36px;
    --radius-3xl: 48px;
    --radius-full: 9999px;

    /* Premium Animation & Easing */
    --ease-premium: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-entrance: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-exit: cubic-bezier(0.6, 0, 0.8, 0.4);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.45, 0, 0.55, 1);

    --duration-instant: 100ms;
    --duration-fast: 200ms;
    --duration-base: 300ms;
    --duration-medium: 350ms;
    --duration-slow: 450ms;
    --duration-slower: 600ms;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--color-primary);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
    font-size: 1.0625rem; /* 17px - refined from 16px */
    letter-spacing: -0.003em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;

    /* Subtle radial gradient overlays for depth */
    background-image:
        radial-gradient(at 20% 30%, rgba(128, 74, 61, 0.08) 0%, transparent 50%),
        radial-gradient(at 80% 70%, rgba(232, 144, 107, 0.06) 0%, transparent 50%);
}

/* Enhanced grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

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

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

/* Premium Typography Hierarchy */
h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
}

h1 {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: var(--space-16);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h3 {
    font-size: 1.375rem; /* 22px */
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.35;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

section {
    padding: var(--space-24) var(--space-8);
}

/* Hero Section - Premium Polish */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(6rem, 15vh, 10rem) clamp(1.5rem, 5vw, 3rem);
    gap: var(--space-24);
    position: relative;
}

/* Radial glow background effect */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle,
        rgba(232, 144, 107, 0.08) 0%,
        rgba(128, 74, 61, 0.04) 30%,
        transparent 70%
    );
    pointer-events: none;
    filter: blur(60px);
    z-index: 0;
}

.hero-content {
    max-width: 600px;
    animation: fadeUp 0.8s var(--ease-entrance) both;
    position: relative;
    z-index: 1;
}

.hero-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.hero-icon {
    width: clamp(2.5rem, 6vw, 4rem);
    height: clamp(2.5rem, 6vw, 4rem);
    border-radius: 10px;
}

.hero h1 {
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.04em;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: var(--space-5);
    background: var(--gradient-animated);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
    animation: gradientFlow 8s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(245, 171, 143, 0.3));
}

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

.hero-description {
    font-size: 1.375rem; /* 22px */
    font-weight: 450;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-16);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    letter-spacing: -0.008em;
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    justify-content: center;
}

.store-button {
    display: block;
    transition:
        transform var(--duration-medium) var(--ease-bounce),
        filter var(--duration-base) var(--ease-premium),
        box-shadow var(--duration-slow) var(--ease-entrance);
}

.store-button img {
    height: 52px;
    width: auto;
    display: block;
}

.store-button:hover {
    filter: brightness(1.1);
}


.hero-image {
    max-width: 280px;
    width: 100%;
    animation: fadeUp 0.8s var(--ease-entrance) 0.2s both;
    position: relative;
    z-index: 1;
}

/* Premium Phone Mockup */
.phone-mockup {
    background: linear-gradient(145deg, #1F1F1F 0%, #0A0A0A 100%);
    border-radius: var(--radius-3xl);
    padding: 8px;
    box-shadow:
        0 32px 64px -16px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(232, 144, 107, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 2px 2px rgba(255, 255, 255, 0.08),
        inset 0 -2px 2px rgba(0, 0, 0, 0.4);
    transition: transform 400ms var(--ease-entrance), box-shadow 400ms var(--ease-entrance);
    animation: phonePulse 4s ease-in-out infinite;
    will-change: transform;
}

.phone-mockup:hover {
    box-shadow:
        0 32px 64px -16px rgba(0, 0, 0, 0.6),
        0 0 90px rgba(245, 171, 143, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 2px 2px rgba(255, 255, 255, 0.08),
        inset 0 -2px 2px rgba(0, 0, 0, 0.4);
}

@keyframes phonePulse {
    0%, 100% {
        box-shadow:
            0 32px 64px -16px rgba(0, 0, 0, 0.6),
            0 0 70px rgba(232, 144, 107, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.08),
            inset 0 2px 2px rgba(255, 255, 255, 0.08),
            inset 0 -2px 2px rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow:
            0 32px 64px -16px rgba(0, 0, 0, 0.6),
            0 0 100px rgba(245, 171, 143, 0.35),
            0 0 0 1px rgba(255, 255, 255, 0.08),
            inset 0 2px 2px rgba(255, 255, 255, 0.08),
            inset 0 -2px 2px rgba(0, 0, 0, 0.4);
    }
}

.phone-mockup img {
    border-radius: 42px;
    width: 100%;
    display: block;
    border: 4px solid rgba(255, 255, 255, 0.12);
}

/* Features Section - Premium Glassmorphism */
.features {
    max-width: var(--max-width);
    margin: 0 auto;
}

.features h2 {
    margin-bottom: var(--space-24);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: stretch;
}

.feature-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(128, 74, 61, 0.03);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    transition:
        transform 300ms var(--ease-entrance),
        border-color 200ms var(--ease-premium),
        box-shadow 300ms var(--ease-entrance);
    display: flex;
    flex-direction: column;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    will-change: transform;
}

.feature-card:hover {
    border-color: var(--border-strong);
}

/* Premium Feature Icons with Gradients */
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    transition: transform 250ms var(--ease-entrance);
    will-change: transform;
}

.feature-card:hover .feature-icon {
    /* no transform */
}

.feature-icon svg {
    color: var(--color-text);
}

/* Individual gradient backgrounds for icons */
.feature-icon.icon-blocking {
    background: linear-gradient(135deg, #8B4A3A 0%, #A5614A 100%);
}
.feature-icon.icon-journal {
    background: linear-gradient(135deg, #6F4A3B 0%, #8B5E4A 100%);
}
.feature-icon.icon-search {
    background: linear-gradient(135deg, #8B6145 0%, #A57A5B 100%);
}
.feature-icon.icon-privacy {
    background: linear-gradient(135deg, #5A6B4A 0%, #6D7D5C 100%);
}
.feature-icon.icon-tagging {
    background: linear-gradient(135deg, #8B5A6B 0%, #A56D7D 100%);
}
.feature-icon.icon-schedule {
    background: linear-gradient(135deg, #8B7A45 0%, #A5945B 100%);
}
.feature-icon.icon-prompts {
    background: linear-gradient(135deg, #7A6B5A 0%, #948272 100%);
}
.feature-icon.icon-customise {
    background: linear-gradient(135deg, #6B6560 0%, #857F7A 100%);
}

/* Enhanced glow on hover for each icon */
.feature-card:hover .icon-blocking { box-shadow: 0 8px 32px rgba(139, 74, 58, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }
.feature-card:hover .icon-journal { box-shadow: 0 8px 32px rgba(111, 74, 59, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }
.feature-card:hover .icon-search { box-shadow: 0 8px 32px rgba(139, 97, 69, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }
.feature-card:hover .icon-privacy { box-shadow: 0 8px 32px rgba(90, 107, 74, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }
.feature-card:hover .icon-tagging { box-shadow: 0 8px 32px rgba(139, 90, 107, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }
.feature-card:hover .icon-schedule { box-shadow: 0 8px 32px rgba(139, 122, 69, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }
.feature-card:hover .icon-prompts { box-shadow: 0 8px 32px rgba(122, 107, 90, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }
.feature-card:hover .icon-customise { box-shadow: 0 8px 32px rgba(107, 101, 96, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }

.feature-card h3 {
    margin-bottom: var(--space-2);
    font-size: 1.375rem;
    font-weight: 650;
    line-height: 1.35;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}

/* Screenshots Section */
.screenshots {
    max-width: var(--max-width);
    margin: 0 auto;
    overflow: hidden;
}

.screenshots h2 {
    margin-bottom: var(--space-24);
}

.screenshots-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    justify-items: center;
}

.screenshot-item {
    text-align: center;
    max-width: 280px;
    width: 100%;
}

.screenshot-item .phone-mockup {
    margin-bottom: var(--space-6);
}

.screenshot-item h3 {
    margin-bottom: var(--space-2);
    font-size: 1.1875rem;
}

.screenshot-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.7;
}

/* Use Cases Section - Premium Scrolling Tags */
.use-cases {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
}

.use-cases h2 {
    margin-bottom: var(--space-24);
    padding-left: var(--space-8);
    padding-right: var(--space-8);
}

.scroll-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-16);
    padding: var(--space-8) 0;
    width: 100%;
    overflow: hidden;
}

.scroll-row {
    display: flex;
    width: max-content;
}

.scroll-content {
    display: flex;
    gap: var(--space-4);
    padding-right: var(--space-4);
}

.habit-tag {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 0.875rem 1.75rem;
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    white-space: nowrap;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transition: transform 200ms var(--ease-premium), border-color 200ms var(--ease-premium);
}

.habit-tag:hover {
    border-color: rgba(232, 144, 107, 0.3);
}

/* Entrance animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Infinite scroll animations */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.scroll-left {
    animation: scroll-left 50s linear infinite;
}

.scroll-right {
    animation: scroll-right 50s linear infinite;
}

.scroll-slow {
    animation-duration: 70s;
}

/* Removed hover pause to prevent jank */

.use-cases-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    font-style: normal;
    max-width: 520px;
    margin: 0 auto;
    padding-left: var(--space-8);
    padding-right: var(--space-8);
    line-height: 1.7;
}

/* Testimonials Section - Premium Cards */
.testimonials {
    max-width: var(--max-width);
    margin: 0 auto;
}

.testimonials h2 {
    margin-bottom: var(--space-24);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.testimonial-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(128, 74, 61, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 2.5rem);
    position: relative;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    transition: transform 300ms var(--ease-entrance), border-color 200ms var(--ease-premium), box-shadow 300ms var(--ease-entrance);
    will-change: transform;
}

.testimonial-card:hover {
    border-color: var(--border-strong);
}

/* Premium quotation mark with terracotta tint */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    font-weight: 700;
    color: rgba(232, 144, 107, 0.05);
    line-height: 0.8;
    pointer-events: none;
}

.stars {
    font-size: 1.375rem;
    margin-bottom: var(--space-4);
    letter-spacing: 6px;
    background: linear-gradient(90deg, #DE9F7A, #E8B38F, #F2C7A8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(245, 171, 143, 0.3));
}

.testimonial-text {
    font-size: 1.05rem;
    margin-bottom: var(--space-4);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-author {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* FAQ Section - Premium Accordion */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq h2 {
    margin-bottom: var(--space-24);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 400ms var(--ease-entrance);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(232, 144, 107, 0.18);
}

.faq-item.open {
    background: linear-gradient(135deg, rgba(128, 74, 61, 0.12) 0%, rgba(128, 74, 61, 0.06) 100%);
    border-color: rgba(232, 144, 107, 0.35);
    box-shadow:
        0 8px 32px rgba(128, 74, 61, 0.2),
        0 0 0 1px rgba(232, 144, 107, 0.15) inset;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 650;
    letter-spacing: -0.015em;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
    transition: background 250ms var(--ease-premium);
    line-height: 1.4;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-question:active {
    /* no transform */
}

.faq-icon {
    font-size: 1.75rem;
    font-weight: 300;
    transition:
        transform 400ms var(--ease-bounce),
        color 300ms var(--ease-premium);
    flex-shrink: 0;
    color: rgba(245, 171, 143, 0.8);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg) scale(1.1);
    color: rgba(245, 171, 143, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 500ms var(--ease-entrance),
        opacity 400ms var(--ease-premium);
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    font-size: 1.05rem;
}

/* Final CTA Section - Premium Finish */
.final-cta {
    text-align: center;
    padding: clamp(6rem, 15vh, 10rem) var(--space-8);
    position: relative;
    overflow: hidden;
    background: radial-gradient(
        ellipse at center,
        rgba(128, 74, 61, 0.12) 0%,
        rgba(128, 74, 61, 0.04) 40%,
        transparent 70%
    );
}

.final-cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-5);
    background: linear-gradient(120deg, #FFFFFF 0%, #DE9F7A 50%, #E8B38F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(245, 171, 143, 0.25));
}

.final-cta p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.0625rem;
    margin-bottom: var(--space-16);
    line-height: 1.6;
}

.final-cta .store-buttons {
    justify-content: center;
}

/* Footer - Premium Polish */
.footer {
    text-align: center;
    padding: var(--space-24) var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4) var(--space-8);
    margin-bottom: var(--space-16);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    transition: color var(--duration-base) var(--ease-premium);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #DE9F7A, #E8B38F);
    transition: width 400ms var(--ease-entrance);
    border-radius: 2px;
}

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

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.875rem;
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
    section {
        padding: var(--space-16) var(--space-4);
    }

    .hero {
        padding: var(--space-16) var(--space-4);
        gap: var(--space-16);
        min-height: auto;
        padding-top: var(--space-24);
        padding-bottom: var(--space-24);
    }

    .hero-content,
    .hero-image {
        animation: none;
        opacity: 1;
    }

    .store-button img {
        height: 56px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
    }

    .feature-card {
        padding: var(--space-4);
    }

    .faq-item.open .faq-answer {
        max-height: 300px;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-4);
    }

    .use-cases {
        padding-left: 0;
        padding-right: 0;
    }

    .use-cases h2 {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-tagline {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}

/* Responsive Design - Intermediate (Testimonials) */
@media (min-width: 640px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card:nth-child(3):last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        text-align: left;
        gap: var(--space-24);
        padding: var(--space-32) var(--space-24);
    }

    .hero-content {
        flex: 1;
    }

    .hero-brand {
        justify-content: flex-start;
    }

    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }

    .store-buttons {
        justify-content: flex-start;
    }

    .hero-image {
        max-width: 340px;
    }

    .features-grid {
        gap: var(--grid-gap);
    }

    .screenshots-container {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-8);
        align-items: start;
    }

    .screenshot-item {
        max-width: 280px;
    }

    .testimonials-grid {
        gap: var(--space-8);
        align-items: stretch;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Reset third card centering for 3-column layout */
    .testimonial-card:nth-child(3):last-child {
        grid-column: auto;
        max-width: 100%;
        margin: 0;
    }

    /* Center testimonial emphasized */
    .testimonial-card:nth-child(2) {
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%),
            rgba(128, 74, 61, 0.05);
    }

    section {
        padding: var(--space-32) var(--space-24);
    }

    .hero {
        padding: var(--space-32) var(--space-24);
        gap: var(--space-32);
    }

    .hero-icon {
        width: 4rem;
        height: 4rem;
    }

    .hero-image {
        max-width: 380px;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .screenshot-item {
        max-width: 300px;
    }
}

/* Accessibility - Respect User Preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Premium Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--blue-300);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Premium Selection Color */
::selection {
    background: var(--blue-600);
    color: var(--color-text);
}
