/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
    /* Colors */
    --bg-dark: #0a0a0e;
    --bg-darker: #050507;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-primary: #3b82f6;
    --accent-primary-hover: #2563eb;
    --accent-secondary: #8b5cf6;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(59, 130, 246, 0.3);
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 6rem 0;
    
    /* Shadows & Effects */
    --glass-bg: rgba(10, 10, 14, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Utilities & Components
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding);
    position: relative;
}

.grid {
    display: grid;
    gap: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.05);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition-normal);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
    max-width: 800px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.animate-fade-in.in-view {
    opacity: 1;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.05em;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.main-nav a:hover {
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

/* Glow Background */
.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 40%, rgba(0,0,0,0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Hero Visual Mockup */
.dashboard-mockup {
    background: #0f1115;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.mockup-header {
    background: #1a1d24;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-body {
    padding: 2rem;
}

.stats-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card i {
    font-size: 2rem;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.02);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.node i {
    font-size: 1.5rem;
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 50%;
}

.node.active { color: var(--accent-primary); }
.node.active i {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 1rem;
    position: relative;
    top: -10px;
}

/* ==========================================================================
   2. Trust Section
   ========================================================================== */
.trust-section {
    padding: 4rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trust-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.trust-header p {
    max-width: 600px;
    margin: 0 auto;
}

.logo-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-darker), transparent);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-darker), transparent);
}

.logo-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 2rem)); } /* Half of the total width including gap */
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.logo-item i {
    font-size: 1.5rem;
}

.logo-item:hover {
    color: white;
}

/* ==========================================================================
   3. Problems Section
   ========================================================================== */
.problems-section {
    padding: 6rem 0;
    position: relative;
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.05), transparent 70%);
    border-top: 1px solid rgba(239, 68, 68, 0.1);
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.attention-section {
    box-shadow: inset 0 0 100px rgba(239, 68, 68, 0.03);
}

.attention-section .section-title {
    background: linear-gradient(to right, #ffffff, #fca5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.problems-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.problem-card {
    background: rgba(255, 255, 255, 0.01);
    border: none;
    padding: 1.5rem;
    border-left: 2px solid rgba(239, 68, 68, 0.2);
    border-radius: 0.5rem;
    transition: var(--transition-normal);
}

.problem-card:hover {
    background: rgba(239, 68, 68, 0.03);
    border-left-color: var(--danger);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.1);
    transform: translateX(10px);
}

.problem-card .card-icon {
    font-size: 2rem;
    color: var(--danger);
    margin-bottom: 1rem;
}

.problem-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* ==========================================================================
   4. Solutions Section
   ========================================================================== */
.solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-bottom: 4rem;
}

.solution-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.solution-card.highlight {
    border-color: var(--accent-primary);
    background: rgba(59, 130, 246, 0.03);
    position: relative;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}

.solution-card .badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: var(--accent-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    text-transform: uppercase;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.solution-card .description {
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--accent-primary);
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.card-footer .meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.card-footer .meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-footer .btn {
    width: 100%;
}

.audit-banner {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.audit-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.audit-content p {
    margin-bottom: 1rem;
    max-width: 600px;
}

.audit-content .meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--success);
}

/* ==========================================================================
   5. How It Works Section
   ========================================================================== */
.process-section {
    background: var(--bg-darker);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.step h3 {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   6. Industries Section
   ========================================================================== */
.industries-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.industry-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
}

.industry-card .card-icon {
    font-size: 2rem;
    color: var(--accent-secondary);
    background: rgba(139, 92, 246, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
}

.industry-card h3 {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   7. Live Demo Section
   ========================================================================== */
.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem;
    background: radial-gradient(circle at right center, rgba(59, 130, 246, 0.1), var(--bg-card));
}

.demo-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.demo-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.chat-mockup {
    background: #0f1115;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chat-header {
    background: #1a1d24;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.chat-header i {
    color: var(--accent-primary);
}

.chat-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 300px;
    overflow-y: auto;
}

.message {
    max-width: 80%;
    padding: 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

.message.user {
    background: rgba(255,255,255,0.05);
    align-self: flex-end;
    border-bottom-right-radius: 0.25rem;
}

.message.ai {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    align-self: flex-start;
    border-bottom-left-radius: 0.25rem;
}

.typing span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    margin: 0 2px;
    animation: typing 1s infinite alternate;
}

.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    from { opacity: 0.3; transform: translateY(0); }
    to { opacity: 1; transform: translateY(-4px); }
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
}

.chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    outline: none;
}

.chat-input button {
    background: none;
    border: none;
    color: var(--accent-primary);
    font-size: 1.25rem;
    cursor: pointer;
}

/* ==========================================================================
   8. ROI Section
   ========================================================================== */
.roi-section {
    background: var(--bg-darker);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.calc-inputs {
    padding: 3rem;
    background: var(--bg-card);
}

.slider-group {
    margin-bottom: 2rem;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.slider-value {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    outline: none;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transition: transform 0.1s;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.calc-results {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(0,0,0,0.5));
    border-left: 1px solid var(--border-color);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.pulsing-number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--danger);
    line-height: 1;
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

@media (max-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
    .calc-results {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
}

/* ==========================================================================
   9. Case Studies Section
   ========================================================================== */
.case-studies-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.premium-case-study {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition-normal);
}

.premium-case-study:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.05);
    transform: translateY(-2px);
}

.premium-case-study.reverse {
    grid-template-columns: 1.5fr 1fr;
}

.premium-case-study.reverse .case-metrics {
    order: 2;
    border-right: none;
    border-left: 1px solid var(--border-color);
}

.premium-case-study.reverse .case-content {
    order: 1;
}

.case-metrics {
    background: rgba(16, 185, 129, 0.03);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border-color);
}

.primary-metric {
    margin-bottom: 2rem;
}

.primary-metric .metric-number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--success);
    margin-bottom: 0.5rem;
    letter-spacing: -0.05em;
}

.primary-metric .metric-number small {
    font-size: 2rem;
}

.primary-metric .metric-label {
    font-size: 1.125rem;
    color: white;
    font-weight: 500;
}

.secondary-metrics .stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.secondary-metrics .stat i {
    font-size: 2rem;
    color: var(--accent-primary);
}

.secondary-metrics .stat strong {
    display: block;
    color: white;
    font-size: 1.25rem;
    line-height: 1.2;
}

.secondary-metrics .stat span {
    font-size: 0.875rem;
}

.premium-case-study .case-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.premium-case-study .case-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.premium-case-study .case-content p {
    font-size: 1.125rem;
}

/* ==========================================================================
   10. About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check-list i {
    color: var(--success);
}

.stats-card {
    display: grid;
    gap: 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}

.stat-num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   11. Blog Section
   ========================================================================== */
.blog-section {
    background: var(--bg-darker);
}

.blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blog-card {
    text-decoration: none;
    color: inherit;
}

.blog-card .date {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: color var(--transition-fast);
}

.blog-card:hover h3 {
    color: var(--accent-primary);
}

.blog-card p {
    margin-bottom: 1.5rem;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

/* ==========================================================================
   12. Final CTA
   ========================================================================== */
.cta-section {
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}

.cta-card {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.cta-card p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ==========================================================================
   Cmd+K Modal & AI Orb
   ========================================================================== */
.cmd-k-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15vh;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s;
}

.cmd-k-modal.active {
    visibility: visible;
    opacity: 1;
}

.cmd-k-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.cmd-k-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.15);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cmd-k-modal.active .cmd-k-container {
    transform: scale(1);
}

.cmd-k-search {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cmd-k-search input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.25rem;
    margin: 0 1rem;
    outline: none;
    font-family: inherit;
}

.cmd-k-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-muted);
}

.cmd-k-results {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem 0;
}

.cmd-k-group-title {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.cmd-k-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background 0.1s;
    color: var(--text-secondary);
}

.cmd-k-item:hover, .cmd-k-item.selected {
    background: rgba(59, 130, 246, 0.1);
    color: white;
}

.cmd-k-item i {
    margin-right: 1rem;
    font-size: 1.25rem;
    color: var(--text-muted);
}

.cmd-k-item:hover i, .cmd-k-item.selected i {
    color: var(--accent-primary);
}

.ai-orb-trigger {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 20px rgba(59, 130, 246, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
}

.ai-orb-trigger:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 30px rgba(59, 130, 246, 0.4);
}

.ai-orb-trigger i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.ai-orb-trigger span {
    font-size: 0.6rem;
    font-weight: 700;
    margin-top: 2px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    
    .hero-ctas {
        justify-content: center;
    }

    .about-grid, .demo-container, .audit-banner {
        grid-template-columns: 1fr;
    }
    
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-nav, .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }

    .premium-case-study, .premium-case-study.reverse {
        grid-template-columns: 1fr;
    }
    
    .premium-case-study.reverse .case-metrics {
        order: 1;
        border-left: none;
    }
    
    .premium-case-study.reverse .case-content {
        order: 2;
    }
    
    .case-metrics {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 2rem;
    }
    
    .premium-case-study .case-content {
        padding: 2rem;
    }
}
