:root {
    --bg-dark: #070a13;
    --neon-cyan: #00f0ff;
    --neon-purple: #9d33d6;
    --text-main: #ffffff;
    --text-muted: #aab4cc;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    letter-spacing: 0.2px;
    font-weight: 400;
    /* Drawing the precise circuit board background from the mockup */
    background-image:
        /* Cyan angled circuit line top left */
        linear-gradient(135deg, transparent 40%, rgba(0, 240, 255, 0.15) 40%, rgba(0, 240, 255, 0.15) 40.2%, transparent 40.2%),
        linear-gradient(135deg, transparent 38%, rgba(0, 240, 255, 0.08) 38%, rgba(0, 240, 255, 0.08) 38.1%, transparent 38.1%),
        linear-gradient(45deg, transparent 20%, rgba(0, 240, 255, 0.1) 20%, rgba(0, 240, 255, 0.1) 20.2%, transparent 20.2%),

        /* Purple angled circuit line top right */
        linear-gradient(-135deg, transparent 30%, rgba(157, 51, 214, 0.2) 30%, rgba(157, 51, 214, 0.2) 30.2%, transparent 30.2%),
        linear-gradient(-45deg, transparent 15%, rgba(157, 51, 214, 0.1) 15%, rgba(157, 51, 214, 0.1) 15.2%, transparent 15.2%),

        /* Cyan horizontal/angled traces bottom left */
        linear-gradient(20deg, transparent 60%, rgba(0, 240, 255, 0.15) 60%, rgba(0, 240, 255, 0.15) 60.1%, transparent 60.1%),

        /* Glowing nodes (dots) */
        radial-gradient(circle at 20% 40%, rgba(0, 240, 255, 0.4) 0%, rgba(0, 240, 255, 0.1) 2%, transparent 6%),
        radial-gradient(circle at 80% 30%, rgba(157, 51, 214, 0.4) 0%, rgba(157, 51, 214, 0.1) 2%, transparent 6%),
        radial-gradient(circle at 15% 70%, rgba(0, 240, 255, 0.2) 0%, transparent 4%),

        /* Deep background gradients */
        radial-gradient(circle at center, rgba(13, 19, 43, 0.9), rgba(4, 6, 15, 1));

    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* =====================================
   Top Navigation
   ===================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.pill-prelaunch {
    background: linear-gradient(90deg, #103342, #071f2a);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.15rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--neon-cyan);
}

/* =====================================
   Hero
   ===================================== */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 2rem;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.status-indicator {
    background: linear-gradient(180deg, rgba(255, 51, 102, 0.15), rgba(255, 51, 102, 0.05));
    border: 1px solid rgba(255, 51, 102, 0.6);
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #ffffff;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.2), inset 0 0 10px rgba(255, 51, 102, 0.1);
    text-align: center;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-indicator span {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

/* The Waitlist Button is a pill with neon text and border */
.btn-waitlist {
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.1), transparent);
    border: 1px solid var(--neon-cyan);
    color: #ffffff;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2), inset 0 0 10px rgba(0, 240, 255, 0.1);
    transition: all 0.3s;
}

.btn-waitlist:hover {
    background: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4), inset 0 0 15px rgba(0, 240, 255, 0.3);
}

/* =====================================
   Complex Cyber Frames (Matches Mockup)
   ===================================== */
/* The Problem panel and similar cards use these glowing cut corners */
.cyber-panel {
    position: relative;
    padding: 2px;
    /* Create the slanted polygon shape for the borders */
    clip-path: polygon(20px 0, 100% 0,
            100% calc(100% - 20px), calc(100% - 20px) 100%,
            0 100%, 0 20px);
    margin: 0 auto;
}

/* Base styling for the borders */
.cyber-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    z-index: 0;
}

/* Cyan Glowing Borders */
.cyber-panel-cyan::before {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, rgba(0, 240, 255, 0.4) 50%, var(--neon-cyan) 100%);
}

.cyber-panel-cyan-dim::before {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.5) 0%, rgba(0, 240, 255, 0.2) 50%, rgba(0, 240, 255, 0.5) 100%);
}

/* Purple Glowing Borders */
.cyber-panel-purple::before {
    background: linear-gradient(135deg, var(--neon-purple) 0%, rgba(157, 51, 214, 0.4) 50%, var(--neon-purple) 100%);
}

.cyber-panel-red::before {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.8) 0%, transparent 40%, transparent 60%, rgba(255, 51, 102, 0.8) 100%);
}

.cyber-panel-inner {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(21, 35, 62, 0.8), rgba(9, 14, 27, 0.9));
    backdrop-filter: blur(10px);
    width: 100%;
    height: 100%;
    /* Must match wrapper clip-path precisely */
    clip-path: polygon(19px 0, 100% 0,
            100% calc(100% - 19px), calc(100% - 19px) 100%,
            0 100%, 0 19px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Frame specific for DRI / SRI (Pill-like with corner brackets) */
.indicator-panel {
    position: relative;
    border-radius: 50px;
    padding: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    overflow: hidden;
}

.indicator-panel-cyan {
    background: linear-gradient(90deg, var(--neon-cyan) 0%, rgba(0, 240, 255, 0.2) 100%);
    box-shadow: -10px 0 20px rgba(0, 240, 255, 0.2);
}

.indicator-panel-purple {
    background: linear-gradient(90deg, var(--neon-purple) 0%, rgba(157, 51, 214, 0.2) 100%);
    box-shadow: -10px 0 20px rgba(157, 51, 214, 0.2);
}

.indicator-inner {
    background: rgba(7, 12, 24, 0.9);
    border-radius: 50px;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.indicator-icon-cyan svg {
    stroke: var(--neon-cyan);
    fill: none;
}

.indicator-icon-purple svg {
    stroke: var(--neon-purple);
    fill: none;
}

/* The text inside the DRI/SRI cards */
.ind-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.ind-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* Layouts */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-8 {
    gap: 2rem;
}

/* =====================================
   Footer
   ===================================== */
.footer {
    position: relative;
    margin-top: auto;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 2rem 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    background: rgba(7, 10, 19, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 240, 255, 0.15);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 250px;
    flex: 1;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--neon-cyan);
}

.footer-prototype-note {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.5rem;
    line-height: 1.4;
    border-left: 2px solid rgba(255, 51, 102, 0.4);
    padding-left: 0.75rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

body {
    padding-bottom: 0px;
}

/* Demo Banner */
.demo-banner {
    background: #ff3366;
    color: white;
    padding: 0.25rem 0;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 100;
}

.demo-banner marquee {
    display: block;
}

/* =====================================
   Responsiveness
   ===================================== */
.min-h-screen {
    min-height: 100vh;
}

@media (max-width: 768px) {

    /* Global classes used in inline styles or specific pages */
    .founder-grid,
    .layout-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .segments-grid {
        grid-template-columns: 1fr !important;
    }

    .process-flow {
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem !important;
    }

    .process-line {
        display: none !important;
    }

    .process-step {
        width: 100% !important;
    }

    /* Navbar */
    .navbar {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }

    .nav-links {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1rem !important;
        line-height: 1.8;
    }

    /* Typography */
    .hero-title {
        font-size: 2rem !important;
    }

    .page-title {
        font-size: 1.8rem !important;
    }

    /* Specific overrides for flex rows using inline styles */
    .cyber-panel-inner[style*="flex-direction: row"] {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem !important;
    }

    .flex.gap-8 {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .input-group,
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}