:root {
    color-scheme: light;
    --color-primary: #0066ff;
    --color-primary-dark: #004bcc;
    --color-dark: #0f172a;
    --color-muted: #475569;
    --color-light: #f8fafc;
    --color-border: #e2e8f0;
    --color-accent: #ffb703;
    --font-sans: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-dark);
    background-color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

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

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.2));
}

.site-header .logo-text {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-dark);
}

.site-footer .logo-text {
    font-weight: 700;
    font-size: 1.3rem;
    color: #e2e8f0;
}

.main-nav {
    margin-left: auto;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 28px;
    padding: 0;
    margin: 0;
}

.nav-list a {
    color: var(--color-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus {
    color: var(--color-primary);
}

.cta-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 12px 22px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cta-button {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(0, 102, 255, 0.18);
}

.cta-button:hover,
.cta-button:focus {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.ghost-button {
    border: 1px solid var(--color-border);
    color: var(--color-dark);
    background: #ffffff;
}

.ghost-button:hover,
.ghost-button:focus {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.hero-section {
    padding: 120px 0 90px;
    background: radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.12), transparent 60%), var(--color-light);
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 16px;
}

.hero-text p {
    margin: 0 0 18px;
    color: var(--color-muted);
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}

.hero-note {
    font-size: 0.95rem;
    color: var(--color-dark);
}

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

.hero-card {
    width: min(360px, 90%);
    background: #ffffff;
    padding: 28px;
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.hero-card-title {
    margin: 0;
    font-weight: 600;
    color: var(--color-dark);
}

.hero-card-score {
    font-weight: 700;
    color: var(--color-primary);
}

.hero-card-text {
    margin: 8px 0 20px;
    color: var(--color-muted);
}

.hero-card-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-card-stats li {
    font-size: 0.9rem;
}

.hero-card-stats span {
    display: block;
    color: var(--color-muted);
    margin-bottom: 6px;
}

.hero-card-stats strong {
    font-size: 1.1rem;
    color: var(--color-dark);
}

.section-subtitle {
    color: var(--color-muted);
    max-width: 600px;
    margin: 12px auto 36px;
    text-align: center;
}

.features-section {
    padding: 90px 0;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.screen-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.screen-card img {
    width: 100%;
    display: block;
}

.screen-card figcaption {
    padding: 18px 22px;
    font-size: 0.98rem;
    color: var(--color-muted);
}

.features-section h2,
.how-section h2,
.roadmap-section h2,
.faq-section h2 {
    text-align: center;
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    margin-bottom: 12px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    padding: 28px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.feature-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.how-section {
    background: var(--color-light);
    padding: 90px 0;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
    align-items: start;
}

.steps-list {
    padding-left: 20px;
    margin: 16px 0;
    color: var(--color-muted);
}

.steps-list li {
    margin-bottom: 12px;
}

.how-highlights {
    display: grid;
    gap: 18px;
}

.highlight-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.roadmap-section {
    padding: 90px 0;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    align-items: start;
}

.roadmap-column {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.05);
}

.roadmap-column h3 {
    margin-top: 0;
    color: var(--color-primary);
}

.roadmap-list {
    margin: 16px 0 0;
    padding-left: 18px;
    color: var(--color-muted);
}

.faq-section {
    background: var(--color-light);
    padding: 90px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.faq-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.legal-page {
    padding: 60px 0 100px;
}

.legal-page h1 {
    font-size: clamp(2rem, 3vw, 2.4rem);
    margin-bottom: 18px;
}

.legal-page section {
    margin-top: 32px;
}

.legal-page h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.legal-page p,
.legal-page ul {
    color: var(--color-muted);
    margin: 0;
}

.legal-page ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 12px;
}

.legal-page li + li {
    margin-top: 8px;
}

.site-footer {
    background: #0b1120;
    color: #e2e8f0;
    padding: 60px 0 24px;
    margin-top: 120px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    align-items: start;
}

.footer-description {
    color: #cbd5f5;
}

.footer-nav-title {
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-nav a,
.footer-note a {
    color: #94a3b8;
}

.footer-nav a:hover,
.footer-note a:hover {
    color: #ffffff;
}

.footer-cta .cta-button {
    margin-bottom: 12px;
}

.footer-note {
    color: #94a3b8;
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    font-size: 0.9rem;
}

.legal-links {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.legal-links a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.legal-links a:hover,
.legal-links a:focus {
    color: #ffffff;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px rgba(0, 102, 255, 0.28);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
    }

    .site-header .logo {
        justify-content: center;
    }

    .main-nav,
    .nav-toggle,
    .nav-list {
        display: none !important;
    }

    .site-header .cta-button {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 12px 18px;
        box-shadow: 0 10px 24px rgba(0, 102, 255, 0.22);
    }

    .hero-section {
        padding-top: 80px;
    }
}

@media (max-width: 640px) {
    .hero-card {
        width: 100%;
    }

    .screens-grid {
        margin-bottom: 30px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }
}

