:root {
    --bg: #05070f;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #6366f1;
    --accent-2: #22d3ee;
    --danger: #ef4444;
    --success: #22c55e;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
    /* WHO THIS IS FOR list styles */
    .who-list {
        list-style: none;
        padding: 0;
        margin: 18px 0 0 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 14px;
    }
    .who-list li {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.10), rgba(34, 211, 238, 0.04));
        border: 1px solid var(--border);
        color: var(--text-primary);
        padding: 14px 16px;
        border-radius: 12px;
        font-weight: 600;
        text-align: center;
        font-size: 15px;
        transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s;
        box-shadow: 0 6px 18px rgba(2, 6, 23, 0.5);
        opacity: 0.98;
    }
    .who-list li:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 48px rgba(34, 211, 238, 0.08);
    }
    @media (max-width: 480px) {
        .who-list {
            grid-template-columns: 1fr;
            gap: 10px;
        }
        .who-list li {
            padding: 12px 14px;
            font-size: 15px;
        }
    }
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", system-ui, sans-serif;
    background: radial-gradient( 1200px 600px at 70% -10%, rgba(99, 102, 241, 0.15), transparent 40%), radial-gradient( 800px 400px at 20% 10%, rgba(34, 211, 238, 0.12), transparent 45%), var(--bg);
    color: var(--text-primary);
    line-height: 1.65;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(5, 7, 15, 0.6);
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-weight: 600;
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: 0.3s;
}

nav a:hover {
    color: var(--text-primary);
}

.hero {
    padding: 160px 0 120px;
    text-align: left;
}

.hero h1 {
    font-size: 64px;
    font-weight: 600;
    letter-spacing: -0.04em;
    max-width: 900px;
}

.hero p {
    margin-top: 28px;
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 640px;
}

.cta {
    margin-top: 48px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

section {
    padding: 140px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.03em;
    max-width: 760px;
}

.section-sub {
    margin-top: 20px;
    color: var(--text-secondary);
    max-width: 680px;
    font-size: 18px;
}

.grid {
    margin-top: 72px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 36px;
}

.card {
    padding: 40px;
    border-radius: var(--radius);
    background: linear-gradient( 180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 14px;
}

.card p {
    color: var(--text-secondary);
    font-size: 15px;
}

.pain-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.pain-list li {
    padding: 20px;
    border-radius: var(--radius);
    background: linear-gradient( 180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    text-align: center;
    font-size: 17px;
    color: var(--text-secondary);
    margin: 0;
}

.danger {
    color: var(--danger);
}

.success {
    color: var(--success);
}

.timeline {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.step {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}

.step span {
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--accent-2);
}

.blur {
    filter: blur(8px);
    opacity: 0.55;
}

footer {
    padding: 100px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.modern-roadmap {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    display: grid;
    gap: 2rem;
}

.roadmap-line {
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #6366f1, #22d3ee);
    opacity: 0.4;
}

.roadmap-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
}

.roadmap-subtitle {
    margin-top: 0.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
}

.roadmap-card {
    position: relative;
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.roadmap-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #22d3ee);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    z-index: 1;
}

.roadmap-text h3 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
}

.roadmap-text p {
    margin: 0;
    opacity: 0.85;
    line-height: 1.6;
}

.roadmap-card.final {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
}

.contact-form {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 14px;
}

.form-field input,
.form-field textarea {
    padding: 14px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 15px;
    resize: none;
    outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--accent-2);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.contact-form .cta {
    align-self: flex-start;
    padding: 16px 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.4);
}


/* Smooth scrolling for anchor links */

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    /* Mobile navigation */
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(5, 7, 15, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.4s ease;
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .mobile-menu-toggle {
        display: flex;
    }
    /* Adjust navigation links for mobile */
    nav a {
        font-size: 16px;
    }
    /* Hero section adjustments */
    .hero {
        padding: 80px 0 60px;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
        max-width: 100%;
    }
    .hero p {
        font-size: 1.1rem;
        max-width: 100%;
    }
    /* Section adjustments */
    section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.8rem;
        text-align: center;
        max-width: 100%;
    }
    .section-sub {
        text-align: center;
        max-width: 100%;
    }
    /* Grid adjustments */
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    .card {
        padding: 24px;
    }
    /* Roadmap section adjustments */
    .modern-roadmap {
        margin-top: 2rem;
    }
    .roadmap-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    .roadmap-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.2rem;
    }
    .roadmap-title {
        font-size: 1.5rem;
    }
    .roadmap-subtitle {
        font-size: 1rem;
    }
    /* Contact form adjustments */
    .contact-form {
        margin-top: 30px;
    }
    .form-grid {
        gap: 20px;
    }
    .form-field input,
    .form-field textarea {
        padding: 12px 16px;
    }
    /* Footer adjustments */
    footer {
        padding: 40px 0;
    }
    /* Additional responsive improvements */
    .container {
        padding: 0 20px;
    }
    .cta {
        padding: 14px 28px;
        font-size: 16px;
    }
    .pain-list li {
        font-size: 16px;
        margin-left: 0;
        text-align: left;
    }
    /* Adjust for very small screens */
    @media (max-width: 480px) {
        .hero h1 {
            font-size: 2rem;
        }
        .hero p {
            font-size: 1rem;
        }
        .section-title {
            font-size: 1.5rem;
        }
        .roadmap-card {
            padding: 1rem;
        }
        .roadmap-icon {
            width: 40px;
            height: 40px;
            min-width: 40px;
            font-size: 1rem;
        }
        .card {
            padding: 20px;
        }
        .form-field input,
        .form-field textarea {
            padding: 10px 14px;
        }
    }
    /* Adjust for larger mobile screens */
    @media (min-width: 769px) and (max-width: 1024px) {
        .grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 28px;
        }
        .roadmap-card {
            flex-direction: row;
            align-items: center;
        }
        .roadmap-icon {
            width: 50px;
            height: 50px;
            min-width: 50px;
        }
    }
}


/* Success modal styles */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 9999;
}


/* Reposition Google reCAPTCHA badge to the left side */

.grecaptcha-badge {
    left: 18px !important;
    right: auto !important;
}


/* Additional specificity for stubborn reCAPTCHA */

@media (max-width: 480px) {
    .grecaptcha-badge {
        left: 10px !important;
    }
}


/*
 Hiding the badge (for example `display:none`) is against
 Google reCAPTCHA Terms of Service. If you prefer the badge
 inline with the form, set `data-badge="inline"` on the
 `div.g-recaptcha` element and position that element where
 you want inside the form instead of hiding the badge.
*/

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
    display: flex;
}

.modal {
    width: 100%;
    max-width: 640px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 16px;
    color: var(--text-primary);
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.75);
    outline: none;
}

.modal-header h2 {
    margin: 0 0 8px 0;
    font-size: 20px;
}

.modal-body {
    color: var(--text-secondary);
    margin-top: 8px;
    font-size: 15px;
}

.modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 14px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 22px;
    cursor: pointer;
}

.modal .cta.modal-ok {
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: none;
    color: #fff;
}

@media (max-width: 480px) {
    .modal {
        padding: 18px;
        border-radius: 12px;
    }
    .modal-header h2 {
        font-size: 18px;
    }
}