/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a28;
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-dark: #7c3aed;
    --green: #22c55e;
    --red: #ef4444;
    --text: #ffffff;
    --text-secondary: #94a3b8;
    --border: #1e1e2e;
    --gradient: linear-gradient(135deg, #8b5cf6, #ec4899);
    --gradient-warm: linear-gradient(135deg, #ec4899, #f97316);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(24px + var(--safe-left)) 0 calc(24px + var(--safe-right));
}

/* ===================== TOP BAR ===================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: calc(10px + var(--safe-top)) 0 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.top-bar-live {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.top-bar-sep {
    color: var(--border);
    margin: 0 4px;
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(140px + var(--safe-top)) 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 20%, rgba(139, 92, 246, 0.18), transparent),
        radial-gradient(ellipse 60% 40% at 30% 70%, rgba(236, 72, 153, 0.08), transparent);
    pointer-events: none;
    will-change: transform;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    will-change: transform, opacity;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

.hero-proof {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px 8px 8px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-avatars,
.final-cta-avatars {
    display: flex;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    border: 2px solid var(--bg);
    margin-left: -6px;
}

.avatar:first-child {
    margin-left: 0;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Activity feed */
.activity-feed {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.activity-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    animation: activitySlide 0.5s ease;
}

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

.activity-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.activity-time {
    color: rgba(148, 163, 184, 0.5);
    font-size: 12px;
    white-space: nowrap;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    border: none;
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.btn:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

.btn:active {
    transform: scale(0.97) !important;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3);
}

.btn-pulse {
    animation: btnPulse 2.5s infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 4px 40px rgba(139, 92, 246, 0.55), 0 0 60px rgba(236, 72, 153, 0.15); }
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-lg {
    padding: 20px 44px;
    font-size: 18px;
    border-radius: 16px;
}

.btn-icon {
    font-size: 20px;
}

/* Hover-only on devices that support hover */
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
    }

    .btn-outline:hover {
        border-color: var(--accent);
        background: rgba(139, 92, 246, 0.05);
        transform: translateY(-2px);
    }

    .pain-card:hover {
        background: var(--bg-card-hover);
        transform: translateY(-3px);
    }

    .step:hover {
        border-color: rgba(139, 92, 246, 0.3);
        transform: translateY(-4px);
    }

    .feature-card:hover {
        background: var(--bg-card-hover);
        border-color: rgba(139, 92, 246, 0.2);
        transform: translateY(-4px);
    }

    .feature-card:hover::before {
        opacity: 1;
    }

    .review-card:hover {
        background: var(--bg-card-hover);
        transform: translateY(-3px);
    }

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

    .pricing-card-popular:hover {
        transform: scale(1.05) translateY(-4px);
    }
}

/* ===================== SECTIONS ===================== */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 60px;
}

/* ===================== PAIN SECTION ===================== */
.pain {
    background: linear-gradient(180deg, var(--bg) 0%, #0d0d14 100%);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    border-radius: 16px;
    padding: 28px 32px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.pain-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.pain-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pain-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.pain-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 32px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 16px;
}

.pain-stat-number {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #ef4444, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pain-stat-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.pain-stat-text span {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ===================== SOLUTION / COMPARISON ===================== */
.solution {
    background: linear-gradient(180deg, #0d0d14 0%, var(--bg) 100%);
}

.comparison {
    display: flex;
    gap: 0;
    align-items: stretch;
    margin-bottom: 48px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.comparison-side {
    flex: 1;
    padding: 32px;
    min-width: 0;
}

.comparison-before {
    background: rgba(239, 68, 68, 0.03);
}

.comparison-after {
    background: rgba(34, 197, 94, 0.03);
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    padding: 0 20px;
    font-weight: 800;
    font-size: 14px;
    color: var(--text-secondary);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    flex-shrink: 0;
}

.comparison-label {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.comparison-label-bad {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
}

.comparison-label-good {
    background: rgba(34, 197, 94, 0.1);
    color: var(--green);
}

/* Chat demo */
.chat-demo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.chat-msg-out {
    align-self: flex-end;
    background: var(--accent-dark);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg-in {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.chat-status {
    align-self: flex-end;
    font-size: 11px;
    color: rgba(148, 163, 184, 0.4);
    margin-top: 4px;
}

/* Result banner */
.result-banner {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 32px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
}

.result-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-number {
    font-size: 36px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-stat span:last-child {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===================== HOW IT WORKS ===================== */
.how-it-works {
    background: var(--bg);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.step {
    flex: 1;
    max-width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    font-size: 24px;
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* ===================== FEATURES ===================== */
.features {
    background: linear-gradient(180deg, var(--bg) 0%, #0d0d14 100%);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials {
    background: linear-gradient(180deg, #0d0d14 0%, var(--bg) 100%);
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 48px;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

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

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.review-stars {
    color: #fbbf24;
    font-size: 16px;
    letter-spacing: 1px;
}

.review-verified {
    font-size: 11px;
    color: var(--green);
    font-weight: 600;
}

.review-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    flex: 1;
    margin-bottom: 20px;
}

.review-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
}

.review-city {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===================== PRICING ===================== */
.pricing {
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 32px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card-popular {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, var(--bg-card) 100%);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.pricing-tier {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.pricing-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 4px;
    line-height: 1.1;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-list {
    list-style: none;
    margin-bottom: 28px;
    width: 100%;
    text-align: left;
}

.pricing-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    padding-left: 24px;
}

.pricing-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.pricing-list li strong {
    color: var(--text);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.pricing-guarantee {
    margin-top: 16px;
    font-size: 12px;
    color: var(--green);
    font-weight: 500;
}

.pricing-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===================== FAQ ===================== */
.faq {
    background: linear-gradient(180deg, var(--bg) 0%, #0d0d14 100%);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-q {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: color 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.faq-q:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: -2px;
    border-radius: 4px;
}

.faq-q::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-q::after {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-a p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

@media (hover: hover) and (pointer: fine) {
    .faq-q:hover {
        color: var(--accent-light);
    }
}

/* ===================== FINAL CTA ===================== */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(180deg, #0d0d14 0%, var(--bg) 100%);
}

.final-cta-box {
    text-align: center;
    padding: 64px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.final-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139, 92, 246, 0.12), transparent);
    pointer-events: none;
}

.final-cta-box h2 {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: -0.02em;
}

.final-cta-box > p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 36px;
    position: relative;
}

.final-cta-sub {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
}

.final-cta-proof {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    position: relative;
}

/* ===================== FOOTER ===================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 calc(30px + var(--safe-bottom));
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
    border-radius: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .footer-links a:hover {
        color: var(--accent-light);
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* ===================== ANIMATIONS ===================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }

    .particle {
        display: none;
    }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
    .pain-grid {
        grid-template-columns: 1fr;
    }

    .comparison {
        flex-direction: column;
    }

    .comparison-divider {
        padding: 12px 0;
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .features-grid,
    .reviews-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .result-banner {
        flex-direction: column;
        gap: 24px;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-item {
        flex: 1;
        min-width: 120px;
    }

    .steps {
        flex-direction: column;
        gap: 12px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .step {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: calc(100px + var(--safe-top)) 24px 60px;
        min-height: auto;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 12px;
    }

    .section-sub {
        margin-bottom: 40px;
    }

    .top-bar-sep,
    .top-bar-extra {
        display: none;
    }

    .pricing-card-popular {
        transform: scale(1);
    }

    .pain-stat {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .final-cta-box {
        padding: 40px 24px;
    }

    .btn-lg {
        padding: 18px 32px;
        font-size: 16px;
    }

    .activity-item {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        border-radius: 16px;
        padding: 12px 16px;
    }

    .hero-proof {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .final-cta-proof {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 16px;
    }

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

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

    .pricing-price {
        font-size: 40px;
    }

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

    .result-number {
        font-size: 28px;
    }
}
