/* ============================================
   WE SOLVE - ENTERPRISE DESIGN SYSTEM
   ============================================ */
:root {
    /* Color Palette */
    --bg-main: #0A1628;
    --bg-panel: #0D1F3C;
    --bg-panel-light: #12284C;
    --electric-blue: #1E90FF;
    --cyan: #00D4FF;
    --text-main: #FFFFFF;
    --text-muted: #A0AEC0;
    --text-dark: #CBD5E0;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-panel) 100%);
    --grad-accent: linear-gradient(135deg, var(--electric-blue) 0%, var(--cyan) 100%);
    --grad-ghost: linear-gradient(135deg, rgba(30,144,255,0.1) 0%, rgba(0,212,255,0.1) 100%);
    
    /* Glows */
    --glow-blue: 0 0 20px rgba(30, 144, 255, 0.4);
    --glow-cyan: 0 0 15px rgba(0, 212, 255, 0.3);
    --glow-card: inset 0 0 20px rgba(0, 212, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    /* Transitions */
    --trans-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

::selection {
    background-color: var(--electric-blue);
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    color: var(--text-main);
}

h1 { font-size: clamp(3rem, 6vw, 5rem); font-weight: 700; letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -0.5px; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 600; margin-bottom: 1rem; }

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
}

.section-label {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

/* ============================================
   GLOBAL COMPONENTS
   ============================================ */
.section {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-header p {
    font-size: 1.25rem;
}

/* Buttons */
.btn-primary {
    background: var(--electric-blue);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--electric-blue);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--grad-accent);
    z-index: -1;
    transition: opacity var(--trans-fast);
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary.glow-effect {
    box-shadow: var(--glow-blue);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid var(--text-muted);
    transition: var(--trans-fast);
}

.btn-ghost:hover {
    border-color: var(--text-main);
    background: rgba(255,255,255,0.05);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-main);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader.fade-out {
    transform: translateY(-100%);
}

.preloader-content {
    text-align: center;
}

.logo-draw {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.preloader-bar {
    width: 200px; height: 2px;
    background: var(--bg-panel);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-fill {
    width: 0%; height: 100%;
    background: var(--electric-blue);
    box-shadow: var(--glow-blue);
    animation: fillBar 1.5s ease-in-out forwards;
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes fillBar { to { width: 100%; } }

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; height: 3px; width: 0%;
    background: var(--electric-blue);
    box-shadow: var(--glow-blue);
    z-index: 1001;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
}

.whatsapp-icon {
    width: 60px; height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: pulseWhatsapp 2s infinite;
    transition: transform var(--trans-fast);
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}

.notification-dot {
    position: absolute;
    top: 0; right: 0;
    width: 12px; height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff;
    animation: blink 2s infinite;
}

.whatsapp-tooltip {
    background: var(--bg-panel);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-right: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--trans-fast);
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulseWhatsapp {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--trans-fast);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    transition: transform var(--trans-fast);
}

.navbar.scrolled .logo { transform: scale(0.95); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%; height: 2px;
    background: var(--electric-blue);
    transition: width var(--trans-fast);
}

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

.btn-nav {
    background: transparent;
    border: 1px solid var(--electric-blue);
    color: var(--text-main);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: var(--glow-blue);
    transition: var(--trans-fast);
}

.btn-nav:hover {
    background: var(--electric-blue);
}

.mobile-menu-toggle {
    display: none;
    background: transparent; border: none; cursor: pointer;
    flex-direction: column; gap: 6px;
    z-index: 1002;
}

.mobile-menu-toggle .bar {
    width: 24px; height: 2px;
    background: var(--text-main);
    transition: var(--trans-fast);
}

/* ============================================
   1. HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-main) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    margin-bottom: 1.5rem;
    min-height: 120px; /* Prevent layout shift during typing */
}

.typewriter-text {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cursor {
    color: var(--electric-blue);
    animation: blinkCursor 1s infinite;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.trust-indicators {
    display: flex;
    gap: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-family: var(--font-mono);
}

.trust-item svg {
    color: var(--electric-blue);
}

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

.scroll-arrow {
    width: 20px; height: 20px;
    border-right: 2px solid var(--text-main);
    border-bottom: 2px solid var(--text-main);
    transform: rotate(45deg);
}

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

/* ============================================
   DIVIDERS
   ============================================ */
.section-divider {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill { fill: var(--bg-panel); }

.slant-divider svg {
    width: 100%; height: 60px;
}

.slant-divider .shape-fill { fill: var(--bg-main); }

/* ============================================
   2. ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--bg-panel);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-card {
    background: var(--bg-panel-light);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-card .plus {
    font-size: 2rem;
    color: var(--electric-blue);
    font-family: var(--font-heading);
    font-weight: 700;
}

.stat-card p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.stat-line {
    position: absolute;
    bottom: 0; left: 0; width: 0%; height: 2px;
    background: var(--electric-blue);
    transition: width 1s ease-out;
}

.stat-card.visible .stat-line { width: 100%; }

.industry-marquee {
    margin-top: 6rem;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(30,144,255,0.2);
    border-bottom: 1px solid rgba(30,144,255,0.2);
    padding: 1.5rem 0;
    background: rgba(10,22,40,0.5);
}

.marquee-content {
    display: inline-block;
    animation: marqueeScroll 20s linear infinite;
    font-family: var(--font-mono);
    color: var(--electric-blue);
    font-size: 1.1rem;
}

.marquee-content span { margin: 0 2rem; }
.marquee-content .diamond { color: var(--text-muted); font-size: 0.8rem; }

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

/* ============================================
   3. SERVICES SECTION
   ============================================ */
.services-section {
    background: var(--bg-main);
}

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

.service-card {
    background: var(--bg-panel);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 8px;
    transition: transform var(--trans-fast), border-color var(--trans-fast), box-shadow var(--trans-fast);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--electric-blue);
    box-shadow: var(--glow-card);
}

.service-icon {
    color: var(--electric-blue);
    margin-bottom: 1.5rem;
    transition: transform var(--trans-fast);
}

.service-icon svg { width: 40px; height: 40px; }

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

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

.service-card p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.learn-more {
    font-family: var(--font-mono);
    color: var(--cyan);
    font-size: 0.875rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--trans-fast);
    position: absolute;
    bottom: 2.5rem;
}

.service-card:hover .learn-more {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   4. WHY US
   ============================================ */
.why-us-section {
    background: var(--bg-panel);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-dashboard-mockup {
    width: 100%;
    height: 400px;
    background: var(--bg-main);
    border-radius: 8px;
    border: 1px solid rgba(30,144,255,0.3);
    box-shadow: var(--glow-blue);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-header {
    height: 30px;
    background: var(--bg-panel-light);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.dots span {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #ff5f56;
    margin-right: 6px;
}
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.mockup-body { padding: 2rem; }

.mockup-line {
    height: 10px; background: rgba(255,255,255,0.05);
    margin-bottom: 1rem; border-radius: 4px;
}
.line-1 { width: 80%; } .line-2 { width: 60%; } .line-3 { width: 40%; }

.mockup-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem;
}
.mockup-box {
    height: 150px; background: rgba(30,144,255,0.1); border-radius: 4px; border: 1px solid rgba(30,144,255,0.2);
}

.differentiator-list li {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
}

.check-icon {
    width: 24px; height: 24px;
    color: #ffffff;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

/* ============================================
   5. PROCESS
   ============================================ */
.process-section { background: var(--bg-main); }

.process-timeline {
    position: relative;
    margin-top: 4rem;
}

.timeline-line-wrapper {
    position: absolute;
    top: 30px; left: 0; width: 100%; height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 0;
}

.timeline-line-progress {
    height: 100%; width: 0%;
    background: var(--electric-blue);
    box-shadow: var(--glow-blue);
    transition: width 0.5s ease-out;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.process-step {
    padding-top: 0;
}

.step-number {
    width: 60px; height: 60px;
    background: var(--bg-panel);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    transition: var(--trans-fast);
}

.process-step.active .step-number {
    border-color: var(--electric-blue);
    color: var(--text-main);
    box-shadow: var(--glow-blue);
}

.step-content h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step-content p { font-size: 0.95rem; }

/* ============================================
   6. INDUSTRIES
   ============================================ */
.industries-section { background: var(--bg-panel); }

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.ind-card {
    background: var(--bg-main);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--trans-fast);
}

.ind-card:hover {
    border-color: var(--cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.ind-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.ind-card h4 { font-size: 1rem; margin: 0; }

/* ============================================
   7. PORTFOLIO
   ============================================ */
.portfolio-section { background: var(--bg-main); }

.portfolio-filters {
    display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap;
}

.filter-btn {
    background: transparent; border: 1px solid rgba(255,255,255,0.2); color: var(--text-muted);
    padding: 0.5rem 1.5rem; border-radius: 30px; font-family: var(--font-body);
    cursor: pointer; transition: var(--trans-fast);
}

.filter-btn.active, .filter-btn:hover {
    border-color: var(--electric-blue); color: var(--text-main); box-shadow: var(--glow-blue);
}

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

.portfolio-card {
    background: var(--bg-panel); border-radius: 8px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.portfolio-image {
    position: relative; height: 250px; overflow: hidden;
}

.portfolio-image img { width: 100%; height: 100%; object-fit: cover; }

.placeholder-image {
    width: 100%; height: 100%; background: var(--grad-primary);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); color: rgba(255,255,255,0.2); font-size: 1.5rem;
}

.portfolio-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10,22,40,0.9);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(100%); transition: var(--trans-smooth);
}

.portfolio-card:hover .portfolio-overlay { opacity: 1; transform: translateY(0); }

.portfolio-info { padding: 1.5rem; }
.project-tag { font-family: var(--font-mono); color: var(--cyan); font-size: 0.75rem; text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
.portfolio-info h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.portfolio-info p { font-size: 0.95rem; margin: 0; }

/* ============================================
   8. TECH STACK
   ============================================ */
.tech-section { background: var(--bg-panel); padding-bottom: 10rem; }

.tech-marquee-wrapper { overflow: hidden; }

.tech-marquee {
    display: flex; white-space: nowrap; margin-bottom: 2rem;
}

.tech-track { display: inline-flex; gap: 4rem; }

.right-to-left .tech-track { animation: scrollLeft 30s linear infinite; }
.left-to-right .tech-track { animation: scrollRight 30s linear infinite; }

.tech-marquee:hover .tech-track { animation-play-state: paused; }

.tech-track span {
    font-family: var(--font-heading); font-size: 2.5rem; color: rgba(255,255,255,0.1);
    transition: var(--trans-fast); cursor: default;
}

.tech-track span:hover {
    color: var(--text-main); text-shadow: var(--glow-blue); transform: scale(1.2);
}

@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* ============================================
   9. TESTIMONIALS
   ============================================ */
.testimonial-section { background: var(--bg-main); }

.testimonial-carousel {
    max-width: 800px; margin: 0 auto; position: relative; min-height: 250px;
}

.testi-card {
    background: var(--bg-panel); border: 1px solid rgba(30,144,255,0.3); border-radius: 8px; padding: 3rem;
    box-shadow: var(--glow-blue); text-align: center;
    opacity: 0; position: absolute; top: 0; left: 0; width: 100%; transition: opacity var(--trans-smooth);
}

.testi-card.active { opacity: 1; z-index: 2; position: relative; }

.quote-mark { font-family: var(--font-heading); font-size: 4rem; color: var(--electric-blue); line-height: 1; margin-bottom: 1rem; }
.testi-text { font-size: 1.25rem; font-style: italic; margin-bottom: 2rem; color: var(--text-main); }
.stars { color: #FFD700; font-size: 1.25rem; margin-bottom: 0.5rem; text-shadow: 0 0 10px rgba(255,215,0,0.5); }
.testi-author strong { display: block; font-size: 1.125rem; }
.testi-author span { color: var(--text-muted); font-size: 0.875rem; }

/* ============================================
   10. STATS
   ============================================ */
.stats-section { background: #070e1a; padding: 6rem 0; border-top: 1px solid rgba(255,255,255,0.05); }

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

.big-stat { flex: 1; min-width: 200px; padding: 2rem; }

.big-stat h3 { font-size: 4rem; display: inline-block; margin: 0; }
.electric-plus { font-size: 3rem; color: var(--electric-blue); font-family: var(--font-heading); }
.big-stat p { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-top: 0.5rem; }

.stat-divider { width: 1px; height: 80px; background: rgba(255,255,255,0.1); }

.stats-footer-text { font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-main); }

/* ============================================
   11. INSIGHTS / BLOG
   ============================================ */
.insights-section { background: var(--bg-main); }

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

.blog-card {
    background: var(--bg-panel); border-radius: 8px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); transition: var(--trans-fast);
}

.blog-card:hover { transform: translateY(-8px); border-color: var(--electric-blue); box-shadow: var(--glow-card); }

.blog-image { height: 200px; background: var(--bg-main); }
.blog-image img { width: 100%; height: 100%; object-fit: cover; }

.blog-content { padding: 2rem; }
.blog-category { font-family: var(--font-mono); color: var(--electric-blue); font-size: 0.75rem; text-transform: uppercase; margin-bottom: 1rem; display: inline-block; border: 1px solid rgba(30,144,255,0.3); padding: 0.25rem 0.75rem; border-radius: 30px; }
.blog-content h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.blog-content p { font-size: 0.95rem; margin-bottom: 1.5rem; }

.btn-text { color: var(--text-main); font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-text:hover { color: var(--cyan); }
.btn-text .arrow { transition: transform var(--trans-fast); }
.btn-text:hover .arrow { transform: translateX(5px); }

/* ============================================
   12. GET IN TOUCH
   ============================================ */
.contact-section { background: var(--bg-panel); }

.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 4rem; }

.enterprise-form {
    background: var(--bg-main); padding: 3rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-family: var(--font-mono); font-size: 0.875rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; background: var(--bg-panel); border: 1px solid rgba(255,255,255,0.1); color: var(--text-main);
    padding: 1rem; border-radius: 4px; font-family: var(--font-body); font-size: 1rem; transition: var(--trans-fast);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--electric-blue); box-shadow: var(--glow-blue);
}
.w-100 { width: 100%; }

.form-message { margin-top: 1rem; text-align: center; font-weight: 500; }
.form-message.success { color: #25D366; }
.form-message.error { color: #FF5F56; }

.contact-card {
    background: var(--bg-main); padding: 3rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); height: 100%;
}
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.5rem; color: var(--text-muted); align-items: flex-start; }
.contact-detail svg { color: var(--electric-blue); flex-shrink: 0; }
.contact-detail a:hover { color: var(--electric-blue); }

.whatsapp-cta { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.btn-whatsapp {
    background: #25D366; color: white; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 1rem; border-radius: 4px; font-weight: 600; text-decoration: none; transition: var(--trans-fast);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37,211,102,0.3); color: white; }

/* ============================================
   13. FOOTER
   ============================================ */
.footer { background: #050b14; position: relative; padding-top: 5rem; }
.footer-top-border { position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: rgba(30,144,255,0.3); box-shadow: var(--glow-blue); }

.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-logo { font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-main); margin-bottom: 1rem; display: block; }
.footer-desc { color: var(--text-muted); font-size: 0.95rem; }
.footer-col h4 { font-size: 1.125rem; margin-bottom: 1.5rem; }
.footer-links li, .footer-contact li { margin-bottom: 0.75rem; }
.footer-links a, .footer-contact a { color: var(--text-muted); font-size: 0.95rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--electric-blue); }
.footer-contact li { display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.95rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05); padding: 2rem 0; display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.875rem; margin: 0; }
.social-icons { display: flex; gap: 1rem; }
.social-icon { color: var(--text-muted); transition: var(--trans-fast); }
.social-icon:hover { color: var(--electric-blue); filter: drop-shadow(0 0 5px rgba(30,144,255,0.5)); }

/* ============================================
   UTILITIES & ANIMATIONS
   ============================================ */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* Staggered children */
.staggered > *:nth-child(1) { transition-delay: 0.1s; }
.staggered > *:nth-child(2) { transition-delay: 0.2s; }
.staggered > *:nth-child(3) { transition-delay: 0.3s; }
.staggered > *:nth-child(4) { transition-delay: 0.4s; }
.staggered > *:nth-child(5) { transition-delay: 0.5s; }
.staggered > *:nth-child(6) { transition-delay: 0.6s; }

/* Hero specific reveals */
.fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeInUpAnim 0.6s ease forwards; }
.delay-1 { animation-delay: 1.2s; }
.delay-2 { animation-delay: 1.5s; }
.delay-3 { animation-delay: 1.8s; }

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .process-steps { grid-template-columns: repeat(3, 1fr); }
    .timeline-line-wrapper { display: none; } /* Hide line on mobile for stacked steps */
    .process-step { display: flex; align-items: flex-start; gap: 1rem; }
    .step-number { margin-bottom: 0; flex-shrink: 0; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* Navbar */
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: var(--bg-panel); flex-direction: column; justify-content: center;
        transition: right var(--trans-smooth); padding: 2rem; box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav-menu.active { right: 0; }
    .nav-menu li { margin: 1rem 0; width: 100%; text-align: center; }
    .mobile-menu-toggle { display: flex; }
    .mobile-menu-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
    
    /* Typography & Sections */
    .section { padding: 4rem 0; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .section-header h2 { font-size: 2.25rem; }
    
    /* Hero Section */
    .hero-content { padding-top: 6rem; }
    .hero-actions { flex-direction: column; gap: 1rem; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .trust-indicators { flex-direction: column; gap: 1rem; }
    
    /* Layouts */
    .process-steps { grid-template-columns: 1fr; }
    .stats-container { flex-direction: column; gap: 2rem; }
    .stat-divider { width: 80px; height: 1px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    
    /* Specific Components */
    .about-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .contact-form-wrapper, .contact-info-wrapper { padding: 1.5rem; }
    .service-card { padding: 1.5rem; }
    .portfolio-filters { flex-wrap: wrap; justify-content: center; }
    .testimonial-card { padding: 1.5rem; }
    .stats-section .container { flex-direction: column; }
    .big-stat h3 { font-size: 3rem; }
}

@media (max-width: 480px) {
    /* Small Phone adjustments */
    h1 { font-size: 2rem; }
    .section-header h2 { font-size: 1.75rem; }
    .about-stats { grid-template-columns: 1fr; }
    .nav-menu { width: 100%; }
    .btn { padding: 0.75rem 1.5rem; }
    .btn-nav { padding: 0.75rem 1.5rem !important; margin-left: 0; width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
