/* IDEOLOGOS Landing Page - Refined Terminal Aesthetic */

/* ========================================
   COLOR SYSTEM (WCAG AA Compliant)
   ======================================== */
:root {
    --bg-primary: #0a0a0a;           /* Deep black */
    --text-primary: #e0e0e0;         /* Light gray - body text (13.1:1 contrast) */
    --text-heading: #ffffff;         /* White - headings (19.6:1 contrast) */
    --accent-primary: #00ff41;       /* Matrix green - CTAs, borders */
    --accent-secondary: #4a9eff;     /* Muted blue - links */
    --border-terminal: rgba(0, 255, 65, 0.3); /* Terminal borders */
    --bg-card: rgba(0, 255, 65, 0.03);       /* Subtle card background */
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
}

code {
    font-family: 'JetBrains Mono', monospace;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    border-bottom: 2px solid var(--border-terminal);

    /* Corner bracket borders - top-left and bottom-right only */
    background-image:
        /* Top-left corner - horizontal */
        linear-gradient(to right, var(--accent-primary) 0%, var(--accent-primary) 120px),
        /* Top-left corner - vertical */
        linear-gradient(to bottom, var(--accent-primary) 0%, var(--accent-primary) 120px),
        /* Bottom-right corner - horizontal */
        linear-gradient(to left, var(--accent-primary) 0%, var(--accent-primary) 120px),
        /* Bottom-right corner - vertical */
        linear-gradient(to top, var(--accent-primary) 0%, var(--accent-primary) 120px);

    background-size:
        120px 2px,  /* Top-left horizontal */
        2px 120px,  /* Top-left vertical */
        120px 2px,  /* Bottom-right horizontal */
        2px 120px;  /* Bottom-right vertical */

    background-position:
        20px 20px,        /* Top-left horizontal */
        20px 20px,        /* Top-left vertical */
        calc(100% - 20px) calc(100% - 20px),  /* Bottom-right horizontal */
        calc(100% - 20px) calc(100% - 20px);  /* Bottom-right vertical */

    background-repeat: no-repeat;
    background-color: var(--bg-primary);
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.logo-section {
    margin-bottom: 60px;
}

.logo-title {
    font-size: 48px;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.logo-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    text-transform: uppercase;
}

.hero-headline {
    font-size: 56px;
    margin-bottom: 24px;
    letter-spacing: -0.02em;

    /* Phosphor glow effect */
    text-shadow:
        0 0 15px rgba(0, 255, 65, 0.8),
        0 0 30px rgba(0, 255, 65, 0.4),
        2px 2px 0 rgba(0, 255, 210, 0.3);

    animation: phosphor-pulse 3s ease-in-out infinite;
}

@keyframes phosphor-pulse {
    0%, 100% {
        text-shadow:
            0 0 15px rgba(0, 255, 65, 0.8),
            0 0 30px rgba(0, 255, 65, 0.4),
            2px 2px 0 rgba(0, 255, 210, 0.3);
    }
    50% {
        text-shadow:
            0 0 20px rgba(0, 255, 65, 1),
            0 0 40px rgba(0, 255, 65, 0.6),
            2px 2px 0 rgba(0, 255, 210, 0.5);
    }
}

.hero-subtext {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 48px;
    font-weight: 400;
}

.desktop-break {
    display: block;
}

/* ========================================
   BUTTONS & CTAs
   ======================================== */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 24px;
}

.btn-primary {
    background: rgba(0, 255, 65, 0.2);
    color: var(--accent-primary);
    padding: 16px 40px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;

    /* Angular corners with clip-path */
    clip-path: polygon(
        0 0,
        calc(100% - 10px) 0,
        100% 10px,
        100% 100%,
        10px 100%,
        0 calc(100% - 10px)
    );

    /* Corner bracket borders - top-left and bottom-right only */
    background-image:
        /* Top-left corner - horizontal */
        linear-gradient(to right, var(--accent-primary) 0%, var(--accent-primary) 40px),
        /* Top-left corner - vertical */
        linear-gradient(to bottom, var(--accent-primary) 0%, var(--accent-primary) 40px),
        /* Bottom-right corner - horizontal */
        linear-gradient(to left, var(--accent-primary) 0%, var(--accent-primary) 40px),
        /* Bottom-right corner - vertical */
        linear-gradient(to top, var(--accent-primary) 0%, var(--accent-primary) 40px);

    background-size:
        40px 3px,  /* Top-left horizontal */
        3px 40px,  /* Top-left vertical */
        40px 3px,  /* Bottom-right horizontal */
        3px 40px;  /* Bottom-right vertical */

    background-position:
        0 0,              /* Top-left horizontal */
        0 0,              /* Top-left vertical */
        100% 100%,        /* Bottom-right horizontal */
        100% 100%;        /* Bottom-right vertical */

    background-repeat: no-repeat;

    /* Glowing effect */
    box-shadow:
        inset 0 0 15px rgba(0, 255, 65, 0.2),
        0 0 20px rgba(0, 255, 65, 0.4);
}

.btn-primary:hover {
    background-image:
        linear-gradient(to right, var(--accent-primary) 0%, var(--accent-primary) 40px),
        linear-gradient(to bottom, var(--accent-primary) 0%, var(--accent-primary) 40px),
        linear-gradient(to left, var(--accent-primary) 0%, var(--accent-primary) 40px),
        linear-gradient(to top, var(--accent-primary) 0%, var(--accent-primary) 40px);
    background-size:
        40px 3px,
        3px 40px,
        40px 3px,
        3px 40px;
    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;
    background-repeat: no-repeat;
    background-color: rgba(0, 255, 65, 0.3);
    box-shadow:
        inset 0 0 20px rgba(0, 255, 65, 0.3),
        0 0 30px rgba(0, 255, 65, 0.6);
    filter: brightness(1.1) saturate(1.2);
    transform: translateY(-2px);
}

.btn-primary.large {
    font-size: 16px;
    padding: 20px 60px;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 16px 40px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;

    /* Angular corners with clip-path */
    clip-path: polygon(
        0 0,
        calc(100% - 10px) 0,
        100% 10px,
        100% 100%,
        10px 100%,
        0 calc(100% - 10px)
    );

    /* Corner bracket borders - top-left and bottom-right only */
    background-image:
        linear-gradient(to right, var(--border-terminal) 0%, var(--border-terminal) 40px),
        linear-gradient(to bottom, var(--border-terminal) 0%, var(--border-terminal) 40px),
        linear-gradient(to left, var(--border-terminal) 0%, var(--border-terminal) 40px),
        linear-gradient(to top, var(--border-terminal) 0%, var(--border-terminal) 40px);

    background-size:
        40px 3px,
        3px 40px,
        40px 3px,
        3px 40px;

    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;

    background-repeat: no-repeat;
}

.btn-secondary:hover {
    background-image:
        linear-gradient(to right, var(--accent-primary) 0%, var(--accent-primary) 40px),
        linear-gradient(to bottom, var(--accent-primary) 0%, var(--accent-primary) 40px),
        linear-gradient(to left, var(--accent-primary) 0%, var(--accent-primary) 40px),
        linear-gradient(to top, var(--accent-primary) 0%, var(--accent-primary) 40px);
    background-size:
        40px 3px,
        3px 40px,
        40px 3px,
        3px 40px;
    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;
    background-repeat: no-repeat;
    color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.beta-note {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 120px 20px;
    border-bottom: 1px solid var(--border-terminal);
    position: relative;
}

/* Gradient divider after each section */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 255, 65, 0.3) 5%,
        rgba(0, 255, 210, 0.6) 50%,
        rgba(0, 255, 65, 0.3) 95%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;

    /* Phosphor glow effect */
    text-shadow:
        0 0 10px rgba(0, 255, 65, 0.6),
        0 0 20px rgba(0, 255, 65, 0.3);

    animation: phosphor-pulse-subtle 4s ease-in-out infinite;
}

@keyframes phosphor-pulse-subtle {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(0, 255, 65, 0.6),
            0 0 20px rgba(0, 255, 65, 0.3);
    }
    50% {
        text-shadow:
            0 0 15px rgba(0, 255, 65, 0.8),
            0 0 30px rgba(0, 255, 65, 0.4);
    }
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 60px;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.problem-item {
    padding: 24px;
    border: 1px solid var(--border-terminal);
    border-radius: 4px;
    background: var(--bg-card);
}

.problem-text {
    font-size: 15px;
    line-height: 1.6;
}

.problem-conclusion {
    text-align: center;
    font-size: 24px;
    color: var(--text-heading);
    font-weight: 600;
    margin-top: 40px;
}

/* Crisis Story Styles */
.crisis-story {
    max-width: 800px;
    margin: 0 auto;
}

.crisis-text {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-body);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    transition: all 0.3s ease;
    position: relative;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 8px) 0,
        100% 8px,
        100% 100%,
        8px 100%,
        0 calc(100% - 8px)
    );

    /* Corner bracket borders - top-left and bottom-right only */
    background-image:
        linear-gradient(to right, var(--border-terminal) 0%, var(--border-terminal) 50px),
        linear-gradient(to bottom, var(--border-terminal) 0%, var(--border-terminal) 50px),
        linear-gradient(to left, var(--border-terminal) 0%, var(--border-terminal) 50px),
        linear-gradient(to top, var(--border-terminal) 0%, var(--border-terminal) 50px);

    background-size:
        50px 3px,
        3px 50px,
        50px 3px,
        3px 50px;

    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;

    background-repeat: no-repeat;
}

.stat-item:hover {
    background-image:
        linear-gradient(to right, rgba(255, 68, 68, 0.5) 0%, rgba(255, 68, 68, 0.5) 50px),
        linear-gradient(to bottom, rgba(255, 68, 68, 0.5) 0%, rgba(255, 68, 68, 0.5) 50px),
        linear-gradient(to left, rgba(255, 68, 68, 0.5) 0%, rgba(255, 68, 68, 0.5) 50px),
        linear-gradient(to top, rgba(255, 68, 68, 0.5) 0%, rgba(255, 68, 68, 0.5) 50px);
    background-size:
        50px 3px,
        3px 50px,
        50px 3px,
        3px 50px;
    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;
    background-repeat: no-repeat;
    background-color: var(--bg-card);
    box-shadow:
        inset 0 0 10px rgba(255, 68, 68, 0.05),
        0 0 15px rgba(255, 68, 68, 0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 12px;
}

.stat-label {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
}

.crisis-conclusion {
    font-size: 18px;
    line-height: 1.7;
    margin: 32px 0;
    color: var(--text-body);
    text-align: center;
}

.crisis-sources {
    font-size: 14px;
    text-align: center;
    color: var(--text-muted);
    margin-top: 32px;
}

.crisis-sources a {
    color: var(--accent-green);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.crisis-sources a:hover {
    border-bottom-color: var(--accent-green);
}

/* ========================================
   VISION SECTION
   ======================================== */
.vision-section {
    background: linear-gradient(180deg,
        rgba(0, 255, 65, 0.02) 0%,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 255, 65, 0.02) 100%);
}

.vision-intro {
    font-size: 20px;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--text-primary);
}

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

.vision-card {
    padding: 40px 32px;
    background: var(--bg-card);
    position: relative;
    transition: all 0.3s ease;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 12px) 0,
        100% 12px,
        100% 100%,
        12px 100%,
        0 calc(100% - 12px)
    );

    /* Corner bracket borders - top-left and bottom-right only */
    background-image:
        linear-gradient(to right, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to bottom, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to left, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to top, var(--border-terminal) 0%, var(--border-terminal) 60px);

    background-size:
        60px 3px,
        3px 60px,
        60px 3px,
        3px 60px;

    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;

    background-repeat: no-repeat;
}

.vision-card:hover {
    background-image:
        linear-gradient(to right, var(--accent-primary) 0%, var(--accent-primary) 60px),
        linear-gradient(to bottom, var(--accent-primary) 0%, var(--accent-primary) 60px),
        linear-gradient(to left, var(--accent-primary) 0%, var(--accent-primary) 60px),
        linear-gradient(to top, var(--accent-primary) 0%, var(--accent-primary) 60px);
    background-size:
        60px 3px,
        3px 60px,
        60px 3px,
        3px 60px;
    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;
    background-repeat: no-repeat;
    background-color: var(--bg-card);
    box-shadow:
        inset 0 0 15px rgba(0, 255, 65, 0.1),
        0 0 25px rgba(0, 255, 65, 0.2);
    transform: translateY(-4px);
}

.vision-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}

.vision-card-title {
    font-size: 24px;
    color: var(--text-heading);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.vision-card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
}

/* ========================================
   FEATURES FLOW SECTION (How It Works)
   ======================================== */
.features-flow {
    max-width: 700px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 20px;
}

/* Vertical connecting line */
.features-flow::before {
    content: '';
    position: absolute;
    left: 56px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--border-terminal) 10%,
        var(--border-terminal) 90%,
        transparent 100%
    );
}

.feature-flow-item {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    position: relative;
    transition: all 0.3s ease;
}

.feature-flow-item:hover {
    transform: translateX(8px);
}

.feature-flow-item:hover .feature-flow-icon {
    border-color: var(--accent-primary);
    box-shadow:
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 10px rgba(0, 255, 65, 0.1);
}

.feature-flow-item:hover .icon-symbol {
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
}

.feature-flow-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 2px solid var(--border-terminal);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 8px) 0,
        100% 8px,
        100% 100%,
        8px 100%,
        0 calc(100% - 8px)
    );
}

.icon-symbol {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
    transition: all 0.3s ease;
}

.icon-emoji {
    font-size: 32px;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(0, 255, 65, 0.4));
    transition: all 0.3s ease;
}

.feature-flow-item:hover .icon-emoji {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.6));
}

.feature-flow-content {
    flex: 1;
    padding-top: 4px;
}

.feature-flow-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.15em;
    margin-bottom: 6px;
    opacity: 0.7;
}

.feature-flow-title {
    font-size: 20px;
    color: var(--text-heading);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.feature-flow-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
    max-width: 600px;
}

@media (max-width: 768px) {
    .features-flow {
        margin-top: 40px;
    }

    .features-flow::before {
        left: 27px;
        top: 40px;
        bottom: 40px;
    }

    .feature-flow-item {
        gap: 20px;
        padding: 16px 0;
    }

    .feature-flow-item:hover {
        transform: translateX(4px);
    }

    .feature-flow-icon {
        width: 56px;
        height: 56px;
    }

    .icon-symbol {
        font-size: 16px;
    }

    .feature-flow-title {
        font-size: 17px;
    }

    .feature-flow-desc {
        font-size: 14px;
    }
}

/* ========================================
   CAPABILITIES SECTION (Legacy)
   ======================================== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.capability-card {
    padding: 32px;
    background: var(--bg-card);
    transition: all 0.3s ease;
    position: relative;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 12px) 0,
        100% 12px,
        100% 100%,
        12px 100%,
        0 calc(100% - 12px)
    );

    /* Corner bracket borders - top-left and bottom-right only */
    background-image:
        linear-gradient(to right, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to bottom, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to left, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to top, var(--border-terminal) 0%, var(--border-terminal) 60px);

    background-size:
        60px 3px,
        3px 60px,
        60px 3px,
        3px 60px;

    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;

    background-repeat: no-repeat;
}

.capability-card:hover {
    background-image:
        linear-gradient(to right, var(--accent-primary) 0%, var(--accent-primary) 60px),
        linear-gradient(to bottom, var(--accent-primary) 0%, var(--accent-primary) 60px),
        linear-gradient(to left, var(--accent-primary) 0%, var(--accent-primary) 60px),
        linear-gradient(to top, var(--accent-primary) 0%, var(--accent-primary) 60px);
    background-size:
        60px 3px,
        3px 60px,
        60px 3px,
        3px 60px;
    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;
    background-repeat: no-repeat;
    background-color: var(--bg-card);
    box-shadow:
        inset 0 0 15px rgba(0, 255, 65, 0.1),
        0 0 25px rgba(0, 255, 65, 0.2);
    transform: translateY(-4px);
}

.capability-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.capability-icon {
    font-size: 32px;
}

.capability-header h4 {
    font-size: 20px;
}

.capability-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.capability-terminal {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-primary);
    border-radius: 4px;
    padding: 12px 16px;
}

.capability-terminal code {
    color: var(--accent-primary);
    font-size: 13px;
}

/* ========================================
   AUDIENCE SECTION
   ======================================== */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.audience-header {
    font-size: 20px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-terminal);
}

.audience-header.positive {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.audience-header.negative {
    color: #ff4444;
    border-bottom-color: rgba(255, 68, 68, 0.3);
}

.audience-list {
    list-style: none;
}

.audience-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
}

.audience-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.audience-column:last-child .audience-list li::before {
    content: '×';
    color: #ff4444;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-list {
    max-width: 700px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-status {
    font-size: 20px;
    color: var(--accent-primary);
    font-family: 'JetBrains Mono', monospace;
}

.feature-text {
    font-size: 15px;
    line-height: 1.6;
}

.feature-text strong {
    color: var(--text-heading);
    font-weight: 600;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    text-align: center;
}

.cta-title {
    font-size: 48px;
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.7);
}

.cta-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px;
    background: var(--bg-card);
    position: relative;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 12px) 0,
        100% 12px,
        100% 100%,
        12px 100%,
        0 calc(100% - 12px)
    );

    /* Corner bracket borders - top-left and bottom-right only */
    background-image:
        linear-gradient(to right, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to bottom, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to left, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to top, var(--border-terminal) 0%, var(--border-terminal) 60px);

    background-size:
        60px 3px,
        3px 60px,
        60px 3px,
        3px 60px;

    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;

    background-repeat: no-repeat;
    background-color: var(--bg-card);
}

.cta-pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-terminal);
}

.price-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'JetBrains Mono', monospace;
}

.price-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-heading);
    font-family: 'JetBrains Mono', monospace;
}

.price-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.cta-fine-print {
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.text-link {
    color: var(--accent-secondary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.text-link:hover {
    border-bottom-color: var(--accent-secondary);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 60px 20px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 36px;
    }

    .hero-subtext {
        font-size: 16px;
    }

    .logo-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .capabilities-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .desktop-break {
        display: inline;
    }

    .section {
        padding: 80px 20px;
    }

    .cta-box {
        padding: 32px 24px;
    }

    .price-value {
        font-size: 28px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.btn-primary:focus,
.btn-secondary:focus,
.text-link:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   NEW ELEMENTS - UPDATED DESIGN
   ======================================== */

/* Text link secondary (replaces button) */
.text-link-secondary {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    display: inline-block;
    margin-top: 8px;
}

.text-link-secondary:hover {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

/* Terminal icon styling */
.capability-icon {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    color: var(--accent-primary);
    letter-spacing: 2px;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    padding: 32px;
    background: var(--bg-card);
    transition: all 0.3s ease;
    position: relative;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 12px) 0,
        100% 12px,
        100% 100%,
        12px 100%,
        0 calc(100% - 12px)
    );

    /* Corner bracket borders - top-left and bottom-right only */
    background-image:
        linear-gradient(to right, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to bottom, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to left, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to top, var(--border-terminal) 0%, var(--border-terminal) 60px);

    background-size:
        60px 3px,
        3px 60px,
        60px 3px,
        3px 60px;

    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;

    background-repeat: no-repeat;
}

.pricing-card.featured {
    background-image:
        linear-gradient(to right, var(--accent-primary) 0%, var(--accent-primary) 60px),
        linear-gradient(to bottom, var(--accent-primary) 0%, var(--accent-primary) 60px),
        linear-gradient(to left, var(--accent-primary) 0%, var(--accent-primary) 60px),
        linear-gradient(to top, var(--accent-primary) 0%, var(--accent-primary) 60px);
    background-size:
        60px 3px,
        3px 60px,
        60px 3px,
        3px 60px;
    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;
    background-repeat: no-repeat;
    background-color: var(--bg-card);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.15);
    transform: scale(1.05);
}

.pricing-card:hover {
    background-image:
        linear-gradient(to right, var(--accent-primary) 0%, var(--accent-primary) 60px),
        linear-gradient(to bottom, var(--accent-primary) 0%, var(--accent-primary) 60px),
        linear-gradient(to left, var(--accent-primary) 0%, var(--accent-primary) 60px),
        linear-gradient(to top, var(--accent-primary) 0%, var(--accent-primary) 60px);
    background-size:
        60px 3px,
        3px 60px,
        60px 3px,
        3px 60px;
    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;
    background-repeat: no-repeat;
    background-color: var(--bg-card);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 4px 16px;
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-terminal);
}

.pricing-tier {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--accent-primary);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-heading);
    font-family: 'JetBrains Mono', monospace;
}

.price-period {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 24px;
}

.feature-included::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

.feature-excluded::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #ff4444;
}

.feature-beta {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.feature-beta::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
}

.feature-beta-sub {
    padding-left: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.feature-beta-sub::before {
    display: none;
}

.pricing-note {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
}

/* Pricing FAQ */
.pricing-faq {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid var(--border-terminal);
}

.pricing-faq h4 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.faq-item {
    margin-bottom: 24px;
    padding: 20px;
    border-left: 2px solid var(--border-terminal);
    padding-left: 20px;
}

.faq-item strong {
    color: var(--text-heading);
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   RESPONSIVE UPDATES
   ======================================== */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .price-value {
        font-size: 36px;
    }

    .text-link-secondary {
        display: block;
        margin-top: 16px;
    }
}

/* ========================================
   IMPROVED ICON STYLING
   ======================================== */
.capability-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    color: var(--accent-primary);
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.icon-line {
    display: block;
    white-space: nowrap;
}

.capability-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-primary);
    opacity: 0.8;
    min-width: 50px;
}

.audience-tagline {
    margin-top: 20px;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
}

/* 5-card grid layout */
.capabilities-grid-5 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.capabilities-grid-5 .capability-card:nth-child(4),
.capabilities-grid-5 .capability-card:nth-child(5) {
    /* Center the last two cards */
}

@media (max-width: 900px) {
    .capabilities-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .capabilities-grid-5 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SCREENSHOTS SECTION
   ======================================== */
.screenshots-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 32px;
}

/* Container for the 3 detail screenshots */
.screenshots-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .screenshots-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .screenshots-details {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.screenshot-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-4px);
}

.screenshot-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border: 2px solid var(--border-terminal);
    border-radius: 4px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 8px) 0,
        100% 8px,
        100% 100%,
        8px 100%,
        0 calc(100% - 8px)
    );

    /* Subtle glow effect */
    box-shadow: 0 4px 12px rgba(0, 255, 65, 0.1);
}

.screenshot-image:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 24px rgba(0, 255, 65, 0.2);
}

.screenshot-placeholder {
    background: rgba(0, 255, 65, 0.05);
    border: 2px dashed rgba(0, 255, 65, 0.3);
    border-radius: 8px;
    padding: 80px 40px;
    margin-bottom: 16px;
}

.screenshot-placeholder-text {
    color: rgba(0, 255, 65, 0.5);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
}

.screenshot-caption {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    padding: 0 12px;
}

/* Full-width screenshot for hero/overview images */
.screenshot-full-width {
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot-full-width .screenshot-image {
    aspect-ratio: 16/10;
    border-width: 3px;
    box-shadow:
        0 8px 32px rgba(0, 255, 65, 0.15),
        0 0 60px rgba(0, 255, 65, 0.1);
}

.screenshot-full-width .screenshot-caption {
    font-size: 16px;
    margin-top: 8px;
}

/* ========================================
   FAQ ACCORDION SECTION
   ======================================== */
.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item-accordion {
    background: rgba(0, 255, 65, 0.02);
    border: 1px solid rgba(0, 255, 65, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 10px) 0,
        100% 10px,
        100% 100%,
        10px 100%,
        0 calc(100% - 10px)
    );
}

.faq-item-accordion:hover {
    border-color: rgba(0, 255, 65, 0.3);
    background: rgba(0, 255, 65, 0.04);
}

.faq-item-accordion.active {
    border-color: var(--accent-primary);
    background: rgba(0, 255, 65, 0.05);
    box-shadow:
        0 0 20px rgba(0, 255, 65, 0.1),
        inset 0 0 15px rgba(0, 255, 65, 0.03);
}

.faq-question-btn {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.faq-question-btn:hover {
    background: rgba(0, 255, 65, 0.03);
}

.faq-question-btn:focus {
    outline: none;
}

.faq-question-btn:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: -2px;
}

.faq-question-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-heading);
    letter-spacing: 0.02em;
    flex: 1;
    padding-right: 16px;
}

.faq-item-accordion.active .faq-question-text {
    color: var(--accent-primary);
}

.faq-chevron {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-chevron::before,
.faq-chevron::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 2px;
    background: var(--accent-primary);
    top: 50%;
    transition: all 0.3s ease;
}

.faq-chevron::before {
    left: 3px;
    transform: translateY(-50%) rotate(45deg);
}

.faq-chevron::after {
    right: 3px;
    transform: translateY(-50%) rotate(-45deg);
}

.faq-item-accordion.active .faq-chevron::before {
    transform: translateY(-50%) rotate(-45deg);
}

.faq-item-accordion.active .faq-chevron::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item-accordion.active .faq-answer-panel {
    max-height: 300px;
}

.faq-answer {
    padding: 0 24px 20px 24px;
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Old grid styles - kept for backwards compatibility */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.faq-item {
    background: rgba(0, 255, 65, 0.02);
    border: 1px solid rgba(0, 255, 65, 0.1);
    border-radius: 8px;
    padding: 24px;
}

.faq-question {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .faq-accordion {
        margin-top: 24px;
    }

    .faq-question-btn {
        padding: 16px 20px;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 20px 16px 20px;
        font-size: 14px;
    }
}

/* ========================================
   ENHANCED PROBLEM SECTION
   ======================================== */
.problem-section {
    background: linear-gradient(180deg, 
        rgba(0, 255, 65, 0.02) 0%, 
        rgba(0, 0, 0, 0) 100%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.problem-item {
    padding: 32px;
    background: var(--bg-card);
    position: relative;
    transition: all 0.3s ease;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 10px) 0,
        100% 10px,
        100% 100%,
        10px 100%,
        0 calc(100% - 10px)
    );

    /* Corner bracket borders - top-left and bottom-right only */
    background-image:
        linear-gradient(to right, var(--border-terminal) 0%, var(--border-terminal) 50px),
        linear-gradient(to bottom, var(--border-terminal) 0%, var(--border-terminal) 50px),
        linear-gradient(to left, var(--border-terminal) 0%, var(--border-terminal) 50px),
        linear-gradient(to top, var(--border-terminal) 0%, var(--border-terminal) 50px);

    background-size:
        50px 3px,
        3px 50px,
        50px 3px,
        3px 50px;

    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;

    background-repeat: no-repeat;
    background-color: var(--bg-card);
}

.problem-item::before {
    content: '×';
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 24px;
    color: #ff4444;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.problem-item:hover {
    background-image:
        linear-gradient(to right, rgba(255, 68, 68, 0.5) 0%, rgba(255, 68, 68, 0.5) 50px),
        linear-gradient(to bottom, rgba(255, 68, 68, 0.5) 0%, rgba(255, 68, 68, 0.5) 50px),
        linear-gradient(to left, rgba(255, 68, 68, 0.5) 0%, rgba(255, 68, 68, 0.5) 50px),
        linear-gradient(to top, rgba(255, 68, 68, 0.5) 0%, rgba(255, 68, 68, 0.5) 50px);
    background-size:
        50px 3px,
        3px 50px,
        50px 3px,
        3px 50px;
    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;
    background-repeat: no-repeat;
    background-color: var(--bg-card);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.1);
}

.problem-text {
    font-size: 16px;
    line-height: 1.7;
    padding-left: 20px;
}

/* ========================================
   CRT-STYLE HERO BACKGROUND
   ======================================== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Scanlines */
        repeating-linear-gradient(
            0deg,
            rgba(0, 255, 65, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(0, 255, 65, 0.03) 3px
        ),
        /* Dithered noise pattern */
        repeating-linear-gradient(
            90deg,
            rgba(0, 255, 65, 0.01) 0px,
            transparent 1px,
            transparent 2px
        ),
        /* Radial gradient from center */
        radial-gradient(
            ellipse at center,
            rgba(0, 255, 65, 0.08) 0%,
            rgba(0, 255, 65, 0.02) 50%,
            transparent 100%
        );
    pointer-events: none;
    z-index: 1;
    animation: crt-flicker 8s infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(
            180deg,
            rgba(0, 255, 65, 0.05) 0%,
            transparent 20%,
            transparent 80%,
            rgba(0, 255, 65, 0.05) 100%
        );
    pointer-events: none;
    z-index: 1;
    animation: crt-vignette 10s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

@keyframes crt-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.97; }
    75% { opacity: 0.99; }
}

@keyframes crt-vignette {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Logo glow effect */
.logo-title {
    position: relative;
    animation: terminal-glow 3s ease-in-out infinite;
}

@keyframes terminal-glow {
    0%, 100% { 
        text-shadow: 
            0 0 10px rgba(0, 255, 65, 0.5),
            0 0 20px rgba(0, 255, 65, 0.3),
            0 0 30px rgba(0, 255, 65, 0.2);
    }
    50% { 
        text-shadow: 
            0 0 15px rgba(0, 255, 65, 0.7),
            0 0 30px rgba(0, 255, 65, 0.4),
            0 0 45px rgba(0, 255, 65, 0.3);
    }
}

/* ========================================
   BETA ACCESS CARD STYLES
   ======================================== */
.beta-access-card {
    max-width: 600px;
    margin: 20px auto;
    padding: 32px;
    background: rgba(0, 255, 65, 0.03);
    box-shadow:
        inset 0 0 20px rgba(0, 255, 65, 0.1),
        0 0 40px rgba(0, 255, 65, 0.15);
    text-align: center;
    position: relative;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 16px) 0,
        100% 16px,
        100% 100%,
        16px 100%,
        0 calc(100% - 16px)
    );

    /* Corner bracket borders - top-left and bottom-right only */
    background-image:
        linear-gradient(to right, var(--accent-primary) 0%, var(--accent-primary) 80px),
        linear-gradient(to bottom, var(--accent-primary) 0%, var(--accent-primary) 80px),
        linear-gradient(to left, var(--accent-primary) 0%, var(--accent-primary) 80px),
        linear-gradient(to top, var(--accent-primary) 0%, var(--accent-primary) 80px);

    background-size:
        80px 3px,
        3px 80px,
        80px 3px,
        3px 80px;

    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;

    background-repeat: no-repeat;
    background-color: rgba(0, 255, 65, 0.03);
}

.beta-features {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.beta-features li {
    font-size: 16px;
    line-height: 2;
    color: var(--text-primary);
    padding-left: 28px;
    position: relative;
}

.beta-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 18px;
}

.coming-soon {
    max-width: 700px;
    margin: 60px auto 0;
    padding: 32px;
    background: rgba(0, 255, 65, 0.01);
    position: relative;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 12px) 0,
        100% 12px,
        100% 100%,
        12px 100%,
        0 calc(100% - 12px)
    );

    /* Corner bracket borders - top-left and bottom-right only */
    background-image:
        linear-gradient(to right, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to bottom, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to left, var(--border-terminal) 0%, var(--border-terminal) 60px),
        linear-gradient(to top, var(--border-terminal) 0%, var(--border-terminal) 60px);

    background-size:
        60px 3px,
        3px 60px,
        60px 3px,
        3px 60px;

    background-position:
        0 0,
        0 0,
        100% 100%,
        100% 100%;

    background-repeat: no-repeat;
    background-color: rgba(0, 255, 65, 0.01);
}

.coming-soon h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-heading);
    text-align: center;
}

.future-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.future-features li {
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.6);
    padding-left: 8px;
}

/* ========================================
   ENHANCED CRT EFFECT WITH ANIMATED NOISE
   ======================================== */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        /* Scanlines - more prominent */
        repeating-linear-gradient(
            0deg,
            rgba(0, 255, 65, 0.08) 0px,
            transparent 1px,
            transparent 2px,
            rgba(0, 255, 65, 0.08) 3px
        ),
        /* Radial gradient - more visible */
        radial-gradient(
            ellipse at center,
            rgba(0, 255, 65, 0.12) 0%,
            rgba(0, 255, 65, 0.06) 50%,
            transparent 100%
        );
    pointer-events: none;
    z-index: 1;
    animation: crt-flicker 8s infinite;
}

/* Perlin-style dithered noise layer */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Create organic noise pattern with overlapping radial gradients */
        radial-gradient(circle at 20% 30%, rgba(0, 255, 65, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 65, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(0, 255, 65, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(0, 255, 65, 0.14) 0%, transparent 50%),
        radial-gradient(circle at 90% 85%, rgba(0, 255, 65, 0.16) 0%, transparent 50%),
        /* Dithering dot pattern overlay */
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            rgba(0, 255, 65, 0.08) 0deg,
            transparent 45deg,
            rgba(0, 255, 65, 0.08) 90deg,
            transparent 135deg,
            rgba(0, 255, 65, 0.08) 180deg,
            transparent 225deg,
            rgba(0, 255, 65, 0.08) 270deg,
            transparent 315deg
        );
    background-size:
        800px 800px,
        600px 600px,
        700px 700px,
        500px 500px,
        650px 650px,
        550px 550px,
        8px 8px;
    pointer-events: none;
    z-index: 1;
    opacity: 1;
    mix-blend-mode: screen;
    filter: contrast(1.5) brightness(0.8);
    animation: perlin-drift 25s infinite ease-in-out alternate;
}

/* Slow organic drift of noise pattern */
@keyframes perlin-drift {
    0% {
        background-position: 0% 0%, 100% 0%, 20% 100%, 80% 20%, 40% 60%, 60% 80%, 0px 0px;
        filter: contrast(1.5) brightness(0.8);
    }
    25% {
        background-position: 20% 30%, 80% 20%, 30% 90%, 70% 30%, 50% 50%, 50% 70%, 2px 2px;
        filter: contrast(1.6) brightness(0.75);
    }
    50% {
        background-position: 40% 60%, 60% 40%, 50% 70%, 50% 50%, 70% 30%, 30% 50%, 4px 4px;
        filter: contrast(1.5) brightness(0.8);
    }
    75% {
        background-position: 20% 80%, 80% 70%, 60% 40%, 40% 70%, 80% 20%, 20% 30%, 2px 2px;
        filter: contrast(1.6) brightness(0.75);
    }
    100% {
        background-position: 0% 100%, 100% 100%, 20% 0%, 80% 0%, 40% 40%, 60% 20%, 0px 0px;
        filter: contrast(1.5) brightness(0.8);
    }
}

/* ========================================
   RESPONSIVE UPDATES
   ======================================== */
@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .capability-icon {
        font-size: 14px;
    }

    .beta-access-card {
        padding: 32px 24px;
    }

    .beta-title {
        font-size: 22px;
    }
}

/* ========================================
   MODAL STYLES
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    padding: 40px;
    animation: modal-slide-in 0.3s ease;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 16px) 0,
        100% 16px,
        100% 100%,
        16px 100%,
        0 calc(100% - 16px)
    );

    /* Glowing effect */
    box-shadow:
        inset 0 0 30px rgba(0, 255, 65, 0.1),
        0 0 60px rgba(0, 255, 65, 0.3);
}

/* Scanlines on modal */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;

    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.3) 0px,
        transparent 1px,
        transparent 2px,
        rgba(0, 0, 0, 0.3) 3px
    );
}

/* Ensure content is above scanlines */
.modal-content > * {
    position: relative;
    z-index: 2;
}

@keyframes modal-slide-in {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: var(--accent-primary);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 32px;
    color: var(--text-heading);
    margin-bottom: 8px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 32px;
}

/* ========================================
   WAITLIST FORM STYLES
   ======================================== */
#waitlist-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.waitlist-input,
.waitlist-textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-heading);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-terminal);
    transition: all 0.2s ease;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 6px) 0,
        100% 6px,
        100% 100%,
        6px 100%,
        0 calc(100% - 6px)
    );
}

.waitlist-input:focus,
.waitlist-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.1);
}

.waitlist-input::placeholder,
.waitlist-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.waitlist-textarea {
    resize: vertical;
    min-height: 60px;
    font-family: 'Inter', sans-serif;
}

.waitlist-submit {
    margin-top: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.waitlist-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.waitlist-success {
    text-align: center;
    padding: 48px 32px;
    border: 2px solid var(--accent-primary);
    background: rgba(0, 255, 65, 0.05);
    animation: success-fade-in 0.5s ease;

    /* Angular corners */
    clip-path: polygon(
        0 0,
        calc(100% - 12px) 0,
        100% 12px,
        100% 100%,
        12px 100%,
        0 calc(100% - 12px)
    );

    /* Glowing effect */
    box-shadow:
        inset 0 0 15px rgba(0, 255, 65, 0.1),
        0 0 25px rgba(0, 255, 65, 0.2);
}

@keyframes success-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 64px;
    color: var(--accent-primary);
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.success-title {
    font-size: 28px;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.success-message {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
}

.success-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
}

.login-error {
    text-align: center;
    padding: 32px;
}

.login-error p {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 32px 24px;
        width: 95%;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-subtitle {
        font-size: 14px;
    }

    .success-icon {
        font-size: 48px;
    }

    .success-title {
        font-size: 22px;
    }

    .success-message {
        font-size: 16px;
    }
}
