/* Reset and Base Styles with Performance Optimizations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Critical above-the-fold optimizations */
.hero, .hero-content, .terminal-header, .hero-actions {
    contain: layout style paint;
}

/* Screen reader only utility class */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .glitch,
    .hero-grid,
    .stat-item {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .insight-card,
    .feature-card,
    .service-card,
    .package-card {
        border-width: 2px;
        border-color: #ffffff;
    }
    
    .nav-link,
    .section-title,
    .card-title {
        text-shadow: none;
        font-weight: 700;
    }
}

/* Focus management for accessibility */
*:focus {
    outline: 2px solid #00ffea;
    outline-offset: 2px;
}

.nav-link:focus,
.btn:focus,
.insight-card:focus {
    outline: 3px solid #00ffea;
    outline-offset: 3px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    background: #00ffea;
    color: #0d0d0d;
    padding: 0.5rem 1rem;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    background: #0d0d0d;
    color: #00ffea;
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 320px; /* Minimum supported width */
}

/* Provide consistent offset for anchor scrolling with fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Typography */
h1, h2, h3, h4 {
    
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #00ffea33;
    z-index: 10030;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ffea;
}

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

.nav-link {
    color: #00ffea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff1aff;
    text-shadow: 0 0 10px #ff1aff;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
    z-index: 10020;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.dropdown-toggle i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 234, 0.3);
    border-radius: 8px;
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10025;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 0.25rem;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #e0e0e0; /* Improved contrast ratio */
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background: rgba(0, 255, 234, 0.1);
    color: #00ffea;
    border-left-color: #00ffea;
    transform: translateX(5px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #00ffea;
    margin: 3px 0;
    transition: 0.3s;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: #00ffea;
    animation: glitch 2s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite linear alternate-reverse;
    color: #ff1aff;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s infinite linear alternate-reverse;
    color: #ff9900;
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-5px, -5px); }
    20% { transform: translate(-10px, 5px); }
    30% { transform: translate(5px, -10px); }
    40% { transform: translate(-5px, 10px); }
    50% { transform: translate(-10px, 5px); }
    60% { transform: translate(5px, 0); }
    70% { transform: translate(-5px, -10px); }
    80% { transform: translate(-10px, 0); }
    90% { transform: translate(5px, 5px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(5px, 0); }
    20% { transform: translate(0, 5px); }
    30% { transform: translate(-5px, 0); }
    40% { transform: translate(0, -5px); }
    50% { transform: translate(5px, -5px); }
    60% { transform: translate(-5px, 5px); }
    70% { transform: translate(0, -5px); }
    80% { transform: translate(5px, 0); }
    90% { transform: translate(0, 5px); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #00ffea;
    border-radius: 0;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #00ffea;
    color: #0d0d0d;
    box-shadow: 0 0 15px rgba(0, 255, 234, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: transparent;
    color: #00ffea;
    box-shadow: 0 0 25px rgba(0, 255, 234, 0.6);
    text-shadow: 0 0 10px #00ffea;
}

.btn-primary {
    background: #00ffea;
    color: #0d0d0d;
    border: 2px solid #00ffea;
}

.btn-primary:hover {
    background: transparent;
    color: #00ffea;
    box-shadow: 0 0 20px #00ffea;
}

.btn-secondary {
    background: transparent;
    color: #00ffea;
    border: 2px solid #00ffea;
}

.btn-secondary:hover {
    background: #00ffea;
    color: #0d0d0d;
    box-shadow: 0 0 20px #00ffea;
}

.btn-outline {
    background: transparent;
    color: #00ffea;
    border: 2px solid #00ffea;
}

.btn-outline:hover {
    background: #00ffea;
    color: #0d0d0d;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 234, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    overflow: hidden;
    padding-top: 80px; /* Add space for fixed navbar */
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        linear-gradient(rgba(0, 255, 234, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 234, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
    will-change: transform;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
    width: 100%;
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a1a;
    border: 1px solid #00ffea33;
    border-radius: 8px 8px 0 0;
    padding: 0.5rem 1rem;
    margin: 0 auto;
    width: 100%;
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

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

.control.close { background: #ff5f5f; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #27ca3f; }

.terminal-title {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #00ffea;
}

.terminal-body {
    background: #0d0d0d;
    border: 1px solid #00ffea33;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 2rem;
    text-align: left;
    font-family: 'Courier New', monospace;
    min-height: 300px;
    margin: 0 auto;
    width: 100%;
}

.terminal-line {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.prompt {
    color: #ff1aff;
    font-weight: 600;
}

.command {
    color: #00ffea;
}

.output {
    color: #ffffff;
}

.output.success {
    color: #27ca3f;
}

.typing {
    overflow: hidden;
    border-right: 2px solid #00ffea;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #00ffea; }
}

.hero-title {
    text-align: center;
    margin: 2rem 0;
}

.hero-title h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px #00ffea;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.hero-explainer {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem auto 0;
    max-width: 600px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: #00ffea;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #00ffea;
    border-bottom: 2px solid #00ffea;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-dark {
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #00ffea;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
}

/* Manual Mode Content */
.manual-mode-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.terminal-box {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 2px solid #00ffea33;
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.terminal-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff1aff, #00ffea, #ff9900);
    animation: glitch-border 2s infinite linear;
}

@keyframes glitch-border {
    0%, 100% { transform: translateX(0); opacity: 0.3; }
    25% { transform: translateX(-5px); opacity: 0.7; }
    50% { transform: translateX(5px); opacity: 0.5; }
    75% { transform: translateX(-3px); opacity: 0.8; }
}

.terminal-box:hover {
    border-color: #00ffea;
    box-shadow: 0 0 30px rgba(0, 255, 234, 0.3);
    transform: translateY(-2px);
}

.manual-paragraph {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
}

.accent-text {
    color: #ff1aff;
    font-weight: 600;
    text-shadow: 0 0 10px #ff1aff44;
    font-family: 'Courier New', monospace;
}

.accent-text-orange {
    color: #ff9900;
    font-weight: 600;
    text-shadow: 0 0 10px #ff990044;
    font-family: 'Courier New', monospace;
}

.neon-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffea, transparent);
    margin: 2rem auto;
    border-radius: 2px;
    box-shadow: 0 0 10px #00ffea;
    animation: pulse-glow 3s ease-in-out infinite alternate;
    max-width: 800px;
    width: 100%;
}

@keyframes pulse-glow {
    0% { opacity: 0.4; transform: scaleY(1); }
    100% { opacity: 1; transform: scaleY(1.2); }
}

/* Features Grid - Moved to different section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #00ffea33;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 234, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #00ffea;
    box-shadow: 0 10px 30px rgba(0, 255, 234, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #00ffea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #0d0d0d;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #00ffea;
}

/* System Modules Grid */
.system-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.module-card {
    background: #111111;
    border: 2px solid #00ffea33;
    border-radius: 8px;
    padding: 2rem 2rem 3.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.module-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffea, #ff1aff, #00ffea);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.module-card:hover::before {
    opacity: 1;
}

.module-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(0, 255, 234, 0.2),
        0 0 20px rgba(255, 26, 255, 0.1);
}

.module-title {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    color: #00ffea;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.3);
}

.module-copy {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* Legacy Services Grid (if needed elsewhere) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #00ffea33;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #00ffea;
    box-shadow: 0 15px 40px rgba(0, 255, 234, 0.2);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-header h3 {
    color: #00ffea;
    font-size: 1.3rem;
}

.service-badge {
    background: #ff1aff;
    color: #0d0d0d;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-description {
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00ffea;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: #00ffea22;
    color: #00ffea;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid #00ffea33;
}

/* Injection Grid */
.injection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.injection-card {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    border: 2px solid #00ffea33;
    border-radius: 8px;
    padding: 2rem 2rem 3.5rem 2rem;
    position: relative;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.injection-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffea, #ff1aff, #00ffea);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { transform: scale(1); opacity: 0; }
    50% { transform: scale(1.02); opacity: 0.3; }
}

.injection-card:hover::before {
    opacity: 1;
    animation: pulse-border 1s ease-in-out infinite;
}

.injection-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.3),
        0 15px 40px rgba(0, 255, 234, 0.3),
        0 0 30px rgba(255, 26, 255, 0.2);
}

.injection-card.featured {
    border-color: #ff1aff;
    transform: scale(1.05);
    background: linear-gradient(145deg, #2a1a2a, #1a0d1a);
}

.injection-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.injection-title {
    font-family: 'Courier New', monospace;
    color: #00ffea;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.3);
}

.injection-badge {
    background: #ff1aff;
    color: #0d0d0d;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.injection-price {
    margin: 1rem 0 1.5rem;
}

.injection-price .currency {
    font-size: 1.2rem;
    color: #00ffea;
    vertical-align: top;
}

.injection-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: #00ffea;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 15px rgba(0, 255, 234, 0.4);
}

.injection-description {
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-style: italic;
}

.injection-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.injection-features li {
    color: #cccccc;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.injection-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00ffea;
    font-weight: 600;
}

.btn-injection {
    background: #00ffea;
    color: #0d0d0d;
    border: 2px solid #00ffea;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 255, 234, 0.3);
    margin: 2rem 0 0 0;
}

.btn-injection:hover {
    background: transparent;
    color: #00ffea;
    box-shadow: 0 0 30px rgba(0, 255, 234, 0.6);
    text-shadow: 0 0 10px #00ffea;
}

/* How It Works Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border: 2px solid #00ffea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ffea;
    background: #0d0d0d;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 255, 234, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: #00ffea;
    color: #0d0d0d;
    box-shadow: 0 0 30px rgba(0, 255, 234, 0.6);
    transform: scale(1.1);
}

.step-content {
    flex: 1;
}

.step-title {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.step-description {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.step-arrow {
    position: absolute;
    top: 30px;
    right: -1rem;
    font-size: 2rem;
    color: #00ffea;
    font-family: 'Courier New', monospace;
    animation: pulse-arrow 2s ease-in-out infinite;
}

.process-step:last-child .step-arrow {
    display: none;
}

@keyframes pulse-arrow {
    0%, 100% { 
        opacity: 0.6; 
        transform: translateX(0); 
    }
    50% { 
        opacity: 1; 
        transform: translateX(5px); 
    }
}

/* Trusted By Section */
.trusted-by-section {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #111 100%);
    border-top: 3px solid #00ffea;
    border-bottom: 3px solid #ff1aff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 3px 0 rgba(0, 255, 234, 0.3),
        inset 0 -3px 0 rgba(255, 26, 255, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.5);
}

.trusted-by-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 26, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.trusted-by-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.trusted-by-title {
    color: #00ffea;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 1rem 0;
    text-shadow: 0 0 20px rgba(0, 255, 234, 0.5);
    animation: title-glow 3s ease-in-out infinite alternate;
}

.terminal-line {
    font-family: 'Courier New', monospace;
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
}

.terminal-prompt {
    color: #00ffea;
    margin-right: 0.5rem;
}

.terminal-text {
    color: #fff;
}

@keyframes title-glow {
    0% { text-shadow: 0 0 20px rgba(0, 255, 234, 0.5); }
    100% { text-shadow: 0 0 30px rgba(0, 255, 234, 0.8); }
}

.trusted-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
    position: relative;
    z-index: 1;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s ease;
    opacity: 0.7;
    cursor: pointer;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(0, 0, 0, 0.3);
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-10px) scale(1.05);
    border-color: #00ffea;
    background: rgba(0, 255, 234, 0.05);
    box-shadow: 0 10px 30px rgba(0, 255, 234, 0.3);
}

.logo-wrapper {
    position: relative;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 234, 0.2);
}

.logo-item:hover .logo-wrapper {
    border-color: #ff1aff;
    background: rgba(255, 26, 255, 0.1);
}

.platform-logo {
    fill: #00ffea;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 8px rgba(0, 255, 234, 0.4));
}

.logo-item:hover .platform-logo {
    fill: #ff1aff;
    filter: drop-shadow(0 0 15px rgba(255, 26, 255, 0.7));
    animation: logo-pulse 1s ease-in-out;
}

.logo-label {
    color: #00ffea;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.logo-item:hover .logo-label {
    color: #ff1aff;
}

.logo-status {
    color: #27ca3f;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-item:hover .logo-status {
    opacity: 1;
    animation: status-blink 0.5s ease-in-out;
}

@keyframes logo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

/* Insights Section */
.insights-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.insights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 26, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.insights-terminal {
    text-align: center;
    margin-top: 1rem;
    font-family: 'Courier New', monospace;
    color: #888;
    font-size: 0.9rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.insight-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: inherit;
    display: block;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 234, 0.05) 0%, rgba(255, 26, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.insight-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #00ffea;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 255, 234, 0.3);
}

.insight-card:hover::before {
    opacity: 1;
}

.card-header {
    position: relative;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 234, 0.1);
}

.card-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: 
        radial-gradient(circle, rgba(0, 255, 234, 0.1) 0%, transparent 70%),
        linear-gradient(45deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 234, 0.2);
    margin-bottom: 1rem;
    overflow: hidden;
}

.placeholder-icon {
    fill: #00ffea;
    opacity: 0.7;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(0, 255, 234, 0.3));
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.insight-card:hover .card-overlay {
    opacity: 1;
}

.insight-card:hover .placeholder-icon {
    fill: #ff1aff;
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 26, 255, 0.5));
}

.read-more {
    color: #ff1aff;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 26, 255, 0.5);
    animation: read-more-pulse 2s ease-in-out infinite;
}

@keyframes read-more-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.card-category {
    background: linear-gradient(135deg, rgba(0, 255, 234, 0.2) 0%, rgba(255, 26, 255, 0.2) 100%);
    color: #00ffea;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(0, 255, 234, 0.3);
}

.card-date {
    color: #888;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.insight-card:hover .card-title {
    color: #00ffea;
}

.card-description {
    color: #e0e0e0; /* Improved contrast ratio */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    background: linear-gradient(135deg, #ff1aff, #00ffea);
    color: #0d0d0d;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 26, 255, 0.3);
    animation: stat-glow 3s ease-in-out infinite alternate;
}

@keyframes stat-glow {
    0% { box-shadow: 0 0 10px rgba(255, 26, 255, 0.3); }
    100% { box-shadow: 0 0 20px rgba(0, 255, 234, 0.4); }
}

/* Article Modal */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

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

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.95) 0%, rgba(26, 26, 26, 0.98) 100%);
    border: 2px solid #00ffea;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 255, 234, 0.3);
}

.article-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 234, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.modal-header .terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.modal-title {
    color: #00ffea;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.5);
}

.modal-close {
    background: none;
    border: none;
    color: #ff1aff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(255, 26, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
    color: #fff;
}

.article-content h2 {
    color: #00ffea;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.3);
}

.article-content h3 {
    color: #ff1aff;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    text-shadow: 0 0 8px rgba(255, 26, 255, 0.3);
}

.article-content p {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.article-content ul {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content code {
    background: rgba(0, 255, 234, 0.1);
    color: #00ffea;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(0, 255, 234, 0.3);
}

.cta-section {
    background: linear-gradient(135deg, rgba(0, 255, 234, 0.1) 0%, rgba(255, 26, 255, 0.1) 100%);
    border: 1px solid rgba(0, 255, 234, 0.3);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.cta-button {
    background: linear-gradient(135deg, #ff1aff, #00ffea);
    color: #0d0d0d;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 1rem;
    box-shadow: 0 0 20px rgba(255, 26, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 255, 234, 0.5);
}

.loading-text {
    color: #888;
    font-family: 'Courier New', monospace;
    text-align: center;
    padding: 3rem;
}

/* Modal responsive design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .modal-title {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .cta-section {
        padding: 1.5rem;
    }
}

.logo-item:hover .logo-label {
    color: #ff1aff;
    text-shadow: 0 0 5px rgba(255, 26, 255, 0.3);
}

/* Legacy Packages Grid (if needed elsewhere) */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.package-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #00ffea33;
    padding: 2rem 2rem 3.5rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.package-card.featured {
    border-color: #ff1aff;
    transform: scale(1.05);
    background: linear-gradient(145deg, #2a1a2a, #1a0d1a);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 234, 0.2);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.package-header h3 {
    color: #00ffea;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.package-badge {
    background: #ff1aff;
    color: #0d0d0d;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.package-price {
    margin: 1rem 0 1.5rem;
}

.currency {
    font-size: 1.2rem;
    color: #00ffea;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #00ffea;
    font-family: 'Courier New', monospace;
}

.period {
    font-size: 1rem;
    color: #cccccc;
}

.package-description {
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.package-features li {
    color: #cccccc;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ffea;
    font-weight: 600;
}

/* Link Logs */
.link-logs-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.log-terminal {
    background: #0a0a0a;
    border: 2px solid #00ffea33;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    overflow: hidden;
}

.log-terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffea, #ff1aff, #ff9900, #00ffea);
    animation: glitch-scan 2s linear infinite;
}

@keyframes glitch-scan {
    0% { transform: translateX(-100%); opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { transform: translateX(100%); opacity: 0.3; }
}

.log-terminal:hover {
    border-color: #00ffea;
    box-shadow: 0 0 20px rgba(0, 255, 234, 0.3);
    transform: translateY(-2px);
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #00ffea22;
}

.log-timestamp {
    color: #cccccc;
    font-size: 0.9rem;
}

.log-status {
    background: #27ca3f;
    color: #0a0a0a;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.log-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.flow-step {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flow-step.cyan {
    background: rgba(0, 255, 234, 0.2);
    color: #00ffea;
    border: 1px solid #00ffea;
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.5);
}

.flow-step.pink {
    background: rgba(255, 26, 255, 0.2);
    color: #ff1aff;
    border: 1px solid #ff1aff;
    text-shadow: 0 0 10px rgba(255, 26, 255, 0.5);
}

.flow-step.orange {
    background: rgba(255, 153, 0, 0.2);
    color: #ff9900;
    border: 1px solid #ff9900;
    text-shadow: 0 0 10px rgba(255, 153, 0, 0.5);
}

.flow-arrow {
    color: #00ffea;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 10px #00ffea;
    animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.log-details {
    color: #999999;
    font-size: 0.9rem;
    font-style: italic;
}

.logs-note {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #00ffea33;
    border-radius: 8px;
}

.logs-note p {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    font-style: italic;
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.3);
}

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(16px, 2vw, 28px);
    align-items: stretch;
}

.workflow-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(16px, 2.2vw, 24px);
    border-radius: 14px;
    border: 1px solid rgba(0,255,209,.25);
    background: rgba(0,0,0,.35);
    min-height: 420px;
}

.metrics-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.workflow-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.workflow-footer {
    margin-top: auto;
}

@media (max-width: 768px) {
    .workflow-grid { grid-template-columns: 1fr; }
    .workflow-card { min-height: auto; }
}

.use-case {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #00ffea33;
    padding: 2rem;
    border-radius: 8px;
}

.use-case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.use-case-header h3 {
    color: #00ffea;
    font-size: 1.5rem;
}

.use-case-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stat {
    background: linear-gradient(135deg, #ff1aff, #00ffea);
    color: #0d0d0d;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 26, 255, 0.4);
    animation: stat-pulse 3s ease-in-out infinite;
}

.stat.secondary {
    background: linear-gradient(135deg, #00ffea, #27ca3f);
    box-shadow: 0 0 15px rgba(0, 255, 234, 0.4);
    animation: stat-pulse-secondary 3s ease-in-out infinite 1.5s;
}

@keyframes stat-pulse {
    0%, 100% { 
        box-shadow: 0 0 15px rgba(255, 26, 255, 0.4); 
    }
    50% { 
        box-shadow: 0 0 25px rgba(255, 26, 255, 0.7); 
        transform: scale(1.02);
    }
}

@keyframes stat-pulse-secondary {
    0%, 100% { 
        box-shadow: 0 0 15px rgba(0, 255, 234, 0.4); 
    }
    50% { 
        box-shadow: 0 0 25px rgba(0, 255, 234, 0.7); 
        transform: scale(1.02);
    }
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: center;
}

.step {
    background: #0d0d0d;
    border: 1px solid #00ffea33;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #00ffea;
    color: #0d0d0d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 1rem;
    font-family: 'Courier New', monospace;
}

.step-content h4 {
    color: #00ffea;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-content p {
    color: #cccccc;
    font-size: 0.9rem;
}

.workflow-arrow {
    color: #00ffea;
    font-size: 1.5rem;
    text-align: center;
    justify-self: center;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    overflow: visible;
}

.testimonial-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: none;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 234, 0.2);
}
.testimonial-card:hover::before { border-color: #00ffea; }

.testimonial-content {
    margin-bottom: 2rem;
    overflow: visible;
    padding-bottom: clamp(68px, 8vw, 96px);
}

.testimonial-content p {
    color: #ffffff;
    font-style: italic;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.author-info h4 {
    color: #00ffea;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Metric pill styles */
.metric-pill {
    position: absolute;
    right: clamp(12px, 2vw, 20px);
    bottom: clamp(12px, 2vw, 20px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: auto;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: clamp(12px, 2.6vw, 14px);
    line-height: 1;
    letter-spacing: 0.02em;
    background: #0b1e17;
    color: #00ffd1;
    box-shadow:
      0 0 0 1px rgba(0,255,209,0.25) inset,
      0 0 22px 6px rgba(255,0,255,0.18),
      0 0 36px 14px rgba(0,255,209,0.22);
    z-index: 2;
    white-space: nowrap;
}

.metric-pill .value { font-weight: 800; }
.metric-pill .label { opacity: 0.9; }

/* Avoid clipping from card borders/glow */
.testimonial-card::before {
    content: "";
    position: absolute; inset: 0;
    border: 1px solid rgba(0,255,209,0.25);
    border-radius: 8px;
    pointer-events: none;
}

/* Mobile & tablet tuning */
@media (max-width: 768px) {
    .testimonial-content { padding-bottom: 88px; }
    .metric-pill { padding: 8px 14px; font-size: 12px; }
}

@media (max-width: 420px) {
    .metric-pill { right: 12px; bottom: 12px; font-size: 11.5px; }
}

/* Injection Terminal Form */
.injection-terminal {
    background: #0a0a0a;
    border: 2px solid #00ffea33;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.injection-terminal .terminal-header {
    background: #1a1a1a;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #00ffea22;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.injection-terminal .terminal-title {
    color: #00ffea;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-align: left;
    flex: 1;
}

.terminal-form {
    padding: 2rem;
    font-family: 'Courier New', monospace;
}

.form-line {
    margin: 1.5rem 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-prompt {
    color: #27ca3f;
    font-weight: 600;
    white-space: nowrap;
}

.form-command {
    color: #00ffea;
    font-weight: 400;
}

.injection-form .form-group {
    margin-bottom: 1.5rem;
}

.injection-form input,
.injection-form textarea {
    width: 100%;
    background: #111111;
    border: 1px solid #00ffea33;
    border-radius: 4px;
    padding: 0.75rem;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.injection-form input:focus,
.injection-form textarea:focus {
    outline: none;
    border-color: #00ffea;
    box-shadow: 0 0 15px rgba(0, 255, 234, 0.3);
    background: #1a1a1a;
}

.injection-form input::placeholder,
.injection-form textarea::placeholder {
    color: #666666;
    font-style: italic;
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.btn-injection-form {
    position: relative;
    background: linear-gradient(45deg, #00ffea, #ff1aff);
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    color: #0a0a0a;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-injection-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 234, 0.4);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-injection-form:hover .btn-glow {
    left: 100%;
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #00ffea33;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #00ffea;
    box-shadow: 0 15px 40px rgba(0, 255, 234, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #00ffea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #0d0d0d;
}

.contact-card h3 {
    color: #00ffea;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.contact-link {
    color: #ff1aff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #00ffea;
    text-shadow: 0 0 10px #00ffea;
}

/* Contact Form */
.contact-form-wrapper {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #00ffea33;
    border-radius: 8px;
    overflow: hidden;
}

.form-header {
    background: #00ffea22;
    padding: 2rem;
    border-bottom: 1px solid #00ffea33;
}

.form-header h3 {
    color: #00ffea;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #cccccc;
}

.contact-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #00ffea;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: #0d0d0d;
    border: 1px solid #00ffea33;
    border-radius: 4px;
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffea;
    box-shadow: 0 0 10px rgba(0, 255, 234, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Tabs */
.form-tabs {
    display: flex;
    gap: 0;
    margin-left: auto;
    flex-shrink: 0;
    justify-content: center;
}

.single-toggle {
    background: #1a1a1a;
    border: 1px solid #00ffea33;
    color: #cccccc;
    padding: 0.5rem 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: block !important;
    visibility: visible !important;
    margin: 0 auto;
    min-width: 120px;
    text-align: center;
}

.single-toggle:hover {
    background: #00ffea22;
    color: #00ffea;
    border-color: #00ffea;
    box-shadow: 0 0 10px rgba(0, 255, 234, 0.2);
}

.single-toggle:active {
    transform: translateY(1px);
}

.single-toggle:focus {
    outline: none;
    border-color: #00ffea;
    box-shadow: 0 0 15px rgba(0, 255, 234, 0.4);
}

.tab-btn {
    background: #1a1a1a;
    border: 1px solid #00ffea33;
    color: #cccccc;
    padding: 0.5rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.tab-btn:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.tab-btn:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-left: none;
}

.tab-btn.active {
    background: #00ffea;
    color: #0d0d0d;
    border-color: #00ffea;
    box-shadow: 0 0 10px rgba(0, 255, 234, 0.3);
}

.tab-btn:hover:not(.active) {
    background: #00ffea22;
    color: #00ffea;
}

.terminal-form,
.simple-form {
    display: none;
    padding: 2rem;
}

.terminal-form.active,
.simple-form.active {
    display: block;
}

/* Simple Form Styling */
.simple-form .form-group {
    margin-bottom: 2rem;
}

.simple-form label {
    display: block;
    color: #00ffea;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.simple-form input,
.simple-form textarea {
    width: 100%;
    padding: 0.75rem;
    background: #0d0d0d;
    border: 2px solid #00ffea33;
    border-radius: 4px;
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.simple-form input:focus,
.simple-form textarea:focus {
    outline: none;
    border-color: #00ffea;
    box-shadow: 0 0 15px rgba(0, 255, 234, 0.3);
}

.btn-demo-request {
    background: linear-gradient(135deg, #ff1aff, #00ffea);
    color: #0d0d0d;
    border: none;
    padding: 1rem 2rem;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 20px rgba(255, 26, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-demo-request:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(255, 26, 255, 0.5);
}

/* Footer */
.footer {
    background: #000000;
    border-top: 2px solid #00ffea;
    box-shadow: 0 -5px 20px rgba(0, 255, 234, 0.3);
}

.system-terminal {
    padding: 0.75rem 2rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #cccccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.system-status {
    color: #cccccc;
}

.status-synchronized {
    color: #27ca3f;
    animation: glitch-sync 3s ease-in-out infinite;
}

@keyframes glitch-sync {
    0%, 90%, 100% { 
        transform: translateX(0); 
        opacity: 1; 
    }
    95% { 
        transform: translateX(2px); 
        opacity: 0.8; 
    }
    97% { 
        transform: translateX(-1px); 
        opacity: 0.9; 
    }
}

.system-info,
.system-contact,
.system-copyright {
    color: #cccccc;
}

.system-email {
    color: #00ffea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.system-email:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px #00ffea;
}

/* ===== CASE STUDIES SECTION ===== */

.case-studies-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0a1a 50%, #0d0d0d 100%);
    position: relative;
    overflow: hidden;
}

.case-studies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 26, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.case-studies-terminal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #00ffea;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(0, 255, 234, 0.05);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 4px;
}

.case-study-featured {
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.9) 0%, rgba(26, 10, 26, 0.9) 100%);
    border: 1px solid rgba(0, 255, 234, 0.3);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(0, 255, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.case-study-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff1aff, #00ffea, #27ca3f, #ff9900);
    animation: scan 3s linear infinite;
}

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

.case-study-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 234, 0.2);
}

.case-study-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.case-classification {
    color: #ff1aff;
    background: rgba(255, 26, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 26, 255, 0.3);
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-date {
    color: #cccccc;
}

.case-study-title {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    color: #00ffea;
    margin: 1rem 0;
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.3);
}

.client-profile {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.client-type,
.client-size {
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 234, 0.05);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 6px;
}

.case-section {
    display: flex;
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.case-section:hover {
    border-color: rgba(0, 255, 234, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 234, 0.1);
}

.section-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 234, 0.1);
    border: 2px solid rgba(0, 255, 234, 0.3);
    border-radius: 50%;
}

.section-content h4 {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: #00ffea;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-content p {
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.problem-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.metric-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 26, 255, 0.1);
    border: 1px solid rgba(255, 26, 255, 0.3);
    border-radius: 8px;
}

.metric-item.critical {
    animation: pulse-critical 2s ease-in-out infinite;
}

@keyframes pulse-critical {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(255, 26, 255, 0.3);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255, 26, 255, 0.6);
    }
}

.metric-value {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff1aff;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solution-components {
    display: grid;
    gap: 1rem;
}

.component-item {
    padding: 1rem;
    background: rgba(0, 255, 234, 0.05);
    border-left: 3px solid #00ffea;
    border-radius: 0 6px 6px 0;
    color: #e0e0e0;
    line-height: 1.6;
}

.component-item strong {
    color: #00ffea;
}

.timeline {
    display: grid;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.timeline-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff9900;
    margin-top: 0.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.5);
}

.timeline-content {
    color: #e0e0e0;
    line-height: 1.6;
}

.timeline-content strong {
    color: #ff9900;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(39, 202, 63, 0.05);
    border: 1px solid rgba(39, 202, 63, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(39, 202, 63, 0.2);
}

.result-icon {
    font-size: 2rem;
    color: #27ca3f;
    text-shadow: 0 0 10px rgba(39, 202, 63, 0.5);
}

.result-data {
    display: flex;
    flex-direction: column;
}

.result-value {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: bold;
    color: #27ca3f;
    line-height: 1;
}

.result-label {
    font-size: 0.9rem;
    color: #e0e0e0;
    margin-bottom: 0.25rem;
}

.result-change {
    font-size: 0.8rem;
    color: #00ffea;
    opacity: 0.8;
}

.case-study-quote {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 234, 0.05) 0%, rgba(255, 26, 255, 0.05) 100%);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 12px;
    position: relative;
}

.case-study-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #00ffea;
    opacity: 0.3;
    font-family: serif;
}

.quote-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.quote-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    color: #00ffea;
}

.author-title {
    font-size: 0.9rem;
    color: #cccccc;
}

.case-studies-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 234, 0.05) 0%, rgba(255, 26, 255, 0.05) 100%);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 12px;
}

.case-studies-cta h3 {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #00ffea;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-studies-cta p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== WHY AUTOMATE SECTION ===== */

.why-automate-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.why-automate-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 26, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.automation-manifesto {
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.manifesto-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.manifesto-section h3 {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #00ffea;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 234, 0.3);
}

.manifesto-section p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.benefits-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-node {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: 1px solid rgba(0, 255, 234, 0.3);
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 234, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-node:hover {
    transform: translateY(-5px);
    border-color: #00ffea;
    box-shadow: 0 10px 30px rgba(0, 255, 234, 0.2);
}

.benefit-node:hover::before {
    opacity: 1;
}

.benefit-node.cost-savings {
    border-color: rgba(39, 202, 63, 0.3);
}

.benefit-node.cost-savings:hover {
    border-color: #27ca3f;
    box-shadow: 0 10px 30px rgba(39, 202, 63, 0.2);
}

.benefit-node.scalability {
    border-color: rgba(255, 153, 0, 0.3);
}

.benefit-node.scalability:hover {
    border-color: #ff9900;
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.2);
}

.node-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 234, 0.1);
    border: 2px solid rgba(0, 255, 234, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.benefit-node.cost-savings .node-icon {
    background: rgba(39, 202, 63, 0.1);
    border-color: rgba(39, 202, 63, 0.3);
}

.benefit-node.scalability .node-icon {
    background: rgba(255, 153, 0, 0.1);
    border-color: rgba(255, 153, 0, 0.3);
}

.node-content h4 {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: #00ffea;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benefit-node.cost-savings .node-content h4 {
    color: #27ca3f;
}

.benefit-node.scalability .node-content h4 {
    color: #ff9900;
}

.node-content p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.metric-highlight {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.metric-highlight .metric-value {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: bold;
    color: #00ffea;
    line-height: 1;
}

.benefit-node.cost-savings .metric-highlight .metric-value {
    color: #27ca3f;
}

.benefit-node.scalability .metric-highlight .metric-value {
    color: #ff9900;
}

.metric-highlight .metric-label {
    font-size: 0.9rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.competitive-advantage {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 26, 255, 0.2);
    border-radius: 12px;
}

.competitive-advantage h3 {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #ff1aff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.competitive-advantage p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.advantage-item {
    padding: 1.5rem;
    background: rgba(255, 26, 255, 0.05);
    border-left: 3px solid #ff1aff;
    border-radius: 0 8px 8px 0;
    color: #e0e0e0;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background: rgba(255, 26, 255, 0.1);
    transform: translateX(5px);
}

.advantage-item strong {
    color: #ff1aff;
    display: block;
    margin-bottom: 0.5rem;
}

.reality-check {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 26, 255, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
    border: 1px solid rgba(255, 26, 255, 0.3);
    border-radius: 12px;
}

.reality-check h3 {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #ff1aff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reality-check p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.warning-metrics {
    display: grid;
    gap: 1rem;
}

.warning-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 26, 255, 0.1);
    border: 1px solid rgba(255, 26, 255, 0.3);
    border-radius: 8px;
    animation: warning-pulse 3s ease-in-out infinite;
}

@keyframes warning-pulse {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(255, 26, 255, 0.3);
    }
    50% { 
        box-shadow: 0 0 15px rgba(255, 26, 255, 0.6);
    }
}

.warning-icon {
    font-size: 1.5rem;
    color: #ff1aff;
    flex-shrink: 0;
}

.warning-text {
    color: #e0e0e0;
    line-height: 1.5;
}

.warning-text strong {
    color: #ff1aff;
}

/* ===== ENHANCED USE CASES SECTION ===== */

.use-cases-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 234, 0.05) 0%, rgba(255, 26, 255, 0.05) 100%);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 12px;
}

.use-cases-cta h3 {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #00ffea;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.use-cases-cta p {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Case page quick styles */
.case-page .metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}
.breadcrumbs {
    display: flex; align-items: center; gap: 6px;
    font-size: clamp(13px, 1.8vw, 15px);
    margin-bottom: 12px;
    color: rgba(231,244,239,0.8);
}
.breadcrumbs .crumb { color: var(--neon,#00ffd1); text-decoration:none; }
.breadcrumbs .crumb.current { color: rgba(231,244,239,1); font-weight:600; }
.breadcrumbs .separator { opacity:0.6; }
.back-link {
    display:inline-block; margin-bottom: clamp(12px,2vw,20px);
    font-size: clamp(14px,2vw,16px); font-weight:600;
    color: var(--neon,#00ffd1); text-decoration:none;
    transition:opacity 0.2s ease;
}
.back-link:hover { opacity:0.8; }
.case-page .case-header {
    margin-bottom: clamp(16px, 3vw, 28px);
}
.case-page .case-body h2,
.case-page .case-body h3 {
    margin-top: 1.25em;
}
.case-page .back-link {}

/* Prevent horizontal scroll and ensure proper text wrapping */
/* Removed duplicate universal selector for box-sizing (already declared at top) */

.hero,
.section,
.container {
    overflow-x: hidden;
    width: 100%;
}

.hero-title h1,
.section-title,
.card-title {
    word-wrap: break-word;
    hyphens: auto;
}

.terminal-line .command,
.terminal-line .output {
    word-break: break-all;
    white-space: pre-wrap;
}

/* Mobile Breakpoint - 375px width (common mobile) */
@media (max-width: 375px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    .container {
        padding: 0 0.75rem;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Force single column for use cases on very small screens */
    .use-cases-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    /* Further optimize for smallest screens */
    .use-case {
        padding: 1rem;
    }
    
    .use-case-stats .stat {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Ultra-small mobile adjustments */
    .hero-title h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        font-size: 0.8rem;
        padding: 0.7rem 1rem;
        width: 100%;
        max-width: 260px;
    }
    
    .integration-logos {
        grid-template-columns: 1fr !important;
    }
    
    .terminal-header {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .terminal-body {
        padding: 0.5rem;
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .hero-title h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .terminal-body {
        padding: 0.75rem;
        min-height: 200px;
    }
    
    .terminal-title {
        font-size: 0.7rem;
    }
    
    .terminal-line {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
        text-align: center;
        word-break: break-word;
    }
    
    /* Prevent horizontal overflow */
    
    body,
    html {
        overflow-x: hidden;
    }
    
    .container,
    .section,
    .hero,
    .hero-content {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Text wrapping for mobile */
    .terminal-text,
    .command,
    .output,
    .hero-title h1,
    .section-title {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Mobile-specific grid adjustments */
    .system-modules-grid,
    .benefits-matrix,
    .reality-check-grid,
    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        text-align: center;
    }
    
    /* Integration logos responsive */
    .integration-logos {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
    
    .logo-item {
        text-align: center;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        min-height: 44px; /* Minimum touch target */
        margin: 1.5rem 0 1rem 0;
    }
    
    .feature-card,
    .service-card,
    .package-card {
        padding: 1rem 1rem 2rem 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-title,
    .service-title {
        font-size: 1rem;
    }
    
    .package-price .amount {
        font-size: 2rem;
    }
    
    .workflow-step {
        padding: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-title {
        font-size: 1rem;
    }
    
    .use-case-card {
        padding: 1rem;
    }
    
    .use-case-title {
        font-size: 1.1rem;
    }
    
    .insight-card {
        max-width: 100%;
        margin: 0;
    }
    
    .card-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .card-description {
        font-size: 0.85rem;
        line-height: 1.5;
        color: #e0e0e0; /* Improved contrast for mobile */
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .contact-info h3 {
        font-size: 1.1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
        min-height: 44px; /* Minimum touch target */
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .modal-content {
        width: 98%;
        margin: 1%;
    }
    
    .modal-title {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .article-content h2 {
        font-size: 1.3rem;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
    }
    
    /* Additional mobile-specific fixes for horizontal scroll prevention */
    .hero-grid,
    .terminal-box,
    .feature-card,
    .service-card,
    .package-card,
    .insight-card,
    .use-case-card {
        max-width: 100%;
        overflow: hidden;
    }
    .testimonial-card {
        max-width: 100%;
        overflow: visible;
    }
    
    .nav-menu {
        width: 100vw;
        left: -100vw;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .system-terminal {
        padding: 0.5rem;
        font-size: 0.7rem;
    }
    
    /* Case Studies mobile optimizations */
    .case-study-featured {
        padding: 1.5rem;
    }
    
    .case-study-title {
        font-size: 1.2rem;
    }
    
    .client-profile {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .case-section {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
        align-self: flex-start;
    }
    
    .problem-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-item {
        padding: 1rem;
    }
    
    .result-value {
        font-size: 1.4rem;
    }
    
    .case-study-quote {
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .case-studies-cta {
        padding: 2rem 1rem;
    }
    
    /* Why Automate mobile optimizations */
    .benefits-matrix {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-node {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .node-icon {
        align-self: center;
        width: 60px;
        height: 60px;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .advantage-item {
        padding: 1rem;
    }
    
    .manifesto-section {
        padding: 1.5rem;
    }
    
    .manifesto-section h3 {
        font-size: 1.2rem;
    }
    
    .competitive-advantage,
    .reality-check {
        padding: 1.5rem;
    }
    
    .use-cases-cta {
        padding: 2rem 1rem;
    }
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    
    .nav-dropdown .nav-link.dropdown-toggle {
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        background: rgba(0, 255, 234, 0.05);
        border: none;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        margin-top: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown-link {
        padding: 1rem 2rem;
        border-left: none;
        border-bottom: 1px solid rgba(0, 255, 234, 0.1);
        width: 100%;
        text-align: center;
    }
    
    .dropdown-link:hover {
        transform: none;
        background: rgba(0, 255, 234, 0.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(13, 13, 13, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 10003;
    }
    
    .nav-link {
        text-align: center;
        width: 100%;
        padding: 1rem 2rem;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu.active {
        left: 0;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-title h1 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    /* Card responsiveness */
    .injection-card,
    .package-card,
    .module-card,
    .insight-card,
    .testimonial-card,
    .service-card,
    .feature-card {
        margin: 0 0 1.5rem 0;
        text-align: center;
        max-width: 100%;
    }
    
    /* Form responsiveness */
    .injection-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Typography adjustments */
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .services-grid,
    .packages-grid,
    .testimonials-grid,
    .insights-grid,
    .use-cases-grid,
    .integrations-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .workflow-steps,
    .process-steps {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Mobile-specific section adjustments */
    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    .terminal-header,
    .terminal-body {
        text-align: center;
    }
    
    .contact-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .injection-terminal,
    .terminal-box {
        margin: 0 auto 2rem;
        text-align: left;
        max-width: 100%;
    }

    .workflow-arrow {
        transform: rotate(90deg);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .terminal-body {
        padding: 1rem;
        min-height: 250px;
    }

    .hero-title h1 {
        font-size: 2.5rem;
    }

    .manual-mode-content {
        gap: 1.5rem;
    }

    .terminal-box {
        padding: 1.5rem;
    }

    .manual-paragraph {
        font-size: 1.1rem;
    }

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

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

    .system-modules-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .module-card {
        padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    }

    .module-title {
        font-size: 1.1rem;
    }

    .injection-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .injection-card {
        padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    }

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

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

    .injection-price .amount {
        font-size: 2.5rem;
    }

    .injection-title {
        font-size: 1.3rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .step-arrow {
        position: static;
        transform: rotate(90deg);
        margin: 1rem 0;
        font-size: 1.5rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .use-case-stats {
        justify-content: center;
        margin-bottom: 1.5rem;
        gap: 0.5rem;
    }

    .stat {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .insight-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .card-header {
        padding: 1rem;
    }

    .card-image {
        height: 100px;
        margin-bottom: 0.8rem;
    }

    .placeholder-icon {
        width: 60px;
        height: 60px;
    }

    .card-content {
        padding: 1rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-description {
        font-size: 0.9rem;
    }

    .card-stats {
        gap: 0.75rem;
        justify-content: center;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 1.25rem;
    }

    .stat-item {
        font-size: 0.6rem;
        padding: 0.35rem 0.4rem;
        text-align: center;
        white-space: nowrap;
        flex: 0 1 auto;
        max-width: 48%;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }

    .process-step:last-child .step-arrow {
        display: none;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .step-title {
        font-size: 1.1rem;
    }
    
    .form-tabs {
        flex-direction: column;
        margin-left: 0;
    }
    
    .tab-btn {
        border-radius: 4px !important;
        margin-bottom: 0.5rem;
        border: 1px solid #00ffea33 !important;
    }
    
    .system-terminal {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Tablet Breakpoint - 768px width */
@media (max-width: 768px) and (min-width: 481px) {
    .section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    /* Tablet: Stack most grids to single column, some to 2 columns */
    .features-grid,
    .services-grid,
    .packages-grid,
    .insights-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .workflow-steps,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Center buttons on tablet */
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-injection {
        margin: 1rem auto;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-title h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .system-modules-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .injection-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .terminal-body {
        padding: 1.25rem;
        min-height: 300px;
    }
    
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 44px;
        font-size: 16px;
    }
    
    .modal-content {
        width: 90%;
        max-width: 600px;
    }
    
    /* Case Studies tablet optimizations */
    .case-study-featured {
        padding: 2rem;
    }
    
    .case-study-title {
        font-size: 1.5rem;
    }
    
    .case-section {
        gap: 1.25rem;
        padding: 1.75rem;
    }
    
    .problem-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-item {
        align-items: center;
    }
    
    /* Why Automate tablet optimizations */
    .benefits-matrix {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .benefit-node {
        flex-direction: row;
        gap: 1.25rem;
        padding: 1.75rem;
    }
    
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .use-cases-cta {
        padding: 2.5rem 1.5rem;
    }
}

/* ===== PERFORMANCE ANIMATIONS ===== */

/* Intersection Observer animations for performance */
@media (prefers-reduced-motion: no-preference) {
    .benefit-node, .use-case, .insight-card, .case-section {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .benefit-node.animate-in, .use-case.animate-in, 
    .insight-card.animate-in, .case-section.animate-in {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Performance-optimized focus styles */
.insight-card:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 234, 0.3);
}

/* Ensure animations do not block rendering */
.glitch, .typing, .warning-pulse {
    will-change: transform;
    animation-fill-mode: both;
}

/* ===== BLOG ARTICLE PAGES ===== */

.article-page {
    padding: 120px 0 4rem;
    background: #0d0d0d;
    color: #ffffff;
    line-height: 1.6;
}

.article-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 255, 234, 0.2);
    padding-bottom: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.article-category {
    background: linear-gradient(135deg, #00ffea, #27ca3f);
    color: #0d0d0d;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-date {
    color: #888;
}

.article-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #00ffea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.article-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(0, 255, 234, 0.1);
    border: 1px solid rgba(0, 255, 234, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #00ffea;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #00ffea;
    font-family: 'Courier New', monospace;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.content-section p {
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.content-section ul, .content-section ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-section li {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

/* Feature highlights */
.feature-highlight {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(0, 255, 234, 0.05);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 12px;
    margin: 2rem 0;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-content h3 {
    color: #00ffea;
    margin-bottom: 0.5rem;
}

/* Code blocks */
.code-block {
    background: #1a1a1a;
    border: 1px solid rgba(0, 255, 234, 0.3);
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
}

.code-header {
    background: rgba(0, 255, 234, 0.1);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 234, 0.2);
}

.code-title {
    font-family: 'Courier New', monospace;
    color: #00ffea;
    font-weight: 600;
}

.code-lang {
    font-family: 'Courier New', monospace;
    color: #888;
    font-size: 0.85rem;
}

.code-block pre {
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e0e0e0;
}

.code-block.small {
    font-size: 0.8rem;
}

/* Results grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.result-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(39, 202, 63, 0.1);
    border: 1px solid rgba(39, 202, 63, 0.3);
    border-radius: 8px;
}

.result-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #27ca3f;
    font-family: 'Courier New', monospace;
}

.result-label {
    font-size: 0.9rem;
    color: #cccccc;
    margin-top: 0.5rem;
}

/* Blockquotes */
.insight-quote {
    background: rgba(255, 153, 0, 0.05);
    border-left: 4px solid #ff9900;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #e0e0e0;
}

.insight-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    color: #ff9900;
    font-weight: 600;
}

/* Workflow visualization */
.workflow-visualization {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 234, 0.05);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
}

.step-number {
    width: 2rem;
    height: 2rem;
    background: #00ffea;
    color: #0d0d0d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1rem;
}

.step-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #cccccc;
}

.workflow-arrow {
    color: #00ffea;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Case study */
.case-study {
    background: rgba(255, 26, 255, 0.05);
    border: 1px solid rgba(255, 26, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.case-study h3 {
    color: #ff1aff;
    margin-bottom: 1rem;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 26, 255, 0.1);
    border-radius: 8px;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff1aff;
    font-family: 'Courier New', monospace;
}

.metric-label {
    font-size: 0.85rem;
    color: #cccccc;
    margin-top: 0.25rem;
}

/* Implementation timeline */
.implementation-timeline {
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 3rem;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(to bottom, #00ffea, transparent);
}

.timeline-marker {
    width: 1.5rem;
    height: 1.5rem;
    background: #00ffea;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.timeline-content h4 {
    color: #00ffea;
    margin-bottom: 0.5rem;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 255, 234, 0.1), rgba(39, 202, 63, 0.1));
    border: 1px solid rgba(0, 255, 234, 0.3);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0;
}

/* Centered quote/callout section */
.quote-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(32px, 6vw, 64px) 16px;
}

.quote-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote-inner h2,
.quote-inner p,
.quote-inner .btn {
    margin-left: auto;
    margin-right: auto;
}

/* Neon/glow quote CTA */
.quote-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(36px, 8vw, 96px) 16px;
    text-align: center;
}

.quote-card {
    width: min(920px, 92vw);
    padding: clamp(20px, 4vw, 36px);
    border-radius: 16px;
    background: radial-gradient(120% 120% at 80% -10%, rgba(0,255,209,0.06) 0%, rgba(0,0,0,0) 60%), var(--surface);
    position: relative;
    box-shadow: 0 18px 46px -10px rgba(0,255,209,0.14), 0 0 64px -22px rgba(138,43,226,0.18);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.6vw, 16px);
    isolation: isolate;
}

.quote-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(0,255,209,0.25), rgba(138,43,226,0.18), rgba(0,255,209,0.25));
    mix-blend-mode: screen;
    opacity: 0.25;
    filter: blur(6px);
}

.quote-title {
    margin: 0;
    font-size: clamp(22px, 4.2vw, 34px);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text);
    text-shadow: 0 0 12px rgba(0,255,209,0.18);
}

.quote-sub {
    margin: 0 auto;
    max-width: 60ch;
    color: rgba(231,244,239,0.82);
    font-size: clamp(14px, 2.2vw, 16px);
    line-height: 1.6;
}

.btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 6px auto 0;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #001813;
    background: var(--neon);
    box-shadow: 0 0 0 1px rgba(0,255,209,0.25) inset, 0 16px 36px rgba(0,255,209,0.28), 0 0 32px rgba(138,43,226,0.18);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.btn.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(0,255,209,0.35) inset, 0 22px 42px rgba(0,255,209,0.34), 0 0 40px rgba(138,43,226,0.22);
    filter: saturate(1.08);
}

.btn.btn-primary:active {
    transform: translateY(0);
}

@media (max-width: 520px) {
    .quote-card { width: min(720px, 96vw); padding: 20px; }
    .btn.btn-primary { width: 100%; max-width: 420px; }
}

.cta-content h3 {
    color: #00ffea;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.cta-content p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Article navigation */
.article-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 234, 0.2);
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00ffea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-back:hover {
    color: #27ca3f;
    transform: translateX(-5px);
}

.nav-related h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.related-link {
    display: block;
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.related-link:hover {
    color: #00ffea;
}

/* Comparison grids and specialized content */
.comparison-grid {
    margin: 2rem 0;
}

.comparison-item {
    background: rgba(0, 255, 234, 0.05);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comparison-header h3 {
    color: #00ffea;
    margin: 0;
}

.rating {
    font-size: 1.2rem;
}

.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-list li:before {
    content: '✓ ';
    color: #27ca3f;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Zapier and Custom specific highlights */
.zapier-highlight {
    border-color: rgba(255, 153, 0, 0.3);
    background: rgba(255, 153, 0, 0.05);
}

.custom-highlight {
    border-color: rgba(0, 255, 234, 0.3);
    background: rgba(0, 255, 234, 0.05);
}

/* Decision framework */
.decision-framework {
    margin: 2rem 0;
}

.framework-question {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.framework-question h3 {
    color: #ff9900;
    margin-bottom: 1rem;
}

.framework-options {
    display: grid;
    gap: 1rem;
}

.option {
    padding: 1rem;
    border-radius: 8px;
}

.zapier-option {
    background: rgba(255, 153, 0, 0.1);
    border-left: 4px solid #ff9900;
}

.custom-option {
    background: rgba(0, 255, 234, 0.1);
    border-left: 4px solid #00ffea;
}

/* Pillars grid for ethics article */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pillar-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(0, 255, 234, 0.05);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.pillar-item:hover {
    transform: translateY(-5px);
}

.pillar-icon {
    margin-bottom: 1rem;
}

.pillar-item h3 {
    color: #00ffea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* ROI specific styles */
.roi-layers {
    margin: 2rem 0;
}

.roi-layer {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border-left: 4px solid #00ffea;
}

.layer-number {
    width: 3rem;
    height: 3rem;
    background: #00ffea;
    color: #0d0d0d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.layer-content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.layer-impact {
    color: #27ca3f;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Formula boxes */
.formula-box {
    background: #1a1a1a;
    border: 1px solid rgba(0, 255, 234, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.formula {
    font-family: 'Courier New', monospace;
    color: #00ffea;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive design for blog articles */
@media (max-width: 768px) {
    .article-page {
        padding: 100px 0 2rem;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .article-stats {
        gap: 1rem;
    }
    
    .feature-highlight {
        flex-direction: column;
        gap: 1rem;
    }
    
    .workflow-visualization {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
    
    .article-nav {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-related {
        width: 100%;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .case-metrics {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
    .section {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .hero-title h1 {
        font-size: 3rem;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .workflow-arrow {
        position: absolute;
        right: -1.5rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .workflow-step:nth-child(even) .workflow-arrow {
        left: -1.5rem;
        right: auto;
        transform: translateY(-50%) rotate(180deg);
    }
    
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .system-modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .injection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Large Desktop Responsive Design */
@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-title h1 {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .packages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .insights-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .system-modules-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .injection-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .workflow-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* Ultra-wide Display Optimization */
@media (min-width: 1800px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content {
        max-width: 900px;
        margin: 0 auto;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .hero-title h1 {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .glitch,
    .hero-title h1,
    .section-title {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .terminal-box,
    .feature-card,
    .service-card,
    .package-card,
    .insight-card {
        transform: translateZ(0);
        will-change: transform;
    }
}

/* Print Styles */
@media print {
    .nav-header,
    .hero-section .btn,
    .footer,
    .article-modal {
        display: none !important;
    }
    
    .section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section-title,
    .card-title,
    .feature-title {
        color: black !important;
    }
}

    .step-description {
        font-size: 0.9rem;
    }

    .log-flow {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .flow-step {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
        font-size: 1rem;
        align-self: center;
    }

    .log-terminal {
        padding: 1rem;
    }

    .logs-note {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .logs-note p {
        font-size: 1rem;
    }

    .injection-terminal {
        max-width: 100%;
        margin: 0 auto;
    }

    .terminal-form {
        padding: 1.5rem;
    }

    .form-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        margin: 1rem 0 0.5rem;
    }

    .btn-injection-form {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .system-terminal {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 0.5rem;
        font-size: 0.7rem;
    }

    .form-tabs {
        width: 100%;
        margin-left: 0;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .tab-btn {
        flex: 1;
        text-align: center;
    }

    .terminal-form,
    .simple-form {
        padding: 1rem;
    }

    .btn-demo-request {
        width: 100%;
        justify-content: center;
    }

    .trusted-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .logo-item {
        gap: 0.5rem;
        padding: 1rem 0.5rem;
    }

    .logo-wrapper {
        padding: 0.3rem;
    }

    .platform-logo {
        width: 36px;
        height: 36px;
    }

    .logo-label {
        font-size: 0.8rem;
    }

    .logo-status {
        font-size: 0.6rem;
    }

    .trusted-by-section {
        padding: 3rem 0;
    }

    .trusted-by-title {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .terminal-line {
        font-size: 0.8rem;
    }

/* Mobile Breakpoint - 480px and below */
@media (max-width: 480px) {
    .section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-title h1 {
        font-size: 1.8rem;
        text-align: center;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    /* Ensure all grids stack to single column on mobile */
    .features-grid,
    .services-grid,
    .packages-grid,
    .insights-grid,
    .testimonials-grid,
    .use-cases-grid,
    .workflow-steps,
    .process-steps,
    .integrations-grid,
    .system-modules-grid,
    .injection-grid,
    .benefits-grid,
    .case-studies-grid,
    .integration-logos {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        text-align: center;
    }
    
    /* Improve use case cards for mobile */
    .use-case {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .use-case-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        text-align: left;
    }
    
    .use-case-stats {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    /* Stack "How It Works" steps into single column */
    .workflow-steps,
    .process-steps {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    /* Stack Contact form sections */
    .contact-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    /* Mobile typography adjustments */
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    /* Card padding adjustments for mobile */
    .feature-card,
    .service-card,
    .package-card,
    .insight-card,
    .testimonial-card,
    .module-card,
    .injection-card {
        padding: 1.5rem 1rem 2rem 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    /* Insight card specific mobile optimizations */
    .insight-card {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .insight-card .card-content {
        padding: 1rem;
        overflow: hidden;
    }
    
    .insight-card .card-title {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .insight-card .card-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    /* Center all buttons */
    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-injection,
    .btn-outline {
        display: block;
        margin: 1.5rem auto;
        text-align: center;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .terminal-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding-bottom: 0.5rem;
    }

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

    .use-case-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* Form responsiveness for mobile */
    .form-tabs {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        margin-right: 0;
        margin-top: 1rem;
        gap: 0;
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .tab-btn {
        border-radius: 4px !important;
        margin-bottom: 0.5rem;
        border: 1px solid #00ffea33 !important;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        display: inline-block !important;
        width: calc(50% - 0.25rem);
        text-align: center;
        min-height: 44px;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .single-toggle {
        border-radius: 4px !important;
        margin: 0 auto 0.5rem auto !important;
        border: 1px solid #00ffea33 !important;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        display: block !important;
        width: auto;
        max-width: 200px;
        text-align: center;
        min-height: 44px;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .tab-btn:first-child {
        margin-right: 0.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevent zoom on iOS */
        min-height: 44px;
        width: 100%;
    }
    
    /* Terminal adjustments for mobile */
    .terminal-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.75rem;
    }
    
    .terminal-controls {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .terminal-body {
        padding: 1rem;
        min-height: 200px;
        font-size: 0.85rem;
    }
    
    .terminal-line {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    /* Navigation improvements for mobile */
    .nav-container {
        padding: 0.5rem 1rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    /* Modal adjustments */
    .modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 5vh auto;
    }
    
    .modal-header {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-body {
        padding: 1rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Reduce excessive spacing on mobile */
    .hero {
        padding-top: 100px;
        padding-bottom: 3rem;
    }
    
    .hero-actions {
        margin-top: 2rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
    }
    
    /* Integration logos single column */
    .integration-logos {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        max-width: 200px;
        margin: 0 auto;
    }
    
    /* Use case metrics and benefit nodes single column */
    .benefit-nodes,
    .use-case-metrics,
    .problem-metrics,
    .results-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: #00ffea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff1aff;
}

/* Center single toggle in terminal header for injection form */
.injection-terminal .terminal-header {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.injection-terminal .form-toggle {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-left: 0;
}

.injection-terminal .single-toggle {
    margin-top: 0.25rem;
}

/* Fluid type scale and vertical rhythm overrides */

:root {
    --step--1: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
    --step-0: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --step-1: clamp(1.25rem, 1.1rem + 1vw, 1.5rem);
    --step-2: clamp(1.5rem, 1.2rem + 2vw, 2rem);
    --step-3: clamp(2rem, 1.6rem + 3vw, 2.75rem);
    /* neon defaults for quote card */
    --neon: #00ffd1;
    --neon-2: #8a2be2;
    --surface: rgba(0,0,0,0.35);
    --border: rgba(0,255,209,0.25);
    --text: #e7f4ef;
}

h1 {
    font-size: var(--step-3);
}

h2 {
    font-size: var(--step-2);
}

h3,
.card-title {
    font-size: var(--step-1);
}

body {
    font-size: var(--step-0);
    line-height: 1.6;
}

section {
    padding-block: clamp(2rem, 3vw, 4rem);
}

.container {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
}

/* End fluid type scale overrides */

/* Grid utility */

.grid {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Apply grid utility to key lists */
.benefits-matrix,
.advantage-grid,
.system-modules-grid,
.insights-grid,
.impact-metrics,
.cx-metrics,
.mission-metrics,
.problem-metrics,
.warning-metrics,
.case-metrics {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Responsive workflow rail adjustments */
@media (max-width: 900px) {
    .process-steps,
    .workflow-rail {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    /* Hide connector arrows on mobile */
    .arrow,
    .workflow-arrow,
    .step-arrow,
    .process-arrow,
    .flow-arrow,
    .appeal-arrow {
        display: none;
    }
}

/* Details summary styling for workflow cases */
.wf-case summary {
    cursor: pointer;
    padding: 12px 0;
    font-weight: 700;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Tone down glow on small screens */
@media (max-width: 600px) {
    .glow,
    .neon,
    .btn-glow,
    .read-more,
    .logo-item:hover .platform-logo,
    .insight-card:hover .card-title {
        text-shadow: 0 0 6px rgba(0, 255, 234, 0.4);
    }
}

/* Responsive background image optimization (example hooks) */
/* Swap heavy backgrounds to lighter variants below 768px */
@media (max-width: 768px) {
    /* Example: add a class where background images are used and provide a mobile asset */
    /* .hero.has-bg { background-image: url('images/hero-bg-mobile.jpg'); } */
    /* .section-dark.has-bg { background-image: url('images/section-bg-mobile.jpg'); } */
}

/* Slight contrast boost for text on gradient card backgrounds */
.feature-card p,
.feature-card li,
.service-card p,
.service-card li,
.package-card p,
.package-card li,
.insight-card p,
.insight-card li,
.module-card p,
.module-card li,
.injection-card p,
.injection-card li,
.use-case p,
.use-case li,
.card-description {
    color: #f0f7f7;
}

/* Responsive layout for contact form container (terminal-style) */
@media (min-width: 1200px) {
    .injection-terminal {
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .injection-terminal {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Ensure hero primary buttons are centered and responsive across all screens */
.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem auto;
}

.hero-actions .btn {
    min-width: 140px;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .injection-terminal {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding-inline: 1rem;
    }
}
