/* ─── MD3 Design Tokens ─── */
:root {
    --md-sys-color-primary: #d0bcff;
    --md-sys-color-on-primary: #381e72;
    --md-sys-color-primary-container: #4f378b;
    --md-sys-color-on-primary-container: #eaddff;

    --md-sys-color-secondary: #ccc2dc;
    --md-sys-color-on-secondary: #332d41;
    --md-sys-color-secondary-container: #4a4458;
    --md-sys-color-on-secondary-container: #e8def8;

    --md-sys-color-tertiary: #efb8c8;
    --md-sys-color-on-tertiary: #492532;
    --md-sys-color-tertiary-container: #633b48;
    --md-sys-color-on-tertiary-container: #ffd8e4;

    --md-sys-color-error: #f2b8b5;
    --md-sys-color-on-error: #601410;
    --md-sys-color-error-container: #8c1d18;
    --md-sys-color-on-error-container: #f9dedc;

    --md-sys-color-background: #1c1b1f;
    --md-sys-color-on-background: #e6e1e5;
    --md-sys-color-surface: #1c1b1f;
    --md-sys-color-on-surface: #e6e1e5;

    --md-sys-color-surface-variant: #49454f;
    --md-sys-color-on-surface-variant: #cac4d0;
    --md-sys-color-outline: #938f99;
    --md-sys-color-outline-variant: #49454f;

    --md-sys-color-surface-container-lowest: #0f0d13;
    --md-sys-color-surface-container-low: #1d1b20;
    --md-sys-color-surface-container: #211f26;
    --md-sys-color-surface-container-high: #2b2930;
    --md-sys-color-surface-container-highest: #36343b;

    --md-sys-color-inverse-surface: #e6e1e5;
    --md-sys-color-inverse-on-surface: #313033;

    --md-sys-shape-corner-none: 0px;
    --md-sys-shape-corner-extra-small: 4px;
    --md-sys-shape-corner-small: 8px;
    --md-sys-shape-corner-medium: 12px;
    --md-sys-shape-corner-large: 16px;
    --md-sys-shape-corner-extra-large: 28px;
    --md-sys-shape-corner-full: 9999px;

    --md-sys-typescale-display-large: 57px;
    --md-sys-typescale-display-medium: 45px;
    --md-sys-typescale-headline-large: 32px;
    --md-sys-typescale-headline-medium: 28px;
    --md-sys-typescale-headline-small: 24px;
    --md-sys-typescale-title-large: 22px;
    --md-sys-typescale-title-medium: 16px;
    --md-sys-typescale-title-small: 14px;
    --md-sys-typescale-body-large: 16px;
    --md-sys-typescale-body-medium: 14px;
    --md-sys-typescale-label-large: 14px;
    --md-sys-typescale-label-medium: 12px;
    --md-sys-typescale-label-small: 11px;

    --md-elevation-1:
        0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
    --md-elevation-2:
        0px 1px 2px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
    --md-elevation-3:
        0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px rgba(0, 0, 0, 0.3);
}

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

/* ─── Base ─── */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background);
    font-family: "Google Sans", "Roboto", sans-serif;
    font-size: var(--md-sys-typescale-body-large);
    line-height: 1.6;
    min-height: 100vh;
}

/* ─── Navigation Bar ─── */
.navbar {
    background-color: var(--md-sys-color-surface-container);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--md-elevation-1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--md-sys-shape-corner-medium);
    background-color: var(--md-sys-color-primary-container);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.navbar-brand .brand-name {
    font-size: var(--md-sys-typescale-title-large);
    font-weight: 600;
    color: var(--md-sys-color-on-surface);
    letter-spacing: 0.01em;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─── MD3 Buttons ─── */
.btn-filled {
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    border: none;
    border-radius: var(--md-sys-shape-corner-full);
    padding: 10px 24px;
    font-size: var(--md-sys-typescale-label-large);
    font-weight: 500;
    font-family: inherit;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition:
        box-shadow 0.2s,
        opacity 0.2s;
    position: relative;
    overflow: hidden;
}

.btn-filled:hover {
    box-shadow: var(--md-elevation-2);
    opacity: 0.92;
}

.btn-filled:active {
    opacity: 0.84;
    box-shadow: none;
}

.btn-tonal {
    background-color: var(--md-sys-color-secondary-container);
    color: var(--md-sys-color-on-secondary-container);
    border: none;
    border-radius: var(--md-sys-shape-corner-full);
    padding: 10px 24px;
    font-size: var(--md-sys-typescale-label-large);
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition:
        box-shadow 0.2s,
        opacity 0.2s;
}

.btn-tonal:hover {
    box-shadow: var(--md-elevation-1);
    opacity: 0.92;
}
.btn-tonal:active {
    opacity: 0.84;
}

.btn-outlined {
    background: transparent;
    color: var(--md-sys-color-primary);
    border: 1px solid var(--md-sys-color-outline);
    border-radius: var(--md-sys-shape-corner-full);
    padding: 10px 24px;
    font-size: var(--md-sys-typescale-label-large);
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition:
        background 0.2s,
        border-color 0.2s;
}

.btn-outlined:hover {
    background: rgba(208, 188, 255, 0.08);
    border-color: var(--md-sys-color-primary);
}

.btn-text {
    background: transparent;
    color: var(--md-sys-color-primary);
    border: none;
    border-radius: var(--md-sys-shape-corner-full);
    padding: 10px 12px;
    font-size: var(--md-sys-typescale-label-large);
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-text:hover {
    background: rgba(208, 188, 255, 0.08);
}

/* ─── Hero Section ─── */
.hero {
    padding: 96px 24px 80px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--md-sys-color-tertiary-container);
    color: var(--md-sys-color-on-tertiary-container);
    padding: 6px 16px;
    border-radius: var(--md-sys-shape-corner-full);
    font-size: var(--md-sys-typescale-label-medium);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 6vw, var(--md-sys-typescale-display-medium));
    font-weight: 400;
    line-height: 1.15;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-title strong {
    color: var(--md-sys-color-primary);
    font-weight: 600;
}

.hero-body {
    font-size: var(--md-sys-typescale-body-large);
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ─── Cards ─── */
.card {
    background-color: var(--md-sys-color-surface-container);
    border-radius: var(--md-sys-shape-corner-extra-large);
    padding: 24px;
    border: 1px solid var(--md-sys-color-outline-variant);
}

.card-elevated {
    background-color: var(--md-sys-color-surface-container-high);
    border-radius: var(--md-sys-shape-corner-extra-large);
    padding: 24px;
    box-shadow: var(--md-elevation-2);
}

.card-filled {
    background-color: var(--md-sys-color-surface-container-highest);
    border-radius: var(--md-sys-shape-corner-extra-large);
    padding: 24px;
}

/* ─── Feature Cards ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    padding: 0 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--md-sys-color-surface-container);
    border-radius: var(--md-sys-shape-corner-extra-large);
    padding: 28px 24px;
    border: 1px solid var(--md-sys-color-outline-variant);
    transition:
        box-shadow 0.2s,
        border-color 0.2s;
}

.feature-card:hover {
    box-shadow: var(--md-elevation-2);
    border-color: var(--md-sys-color-outline);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--md-sys-shape-corner-large);
    background-color: var(--md-sys-color-primary-container);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-icon.secondary {
    background-color: var(--md-sys-color-secondary-container);
}
.feature-icon.tertiary {
    background-color: var(--md-sys-color-tertiary-container);
}

.feature-title {
    font-size: var(--md-sys-typescale-title-medium);
    font-weight: 500;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: var(--md-sys-typescale-body-medium);
    color: var(--md-sys-color-on-surface-variant);
    line-height: 1.6;
}

/* ─── Stats Row ─── */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--md-sys-color-surface-container);
    border-radius: var(--md-sys-shape-corner-extra-large);
    border: 1px solid var(--md-sys-color-outline-variant);
    overflow: hidden;
}

.stat-item {
    flex: 1;
    min-width: 160px;
    padding: 28px 24px;
    text-align: center;
    border-right: 1px solid var(--md-sys-color-outline-variant);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: var(--md-sys-typescale-headline-medium);
    font-weight: 600;
    color: var(--md-sys-color-primary);
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: var(--md-sys-typescale-label-medium);
    color: var(--md-sys-color-on-surface-variant);
    letter-spacing: 0.03em;
}

/* ─── Section ─── */
.section {
    padding: 72px 24px;
}

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

.section-title {
    font-size: var(--md-sys-typescale-headline-small);
    font-weight: 400;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: var(--md-sys-typescale-body-large);
    color: var(--md-sys-color-on-surface-variant);
    max-width: 520px;
    margin: 0 auto;
}

/* ─── CTA Banner ─── */
.cta-banner {
    background: linear-gradient(
        135deg,
        var(--md-sys-color-primary-container),
        var(--md-sys-color-secondary-container)
    );
    border-radius: var(--md-sys-shape-corner-extra-large);
    padding: 56px 40px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: var(--md-sys-typescale-headline-medium);
    font-weight: 400;
    color: var(--md-sys-color-on-primary-container);
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--md-sys-color-on-secondary-container);
    margin-bottom: 32px;
    font-size: var(--md-sys-typescale-body-large);
}

/* ─── Chip / Badge ─── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--md-sys-color-surface-container-highest);
    color: var(--md-sys-color-on-surface-variant);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-sys-shape-corner-full);
    padding: 6px 16px;
    font-size: var(--md-sys-typescale-label-medium);
    font-weight: 500;
}

/* ─── Footer ─── */
.footer {
    background-color: var(--md-sys-color-surface-container-low);
    border-top: 1px solid var(--md-sys-color-outline-variant);
    padding: 40px 24px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    list-style: none;
}

.footer-links a {
    color: var(--md-sys-color-on-surface-variant);
    text-decoration: none;
    font-size: var(--md-sys-typescale-body-medium);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--md-sys-color-primary);
}

.footer-copy {
    font-size: var(--md-sys-typescale-label-medium);
    color: var(--md-sys-color-outline);
}

/* ─── Divider ─── */
.divider {
    border: none;
    border-top: 1px solid var(--md-sys-color-outline-variant);
    margin: 0;
}

/* ─── Utility ─── */
.text-primary {
    color: var(--md-sys-color-primary);
}
.text-secondary {
    color: var(--md-sys-color-on-surface-variant);
}
.text-center {
    text-align: center;
}
.mt-sm {
    margin-top: 8px;
}
.mt-md {
    margin-top: 16px;
}
.mt-lg {
    margin-top: 24px;
}
.mt-xl {
    margin-top: 40px;
}
.mb-sm {
    margin-bottom: 8px;
}
.mb-md {
    margin-bottom: 16px;
}
.mb-lg {
    margin-bottom: 24px;
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
    .navbar {
        padding: 0 16px;
    }
    .hero {
        padding: 64px 16px 48px;
    }
    .section {
        padding: 48px 16px;
    }
    .features-grid {
        padding: 0 16px;
        gap: 12px;
    }
    .stat-item {
        min-width: 120px;
        padding: 20px 16px;
    }
    .cta-banner {
        padding: 36px 24px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn-filled,
    .hero-actions .btn-outlined {
        justify-content: center;
    }
}

.plus-register {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.plus {
    justify-content: left;
    align-items: left;
    margin-left: 50px;
    margin-right: 150px;
}
