@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #050505;
    --bg-secondary: #0f1011;
    --bg-tertiary: #16181a;
    --text: #ffffff;
    --text-muted: #9ca3af;
    --accent: #0070f3;
    --border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(5, 5, 5, 0.7);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Utilities */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
}
.btn-primary:hover {
    background: #0060d4;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}
.eyebrow.center {
    text-align: center;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-logo-img {
    height: 56px;
    width: 56px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-name {
    font-weight: 700;
    font-size: 1.25rem;
}
.brand-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.nav-announcement {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: #e5e5e5;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.nav-announcement:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}
.nav-links a:not(.btn):hover {
    color: #fff;
}
.nav-links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}
.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 5% 3rem;
    min-height: 720px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.94) 0%,
        rgba(0, 0, 0, 0.78) 34%,
        rgba(0, 0, 0, 0.35) 64%,
        rgba(0, 0, 0, 0.12) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero h1 {
    font-size: clamp(3rem, 4.2vw, 4.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}
@media (min-width: 769px) {
    .no-wrap-desktop {
        white-space: nowrap;
    }
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    max-width: 610px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.explore-arrow {
    animation: arrowBounce 1.6s infinite;
}
@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Stepper (Now inside Hero) */
.stepper-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 3;
    margin-top: 55px;
    transform: translateY(75px);
    background: rgba(8, 10, 12, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}
.stepper-icon {
    width: 58px;
    height: 58px;
    background: #0a0b0c;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}
.stepper-item:hover .stepper-icon {
    border-color: rgba(0, 112, 243, 0.5);
    background: rgba(0, 112, 243, 0.05);
}
.stepper-label {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}
.stepper-line {
    flex: 1;
    position: relative;
    height: 1px;
    margin-top: 29px;
}

.stepper-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40px;
    right: -40px;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255,255,255,0.5) 33%, rgba(255,255,255,0) 0%);
    background-position: center;
    background-size: 8px 1px;
    background-repeat: repeat-x;
    z-index: 0;
}

.stepper-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #fff;
    border: 2px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
}

/* Features Grid */
.features-section {
    padding: 200px 5% 4rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: #0a0b0c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border-color 0.3s;
}
.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Metrics Section */
.metrics-section {
    padding: 4rem 5%;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.metric-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.metric-icon {
    color: var(--accent);
    flex-shrink: 0;
}
.metric-content h3 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.metric-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.metric-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Dashboard Showcase */
.dashboard-showcase {
    padding: 8rem 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-content {
    flex: 1;
    max-width: 500px;
}
.showcase-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.showcase-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.checklist {
    list-style: none;
}
.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #e5e5e5;
}
.checklist li svg {
    color: var(--accent);
    width: 20px;
    height: 20px;
}

.showcase-image {
    flex: 1.5;
    position: relative;
    aspect-ratio: 16/10;
}
.showcase-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    opacity: 0;
    animation: slideShow 16s infinite;
}
.showcase-image img:nth-child(1) { animation-delay: 0s; }
.showcase-image img:nth-child(2) { animation-delay: 4s; }
.showcase-image img:nth-child(3) { animation-delay: 8s; }
.showcase-image img:nth-child(4) { animation-delay: 12s; }

@keyframes slideShow {
    0% { opacity: 0; transform: scale(1.02); }
    5% { opacity: 1; transform: scale(1); }
    25% { opacity: 1; transform: scale(1); }
    30% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 0; transform: scale(0.98); }
}

/* Pilot Program */
.pilot-section {
    padding: 8rem 5% 4rem;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(22, 131, 255, 0.08),
            transparent 38%
        ),
        #050505;
    max-width: 1400px;
    margin: 0 auto;
}
.pilot-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 48px;
}
.pilot-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}
.pilot-title {
    font-size: clamp(2.4rem, 3.7vw, 4.2rem);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.pilot-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 1050px;
    margin: 28px auto 0;
    line-height: 1.6;
}
.pilot-cards {
    margin-top: 48px;
}
.pilot-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(40, 140, 255, 0.35);
    border-radius: 12px;
    color: #1683ff;
    background: rgba(22, 131, 255, 0.08);
}
.pilot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.pilot-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.pilot-card:hover {
    transform: translateY(-6px);
    border-color: rgba(22, 131, 255, 0.45);
}
.pilot-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 22px 0 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pilot-card p {
    color: rgba(255, 255, 255, 0.67);
    line-height: 1.6;
    margin: 0;
}

/* Demo Section */
.demo-section {
    padding: 6rem 5%;
    background: var(--bg-primary);
}
.demo-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.demo-text {
    text-align: center;
    margin-bottom: 2.5rem;
}
.demo-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.demo-text p {
    color: var(--text-muted);
    line-height: 1.6;
}
.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-weight: 500;
    font-size: 0.95rem;
    color: #e5e5e5;
}
.form-group input {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.form-section-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    color: #fff;
}
.form-group-checkboxes {
    margin-bottom: 2rem;
}
.form-group-checkboxes > label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    color: var(--text-muted);
    cursor: pointer;
}
.checkbox-grid input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent);
}
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.form-consent input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 16px;
    height: 16px;
}
.form-consent a {
    color: var(--accent);
    text-decoration: none;
}
.demo-error {
    color: #ff453a;
    background: rgba(255, 69, 58, 0.1);
    border: 1px solid rgba(255, 69, 58, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: left;
    animation: fadeIn 0.3s ease;
}

.demo-success {
    text-align: center;
    padding: 3rem 0;
    animation: fadeIn 0.5s ease;
}
.demo-success .success-icon {
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.demo-success h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.demo-success p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}
.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

/* Footer Layout */
.cta-banner {
    margin: 6rem 5% 4rem;
    background: linear-gradient(90deg, var(--bg-tertiary), var(--bg-secondary));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* Legal Pages */
.legal-page {
    padding: 8rem 5% 4rem;
    max-width: 800px;
    margin: 0 auto;
}
.legal-page h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}
.legal-page h2 {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #e5e5e5;
}
.legal-page p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.legal-page ul {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.legal-page li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

footer {
    padding: 4rem 5% 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    border-top: 1px solid var(--border);
    max-width: 1400px;
    margin: 0 auto;
}
.cta-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.cta-text h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.cta-text p {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    border-top: 1px solid var(--border);
    max-width: 1400px;
    margin: 0 auto;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 150px;
}
.brand-col {
    flex: 2;
    min-width: 300px;
}
.brand-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
    margin-top: 1rem;
}
.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: #fff;
}
.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.socials a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom {
    width: 100%;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-legal {
    display: flex;
    gap: 2rem;
}
.back-to-top {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s ease;
}
.back-to-top:hover {
    color: var(--text-primary);
}

@media (max-width: 1100px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-showcase {
        flex-direction: column;
    }
    .showcase-image {
        width: 100%;
    }
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .cta-content {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .nav-links {
        display: none;
    }
    .nav-announcement {
        order: 3;
        width: 100%;
        justify-content: center;
        font-size: 0.8rem;
    }
    
    /* Compact Header Elements for Mobile */
    .brand-logo-img {
        height: 44px;
        width: 44px;
    }
    .brand-name {
        font-size: 1.25rem;
    }
    .brand-sub {
        display: none;
    }
    .nav-links .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .bento-grid,
    .pilot-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
    .checkbox-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pilot-title {
        font-size: 2.2rem;
    }
    .pilot-card {
        padding: 24px;
    }
    .hero {
        padding: 12rem 5% 2rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .stepper-container {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        width: 100vw;
        margin-left: -5%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .stepper-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    .stepper-item {
        flex-shrink: 0;
    }
    .stepper-line {
        flex-shrink: 0;
        width: 30px;
        min-width: 30px;
        margin-top: 29px;
    }
    .stepper-line::before {
        display: none;
    }
}
