:root {
    --blue-primary: #007aff;
    --blue-alt: #0a84ff;
    --blue-soft: #80cff6;
    --green: #34c759;
    --red: #ff3b30;
    --orange: #ff9500;
    --yellow: #ffcc00;
    --gold: #ffd700;
    --bg-top: #f2f2f7;
    --bg-bottom: #d9f2ff;
    --surface: #ffffff;
    --surface-muted: #e5e5ea;
    --surface-card: rgba(255, 255, 255, 0.9);
    --text-primary: #1c1c1e;
    --text-secondary: #5f6368;
    --outline: #c6c6c8;
    --shadow-soft: 0 18px 40px rgba(0, 72, 143, 0.12);
    --shadow-card: 0 10px 30px rgba(28, 28, 30, 0.08);
    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --space-4: 4px;
    --space-6: 6px;
    --space-8: 8px;
    --space-10: 10px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-32: 32px;
    --space-40: 40px;
    --space-56: 56px;
    --container: 1140px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito Sans', 'Avenir Next', 'Trebuchet MS', sans-serif;
    background: linear-gradient(180deg, var(--bg-top) 0%, #f0f8ff 45%, var(--bg-bottom) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.45;
}

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

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

.site-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.site-backdrop::before,
.site-backdrop::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(0.5px);
}

.site-backdrop::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at center, rgba(128, 207, 246, 0.42), rgba(128, 207, 246, 0) 70%);
    top: -140px;
    right: -120px;
}

.site-backdrop::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(0, 122, 255, 0.18), rgba(0, 122, 255, 0) 70%);
    left: -200px;
    bottom: -180px;
}

.container {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 25;
    backdrop-filter: blur(12px);
    background: rgba(242, 242, 247, 0.86);
    border-bottom: 1px solid rgba(198, 198, 200, 0.65);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-10);
    font-family: 'Outfit', 'Nunito Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand img {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 71, 140, 0.25);
}

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--space-12);
}

.site-nav a {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.98rem;
    padding: 10px 14px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(128, 207, 246, 0.32);
    color: var(--text-primary);
}

.site-nav .header-cta {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-alt));
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.25);
}

.site-nav .header-cta:hover {
    background: linear-gradient(135deg, #006de2, #007aff);
    color: #fff;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--outline);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-main {
    padding: var(--space-32) 0 var(--space-56);
}

.page-section {
    margin-bottom: var(--space-56);
}

.hero {
    position: relative;
    border-radius: var(--radius-lg);
    padding: clamp(28px, 5vw, 48px);
    background:
        radial-gradient(circle at 10% 10%, rgba(128, 207, 246, 0.5), rgba(128, 207, 246, 0) 45%),
        radial-gradient(circle at 90% 15%, rgba(0, 122, 255, 0.2), rgba(0, 122, 255, 0) 38%),
        linear-gradient(165deg, #ffffff 0%, #f8fdff 58%, #e8f6ff 100%);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(128, 207, 246, 0.35);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(0, 122, 255, 0.14);
    color: #0057be;
    padding: 8px 14px;
    font-weight: 800;
    font-size: 0.82rem;
    margin-bottom: var(--space-16);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: 'Outfit', 'Nunito Sans', sans-serif;
    line-height: 1.12;
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.75rem);
    margin-bottom: var(--space-12);
}

.hero p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.08rem;
    max-width: 55ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-10);
    margin-top: var(--space-24);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    font-size: 0.94rem;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    color: #fff;
    background: linear-gradient(140deg, var(--blue-primary), var(--blue-alt));
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.26);
}

.button.secondary {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(198, 198, 200, 0.65);
}

.device-mock {
    border-radius: 30px;
    padding: 14px;
    background: linear-gradient(180deg, #1f1f24, #0f0f10);
    box-shadow: 0 18px 28px rgba(17, 17, 19, 0.35);
    width: min(100%, 330px);
    margin-left: auto;
}

.device-screen {
    border-radius: 22px;
    background: linear-gradient(180deg, #f2f2f7 0%, #def4ff 100%);
    overflow: hidden;
    min-height: 505px;
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.mock-header {
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mock-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(0, 122, 255, 0.12);
    color: #0064d2;
    font-weight: 800;
    font-size: 0.76rem;
    padding: 6px 10px;
}

.mock-card {
    background: var(--surface-card);
    margin: 12px;
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(198, 198, 200, 0.52);
}

.mock-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 800;
}

.mock-subline {
    color: var(--text-secondary);
    font-size: 0.76rem;
}

.tag-row {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 8px;
    background: rgba(10, 132, 255, 0.1);
    color: #0462ca;
}

.tag.green {
    background: rgba(52, 199, 89, 0.13);
    color: #177336;
}

.tag.gold {
    background: rgba(255, 204, 0, 0.25);
    color: #8d6700;
}

.mock-tabs {
    margin: 10px 12px 12px;
    padding: 8px;
    background: rgba(229, 229, 234, 0.9);
    border-radius: 999px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mock-tabs span {
    text-align: center;
    padding: 7px 6px;
    border-radius: 999px;
    color: #4b4e53;
    font-size: 0.76rem;
    font-weight: 800;
}

.mock-tabs span.active {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-alt));
    color: #fff;
}

.section-head {
    max-width: 760px;
    margin-bottom: var(--space-24);
}

.section-head h2 {
    font-size: clamp(1.85rem, 4vw, 2.8rem);
    margin-bottom: var(--space-10);
}

.section-head p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.02rem;
}

.feature-grid,
.info-grid,
.support-grid,
.legal-grid {
    display: grid;
    gap: var(--space-16);
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.feature-card,
.info-card,
.support-card,
.legal-card,
.timeline-item,
.download-card,
.policy-block {
    border-radius: var(--radius-md);
    background: var(--surface-card);
    border: 1px solid rgba(198, 198, 200, 0.65);
    box-shadow: var(--shadow-card);
    padding: 18px;
}

.feature-card h3,
.info-card h3,
.support-card h3,
.legal-card h3,
.timeline-item h3,
.download-card h3,
.policy-block h3,
.policy-block h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature-card p,
.info-card p,
.support-card p,
.legal-card p,
.timeline-item p,
.download-card p,
.policy-block p,
.policy-block li {
    margin: 0;
    color: var(--text-secondary);
}

.feature-card ul,
.info-card ul,
.support-card ul,
.policy-block ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--text-secondary);
}

.feature-card {
    grid-column: span 6;
}

.info-card,
.support-card,
.legal-card {
    grid-column: span 4;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
    background: linear-gradient(145deg, rgba(128, 207, 246, 0.4), rgba(0, 122, 255, 0.2));
}

.status-dots {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.status-dot {
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
}

.status-dot.red {
    background: var(--red);
}

.status-dot.blue {
    background: var(--blue-alt);
}

.status-dot.green {
    background: var(--green);
}

.timeline {
    display: grid;
    gap: var(--space-16);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-item {
    position: relative;
    padding-left: 62px;
}

.timeline-step {
    position: absolute;
    left: 18px;
    top: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--blue-primary), var(--blue-alt));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.88rem;
    font-weight: 800;
}

.highlight-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.highlight-chip {
    border-radius: 999px;
    background: rgba(229, 229, 234, 0.8);
    color: #3d4046;
    padding: 7px 10px;
    font-size: 0.8rem;
    font-weight: 700;
}

.callout {
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 214, 10, 0.48);
    background: linear-gradient(170deg, rgba(255, 214, 10, 0.12), rgba(255, 214, 10, 0.04));
    padding: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.callout strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid rgba(198, 198, 200, 0.8);
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue-primary);
    font-size: 1.2rem;
    font-weight: 800;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-content {
    border-top: 1px solid rgba(198, 198, 200, 0.5);
    padding: 14px 18px 18px;
    color: var(--text-secondary);
}

.policy-wrap {
    display: grid;
    gap: 14px;
}

.policy-meta {
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 8px;
}

.download-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-card h3 {
    margin-bottom: 6px;
}

.download-badges {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.download-badge {
    background: #111;
    color: #fff;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

.site-footer {
    border-top: 1px solid rgba(198, 198, 200, 0.7);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    padding: 36px 0 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 20px;
}

.footer-brand {
    margin-bottom: 10px;
}

.site-footer p {
    color: var(--text-secondary);
    margin: 0;
}

.site-footer h3 {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.site-footer a {
    display: block;
    color: #3f4852;
    margin-bottom: 8px;
    font-weight: 700;
}

.site-footer a:hover {
    color: var(--blue-primary);
}

.footer-meta {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(198, 198, 200, 0.6);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.48s ease, transform 0.48s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1020px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .device-mock {
        margin: 0 auto;
    }

    .feature-card {
        grid-column: span 12;
    }

    .info-card,
    .support-card,
    .legal-card {
        grid-column: span 6;
    }

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

@media (max-width: 760px) {
    .header-inner {
        min-height: 70px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 18px;
        right: 18px;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(198, 198, 200, 0.7);
        box-shadow: var(--shadow-soft);
        gap: 8px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        width: 100%;
        text-align: left;
    }

    .site-nav .header-cta {
        text-align: center;
    }

    .site-main {
        padding-top: 24px;
    }

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

    .info-card,
    .support-card,
    .legal-card {
        grid-column: span 12;
    }

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

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

    .hero {
        padding: 24px;
    }
}
