/* ==========================================================================
   Critical Med - Johnny Ive Inspired Minimalist Design
   Clean. White. Purposeful.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Colors - Minimal palette */
    --white: #FFFFFF;
    --black: #000000;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F7;
    --gray-200: #E8E8ED;
    --gray-300: #D2D2D7;
    --gray-400: #86868B;
    --gray-500: #6E6E73;
    --gray-600: #424245;
    --gray-900: #1D1D1F;

    /* Navy */
    --navy-dark: #0A1628;
    --navy: #1D3557;

    /* Accent - Subtle blue like Apple */
    --blue: #0071E3;
    --blue-hover: #0077ED;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-gap: 160px;
    --container: 980px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --duration: 0.4s;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.5;
    color: var(--gray-600);
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3 {
    color: var(--gray-900);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(32px, 5vw, 48px);
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

p {
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--font);
    font-size: 17px;
    font-weight: 500;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}

.btn-primary {
    background: var(--gray-900);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--black);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-900);
}

.btn-ghost:hover {
    color: var(--blue);
}

.btn-ghost svg {
    transition: transform var(--duration) var(--ease);
}

.btn-ghost:hover svg {
    transform: translateY(3px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

.apple-icon {
    width: 20px;
    height: 20px;
}

/* Store Badges */
.store-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-badge {
    height: 54px;
    width: auto;
    transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.store-badge:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Announcement Banner
   -------------------------------------------------------------------------- */
.announcement-banner {
    background: var(--navy-dark);
    color: var(--white);
    text-align: center;
    padding: 12px 24px;
    font-size: 14px;
    position: relative;
    z-index: 1001;
}

.announcement-banner p {
    margin: 0;
    color: var(--white);
}

.announcement-banner strong {
    color: #FFD700;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all var(--duration) var(--ease);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-900);
    transition: color var(--duration) var(--ease);
}

.nav-links a:hover {
    color: var(--gray-400);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 18px;
    height: 1.5px;
    background: var(--gray-900);
    transition: all var(--duration) var(--ease);
}

/* --------------------------------------------------------------------------
   Hero Section - Large App Mockup Layout
   -------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--white);
    overflow: hidden;
    padding: 120px 24px 80px;
}

#physics-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.update-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy-dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    margin-bottom: 24px;
    animation: pulse-glow 2s ease-in-out infinite;
}

.update-badge strong {
    color: #FFD700;
}

.badge-icon {
    font-size: 16px;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(29, 53, 87, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(29, 53, 87, 0);
    }
}

.hero-app-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    margin-bottom: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-title {
    margin-bottom: 16px;
    color: var(--gray-900);
}

.hero-tagline {
    font-size: clamp(21px, 3vw, 28px);
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--gray-500);
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-micro {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-400);
}

/* Hero Device Mockup */
.hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-device-image {
    max-width: 520px;
    width: 100%;
    height: auto;
    animation: heroFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.2));
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* --------------------------------------------------------------------------
   Pain Amplification Section
   -------------------------------------------------------------------------- */
.pain-section {
    padding: var(--section-gap) 0;
    background: var(--gray-50);
}

.pain-visual {
    text-align: center;
    margin-bottom: 60px;
}

.pain-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
}

.pain-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pain-content h2 {
    margin-bottom: 24px;
    font-size: clamp(28px, 4vw, 40px);
}

.pain-lead {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.pain-text {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.pain-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.pain-list li {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 15px;
    color: var(--gray-600);
}

.pain-conclusion {
    font-size: 20px;
    color: var(--gray-600);
    line-height: 1.6;
}

.pain-conclusion strong {
    color: var(--gray-900);
    font-size: 24px;
}

/* --------------------------------------------------------------------------
   Reframe Section
   -------------------------------------------------------------------------- */
.reframe-section {
    padding: var(--section-gap) 0;
    background: var(--navy-dark);
}

.reframe-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.reframe-lead {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.reframe-divider {
    width: 60px;
    height: 2px;
    background: var(--gray-600);
    margin: 40px auto;
}

.reframe-statement {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Gravity Toggle */
.gravity-toggle {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-200);
    border-radius: 980px;
    cursor: pointer;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    transition: all var(--duration) var(--ease);
    z-index: 10;
}

.gravity-toggle:hover {
    background: var(--white);
    color: var(--gray-900);
}

.gravity-toggle.active {
    background: var(--gray-900);
    color: var(--white);
    border-color: var(--gray-900);
}

/* --------------------------------------------------------------------------
   Product Section
   -------------------------------------------------------------------------- */
.product {
    padding: 0 0 var(--section-gap);
    background: var(--gray-100);
}

.product-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--gray-900);
    border-radius: 48px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.1);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: var(--gray-900);
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 40px;
    overflow: hidden;
}

.app-ui {
    padding: 60px 20px 20px;
    height: 100%;
}

.app-header {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.app-input {
    background: var(--gray-100);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-label {
    font-size: 15px;
    color: var(--gray-500);
}

.input-value {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
}

.app-results {
    background: var(--gray-50);
    border-radius: 12px;
    overflow: hidden;
}

.result-item {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-100);
}

.result-item:last-child {
    border-bottom: none;
}

.result-drug {
    font-size: 15px;
    color: var(--gray-600);
}

.result-dose {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

/* --------------------------------------------------------------------------
   Screenshots Gallery Section
   -------------------------------------------------------------------------- */
.screenshots {
    padding: var(--section-gap) 0;
    background: var(--white);
}

/* Remove any visible background from images */
.hero-device-image,
.screenshot-image {
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    font-size: 19px;
    color: var(--gray-500);
}

.screenshots-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.screenshot-item {
    text-align: center;
}

.screenshot-side {
    max-width: 260px;
    flex-shrink: 0;
}

.screenshot-center {
    max-width: 320px;
    flex-shrink: 0;
    z-index: 2;
}

.screenshot-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform var(--duration) var(--ease);
}

.screenshot-image:hover {
    transform: translateY(-8px);
}

.screenshot-caption {
    margin-top: 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials {
    padding: var(--section-gap) 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform var(--duration) var(--ease);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-900);
}

.author-title {
    font-size: 13px;
    color: var(--gray-500);
}

/* --------------------------------------------------------------------------
   Features Section (Outcome-focused)
   -------------------------------------------------------------------------- */
.features {
    padding: var(--section-gap) 0;
    background: var(--gray-50);
}

.features-list {
    max-width: 600px;
    margin: 0 auto 48px;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-bullet {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background: var(--gray-900);
    border-radius: 50%;
    margin-top: 8px;
}

.feature-row p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.5;
}

.features-trust {
    text-align: center;
    font-size: 15px;
    color: var(--gray-400);
    font-style: italic;
}

.customization-callout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px 32px;
    margin-top: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.callout-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.callout-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.callout-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Legacy feature cards (kept for compatibility) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.feature-card {
    padding: 40px;
    background: var(--gray-50);
    border-radius: 24px;
    transition: transform var(--duration) var(--ease);
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--gray-900);
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Use Cases Section
   -------------------------------------------------------------------------- */
.use-cases {
    padding: var(--section-gap) 0;
    background: var(--white);
}

.use-cases-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.use-cases-mockup {
    display: flex;
    justify-content: center;
}

.use-cases-device {
    max-width: 420px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
    animation: float 8s ease-in-out infinite;
}

.use-cases-content {
    display: flex;
    flex-direction: column;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.use-case {
    padding: 24px 28px;
    background: var(--gray-50);
    border-radius: 12px;
    font-size: 17px;
    color: var(--gray-600);
    font-style: italic;
    text-align: center;
    transition: transform var(--duration) var(--ease), background var(--duration) var(--ease);
}

.use-case:hover {
    transform: translateY(-2px);
    background: var(--gray-100);
}

.use-cases-conclusion {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-900);
}

/* --------------------------------------------------------------------------
   Credibility Section
   -------------------------------------------------------------------------- */
.credibility {
    padding: var(--section-gap) 0;
    background: var(--gray-50);
}

.credibility-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.credibility-statement {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 500;
    color: var(--gray-900);
    line-height: 1.5;
    margin-bottom: 24px;
}

.credibility-reason {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Final CTA Section
   -------------------------------------------------------------------------- */
.final-cta {
    padding: var(--section-gap) 0;
    background: var(--navy-dark);
}

.final-cta .cta-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.final-cta > .container > .cta-content > p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.final-cta .store-badges {
    justify-content: center;
    margin-bottom: 32px;
}

.cta-subtext {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.cta-micro {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* Legacy CTA Section */
.cta-section {
    padding: var(--section-gap) 0;
    background: #0A1628;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 24px;
}

.cta-section p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-section .store-badges {
    justify-content: center;
}

/* Dark background store badges - no filter, natural look */
.store-badge-light {
    filter: none;
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
}

.store-badge-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   Stats Section
   -------------------------------------------------------------------------- */
.stats {
    padding: var(--section-gap) 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
}

.stat-number[data-decimal]::after {
    content: '';
}

.stat-label {
    font-size: 15px;
    color: var(--gray-500);
}

/* --------------------------------------------------------------------------
   Download Section
   -------------------------------------------------------------------------- */
.download {
    padding: var(--section-gap) 0;
    background: var(--white);
}

.download-content {
    text-align: center;
}

.download h2 {
    margin-bottom: 12px;
}

.download > .container > .download-content > p {
    font-size: 19px;
    color: var(--gray-500);
    margin-bottom: 40px;
}

.download-note {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-400);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    padding: 48px 0 32px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-logo {
    height: 36px;
    width: auto;
    border-radius: 8px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-500);
    transition: color var(--duration) var(--ease);
}

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

.footer-disclaimer {
    padding: 24px 0;
    border-top: 1px solid var(--gray-200);
}

.footer-disclaimer p {
    font-size: 12px;
    color: var(--gray-400);
    text-align: center;
    line-height: 1.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--gray-400);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s var(--ease) forwards;
}

.fade-in:nth-child(1) { animation-delay: 0s; }
.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.2s; }
.fade-in:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --section-gap: 100px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-top: 1px solid var(--gray-200);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-app-icon {
        width: 100px;
        height: 100px;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-device-image {
        max-width: 300px;
    }

    .screenshots-gallery {
        flex-wrap: wrap;
        gap: 24px;
    }

    .screenshot-side,
    .screenshot-center {
        max-width: 280px;
    }

    .screenshot-phone {
        width: 180px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 32px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .use-cases-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .use-cases-device {
        max-width: 340px;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .use-case {
        padding: 20px 24px;
        font-size: 16px;
    }

    .feature-row p {
        font-size: 16px;
    }

    .pain-list {
        gap: 8px;
    }

    .pain-list li {
        padding: 8px 16px;
        font-size: 14px;
    }

    .pain-image {
        max-width: 100%;
    }

    .pain-visual {
        margin-bottom: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .store-badges {
        flex-direction: column;
        align-items: center;
    }

    .gravity-toggle {
        bottom: 16px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        transform: scale(0.75);
    }

    .stat-number {
        font-size: 48px;
    }

    .hero-device-image {
        max-width: 260px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .screenshot-side,
    .screenshot-center {
        max-width: 220px;
    }

    .use-cases-device {
        max-width: 280px;
    }

    .reframe-lead {
        font-size: 22px;
    }

    .reframe-statement {
        font-size: 17px;
    }

    .credibility-statement {
        font-size: 18px;
    }

    .pain-content h2 {
        font-size: 24px;
    }

    .final-cta h2 {
        font-size: 26px;
    }
}
