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

:root {
    --color-text: #111827;
    --color-text-secondary: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fc;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-border: #e5e7eb;
    --color-card-bg: #ffffff;
    --color-navy: #121826;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 1120px;
    --radius: 12px;
    --radius-lg: 20px;
}

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

body {
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
}

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

/* --- Buttons --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--color-navy);
    color: #fff;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 14px;
}

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

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

.btn-outline:hover {
    background: var(--color-bg-alt);
    border-color: #d1d5db;
    transform: translateY(-1px);
}

/* --- Nav --- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.5px;
}

.nav-logo:hover {
    color: var(--color-text);
}

/* --- Hero --- */

.hero {
    padding: 140px 0 80px;
    background: var(--color-bg);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--color-text);
    margin-bottom: 20px;
}

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

.hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-store-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 16px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.app-store-link:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
}

.apple-icon {
    flex-shrink: 0;
    margin-top: -2px;
}

.app-store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-store-small {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.3px;
    opacity: 0.9;
}

.app-store-big {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.hero-cta-note {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 340px;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
}

/* --- Stats --- */

.stats {
    padding: 48px 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--color-border);
    flex-shrink: 0;
}

/* --- Section Headers --- */

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--color-text);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* --- Features --- */

.features {
    padding: 100px 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse > * {
    direction: ltr;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.feature-text h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.feature-text p {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 440px;
}

.feature-image {
    display: flex;
    justify-content: center;
}

.feature-image img {
    width: 300px;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.1));
}

/* --- How It Works --- */

.how-it-works {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.step-number {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

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

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--color-border);
    flex-shrink: 0;
    margin-top: 23px;
}

/* --- Audience --- */

.audience {
    padding: 100px 0;
}

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

.audience-card {
    padding: 36px 32px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: box-shadow 0.2s, transform 0.2s;
}

.audience-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.audience-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--color-navy);
}

.audience-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

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

/* --- Showcase --- */

.showcase {
    padding: 100px 0;
    background: var(--color-bg-alt);
    overflow: hidden;
}

.showcase-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -24px;
    padding: 0 24px;
}

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

.showcase-track {
    display: flex;
    gap: 24px;
    padding-bottom: 8px;
    width: max-content;
}

.showcase-track img {
    width: 260px;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.08));
    flex-shrink: 0;
}

/* --- Carousel Demo --- */

.carousel-demo {
    padding: 100px 0;
}

.demo-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.demo-carousel {
    width: 100%;
    max-width: 380px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.05);
}

.demo-viewport {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.demo-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.demo-slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.demo-slide--cover {
    background-color: #0F172A;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.demo-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.92) 100%);
}

.demo-slide--tip {
    background: #F8FAFC;
    color: #0F172A;
}

.demo-slide--cta {
    background: #0F172A;
    color: #fff;
}

.demo-slide__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.demo-slide__tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.65;
    margin-bottom: 32px;
}

.demo-slide__hook {
    font-size: clamp(24px, 6.5vw, 30px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    max-width: 300px;
}

.demo-slide__num {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3B82F6;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 32px;
    flex-shrink: 0;
}

.demo-slide__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
    color: #0F172A;
    max-width: 260px;
}

.demo-slide__body {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: #64748B;
    max-width: 280px;
}

.demo-slide__cta-headline {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 28px;
    max-width: 260px;
}

.demo-slide__cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #3B82F6;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    margin-bottom: 24px;
    transition: background 0.2s, transform 0.15s;
}

.demo-slide__cta-btn:hover {
    background: #2563EB;
    transform: scale(1.03);
}

.demo-slide__cta-made {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.45;
    letter-spacing: 0.5px;
}

.demo-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: opacity 0.2s, transform 0.15s;
    color: #0F172A;
}

.demo-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.demo-arrow--prev { left: 10px; }
.demo-arrow--next { right: 10px; }

.demo-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.demo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: #CBD5E1;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}

.demo-dot.active {
    background: #0F172A;
    transform: scale(1.3);
}

/* --- Pricing --- */

.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}

.pricing-card {
    padding: 40px 36px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
}

.pricing-card-featured {
    border-color: var(--color-navy);
    border-width: 2px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

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

.pricing-price {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 28px;
}

.pricing-price span {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    flex-shrink: 0;
    color: #10b981;
}

.pricing-card .btn {
    width: 100%;
}

/* --- Final CTA --- */

.final-cta {
    padding: 100px 0;
    background: var(--color-navy);
    color: #fff;
}

.final-cta-inner {
    text-align: center;
    max-width: 600px;
}

.final-cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 36px;
}

.final-cta .btn {
    background: #fff;
    color: var(--color-navy);
}

.final-cta .btn:hover {
    background: #f0f0f0;
}

/* --- Footer --- */

.footer {
    padding: 32px 0;
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.3px;
}

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

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

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

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

/* --- Legal Pages --- */

.legal {
    padding: 140px 0 80px;
}

.legal-container {
    max-width: 720px;
}

.legal-container h1 {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-border);
}

.legal-container h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.legal-container h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-container h3 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.2px;
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-container h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-container p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 14px;
}

.legal-container ul {
    list-style: none;
    margin-bottom: 16px;
    padding-left: 0;
}

.legal-container ul li {
    position: relative;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.legal-container ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-border);
}

.legal-container ul li strong {
    color: var(--color-text);
    font-weight: 600;
}

.legal-container a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.3);
    text-underline-offset: 2px;
    transition: text-decoration-color 0.2s;
}

.legal-container a:hover {
    text-decoration-color: var(--color-accent);
}

/* --- Responsive --- */

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-subtitle {
        max-width: none;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image img {
        width: 280px;
    }

    .stats-inner {
        flex-direction: column;
        gap: 32px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    .feature-row-reverse > * {
        direction: ltr;
    }

    .feature-text {
        order: 1;
    }

    .feature-image {
        order: 2;
    }

    .feature-image img {
        width: 240px;
    }

    .feature-text p {
        max-width: none;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .demo-carousel {
        max-width: 320px;
    }

    .demo-slide__hook {
        font-size: 24px;
    }

    .demo-slide__inner {
        padding: 40px 28px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .hero-image img {
        width: 240px;
    }

    .showcase-track img {
        width: 200px;
    }

    .feature-row {
        margin-bottom: 60px;
    }
}
