:root {
    --primary: #06B6D4;
    --primary-bright: #22D3EE;
    --primary-dark: #0891B2;
    --primary-glow: rgba(34, 211, 238, 0.34);
    --bg: #090E17;
    --surface: #111827;
    --surface-card: #1B2537;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border: #2D3B50;
    --amber: #F59E0B;
    --emerald: #10B981;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
    background-color: var(--bg);
    background-image: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.11) 0%, rgba(9, 14, 23, 0) 52%);
    color: var(--text-main);
    line-height: 1.65;
    padding: 28px 20px 56px;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    text-decoration: underline;
}

/* Top Navigation */
.topbar {
    max-width: 980px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    background: rgba(17, 24, 39, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main) !important;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.4px;
    text-decoration: none !important;
}

.brand-link img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease;
}

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

.topbar-cta {
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--primary-dark) 100%);
    color: #04131A !important;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.topbar-cta:hover {
    transform: translateY(-1px);
    text-decoration: none !important;
}

/* Containers */
.container {
    max-width: 980px;
    margin: 0 auto;
}

.doc-container {
    max-width: 820px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

/* Hero */
.hero {
    text-align: center;
    padding: 44px 20px 36px;
}

.app-icon {
    width: 124px;
    height: 124px;
    border-radius: 28px;
    box-shadow: 0 18px 42px var(--primary-glow);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.2px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #FFFFFF 0%, #BAE6FD 55%, #22D3EE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 660px;
    margin: 0 auto 28px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--primary-dark) 100%);
    color: #03151C !important;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(6, 182, 212, 0.34);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(34, 211, 238, 0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-card);
    color: var(--text-main) !important;
    border: 1px solid var(--border);
    font-size: 16px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease;
    text-decoration: none !important;
}

.btn-secondary:hover {
    background: #243248;
    border-color: rgba(34, 211, 238, 0.5);
}

/* Badges */
.badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.badge-pill {
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.28);
    color: #CFFAFE;
    padding: 7px 15px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 600;
}

.badge-highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-color: rgba(245, 158, 11, 0.45);
    color: #FDE68A;
}

/* Section Headers */
.section-block {
    margin: 56px 0;
}

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

.section-title {
    font-size: 30px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.6px;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 15.5px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
}

/* Horizontal Screenshot Showcase */
.screenshot-gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 14px 8px 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.screenshot-gallery::-webkit-scrollbar {
    height: 6px;
}

.screenshot-gallery::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 100px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 100px;
}

.screenshot-card {
    flex: 0 0 242px;
    scroll-snap-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
}

.screenshot-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-bright);
    box-shadow: 0 20px 44px rgba(6, 182, 212, 0.22);
}

.screenshot-card.card-highlight {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.16);
}

.screenshot-img-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: #05080F;
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 1 / 2.16;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-caption {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.screenshot-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* 3-Step Workflow Strip */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.step-card {
    background: linear-gradient(180deg, rgba(27, 37, 55, 0.85) 0%, rgba(17, 24, 39, 0.95) 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(34, 211, 238, 0.16);
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: var(--primary-bright);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 14px;
}

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

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Feature Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-bright);
}

.feature-icon {
    font-size: 30px;
    margin-bottom: 12px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 17.5px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* Pricing / Family Sharing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

.pricing-card.pro-featured {
    background: linear-gradient(165deg, rgba(6, 182, 212, 0.13) 0%, rgba(17, 24, 39, 0.98) 55%);
    border: 2px solid var(--primary-bright);
    box-shadow: 0 16px 40px rgba(6, 182, 212, 0.18);
}

.plan-tag {
    display: inline-block;
    width: fit-content;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(148, 163, 184, 0.16);
    color: #CBD5E1;
    margin-bottom: 12px;
}

.plan-tag.pro {
    background: rgba(34, 211, 238, 0.18);
    color: var(--primary-bright);
    border: 1px solid rgba(34, 211, 238, 0.38);
}

.price-row {
    font-size: 34px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 4px 0 6px;
    letter-spacing: -0.8px;
}

.price-row span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
}

.price-sub {
    font-size: 13px;
    color: #67E8F9;
    margin-bottom: 20px;
    font-weight: 600;
}

.plan-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.plan-list li {
    font-size: 14px;
    color: #E2E8F0;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan-list li::before {
    content: "✓";
    color: var(--primary-bright);
    font-weight: 800;
    flex-shrink: 0;
}

/* Wellness / Regulatory Banner */
.regulatory-banner {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-left: 4px solid var(--amber);
    border-radius: 14px;
    padding: 22px 24px;
    margin: 48px 0 36px;
}

.regulatory-banner h3 {
    font-size: 15px;
    font-weight: 800;
    color: #FDE68A;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.regulatory-banner p {
    font-size: 13.5px;
    color: #CBD5E1;
    line-height: 1.6;
    margin: 0;
}

/* Document Pages (Support, Privacy, Terms) */
.doc-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.doc-header img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.doc-header h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #FFFFFF;
}

.doc-meta {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.doc-container h2 {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 32px 0 12px;
    letter-spacing: -0.3px;
}

.doc-container p,
.doc-container li {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 12px;
}

.doc-container ul {
    padding-left: 22px;
    margin-bottom: 16px;
}

.doc-container li {
    margin-bottom: 8px;
}

.doc-container strong {
    color: #E2E8F0;
}

.highlight-box {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-left: 4px solid var(--primary-bright);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 22px 0;
}

.highlight-box p {
    color: #E0F2FE;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-left: 4px solid var(--amber);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 22px 0;
}

.warning-box p {
    color: #FEF3C7;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* FAQ Cards */
.faq-item {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 14px;
}

.faq-item h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #E0F2FE;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 14.5px;
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-card {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 14px;
    padding: 28px 24px;
    margin-top: 40px;
    text-align: center;
}

.contact-card h2 {
    margin-top: 0;
    font-size: 21px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    margin-top: 48px;
    padding-top: 28px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13.5px;
}

.nav-links {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

@media (max-width: 640px) {
    body {
        padding: 16px 12px 40px;
    }
    .topbar {
        padding: 10px 14px;
    }
    .topbar-links {
        gap: 12px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .subtitle {
        font-size: 16.5px;
    }
    .doc-container {
        padding: 26px 18px;
    }
    .doc-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .screenshot-card {
        flex: 0 0 212px;
    }
}
