/* ===== NEWTS LABS - ELITE ENGINEERING DESIGN ===== */

:root {
    /* Core Brand Colors */
    --primary: #FF6B35;
    --secondary: #004E98;
    --accent: #FFD23F;
    --success: #7CB518;
    --warning: #FF8500;
    --danger: #E71D36;
    
    /* Neural Network Theme */
    --neural-blue: #0066FF;
    --neural-purple: #8B5CF6;
    --neural-pink: #EC4899;
    --neural-green: #10B981;
    --neural-yellow: #F59E0B;
    
    /* Dark Theme Base */
    --bg-primary: #0A0A0F;
    --bg-secondary: #111119;
    --bg-tertiary: #1A1A24;
    --bg-card: #1F1F2E;
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #B8BCC8;
    --text-muted: #6B7280;
    --text-accent: var(--primary);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --gradient-neural: linear-gradient(135deg, #0066FF 0%, #8B5CF6 50%, #EC4899 100%);
    --gradient-dark: linear-gradient(135deg, #0A0A0F 0%, #1A1A24 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Effects */
    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.3);
    --shadow-neural: 0 0 60px rgba(139, 92, 246, 0.4);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.3);
    --blur-glass: blur(20px);
    
    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing & Sizing */
    --nav-height: 80px;
    --section-padding: 120px;
    --border-radius: 20px;
    --border-radius-sm: 12px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    z-index: -2;
    animation: backgroundPulse 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.loader-text {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-mono);
    margin-bottom: 2rem;
}

.loader-text span {
    display: inline-block;
    color: var(--primary);
    animation: letterGlow 1.5s ease-in-out infinite;
}

.loader-text span:nth-child(1) { animation-delay: 0.1s; }
.loader-text span:nth-child(2) { animation-delay: 0.2s; }
.loader-text span:nth-child(3) { animation-delay: 0.3s; }
.loader-text span:nth-child(4) { animation-delay: 0.4s; }
.loader-text span:nth-child(5) { animation-delay: 0.5s; }
.loader-text span:nth-child(6) { animation-delay: 0.6s; }
.loader-text span:nth-child(7) { animation-delay: 0.7s; }
.loader-text span:nth-child(8) { animation-delay: 0.8s; }
.loader-text span:nth-child(9) { animation-delay: 0.9s; }

@keyframes letterGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 10px currentColor);
        transform: translateY(0);
    }
    50% { 
        filter: drop-shadow(0 0 20px currentColor);
        transform: translateY(-10px);
    }
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    animation: loadingBar 2s ease-in-out infinite;
}

@keyframes loadingBar {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== NAVIGATION ===== */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.contact-trigger {
    background: var(--gradient-primary);
    padding: 12px 24px;
    border-radius: 30px;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link.contact-trigger::after {
    display: none;
}

.nav-link.contact-trigger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--nav-height) 5% 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridFloat 10s ease-in-out infinite;
}

@keyframes gridFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, 10px); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.element-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
    width: 150px;
    height: 150px;
}

.element-3 {
    top: 50%;
    right: 30%;
    animation-delay: -10s;
    width: 100px;
    height: 100px;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -20px) rotate(120deg); }
    66% { transform: translate(-10px, 10px) rotate(240deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.gradient-text {
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5));
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 18px 36px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 16px 32px;
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 107, 53, 0.1);
}

/* ===== TERMINAL VISUAL ===== */
.terminal {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.terminal-header {
    background: var(--bg-tertiary);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close { background: #FF5F56; }
.btn-minimize { background: #FFBD2E; }
.btn-maximize { background: #27CA3F; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.prompt {
    color: var(--primary);
}

.command {
    color: var(--neural-green);
}

.cursor {
    color: var(--primary);
    animation: blink 1s infinite;
}

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

.terminal-output {
    margin-top: 1rem;
}

.success-line {
    color: var(--neural-green);
    margin-bottom: 0.5rem;
}

/* ===== STATS CARDS ===== */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ===== SECTIONS COMMON STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-neural);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CAPABILITIES SECTION ===== */
.capabilities {
    padding: var(--section-padding) 5%;
    background: var(--bg-secondary);
    position: relative;
}

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

.capability-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.capability-card::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.6s ease;
}

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

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-neural);
    border-color: rgba(139, 92, 246, 0.5);
}

.capability-card.primary {
    border-color: rgba(255, 107, 53, 0.5);
}

.capability-card.primary:hover {
    box-shadow: var(--shadow-glow);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px currentColor);
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.tech-tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.card-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-mono);
    user-select: none;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions {
    padding: var(--section-padding) 5%;
    background: var(--bg-primary);
}

.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.solutions-text {
    max-width: 500px;
}

.solution-list {
    margin: 3rem 0;
}

.solution-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.solution-icon {
    font-size: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.solution-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.solution-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== ARCHITECTURE DIAGRAM ===== */
.architecture-diagram {
    position: relative;
    padding: 2rem;
}

.layer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.component {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: all 0.3s ease;
    animation: componentPulse 3s ease-in-out infinite;
}

.component:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    border-color: rgba(255, 107, 53, 0.5);
}

@keyframes componentPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.layer-1 .component { animation-delay: 0s; }
.layer-2 .component { animation-delay: 0.5s; }
.layer-3 .component { animation-delay: 1s; }
.layer-4 .component { animation-delay: 1.5s; }

/* ===== PROCESS SECTION ===== */
.process {
    padding: var(--section-padding) 5%;
    background: var(--bg-secondary);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 2.5rem;
    top: 5rem;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(to bottom, var(--primary), transparent);
    opacity: 0.3;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-marker {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    background: var(--bg-glass);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.timeline-item.active .timeline-marker {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: var(--shadow-glow); }
    50% { box-shadow: 0 0 60px rgba(255, 107, 53, 0.6); }
}

.marker-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-mono);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-duration {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--section-padding) 5%;
    background: var(--bg-primary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-neural);
    opacity: 0.05;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.contact-info {
    margin: 2rem 0 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 2rem;
}

.btn-giant {
    background: var(--gradient-neural);
    border: none;
    padding: 2rem 3rem;
    border-radius: 30px;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.4s ease;
    text-decoration: none;
    font-family: inherit;
    width: 100%;
    margin-bottom: 1rem;
}

.btn-giant:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-neural);
}

.cta-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand .brand-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content,
    .solutions-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .capabilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: calc(var(--nav-height) + 2rem) 5% 2rem;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item::after {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .capability-card {
        padding: 2rem 1.5rem;
    }
    
    .btn-giant {
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
    }
    
    .terminal-body {
        padding: 15px;
        font-size: 0.85rem;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow {
    filter: drop-shadow(0 0 20px currentColor);
}

.no-scroll {
    overflow: hidden;
}
