:root {
    --brand: #003366;
    --brand-dark: #001a33;
    --accent: #00cccc;
    --accent-soft: rgba(0, 204, 204, 0.12);
    --surface: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 24px 60px rgba(0, 51, 102, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.75rem;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav .logo-img {
    height: 1.125rem;
    width: auto;
    max-width: 5rem;
    object-fit: contain;
}

.logo-img {
    width: auto;
    height: 1.125rem;
    max-width: 5rem;
    object-fit: contain;
}

.logo-img-white {
    height: 1rem;
    max-width: 4.5rem;
    object-fit: contain;
}

.logo-footer {
    margin-bottom: 1rem;
}

.logo-footer .logo-img-white {
    height: 1.25rem;
    max-width: 5.5rem;
}

.preview-topbar .logo-img-white {
    height: 0.9rem;
    max-width: 4rem;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.75rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--brand);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-actions .btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
}

.hero-actions .btn-accent,
.cta-box .btn-accent {
    padding: 0.625rem 1.1rem;
    font-size: 0.875rem;
    box-shadow: 0 8px 20px rgba(0, 204, 204, 0.2);
}

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

.btn-ghost {
    color: var(--brand);
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(0, 51, 102, 0.06);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #004d8c);
    box-shadow: 0 12px 30px rgba(0, 51, 102, 0.22);
}

.nav-actions .btn-primary {
    box-shadow: 0 6px 16px rgba(0, 51, 102, 0.16);
}

.btn-primary:hover {
    box-shadow: 0 16px 36px rgba(0, 51, 102, 0.28);
}

.btn-accent {
    color: var(--brand-dark);
    background: var(--accent);
    box-shadow: 0 12px 30px rgba(0, 204, 204, 0.25);
}

.menu-toggle {
    display: inline-flex;
    border: 0;
    background: transparent;
    color: var(--brand);
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    padding: 1rem 0 1.25rem;
    border-top: 1px solid var(--border);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--muted);
    font-weight: 500;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 7.5rem 0 4rem;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 204, 204, 0.18), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(0, 51, 102, 0.16), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin: 0 0 1.25rem;
    color: var(--brand-dark);
}

.hero-copy h1 span {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 38rem;
    margin: 0 0 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.875rem;
}

.preview-card {
    position: relative;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
    padding: 1rem;
}

.preview-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: var(--brand);
    color: #fff;
    margin-bottom: 1rem;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.preview-stat,
.preview-chart {
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    padding: 1rem;
}

.preview-stat strong {
    display: block;
    font-size: 1.35rem;
    color: var(--brand);
    margin-bottom: 0.25rem;
}

.preview-stat span,
.preview-chart span {
    color: var(--muted);
    font-size: 0.85rem;
}

.preview-chart {
    grid-column: span 2;
    min-height: 8rem;
    background:
        linear-gradient(180deg, rgba(0, 204, 204, 0.08), transparent),
        #fff;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 0.65rem;
    height: 5rem;
    margin-top: 1rem;
}

.chart-bars span {
    flex: 1;
    border-radius: 0.5rem 0.5rem 0 0;
    background: linear-gradient(180deg, var(--accent), rgba(0, 51, 102, 0.85));
    opacity: 0.9;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.section-header p.label {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    color: var(--brand-dark);
}

.section-header p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
}

.stat-card strong {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--brand);
    margin-bottom: 0.35rem;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

.features-grid,
.modules-grid,
.pricing-grid {
    display: grid;
    gap: 1.25rem;
}

.feature-card,
.module-card,
.pricing-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.module-card:hover,
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 0.95rem;
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--brand);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card h3,
.module-card h3,
.pricing-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    color: var(--brand-dark);
}

.feature-card p,
.module-card p,
.pricing-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.steps {
    display: grid;
    gap: 1rem;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
}

.step-num {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
}

.step h3 {
    margin: 0 0 0.35rem;
    color: var(--brand-dark);
}

.step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.split-section {
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.cta {
    padding: 4rem 0 5rem;
}

.cta-box {
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 2rem;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-box h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.03em;
}

.cta-box p {
    margin: 0 auto 1.75rem;
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.pricing-card.featured {
    border-color: rgba(0, 204, 204, 0.45);
    box-shadow: var(--shadow);
    position: relative;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand);
    margin: 1rem 0;
}

.pricing-card .price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.pricing-card li {
    padding: 0.45rem 0;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

.pricing-card li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    margin-right: 0.5rem;
}

.featured-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--brand-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}

.footer {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, 0.78);
    padding: 3.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

.footer h4 {
    color: #fff;
    margin: 0 0 1rem;
}

.footer a {
    display: block;
    padding: 0.35rem 0;
    color: rgba(255, 255, 255, 0.72);
}

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

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .stats-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .features-grid,
    .modules-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .btn-ghost.hide-mobile {
        display: none;
    }
}
