/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimization for mobile */
@media (max-width: 768px) {
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #666666;
    --max-width: 1200px;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

body {
    font-family: var(--font-mono);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    font-size: 14px;
    overflow-x: hidden;
}

/* Grid System - Thin Lines */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: calc(50vw - 600px);
    width: 0.5px;
    height: 100vh;
    background: var(--black);
    z-index: 1001;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    right: calc(50vw - 600px);
    width: 0.5px;
    height: 100vh;
    background: var(--black);
    z-index: 1001;
}

section {
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc(50vw - 600px);
    right: calc(50vw - 600px);
    height: 0.5px;
    background: var(--black);
    z-index: 1;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50vw - 600px);
    right: calc(50vw - 600px);
    height: 0.5px;
    background: var(--black);
    z-index: 1;
}

/* Hide hero top border since navbar handles it */
.hero::before {
    display: none !important;
}

/* Add navbar bottom border between vertical lines only */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc(50vw - 600px);
    right: calc(50vw - 600px);
    height: 0.5px;
    background: var(--black);
    z-index: 1;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Labels */
.section-label {
    font-size: 11px;
    text-align: center;
    color: var(--gray-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper iframe {
    border: 1px solid var(--black);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Stats Section */
.stats {
    padding: 0;
    background: var(--white);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: var(--max-width);
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 10px;
    border-right: 0.5px solid var(--black);
    position: relative;
}

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

.stat-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0.5px;
    background: var(--black);
}

/* Remove top border from stats items to prevent double lines */
.stat-item::before {
    display: none;
}

.stat-number {
    font-size: 48px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    display: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    color: var(--black);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 1002;
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a.nav-brand, .nav-brand {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: inherit;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--black);
    cursor: pointer;
    transition: all 0.2s;
    background: var(--white);
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--black);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 250px 0 100px;
    text-align: center;
}

.hero .container {
    width: 100%;
}

.hero-title {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}


.hero-subtitle {
    font-size: 16px;
    color: var(--gray-dark);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-video-wrapper {
    max-width: 800px;
    margin: 40px auto;
}

.hero-video-wrapper iframe {
    border: 1px solid var(--black);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Hide mobile break on desktop */
.mobile-break {
    display: none;
}

/* Features Terminal Animation */
.features-terminal {
    margin: 40px auto 50px;
    display: flex;
    justify-content: center;
    max-width: 100%;
    padding: 0 20px;
}

.terminal-thin {
    background: var(--black);
    color: #ffffff;
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 15px;
    border: 1px solid var(--black);
    width: 100%;
    max-width: 900px;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    min-height: 48px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness for terminal */
@media (max-width: 768px) {
    .features-terminal {
        padding: 0 15px;
        margin: 30px auto 40px;
    }
    
    .terminal-thin {
        font-size: 13px;
        padding: 16px;
        min-height: 60px; /* Fixed height to prevent layout shifts */
        height: 60px; /* Fixed height to prevent layout shifts */
        white-space: normal;
        overflow-x: visible;
        overflow-y: hidden; /* Hide overflow to prevent height changes */
        align-items: flex-start;
    }
    
    .terminal-cursor {
        display: none;
    }
}

@media (max-width: 480px) {
    
    .nav-brand {
        font-size: 16px; /* Even smaller on very small screens */
    }
    
    .hero {
        padding: 100px 0 60px; /* Adjust spacing for small screens */
    }
    
    .terminal-thin {
        font-size: 11px;
        padding: 12px;
        min-height: 55px; /* Fixed height to prevent layout shifts */
        height: 55px; /* Fixed height to prevent layout shifts */
        white-space: normal;
        overflow-x: visible;
        overflow-y: hidden; /* Hide overflow to prevent height changes */
        align-items: flex-start;
    }
    
    .terminal-cursor {
        display: none;
    }
}

.terminal-prompt {
    color: #ffffff;
    margin-right: 8px;
}

.terminal-command {
    color: #ffffff;
}

.terminal-query {
    color: #ffffff;
}

.terminal-cursor {
    color: #ffffff;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

/* Trusted By Section */
.trusted-by {
    text-align: center;
    margin-bottom: 80px;
}

.trusted-by-text {
    font-size: 11px !important;
    font-weight: normal !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-dark);
    margin-bottom: 30px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.client-logo {
    height: 60px;
    width: auto;
    max-width: 180px;
    opacity: 0.8;
    filter: grayscale(50%);
    transition: all 0.3s ease;
    object-fit: contain;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}


/* Section Titles */
.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50vw - 600px);
    right: calc(50vw - 600px);
    background: var(--gray-light);
    z-index: -1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--black);
    padding: 40px 30px;
    position: relative;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px) !important;
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
    color: var(--gray-dark);
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.feature-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.feature-stats {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.stat {
    font-size: 11px;
    padding: 5px 10px;
    border: 1px solid var(--gray-medium);
    text-transform: uppercase;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
}

/* Terminal Demo */
.terminal-demo {
    max-width: 900px;
    margin: 0 auto 60px;
}

.terminal-window {
    background: var(--black);
    border: 1px solid var(--black);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.terminal-header {
    background: var(--white);
    padding: 12px 20px;
    border-bottom: 1px solid var(--black);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--black);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--black);
}

.terminal-dots span:nth-child(1) { background: var(--white); }
.terminal-dots span:nth-child(2) { background: var(--white); }
.terminal-dots span:nth-child(3) { background: var(--white); }

.terminal-body {
    padding: 30px;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.8;
    color: var(--white);
    min-height: 500px;
    background: var(--black);
}

.code-content {
    overflow: hidden;
}

.code-line {
    opacity: 0;
    animation: typeIn 0.4s forwards;
    animation-delay: calc(var(--step) * 0.5s);
}

.code-line[data-step="1"] { --step: 0; }
.code-line[data-step="2"] { --step: 1; }
.code-line[data-step="3"] { --step: 2; }
.code-line[data-step="4"] { --step: 3; }
.code-line[data-step="5"] { --step: 4; }
.code-line[data-step="6"] { --step: 5; }
.code-line[data-step="7"] { --step: 6; }
.code-line[data-step="8"] { --step: 7; }
.code-line[data-step="9"] { --step: 8; }
.code-line[data-step="10"] { --step: 9; }
.code-line[data-step="11"] { --step: 10; }
.code-line[data-step="12"] { --step: 11; }
.code-line[data-step="13"] { --step: 12; }
.code-line[data-step="14"] { --step: 13; }
.code-line[data-step="15"] { --step: 14; }
.code-line[data-step="16"] { --step: 15; }
.code-line[data-step="17"] { --step: 16; }
.code-line[data-step="18"] { --step: 17; }
.code-line[data-step="19"] { --step: 18; }
.code-line[data-step="20"] { --step: 19; }
.code-line[data-step="21"] { --step: 20; }

.code-line {
    opacity: 0;
}

.code-line.show {
    opacity: 1;
}

.progress-bar-fill {
    color: #50fa7b;
    width: 20ch;
    display: inline-block;
}

.keyword {
    color: #50fa7b;
}

.string {
    color: #f1fa8c;
}

.comment {
    color: #6272a4;
    font-style: italic;
}

.label {
    color: #8be9fd;
    font-weight: 600;
}

.success {
    color: #50fa7b;
}

.info {
    color: #bd93f9;
}

.highlight {
    color: #ffb86c;
    font-weight: 600;
}

.progress-text {
    color: #ff79c6;
}

.progress-bar-inline {
    color: #50fa7b;
}

.blink-cursor {
    animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* Restart animation */
@keyframes restartAnimation {
    0% { opacity: 1; }
    95% { opacity: 1; }
    100% { opacity: 0; }
}

/* Input Terminal */
.input-terminal .input-line {
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInLine 0.3s forwards;
    animation-delay: calc(var(--line) * 0.2s);
}

.input-terminal .input-line:nth-child(1) { --line: 1; }
.input-terminal .input-line:nth-child(2) { --line: 2; }
.input-terminal .input-line:nth-child(3) { --line: 3; }
.input-terminal .input-line:nth-child(4) { --line: 4; }
.input-terminal .input-line:nth-child(5) { --line: 5; }
.input-terminal .input-line:nth-child(6) { --line: 6; }
.input-terminal .input-line:nth-child(7) { --line: 7; }
.input-terminal .input-line:nth-child(8) { --line: 8; }

.prompt {
    color: #50fa7b;
    margin-right: 8px;
}

.user-input {
    color: #f1fa8c;
}

.label {
    color: #8be9fd;
    margin-right: 8px;
}

/* Processing Terminal */
.processing-animation {
    text-align: center;
    margin: 20px 0;
}

.ascii-logo {
    color: #50fa7b;
    font-size: 10px;
    line-height: 1.2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.processing-steps {
    margin: 30px 0;
}

.step-item {
    margin: 10px 0;
    color: #8be9fd;
    opacity: 0;
    animation: fadeInLine 0.5s forwards;
    animation-delay: calc(var(--step) * 0.5s);
}

.step-item:nth-child(1) { --step: 1; }
.step-item:nth-child(2) { --step: 2; }
.step-item:nth-child(3) { --step: 3; }
.step-item:nth-child(4) { --step: 4; }

.progress-bar {
    width: 100%;
    height: 20px;
    border: 1px solid var(--white);
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    display: block;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        #50fa7b,
        #50fa7b 10px,
        transparent 10px,
        transparent 20px
    );
    animation: progressMove 3s linear infinite;
    width: 100%;
}

@keyframes progressMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

.status-line {
    text-align: center;
    color: #f1fa8c;
    margin-top: 20px;
    animation: blink 1s infinite;
}

/* Output Terminal */
.output-header {
    color: #50fa7b;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.count {
    font-size: 24px;
    font-weight: 600;
}

.output-table {
    margin: 20px 0;
}

.table-row {
    display: grid;
    grid-template-columns: 40px 1fr 80px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    opacity: 0;
    animation: fadeInLine 0.3s forwards;
    animation-delay: calc(var(--row) * 0.2s);
}

.table-row:nth-child(1) { --row: 5; }
.table-row:nth-child(2) { --row: 6; }
.table-row:nth-child(3) { --row: 7; }
.table-row:nth-child(4) { --row: 8; }
.table-row:nth-child(5) { --row: 9; }
.table-row:nth-child(6) { --row: 10; }

.header-row {
    color: #8be9fd;
    font-weight: 600;
    border-bottom: 2px solid var(--white);
}

.match-score {
    color: #f1fa8c;
    text-align: right;
}

.output-footer {
    text-align: center;
    margin-top: 30px;
    color: #50fa7b;
    animation: blink 2s infinite;
}

@keyframes fadeInLine {
    from { 
        opacity: 0;
        transform: translateY(10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.workflow-summary {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-top: 60px;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 3s;
}


/* Use Cases Section */
.use-cases {
    padding: 100px 0;
    position: relative;
}

.use-cases::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50vw - 600px);
    right: calc(50vw - 600px);
    background: var(--gray-light);
    z-index: -1;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.use-case-card {
    background: var(--white);
    border: 1px solid var(--black);
    padding: 40px 30px;
    position: relative;
    transition: transform 0.2s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
}

.use-case-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
    color: var(--gray-dark);
}

.use-case-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.use-case-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.use-case-params {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.use-case-params code {
    font-size: 11px;
    padding: 5px 10px;
    border: 1px solid var(--gray-medium);
    text-transform: uppercase;
    background: transparent;
    font-family: var(--font-mono);
}


/* Pricing Section */
.pricing {
    padding: 100px 0;
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50vw - 600px);
    right: calc(50vw - 600px);
    background: var(--gray-light);
    z-index: -1;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 50px 0;
}

.toggle-label {
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--black);
}

.toggle-label:first-child {
    opacity: 1;
}

.toggle-label:last-child {
    opacity: 0.6;
}

.save-badge {
    background: var(--black);
    color: var(--white);
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 2px;
    margin-left: 8px;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-medium);
    border: 1px solid var(--black);
    transition: 0.3s;
    border-radius: 0;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--black);
    transition: 0.3s;
    border-radius: 0;
}

input:checked + .slider {
    background-color: var(--black);
}

input:checked + .slider:before {
    background-color: var(--white);
    transform: translateX(26px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--black);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    transform: scale(1.05);
    border-width: 2px;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: var(--white);
    padding: 5px 15px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.price {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
}

.price span {
    font-size: 14px;
    color: var(--gray-dark);
    font-weight: normal;
}

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

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-medium);
    font-size: 13px;
}

.badge-soon {
    font-size: 10px;
    color: var(--gray-dark);
    font-weight: normal;
    margin-left: 5px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--black);
    margin-bottom: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.faq-header {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-header:hover {
    background: var(--gray-light);
}

.faq-toggle {
    font-size: 18px;
    font-weight: 600;
    margin-right: 20px;
    transition: transform 0.3s ease;
    color: var(--black);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-header h3 {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
    color: var(--black);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border-top: 1px solid var(--black);
    background: var(--white);
}

.faq-item.active .faq-content {
    max-height: 300px;
    padding: 20px 30px;
}

.faq-content p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray-dark);
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50vw - 600px);
    right: calc(50vw - 600px);
    background: var(--gray-light);
    z-index: -1;
}

.cta-subtitle {
    font-size: 16px;
    color: var(--gray-dark);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.cta-stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--black);
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--gray-dark);
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--black);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--gray-medium);
    margin-bottom: 5px;
}

.footer-brand a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-brand a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    justify-items: start;
}

.footer-column h4 {
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.footer-column a {
    display: block;
    color: var(--gray-medium);
    font-size: 13px;
    padding: 5px 0;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--gray-dark);
    text-align: center;
    font-size: 12px;
    color: #999;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive for workflow */
@media (max-width: 1200px) {
    .workflow-visualization {
        flex-direction: column;
        align-items: center;
    }
    
    .terminal-box {
        width: 100%;
        max-width: 600px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px; /* More top padding for better spacing */
        min-height: calc(100vh - 100px);
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    /* Show mobile break on small screens */
    .mobile-break {
        display: inline;
    }
    
    /* Hero video mobile styles */
    .hero-video-wrapper {
        max-width: 100%;
        margin: 30px auto;
        padding: 0 10px;
    }
    
    /* Hide stats section on mobile */
    .stats {
        display: none;
    }
    
    /* Smaller SCOUTBOT logo on mobile */
    .nav-brand {
        font-size: 18px;
    }
    
    /* Fix Crisp chat position on mobile */
    .crisp-client,
    .crisp-client .crisp-1o7uamv,
    .crisp-client .crisp-1o7uamv .crisp-kquevr {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        z-index: 9999 !important;
    }
    
    /* Ensure Crisp button stays fixed */
    div[role="region"][aria-live="polite"] {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .logo-container {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .client-logo {
        height: 50px; /* Even larger to reduce scaling blur */
        max-width: 160px;
        image-rendering: auto; /* Let browser choose best rendering */
        -webkit-transform: translateZ(0); /* Force hardware acceleration */
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    /* Special handling for Mantro logo */
    .client-logo[alt="Mantro"] {
        height: 55px;
        max-width: 180px;
        image-rendering: -webkit-optimize-contrast;
    }
    
    
    .features-grid,
    .use-cases-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 40px;
        border-right: none;
        border-bottom: 0.5px solid var(--black);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    /* Hide fixed grid lines on mobile */
    body::before,
    body::after,
    section::before,
    section::after {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .faq-accordion {
        margin: 0 10px;
    }
    
    .faq-header {
        padding: 15px 20px;
    }
    
    .faq-toggle {
        font-size: 16px;
        margin-right: 15px;
    }
    
    .faq-header h3 {
        font-size: 12px;
    }
    
    .faq-item.active .faq-content {
        padding: 15px 20px;
    }
    
    .faq-content p {
        font-size: 12px;
    }
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 2px solid var(--black);
    padding: 20px;
    z-index: 10000;
    animation: slideUp 0.3s ease-out;
    font-family: var(--font-mono);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text strong {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.cookie-text p {
    font-size: 13px;
    color: var(--gray-dark);
    margin: 0;
}

.cookie-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--black);
}

.cookie-option input:disabled {
    cursor: not-allowed;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

#cookie-banner .btn-primary,
#cookie-banner .btn-secondary {
    padding: 8px 16px;
    font-size: 12px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}