/* ============================================================
   AKS TECH LAB — Premium Design System v2.0
   Engineering Excellence · Digital Precision
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
    /* Background System */
    --bg-base:        #05070f;
    --bg-surface:     #0a0d1a;
    --bg-elevated:    #0f1220;
    --bg-card:        rgba(15, 18, 32, 0.8);
    --bg-card-hover:  rgba(20, 25, 45, 0.95);
    --bg-overlay:     rgba(5, 7, 15, 0.6);

    /* Text System */
    --text-primary:   #f0f4ff;
    --text-secondary: #8892b0;
    --text-muted:     #4a5568;
    --text-inverse:   #05070f;

    /* Brand Colors */
    --blue-50:  #eff6ff;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --violet-400: #a78bfa;
    --violet-500: #8b5cf6;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --amber-400: #fbbf24;

    /* Primary Brand */
    --brand-primary:  var(--blue-600);
    --brand-accent:   var(--cyan-500);
    --brand-glow:     rgba(37, 99, 235, 0.35);
    --brand-glow-sm:  rgba(37, 99, 235, 0.15);

    /* Borders */
    --border-subtle:  rgba(255, 255, 255, 0.05);
    --border-default: rgba(255, 255, 255, 0.08);
    --border-medium:  rgba(255, 255, 255, 0.12);
    --border-accent:  rgba(37, 99, 235, 0.4);
    --border-glow:    rgba(6, 182, 212, 0.3);

    /* Typography */
    --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
    --font-mono:  'JetBrains Mono', 'Fira Code', monospace;

    /* Shadows */
    --shadow-sm:      0 2px 8px rgba(0,0,0,0.3);
    --shadow-md:      0 4px 24px rgba(0,0,0,0.5);
    --shadow-lg:      0 8px 48px rgba(0,0,0,0.6);
    --shadow-blue:    0 8px 32px rgba(37, 99, 235, 0.25);
    --shadow-blue-lg: 0 16px 64px rgba(37, 99, 235, 0.35);
    --shadow-glow:    0 0 40px rgba(37, 99, 235, 0.2);

    /* Radius */
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-2xl: 32px;

    /* Transitions */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --trans-fast:   all 0.15s var(--ease-out);
    --trans-normal: all 0.25s var(--ease-out);
    --trans-slow:   all 0.4s var(--ease-out);
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--brand-primary); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--text-primary);
}

a { color: inherit; text-decoration: none; transition: var(--trans-normal); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-sans); cursor: pointer; }

/* ── Layout ── */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ── ANIMATED GRID BACKGROUND ── */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    transition: var(--trans-normal);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(5, 7, 15, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0 2rem;
    transition: var(--trans-normal);
}

.navbar.scrolled .navbar-inner {
    border-bottom-color: var(--border-default);
    background: rgba(5, 7, 15, 0.95);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.nav-logo .logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.4);
}

.nav-logo .logo-text-aks {
    background: linear-gradient(135deg, var(--text-primary) 40%, var(--blue-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo .logo-text-lab {
    color: var(--brand-accent);
    font-weight: 500;
}

/* Desktop Nav Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    transition: var(--trans-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.nav-link.active {
    color: var(--blue-400);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--brand-primary);
    border-radius: 1px;
}

/* Nav Right Actions */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-default);
    border-radius: 100px;
    padding: 3px;
    gap: 2px;
}

.lang-btn {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--trans-fast);
}

.lang-btn.active, .lang-btn:hover {
    background: var(--brand-primary);
    color: #fff;
}

/* CTA Button */
.btn-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    background: var(--brand-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    transition: var(--trans-normal);
    box-shadow: 0 0 0 0 var(--brand-glow);
}

.btn-nav:hover {
    background: var(--blue-700);
    box-shadow: var(--shadow-blue);
    transform: translateY(-1px);
}

/* Mobile Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--trans-normal);
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(5, 7, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-default);
    padding: 1.5rem;
    z-index: 9998;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-drawer.open { display: flex; }

.mobile-drawer .nav-link {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    transition: var(--trans-normal);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 4px 16px var(--brand-glow-sm);
}

.btn-primary:hover {
    background: var(--blue-700);
    box-shadow: var(--shadow-blue);
    transform: translateY(-2px);
    color: #fff;
}

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

.btn-outline:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--border-accent);
    color: var(--blue-400);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: none;
}

.btn-ghost:hover { color: var(--text-primary); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; border-radius: var(--radius-sm); }

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

.hero-glow-1 {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    bottom: 100px; left: -50px;
    pointer-events: none;
}

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

@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan-400);
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero-badge .dot {
    width: 6px; height: 6px;
    background: var(--cyan-400);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-title .line-1 { color: var(--text-primary); }
.hero-title .line-2 {
    background: linear-gradient(135deg, var(--blue-400) 0%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.hero-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero-stat-num span { color: var(--brand-primary); }

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.15rem;
}

/* Terminal / Code Visual */
.hero-visual {
    position: relative;
}

.terminal-window {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(37, 99, 235, 0.12);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface);
}

.terminal-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.terminal-dot.red   { background: #ff5f57; }
.terminal-dot.amber { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-left: 0.5rem;
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.8;
}

.t-comment { color: #4a6580; }
.t-keyword { color: var(--cyan-400); }
.t-string  { color: var(--emerald-400); }
.t-func    { color: var(--blue-400); }
.t-num     { color: var(--amber-400); }
.t-var     { color: var(--violet-400); }
.t-prompt  {
    color: var(--emerald-400);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.t-cursor {
    display: inline-block;
    width: 8px; height: 14px;
    background: var(--blue-400);
    border-radius: 1px;
    animation: blink 1.2s step-end infinite;
    vertical-align: bottom;
}

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

.metric-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.metric-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
}

.metric-card-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.metric-card-value {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.metric-card-value.green { color: var(--emerald-400); }
.metric-card-value.blue  { color: var(--blue-400); }
.metric-card-value.cyan  { color: var(--cyan-400); }
.metric-card-value.amber { color: var(--amber-400); }

.metric-bar {
    width: 100%;
    height: 3px;
    background: var(--border-subtle);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.metric-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    animation: grow-bar 2s ease-out forwards;
    transform-origin: left;
}

@keyframes grow-bar {
    from { width: 0; }
    to   { width: var(--fill-pct); }
}

/* ── LOGO STRIP ── */
.client-strip {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
    position: relative;
}

.client-strip::before,
.client-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
}

.client-strip::before { left: 0; background: linear-gradient(90deg, var(--bg-base), transparent); }
.client-strip::after  { right: 0; background: linear-gradient(-90deg, var(--bg-base), transparent); }

.client-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.client-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    background: var(--bg-surface);
    transition: var(--trans-normal);
}

.client-chip:hover { color: var(--text-secondary); border-color: var(--border-default); }

/* ── SECTION COMMON ── */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-lg { padding: 9rem 0; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue-400);
    margin-bottom: 1.25rem;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 20px; height: 2px;
    background: var(--brand-primary);
    border-radius: 1px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.75;
}

.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-center .section-eyebrow {
    justify-content: center;
    margin-left: auto; margin-right: auto;
}

.section-header-center .section-eyebrow::before { display: none; }
.section-header-center .section-eyebrow::after {
    content: '';
    display: block;
    width: 20px; height: 2px;
    background: var(--brand-primary);
    border-radius: 1px;
}

.section-header-center .section-lead { margin: 0 auto; }

/* ── CARDS ── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    transition: var(--trans-normal);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 0 0 1px rgba(37,99,235,0.1), var(--shadow-md);
    transform: translateY(-4px);
}

.card-body { padding: 2rem; }

/* Service Card */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
}

.service-card-icon {
    width: 52px; height: 52px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-400);
    margin-bottom: 1.5rem;
    transition: var(--trans-normal);
}

.card:hover .service-card-icon {
    background: rgba(37, 99, 235, 0.15);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.service-card-number {
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.service-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.5rem;
}

.service-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.68rem;
    font-weight: 600;
    font-family: var(--font-mono);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    letter-spacing: 0.03em;
}

.tag-blue   { background: rgba(37, 99, 235, 0.1); color: var(--blue-400); border: 1px solid rgba(37, 99, 235, 0.2); }
.tag-cyan   { background: rgba(6, 182, 212, 0.1); color: var(--cyan-400); border: 1px solid rgba(6, 182, 212, 0.2); }
.tag-violet { background: rgba(139, 92, 246, 0.1); color: var(--violet-400); border: 1px solid rgba(139, 92, 246, 0.2); }
.tag-green  { background: rgba(16, 185, 129, 0.1); color: var(--emerald-400); border: 1px solid rgba(16, 185, 129, 0.2); }
.tag-gray   { background: rgba(255,255,255,0.05); color: var(--text-secondary); border: 1px solid var(--border-default); }

.card-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-400);
    transition: var(--trans-fast);
}

.card-arrow-link:hover {
    gap: 0.7rem;
    color: var(--cyan-400);
}

/* ── STATS ROW ── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-surface);
}

@media (max-width: 768px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .stats-row { grid-template-columns: 1fr; }
}

.stat-item {
    padding: 2.5rem 2rem;
    text-align: center;
    border-right: 1px solid var(--border-default);
    position: relative;
}

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

@media (max-width: 768px) {
    .stat-item:nth-child(2)  { border-right: none; }
    .stat-item:nth-child(3)  { border-top: 1px solid var(--border-default); }
    .stat-item:nth-child(4)  { border-right: none; border-top: 1px solid var(--border-default); }
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number .suffix { color: var(--brand-primary); }

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── PROCESS / HOW WE WORK ── */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-subtle);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
    background: var(--bg-surface);
    padding: 2.5rem 2rem;
    position: relative;
    transition: var(--trans-normal);
}

.process-step:hover { background: var(--bg-elevated); }

.process-step-num {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-mono);
    color: var(--border-default);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: var(--trans-normal);
}

.process-step:hover .process-step-num { color: var(--brand-primary); }

.process-step-icon {
    width: 44px; height: 44px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-400);
    margin-bottom: 1.25rem;
}

.process-step-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-step-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ── PORTFOLIO BENTO ── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
}

@media (max-width: 900px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento-grid { grid-template-columns: 1fr; } }

.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
    background: var(--bg-elevated);
    transition: var(--trans-normal);
    cursor: pointer;
}

.bento-item:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-blue);
    transform: scale(1.015);
}

.bento-item.featured {
    grid-column: span 2;
}

.bento-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.bento-item.featured .bento-thumb { height: 300px; }

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,7,15,0.95) 30%, transparent 80%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-client {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cyan-400);
    margin-bottom: 0.4rem;
}

.bento-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.bento-item.featured .bento-title { font-size: 1.35rem; }

.bento-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* ── WHY US ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
    padding: 2.5rem 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    transition: var(--trans-normal);
}

.why-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-elevated);
}

.why-card-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
    opacity: 0;
    transition: var(--trans-slow);
}

.why-card:hover .why-card-glow { opacity: 1; }

.why-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.why-icon-blue   { background: rgba(37, 99, 235, 0.1); color: var(--blue-400); border: 1px solid rgba(37, 99, 235, 0.2); }
.why-icon-cyan   { background: rgba(6, 182, 212, 0.1);  color: var(--cyan-400); border: 1px solid rgba(6, 182, 212, 0.2); }
.why-icon-green  { background: rgba(16, 185, 129, 0.1); color: var(--emerald-400); border: 1px solid rgba(16, 185, 129, 0.2); }

.why-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.why-desc  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* ── TESTIMONIAL ── */
.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
}

.testimonial-quote {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--border-default);
    font-family: Georgia, serif;
    line-height: 0.5;
    display: block;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-name  { font-size: 0.9rem; font-weight: 700; }
.testimonial-role  { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── BLOG ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    height: 100%;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.blog-card-meta .sep { opacity: 0.3; }

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    transition: var(--trans-fast);
}

.card:hover .blog-card-title { color: var(--blue-400); }

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

/* ── CTA BANNER ── */
.cta-banner {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cta-banner-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
}

.cta-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-form {
    display: flex;
    gap: 0.75rem;
    max-width: 460px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    outline: none;
    transition: var(--trans-fast);
}

.cta-input::placeholder { color: var(--text-muted); }

.cta-input:focus {
    border-color: var(--border-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

@media (max-width: 480px) {
    .cta-form { flex-direction: column; }
}

/* ── FORMS ── */
.form-group { margin-bottom: 1.5rem; }

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--trans-fast);
    outline: none;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus {
    border-color: var(--border-accent);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

textarea.form-control { resize: vertical; min-height: 130px; }

.form-error {
    font-size: 0.78rem;
    color: #f87171;
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ── ALERTS ── */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--emerald-400);
}

.alert-error {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* ── PAGE HERO ── */
.page-hero {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.page-hero-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse at top, rgba(37, 99, 235, 0.12), transparent 70%);
    pointer-events: none;
}

.page-hero-content { text-align: center; position: relative; z-index: 1; }

.page-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
}

.page-hero-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── DIVIDER ── */
.divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 0;
}

/* ── PILL BADGE ── */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
}

.pill-blue   { background: rgba(37, 99, 235, 0.1); color: var(--blue-400); border: 1px solid rgba(37, 99, 235, 0.2); }
.pill-cyan   { background: rgba(6, 182, 212, 0.1);  color: var(--cyan-400); border: 1px solid rgba(6, 182, 212, 0.2); }
.pill-green  { background: rgba(16, 185, 129, 0.1); color: var(--emerald-400); border: 1px solid rgba(16, 185, 129, 0.2); }
.pill-violet { background: rgba(139, 92, 246, 0.1); color: var(--violet-400); border: 1px solid rgba(139, 92, 246, 0.2); }

/* ── FOOTER ── */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-default);
    padding: 5rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-top: 1.25rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.social-btn {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-default);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    transition: var(--trans-fast);
}

.social-btn:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.footer-col-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--trans-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--text-primary); }

/* ── CONTACT PAGE ── */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .contact-split { grid-template-columns: 1fr; }
    .contact-info  { order: 2; }
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.contact-info-item:first-child { border-top: 1px solid var(--border-subtle); }

.contact-info-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-400);
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.contact-info-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-form-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.lead-type-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.lead-tab {
    flex: 1;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-default);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    text-align: center;
    transition: var(--trans-fast);
}

.lead-tab.active, .lead-tab:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--blue-400);
}

/* ── ARTICLE ── */
.article-header { padding: 9rem 0 4rem; text-align: center; }
.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-meta .sep { color: var(--border-default); }

.article-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.article-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.75;
}

.article-cover {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
    margin-bottom: 3rem;
    display: block;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
    max-width: 740px;
    margin: 0 auto;
}

.article-body h2, .article-body h3 {
    color: var(--text-primary);
    margin: 3rem 0 1.25rem;
}

.article-body h2 { font-size: 1.75rem; }
.article-body h3 { font-size: 1.35rem; }

.article-body p { margin-bottom: 1.5rem; }

.article-body a { color: var(--blue-400); text-decoration: underline; text-underline-offset: 3px; }

.article-body pre, .article-body code {
    font-family: var(--font-mono);
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
}

.article-body code { padding: 0.15em 0.4em; font-size: 0.9em; }
.article-body pre { padding: 1.5rem; overflow-x: auto; margin: 2rem 0; }
.article-body pre code { background: none; border: none; padding: 0; }

/* ── CASE STUDY ── */
.case-study-header { padding: 9rem 0 4rem; }
.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) { .case-study-grid { grid-template-columns: 1fr; } }

.case-study-sidebar {
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: sticky;
    top: 100px;
}

.case-study-meta-row {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.meta-pair { }
.meta-pair-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.meta-pair-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ── DETAIL CONTENT ── */
.detail-content {
    max-width: 720px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
}

.detail-content h2 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
}

.detail-content p { margin-bottom: 1.25rem; }

/* ── PAGINATION ── */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.pagination-wrap nav span,
.pagination-wrap nav a {
    font-size: 0.875rem;
}

/* ── ANIMATION UTILITIES ── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.6s var(--ease-out) forwards;
}

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

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

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── RESPONSIVE HELPERS ── */
@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .section-lg { padding: 5rem 0; }
    .hamburger { display: flex; }
    .nav-menu, .nav-right .btn-nav { display: none; }
    .contact-form-card { padding: 2rem; }
}

@media (max-width: 480px) {
    .hero-stats { flex-direction: column; gap: 1rem; }
    .bento-item.featured { grid-column: span 1; }
}
