:root {
    /* Exact Logo Color Palette */
    --cyan: #00f0ff;
    --cyan-light: #67e8f9;
    --cyan-dim: rgba(0, 240, 255, 0.15);
    --blue-core: #2563eb;
    --blue-electric: #3b82f6;
    --blue-dark: #1d4ed8;
    --purple-neural: #8b5cf6;
    --purple-vivid: #a855f7;
    --purple-deep: #6d28d9;
    --purple-dim: rgba(139, 92, 246, 0.15);
    --magenta: #ec4899;
    
    /* Dark Theme Surface Tokens */
    --ink: #f8fafc;
    --muted: #94a3b8;
    --muted-dark: #64748b;
    --paper: #030712;
    --paper-gradient: radial-gradient(circle at 50% 0%, #0c1538 0%, #060b24 45%, #030712 100%);
    --panel: #070d24;
    --panel-hover: #0c1538;
    --card-bg: rgba(7, 13, 36, 0.75);
    --line: #172347;
    --line-light: #243566;
    --line-glow: rgba(0, 240, 255, 0.3);
    
    /* Feedback Tokens */
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    
    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Glowing Effects */
    --glow-cyan: 0 0 25px rgba(0, 240, 255, 0.35);
    --glow-purple: 0 0 25px rgba(139, 92, 246, 0.35);
    --glow-button: 0 4px 25px rgba(0, 240, 255, 0.3), 0 0 40px rgba(139, 92, 246, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    background-image: 
        radial-gradient(circle at 20% 15%, rgba(0, 240, 255, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
    background-attachment: fixed;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
img { max-width: 100%; height: auto; display: block; }
.page-wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.12;
    margin: 0 0 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
}

h1 { font-size: clamp(38px, 5.5vw, 68px); }
h2 { font-size: clamp(28px, 3.8vw, 44px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }
h4 { font-size: 18px; }

h1 em, h2 em, .gradient-ai-text, .text-gradient-brand {
    font-style: normal;
    background: linear-gradient(135deg, #00f0ff 0%, #3b82f6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--cyan);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow-badge {
    padding: 6px 14px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.eyebrow-badge span.pulse-dot {
    width: 6px; height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan);
    display: inline-block;
    animation: pulse-dot-anim 1.5s infinite;
}

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

.eyebrow-light { color: var(--cyan); }
.text-cool { color: var(--cyan); }
.text-purple { color: var(--purple-vivid); }
.text-muted { color: var(--muted); }
.text-danger { color: var(--danger); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #00d2ff 0%, #2563eb 50%, #7c3aed 100%);
    background-size: 200% auto;
    color: #ffffff;
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: var(--glow-button);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

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

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

.button:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.4), 0 0 50px rgba(139, 92, 246, 0.35);
    color: #ffffff;
}

.button-outline {
    background: rgba(7, 13, 36, 0.7);
    color: var(--ink);
    border: 1px solid var(--line-light);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.button-outline:hover {
    background: rgba(12, 21, 56, 0.9);
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
}

.button-small { padding: 10px 18px; font-size: 13.5px; border-radius: 8px; }
.button-full { width: 100%; }
.button-danger { background: linear-gradient(135deg, #ef4444, #b91c1c); border-color: #ef4444; }
.button-micro { padding: 6px 12px; font-size: 12px; border-radius: 6px; font-weight: 500; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.text-link:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--cyan);
    transform: translateX(4px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(14, 27, 72, 0.94) 0%, rgba(32, 16, 70, 0.92) 50%, rgba(10, 20, 54, 0.94) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 
        0 4px 25px rgba(37, 99, 235, 0.22),
        0 0 45px rgba(139, 92, 246, 0.18);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
}

.brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.5)) drop-shadow(0 0 22px rgba(139, 92, 246, 0.35));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.brand:hover .brand-logo {
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.75)) drop-shadow(0 0 30px rgba(139, 92, 246, 0.55));
    transform: scale(1.04);
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.brand-tagline {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 11px;
    line-height: 1.2;
    color: var(--cyan);
    letter-spacing: 0.2px;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--cyan);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    margin: 4px 0 12px 0;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .brand-tagline {
        display: none;
    }
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: var(--muted);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14.5px;
    position: relative;
    padding: 6px 0;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple-neural));
    transition: width 0.25s ease;
    box-shadow: 0 0 8px var(--cyan);
}

.site-nav a:hover, .site-nav a.active { color: #ffffff; }
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }

.header-cta-wrap { display: flex; align-items: center; gap: 16px; }

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
}

.mobile-nav-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--ink);
}

.mobile-drawer {
    display: none;
    position: absolute;
    top: 80px; left: 0; width: 100%;
    background: rgba(5, 10, 28, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 24px 0 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.is-open { display: block; }
.mobile-drawer-nav { display: flex; flex-direction: column; gap: 16px; width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.mobile-drawer-nav a { color: var(--ink); font-size: 16px; font-weight: 500; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.mobile-drawer-cta { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
/* ==========================================================================
   Hero Section & Interactive 'D' Neural Brain Canvas
   ========================================================================== */
.hero-section {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
    padding: 60px 0 90px;
    position: relative;
}

.hero-content { position: relative; z-index: 2; }
.hero-headline { margin-bottom: 20px; letter-spacing: -0.03em; font-weight: 700; }
.hero-subhead { max-width: 580px; margin: 0 0 36px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-quick-metrics {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(23, 35, 71, 0.6);
}

.quick-metric-item { display: flex; align-items: center; gap: 10px; }

.quick-metric-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--cyan);
}

.quick-metric-text strong { display: block; font-size: 13px; color: #fff; font-family: var(--font-heading); }
.quick-metric-text span { font-size: 11.5px; color: var(--muted); }

/* Hero Neural 'D' Visual Container */
.hero-visual {
    position: relative;
    min-height: 520px;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at center, #0c163d 0%, #060b24 60%, #030712 100%);
    border: 1px solid rgba(0, 240, 255, 0.25);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), inset 0 0 60px rgba(0, 240, 255, 0.08), 0 0 35px rgba(139, 92, 246, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

#neuralBrainCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    cursor: crosshair;
}

.visual-grid {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}

.visual-orbit { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; }
.orbit-one { width: 380px; height: 380px; border: 1px dashed rgba(0, 240, 255, 0.25); animation: rotate-orbit 28s linear infinite; }
.orbit-two { width: 460px; height: 460px; border: 1px dashed rgba(139, 92, 246, 0.2); animation: rotate-orbit-reverse 36s linear infinite; }

@keyframes rotate-orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotate-orbit-reverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }

/* Floating Cyber HUD Diagnostic Badges */
.hud-badge {
    position: absolute;
    z-index: 3;
    padding: 8px 14px;
    background: rgba(3, 7, 18, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.hud-badge-top-left { top: 24px; left: 24px; border-color: rgba(0, 240, 255, 0.4); }
.hud-badge-top-right { top: 24px; right: 24px; border-color: rgba(139, 92, 246, 0.4); color: var(--purple-vivid); }
.hud-badge-bottom-left { bottom: 24px; left: 24px; border-color: rgba(0, 240, 255, 0.35); }
.hud-badge-bottom-right { bottom: 24px; right: 24px; border-color: rgba(59, 130, 246, 0.4); color: #60a5fa; }
/* ==========================================================================
   Stats / Proven Proof Bar
   ========================================================================== */
.stats-banner { padding: 20px 0 50px; position: relative; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.stat-card {
    padding: 24px 20px;
    background: rgba(7, 13, 36, 0.7);
    border: 1px solid var(--line);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.1);
}

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

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 30%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.stat-label { font-size: 13.5px; color: var(--muted); font-weight: 500; }

/* ==========================================================================
   Section Layouts & Headers
   ========================================================================== */
.section { padding: 70px 0; }

.dark-section {
    padding: 80px 0;
    background: radial-gradient(circle at 50% 50%, #0a1336 0%, #040818 70%, #030712 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-heading-right { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.section-heading-right p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }

/* ==========================================================================
   Services Grid & V2 Cards
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.service-card-v2 {
    background: rgba(7, 13, 36, 0.8);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.service-card-v2::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.4), transparent 40%, rgba(139, 92, 246, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.service-card-v2:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.15), 0 0 45px rgba(139, 92, 246, 0.1);
}

.service-card-v2:hover::after { opacity: 1; }
.service-card-media { position: relative; height: 190px; overflow: hidden; background: #060b24; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card-v2:hover .service-card-media img { transform: scale(1.06); }

.service-card-media-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.12) 0%, rgba(7, 13, 36, 0.95) 70%);
}

.service-media-icon { font-size: 40px; filter: drop-shadow(0 0 16px rgba(0, 240, 255, 0.4)); }
.service-media-overlay { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.service-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3, .service-card-body h2 { font-size: 20px; margin-bottom: 8px; }
.service-card-body h3 a:hover { color: var(--cyan); }
.service-summary { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin-bottom: 20px; flex: 1; }
.service-tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.service-tag-pill { font-size: 12px; padding: 4px 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 6px; color: var(--muted); }
.service-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.service-card-link { font-family: var(--font-heading); font-size: 13.5px; font-weight: 600; color: var(--cyan); }
.service-card-link:hover { color: #fff; text-shadow: 0 0 10px var(--cyan); }

/* Category Filter Bar */
.service-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.service-filter-btn { padding: 10px 20px; background: rgba(7, 13, 36, 0.7); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-family: var(--font-heading); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.25s ease; backdrop-filter: blur(8px); }
.service-filter-btn:hover { border-color: var(--cyan); color: #fff; }
.service-filter-btn.active { background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(139, 92, 246, 0.2)); border-color: var(--cyan); color: #fff; box-shadow: 0 0 20px rgba(0, 240, 255, 0.25); }

/* Hero Stats Chips */
.service-hero-stats { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.service-stat-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: rgba(7, 13, 36, 0.8); border: 1px solid rgba(0, 240, 255, 0.25); border-radius: 999px; font-size: 13px; color: var(--ink); backdrop-filter: blur(10px); }
.service-stat-chip .dot { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 8px var(--cyan); }

/* 5-Step Process */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process-step { background: rgba(7, 13, 36, 0.7); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; position: relative; backdrop-filter: blur(10px); transition: all 0.3s ease; }
.process-step:hover { border-color: rgba(0, 240, 255, 0.35); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1); }
.step-num { display: inline-block; font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--cyan); background: rgba(0, 240, 255, 0.1); border: 1px solid rgba(0, 240, 255, 0.25); padding: 4px 10px; border-radius: 6px; margin-bottom: 16px; }
.process-step h4 { margin: 0 0 8px; font-size: 17px; color: #fff; }
.process-step p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* Pricing Packages */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.package-card { background: rgba(7, 13, 36, 0.8); border: 1px solid var(--line); border-radius: 20px; padding: 36px 30px; display: flex; flex-direction: column; position: relative; backdrop-filter: blur(16px); transition: all 0.3s ease; }
.package-card-featured { border-color: rgba(0, 240, 255, 0.4); box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 240, 255, 0.15); }
.package-card-featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--purple-neural)); border-radius: 20px 20px 0 0; }
.package-badge { position: absolute; top: 18px; right: 20px; padding: 4px 12px; background: linear-gradient(135deg, var(--cyan), var(--blue-core)); color: #030712; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.package-header h3 { font-size: 22px; margin-bottom: 6px; }
.package-tagline { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }
.package-pricing { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.price-amount { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: #fff; }
.price-period { font-size: 14px; color: var(--muted); }
.package-features-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.package-features-list li { font-size: 14px; color: var(--ink); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.package-features-list li .check-icon { color: var(--cyan); font-weight: bold; flex-shrink: 0; margin-top: 1px; }

/* Portfolio Projects */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { background: rgba(7, 13, 36, 0.8); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; transition: all 0.3s ease; }
.project-card:hover { border-color: rgba(0, 240, 255, 0.3); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.1); }
.project-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.project-metric-badge { padding: 4px 10px; background: rgba(0, 240, 255, 0.1); border: 1px solid rgba(0, 240, 255, 0.3); border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--cyan); }
.project-client { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.project-summary { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: rgba(7, 13, 36, 0.7); border: 1px solid var(--line); border-radius: 18px; padding: 30px; backdrop-filter: blur(12px); display: flex; flex-direction: column; justify-content: space-between; }
.testimonial-rating { color: #fbbf24; font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-quote { color: var(--ink); font-size: 15px; line-height: 1.7; margin: 0 0 24px; font-style: italic; }
.testimonial-author strong { display: block; color: #fff; font-size: 15px; font-family: var(--font-heading); }
.testimonial-author span { font-size: 12.5px; color: var(--muted); }

/* FAQ */
.faq-accordion-wrap { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin: 0 auto; }
.faq-item { background: rgba(7, 13, 36, 0.75); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: all 0.25s ease; }
.faq-item.is-open { border-color: rgba(0, 240, 255, 0.35); box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 240, 255, 0.08); }
.faq-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; background: transparent; border: none; color: #fff; font-family: var(--font-heading); font-size: 16.5px; font-weight: 600; text-align: left; cursor: pointer; }
.faq-icon { font-size: 20px; color: var(--cyan); transition: transform 0.25s ease; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-content { display: none; padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-item.is-open .faq-content { display: block; }

/* Contact Section */
.contact-section { padding: 80px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-card { background: rgba(7, 13, 36, 0.85); border: 1px solid rgba(0, 240, 255, 0.25); border-radius: 20px; padding: 40px; backdrop-filter: blur(16px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.1); }
.contact-card p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.contact-card-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Footer with Logo Color Shades (Deep Cyber Blue & Royal Purple) */
.site-footer {
    background: linear-gradient(180deg, rgba(14, 27, 72, 0.94) 0%, rgba(26, 13, 60, 0.95) 35%, rgba(7, 12, 34, 0.98) 75%, #02040b 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 
        0 -10px 35px rgba(37, 99, 235, 0.16),
        0 -20px 60px rgba(139, 92, 246, 0.14);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.7), transparent);
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 10%;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.7), transparent);
    pointer-events: none;
}

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-brand { margin-bottom: 16px; }
.footer-bio { color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 20px; }

/* Branded Social Media Buttons with Authentic Shapes & Colors */
.footer-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.social-btn .social-icon {
    width: 20px;
    height: 20px;
    display: block;
    transition: transform 0.25s ease;
}

.social-btn:hover .social-icon {
    transform: scale(1.15);
}

/* 1. LinkedIn: Authentic #0A66C2 */
.social-linkedin {
    background: rgba(10, 102, 194, 0.15);
    border: 1px solid rgba(10, 102, 194, 0.4);
    color: #0a66c2;
}

.social-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(10, 102, 194, 0.7), 0 4px 14px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

/* 2. Instagram: Signature Radiant Gradient */
.social-instagram {
    background: rgba(225, 48, 108, 0.15);
    border: 1px solid rgba(225, 48, 108, 0.4);
    color: #e1306c;
}

.social-instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 22px rgba(225, 48, 108, 0.75), 0 4px 14px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

/* 3. X (Twitter): High-Contrast Crisp Black & White */
.social-x {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #f8fafc;
}

.social-x:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.6), 0 4px 14px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

/* 4. Facebook: Authentic #1877F2 */
.social-facebook {
    background: rgba(24, 119, 242, 0.15);
    border: 1px solid rgba(24, 119, 242, 0.4);
    color: #1877f2;
}

.social-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.7), 0 4px 14px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.footer-heading { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-menu a { color: var(--muted); font-size: 14px; }
.footer-menu a:hover { color: var(--cyan); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.footer-contact-item a:hover { color: var(--cyan); }
.footer-admin-link-wrap { margin-top: 20px; }
.admin-portal-link { font-size: 12.5px; color: var(--muted-dark); font-family: var(--font-heading); }
.admin-portal-link:hover { color: var(--cyan); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.05); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted-dark); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a:hover { color: var(--muted); }

/* Admin Badges & Table */
.admin-badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(0, 240, 255, 0.1); color: var(--cyan); border: 1px solid rgba(0, 240, 255, 0.25); }
.badge-published { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.25); padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.badge-draft { background: rgba(100, 116, 139, 0.15); color: #94a3b8; border: 1px solid rgba(100, 116, 139, 0.3); padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.admin-page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-page-title { margin: 0; font-size: 26px; }
.admin-panel-box { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th { background: rgba(0, 0, 0, 0.3); padding: 14px 18px; font-size: 12px; font-family: var(--font-heading); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); vertical-align: middle; font-size: 14px; }
.admin-table tr:hover td { background: rgba(255, 255, 255, 0.02); }
.admin-action-group { display: flex; gap: 8px; justify-content: flex-end; }
.admin-table-desc { font-size: 12px; color: var(--muted); margin: 2px 0 0; }

/* WhatsApp Floating Widget */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #FFF; border-radius: 50px; text-align: center; font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; animation: pulse-whatsapp 2.5s infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }
.whatsapp-float:hover { transform: scale(1.08) translateY(-4px); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.65); color: #FFF; }

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Responsive Public Layout & Component Scalers
   ========================================================================== */
@media (max-width: 1024px) {
    .page-wrap { width: min(100%, calc(100% - 40px)); }
    .site-nav, .site-header .header-cta-wrap .button { display: none; }
    .mobile-nav-toggle { display: flex; }
    .hero-section { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 60px; }
    .hero-visual { min-height: 420px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .section-heading, .contact-section { grid-template-columns: 1fr; gap: 24px; }
    .service-grid, .packages-grid, .projects-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .process-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
    .page-wrap { width: min(100%, calc(100% - 32px)); }
    .site-header-inner { height: 68px; }
    .brand-logo { height: 38px; }
    .hero-section { padding: 30px 0 50px; gap: 32px; }
    .hero-headline { font-size: clamp(2.2rem, 8vw, 3.2rem); margin-bottom: 16px; }
    .hero-subhead { font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
    .hero-actions { gap: 12px; margin-bottom: 28px; }
    .hero-visual { min-height: 360px; border-radius: 18px; }
    .stats-inner { grid-template-columns: 1fr; gap: 12px; }
    .service-grid, .packages-grid, .projects-grid, .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .process-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
    .hero-quick-metrics { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 16px; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
    .page-wrap { width: min(100%, calc(100% - 24px)); }
    .site-header-inner { height: 62px; }
    .brand-logo { height: 32px; }
    .brand-fallback { font-size: 14px; line-height: 1.1; }
    .hero-section { padding: 24px 0 40px; gap: 24px; }
    .hero-headline { font-size: clamp(1.9rem, 7.5vw, 2.4rem); }
    .hero-subhead { font-size: 15px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .button { width: 100%; justify-content: center; }
    .hero-visual { min-height: 310px; border-radius: 14px; }
    
    /* Responsive HUD telemetry badges on mobile */
    .hud-badge {
        padding: 5px 9px;
        font-size: 9.5px;
        gap: 5px;
        border-radius: 6px;
    }
    .hud-badge-top-left { top: 12px; left: 12px; }
    .hud-badge-top-right { top: 12px; right: 12px; }
    .hud-badge-bottom-left { bottom: 12px; left: 12px; }
    .hud-badge-bottom-right { bottom: 12px; right: 12px; }
    .hud-badge-top-left span:last-child { display: none; }
}

@media (max-width: 640px) {
    .hud-badge {
        padding: 5px 8px;
        font-size: 9.5px;
        gap: 4px;
    }
    .hud-badge-top-left { top: 12px; left: 12px; }
    .hud-badge-top-right { top: 12px; right: 12px; }
    .hud-badge-bottom-left { bottom: 12px; left: 12px; }
    .hud-badge-bottom-right { bottom: 12px; right: 12px; }
    .hud-badge-top-left span:last-child { display: none; }
    .contact-card-actions { flex-direction: column; width: 100%; }
    .contact-card-actions .button { width: 100%; justify-content: center; }
    .service-filter-bar { gap: 8px; padding-bottom: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .service-filter-btn { padding: 8px 14px; font-size: 12.5px; white-space: nowrap; }
}

@media (max-width: 360px) {
    .page-wrap { width: calc(100% - 20px); }
    .button { padding: 12px 18px; font-size: 13.5px; }
    .hud-badge { font-size: 8.5px; padding: 4px 6px; }
}

/* ==========================================================================
   Page Intro Headers & Stat Chips
   ========================================================================== */
.page-intro {
    padding: 70px 0 50px;
    position: relative;
}

.page-intro h1 {
    max-width: 900px;
    margin-bottom: 20px;
}

.page-intro p {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

.service-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.service-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(7, 13, 36, 0.7);
    border: 1px solid var(--line-light);
    border-radius: 999px;
    font-size: 13.5px;
    color: var(--muted);
    backdrop-filter: blur(8px);
}

.service-stat-chip .dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan);
}

.service-stat-chip strong {
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-intro { padding: 45px 0 35px; }
    .page-intro h1 { font-size: clamp(28px, 6.5vw, 42px); }
    .page-intro p { font-size: 15.5px; line-height: 1.6; }
    .service-hero-stats { gap: 8px; margin-top: 20px; }
    .service-stat-chip { padding: 6px 12px; font-size: 12px; }
}

/* ==========================================================================
   About Page Layout & Cards
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-lead-copy h2 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-lead-copy p {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-stats-card {
    background: rgba(7, 13, 36, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 20px;
    padding: 36px 30px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-stat-row strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #fff 20%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.about-stat-row span {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}

.core-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.core-value-card {
    background: rgba(7, 13, 36, 0.7);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px 24px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.core-value-card:hover {
    border-color: rgba(0, 240, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
}

.core-value-card h3 {
    font-size: 19px;
    margin: 12px 0 10px;
    color: #fff;
}

.core-value-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Contact Page Layout & Modern Form
   ========================================================================== */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-form-container {
    background: rgba(7, 13, 36, 0.85);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.public-contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.02em;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(3, 7, 18, 0.7);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: all 0.25s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.25);
    background: rgba(7, 13, 36, 0.9);
}

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

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-channel-card {
    background: rgba(7, 13, 36, 0.75);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(12px);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.contact-channel-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--cyan);
    flex-shrink: 0;
}

.channel-info strong {
    display: block;
    font-size: 15px;
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 4px;
}

.channel-info p {
    color: var(--muted);
    font-size: 13.5px;
    margin: 0;
    line-height: 1.5;
}

.channel-info a {
    color: var(--cyan);
    font-weight: 600;
}

.channel-info a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--cyan);
}

/* Alerts */
.admin-alert {
    padding: 16px 20px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    margin-bottom: 20px;
}

.admin-alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

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

.admin-alert-error ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

/* ==========================================================================
   Case Study & Service Detail Layout
   ========================================================================== */
.case-study-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: flex-start;
}

.case-study-main {
    display: flex;
    flex-direction: column;
}

.case-study-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: rgba(7, 13, 36, 0.85);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    backdrop-filter: blur(16px);
}

.sidebar-card h3 {
    font-size: 18px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   Legal Pages Layout
   ========================================================================== */
.legal-layout {
    max-width: 860px;
    margin: 0 auto;
    background: rgba(7, 13, 36, 0.7);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 50px 40px;
    backdrop-filter: blur(16px);
}

.legal-content h2 {
    font-size: 24px;
    margin: 36px 0 14px;
    color: #fff;
}

.legal-content h3 {
    font-size: 18px;
    margin: 24px 0 10px;
    color: var(--cyan);
}

.legal-content p, .legal-content li {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 20px;
}

/* ==========================================================================
   404 Error Page
   ========================================================================== */
.error-404-wrap {
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.error-code-glow {
    font-family: var(--font-heading);
    font-size: clamp(80px, 15vw, 160px);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--blue-core) 50%, var(--purple-neural) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px rgba(0, 240, 255, 0.4);
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .about-grid, .contact-page-grid, .case-study-layout { grid-template-columns: 1fr; gap: 32px; }
    .core-values-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .legal-layout { grid-template-columns: 1fr; padding: 30px 20px; gap: 28px; }
    .legal-nav-sticky { position: static; }
}

@media (max-width: 600px) {
    .core-values-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-form-container { padding: 22px 18px; border-radius: 16px; }
    .about-stats-card { padding: 22px 18px; border-radius: 16px; }
    .legal-layout { padding: 20px 14px; border-radius: 14px; }
    .legal-content { padding: 24px 18px; }
}

@media (max-width: 480px) {
    .contact-form-container { padding: 18px 14px; }
    .admin-login-card { padding: 28px 20px; border-radius: 18px; }
    .admin-login-title { font-size: 22px; }
    .admin-login-brand .brand-logo { max-height: 36px; }
    .admin-login-body { padding: 20px 12px; }
}

/* ==========================================================================
   Admin Panel Layout, Components & Security Gateway (Login)
   ========================================================================== */

/* Admin Login Screen */
.admin-login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background-color: var(--paper);
    background-image: 
        radial-gradient(circle at 50% 15%, rgba(0, 240, 255, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 85%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 36px 36px, 36px 36px;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

.admin-login-container {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 2;
}

.admin-login-card {
    background: rgba(7, 13, 36, 0.82);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 24px;
    padding: 44px 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(0, 240, 255, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.admin-login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--blue-core), var(--purple-neural));
}

.admin-login-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(23, 35, 71, 0.6);
}

.admin-login-brand .brand-logo {
    max-height: 44px;
    width: auto;
    filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.35));
    transition: filter 0.3s ease;
}

.admin-login-brand .brand-logo:hover {
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.6)) drop-shadow(0 0 25px rgba(139, 92, 246, 0.4));
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.2);
}

.admin-badge .status-dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan);
    animation: pulse-dot-anim 1.8s infinite;
}

.admin-login-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.admin-login-subtitle {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0 0 28px;
}

/* Form Controls */
.admin-form .form-group {
    margin-bottom: 22px;
}

.admin-form label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-left {
    position: absolute;
    left: 14px;
    color: var(--muted);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease;
}

.input-toggle-password {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.input-toggle-password:hover {
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.1);
}

.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form input[type="number"],
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(3, 7, 18, 0.75);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.4;
    outline: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-with-icon input {
    padding-left: 44px !important;
}

.input-with-icon input[type="password"],
.input-with-icon input.has-toggle {
    padding-right: 44px !important;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    border-color: var(--cyan);
    background: rgba(7, 13, 36, 0.95);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25), 0 0 0 1px rgba(0, 240, 255, 0.3);
}

.input-with-icon input:focus + .input-icon-left,
.input-with-icon:focus-within .input-icon-left {
    color: var(--cyan);
}

.admin-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: rgba(3, 7, 18, 0.8);
    border: 1px solid var(--line);
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin: 0;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--cyan), var(--blue-core));
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    color: #030712;
    font-size: 12px;
    font-weight: 800;
}

.admin-login-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(23, 35, 71, 0.6);
}

.admin-login-footer a {
    color: var(--muted);
    font-size: 13.5px;
    font-family: var(--font-heading);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.admin-login-footer a:hover {
    color: var(--cyan);
    transform: translateX(-3px);
}

/* ==========================================================================
   Admin Theme Variables & Global Surface Modes
   ========================================================================== */
:root, [data-theme="dark"] {
    --admin-header-bg: linear-gradient(135deg, rgba(14, 27, 72, 0.95) 0%, rgba(35, 18, 76, 0.92) 50%, rgba(12, 22, 58, 0.95) 100%);
    --admin-header-border: rgba(139, 92, 246, 0.35);
    --admin-nav-bg: rgba(6, 12, 32, 0.95);
    --admin-nav-border: rgba(0, 240, 255, 0.2);
    --admin-body-bg: #030712;
    --admin-panel-bg: rgba(8, 15, 38, 0.85);
    --admin-card-border: rgba(36, 53, 102, 0.7);
    --admin-card-hover-border: rgba(0, 240, 255, 0.4);
    --admin-table-hover: rgba(0, 240, 255, 0.04);
    --admin-input-bg: rgba(3, 7, 18, 0.85);
    --admin-input-border: #172347;
    --admin-text-main: #f8fafc;
    --admin-text-muted: #94a3b8;
    --admin-text-subtle: #64748b;
}

[data-theme="light"] {
    --ink: #0f172a;
    --muted: #475569;
    --muted-dark: #64748b;
    --paper: #f1f5f9;
    --paper-gradient: #f8fafc;
    --panel: #ffffff;
    --panel-hover: #f8fafc;
    --card-bg: #ffffff;
    --line: #e2e8f0;
    --line-light: #cbd5e1;
    --line-glow: rgba(37, 99, 235, 0.2);

    --admin-header-bg: linear-gradient(135deg, #1e3a8a 0%, #4338ca 50%, #312e81 100%);
    --admin-header-border: rgba(255, 255, 255, 0.15);
    --admin-nav-bg: #ffffff;
    --admin-nav-border: #e2e8f0;
    --admin-body-bg: #f8fafc;
    --admin-panel-bg: #ffffff;
    --admin-card-border: #e2e8f0;
    --admin-card-hover-border: var(--blue-core);
    --admin-table-hover: rgba(37, 99, 235, 0.04);
    --admin-input-bg: #ffffff;
    --admin-input-border: #cbd5e1;
    --admin-text-main: #0f172a;
    --admin-text-muted: #475569;
    --admin-text-subtle: #94a3b8;
}

/* ==========================================================================
   Complete Admin Panel Workspace Layout
   ========================================================================== */
.admin-body {
    background: var(--admin-body-bg);
    color: var(--admin-text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Vibrant Header with Logo Shades (Blue & Purple) */
.admin-topbar {
    background: var(--admin-header-bg);
    border-bottom: 1px solid var(--admin-header-border);
    padding: 14px 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 
        0 4px 25px rgba(37, 99, 235, 0.18),
        0 0 45px rgba(139, 92, 246, 0.15);
    position: sticky;
    top: 0;
    z-index: 900;
}

.admin-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-top-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-top-brand .brand-logo {
    max-height: 38px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.45));
}

.admin-top-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: rotate(18deg) scale(1.05);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* User pill */
.admin-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
}

.admin-user-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--purple-neural));
    color: #030712;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.admin-btn-ghost {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-btn-ghost:hover {
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.25);
}

.admin-btn-logout {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    padding: 7px 14px;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-btn-logout:hover {
    background: rgba(239, 68, 68, 0.4);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
}

/* Secondary Navigation Bar */
.admin-nav-bar {
    background: var(--admin-nav-bg);
    border-bottom: 1px solid var(--admin-nav-border);
    position: sticky;
    top: 67px;
    z-index: 850;
    backdrop-filter: blur(12px);
    transition: background-color 0.3s ease;
}

.admin-nav-links {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
}

.admin-nav-links a {
    padding: 8px 18px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--admin-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.admin-nav-links a:hover {
    color: var(--admin-text-main);
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.25);
}

.admin-nav-links a.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(139, 92, 246, 0.18) 100%);
    color: var(--cyan);
    border-color: rgba(0, 240, 255, 0.45);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.15);
}

[data-theme="light"] .admin-nav-links a.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.12) 100%);
    color: var(--blue-core);
    border-color: var(--blue-core);
}

.admin-pill-badge {
    background: linear-gradient(135deg, var(--cyan), var(--blue-core));
    color: #030712;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 999px;
    font-weight: 800;
}

.admin-main-wrap {
    flex-grow: 1;
    padding: 36px 0 60px;
}

/* ==========================================================================
   Dashboard Hero Banner & Telemetry
   ========================================================================== */
.admin-hero-banner {
    background: linear-gradient(135deg, rgba(14, 27, 72, 0.85) 0%, rgba(35, 18, 76, 0.8) 50%, rgba(10, 20, 52, 0.85) 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 20px;
    padding: 32px 36px;
    margin-bottom: 32px;
    backdrop-filter: blur(14px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35), 0 0 35px rgba(139, 92, 246, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

[data-theme="light"] .admin-hero-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #4338ca 60%, #312e81 100%);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.25);
}

[data-theme="light"] .admin-hero-banner h1,
[data-theme="light"] .admin-hero-banner p {
    color: #ffffff !important;
}

.admin-hero-title {
    font-size: 28px;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.admin-hero-subtitle {
    color: var(--admin-text-muted);
    font-size: 14.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.system-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    color: #34d399;
    font-size: 12px;
    font-weight: 600;
}

.system-status-chip .dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
}

.admin-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Executive KPI Stats Cards (6 Cards)
   ========================================================================== */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: var(--admin-panel-bg);
    border: 1px solid var(--admin-card-border);
    border-radius: 16px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.admin-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.admin-stat-card:hover {
    border-color: var(--admin-card-hover-border);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 25px rgba(0, 240, 255, 0.12);
}

.stat-card-blue:hover::before { background: var(--blue-core); }
.stat-card-purple:hover::before { background: var(--purple-neural); }
.stat-card-cyan:hover::before { background: var(--cyan); }
.stat-card-emerald:hover::before { background: #10b981; }
.stat-card-amber:hover::before { background: #f59e0b; }
.stat-card-rose:hover::before { background: #ec4899; }

.stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.icon-blue { background: rgba(37, 99, 235, 0.15); border: 1px solid rgba(37, 99, 235, 0.35); color: #60a5fa; }
.icon-purple { background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.35); color: #c084fc; }
.icon-cyan { background: rgba(0, 240, 255, 0.15); border: 1px solid rgba(0, 240, 255, 0.35); color: var(--cyan); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.35); color: #34d399; }
.icon-amber { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.35); color: #fbbf24; }
.icon-rose { background: rgba(236, 72, 153, 0.15); border: 1px solid rgba(236, 72, 153, 0.35); color: #f472b6; }

.stat-content { display: flex; flex-direction: column; }
.admin-stat-card .stat-number { font-size: 28px; font-weight: 700; font-family: var(--font-heading); color: var(--admin-text-main); line-height: 1.1; margin-bottom: 4px; }
.admin-stat-card .stat-label { font-size: 12.5px; color: var(--admin-text-muted); font-weight: 500; }

/* ==========================================================================
   Admin Content Panels & Tables
   ========================================================================== */
.admin-panel-box {
    background: var(--admin-panel-bg);
    border: 1px solid var(--admin-card-border);
    border-radius: 18px;
    padding: 32px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    margin-bottom: 30px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.admin-panel-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
    gap: 14px;
}

.admin-panel-box-header h2 { font-size: 21px; margin: 0; color: var(--admin-text-main); }

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.admin-table th { padding: 14px 16px; border-bottom: 2px solid var(--line); color: var(--admin-text-muted); font-family: var(--font-heading); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--admin-text-main); }
.admin-table tr:hover { background: var(--admin-table-hover); }
.admin-table-desc { font-size: 12px; color: var(--admin-text-muted); margin: 3px 0 0; }
.admin-action-group { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }

/* Avatar monogram */
.avatar-monogram {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--cyan);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.05em; }
.badge-published, .badge-read { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.35); color: #34d399; }
.badge-draft, .badge-archived { background: rgba(100, 116, 139, 0.18); border: 1px solid rgba(100, 116, 139, 0.3); color: #94a3b8; }
.badge-new, .badge-unread { background: rgba(0, 240, 255, 0.15); border: 1px solid rgba(0, 240, 255, 0.35); color: var(--cyan); }
.badge-popular { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.35); color: #fbbf24; }

/* Form Elements */
.admin-form-row { display: flex; gap: 24px; margin-bottom: 20px; }
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }
.flex-3 { flex: 3; }
.admin-form-divider { height: 1px; background: var(--line); margin: 32px 0; }
.admin-form-actions { display: flex; gap: 14px; margin-top: 32px; align-items: center; }

/* High-Contrast Inputs for Both Light & Dark Modes */
.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form input[type="number"],
.admin-form input[type="url"],
.admin-form input[type="tel"],
.admin-form textarea,
.admin-form select,
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    background: var(--admin-input-bg) !important;
    border: 1.5px solid var(--admin-input-border) !important;
    border-radius: 10px;
    color: var(--admin-text-main) !important;
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.5;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.admin-form input::placeholder,
.admin-form textarea::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--admin-text-subtle) !important;
    opacity: 0.85;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    background: var(--admin-panel-bg) !important;
    border-color: var(--cyan) !important;
    color: var(--admin-text-main) !important;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.25) !important;
}

[data-theme="light"] .admin-form input:focus,
[data-theme="light"] .admin-form textarea:focus,
[data-theme="light"] .admin-form select:focus,
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
    border-color: var(--blue-core) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
}

/* Dropdown Options */
select option {
    background-color: var(--admin-panel-bg);
    color: var(--admin-text-main);
}

/* Labels High Contrast */
.admin-form label,
.form-group label {
    display: block;
    margin-bottom: 7px;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--admin-text-main) !important;
    letter-spacing: 0.01em;
}

/* Text Visibility */
.admin-page-title,
.admin-panel-box h2,
.admin-panel-box h3,
.admin-panel-box h4 {
    color: var(--admin-text-main) !important;
}

.admin-table td {
    color: var(--admin-text-main);
}

.admin-table th {
    color: var(--admin-text-muted);
}

/* Filter Tabs */
.admin-filter-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-filter-tabs a {
    padding: 6px 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--admin-text-muted);
    border: 1px solid var(--line);
    background: var(--admin-panel-bg);
    transition: all 0.2s ease;
}

.admin-filter-tabs a:hover,
.admin-filter-tabs a.active {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--cyan);
    color: var(--cyan);
}

[data-theme="light"] .admin-filter-tabs a.active {
    background: rgba(37, 99, 235, 0.12);
    border-color: var(--blue-core);
    color: var(--blue-core);
}

/* Image Drag Dropzone */
.admin-dropzone {
    border: 2px dashed var(--line);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    background: rgba(3, 7, 18, 0.4);
    transition: all 0.25s ease;
}

[data-theme="light"] .admin-dropzone {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.admin-dropzone:hover {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.04);
}

.admin-img-preview {
    max-width: 100%;
    max-height: 180px;
    border-radius: 10px;
    border: 1px solid var(--line);
    object-fit: cover;
    margin-top: 10px;
}

/* Footer */
.admin-footer {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    font-size: 12.5px;
    color: var(--admin-text-subtle);
    background: var(--admin-nav-bg);
}

.admin-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Media Asset Repository Stats Strip */
.admin-media-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

/* ==========================================================================
   Comprehensive Admin Responsive System Across All Devices
   ========================================================================== */
@media (max-width: 1200px) {
    .admin-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .admin-hero-banner { padding: 28px 28px; }
}

@media (max-width: 1024px) {
    .admin-nav-bar {
        position: sticky;
        top: 66px;
        z-index: 850;
    }
    
    .admin-nav-links {
        padding: 8px 0;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .admin-nav-links::-webkit-scrollbar {
        display: none;
    }
    
    .admin-nav-links a {
        padding: 7px 14px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .admin-topbar { padding: 10px 0; }
    .admin-topbar-inner { gap: 10px; }
    .admin-top-brand .brand-logo { max-height: 32px; }
    .admin-badge { padding: 4px 8px; font-size: 10px; }
    
    .admin-top-actions { gap: 8px; font-size: 12px; }
    .theme-toggle-btn { width: 34px; height: 34px; border-radius: 8px; }
    
    /* User badge collapses to avatar monogram on mobile */
    .admin-user-badge {
        padding: 5px 8px;
        gap: 0;
    }
    .admin-user-badge .admin-user-name {
        display: none;
    }
    
    /* Live site link text hidden, keep icon */
    .admin-btn-ghost {
        padding: 6px 10px;
    }
    .admin-btn-ghost .admin-btn-text {
        display: none;
    }
    
    .admin-btn-logout {
        padding: 6px 10px;
        font-size: 11.5px;
    }

    .admin-nav-bar { top: 58px; }
    .admin-main-wrap { padding: 24px 0 45px; }

    /* Admin Hero Banner */
    .admin-hero-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 18px;
        border-radius: 16px;
        gap: 16px;
        margin-bottom: 24px;
    }
    .admin-hero-title { font-size: 22px; }
    .admin-hero-subtitle { font-size: 13.5px; }
    .admin-hero-actions { width: 100%; display: flex; flex-direction: column; gap: 8px; }
    .admin-hero-actions .button { width: 100%; justify-content: center; }

    /* Admin Stats Grid: 2 columns on tablet/mobile */
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 24px;
    }
    .admin-stat-card {
        padding: 16px 14px;
        gap: 10px;
        border-radius: 12px;
    }
    .admin-stat-card .stat-number { font-size: 22px; }
    .admin-stat-card .stat-label { font-size: 11.5px; }
    .stat-icon-wrap { width: 36px; height: 36px; font-size: 16px; border-radius: 8px; }

    /* Media stats grid */
    .admin-media-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 22px;
    }

    /* Panels and Cards */
    .admin-panel-box {
        padding: 20px 16px;
        border-radius: 14px;
        margin-bottom: 20px;
    }
    .admin-panel-box-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 18px;
        padding-bottom: 14px;
    }
    .admin-panel-box-header h2 { font-size: 18px; }

    /* Tables: smooth mobile touch scrolling */
    .admin-table-wrap {
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
    }
    .admin-table th, .admin-table td {
        padding: 12px 10px;
        font-size: 13px;
        white-space: nowrap;
    }
    .admin-action-group {
        gap: 6px;
    }
    .admin-action-group .button-micro {
        padding: 5px 9px;
        font-size: 11.5px;
    }

    /* Forms */
    .admin-form-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }
    .admin-form-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 24px;
    }
    .admin-form-actions .button {
        width: 100%;
        justify-content: center;
    }

    /* Filter tabs */
    .admin-filter-tabs {
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    .admin-filter-tabs a {
        white-space: nowrap;
        font-size: 12px;
        padding: 5px 12px;
    }

    /* Footer */
    .admin-footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .admin-topbar-inner {
        padding: 0 4px;
    }
    .admin-badge {
        display: none;
    }
    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .admin-stat-card {
        padding: 14px 10px;
    }
    .admin-stat-card .stat-number {
        font-size: 19px;
    }
    .stat-icon-wrap {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
    .admin-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 18px;
    }
    .admin-page-title {
        font-size: 20px;
    }
    .admin-dropzone {
        padding: 20px 14px;
    }
}

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

/* ==========================================================================
   Product Dynamic Auto-Sliding Image Showcase
   ========================================================================== */
.product-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #050a22;
}

.product-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1);
    pointer-events: none;
}

.product-slide-img.active {
    opacity: 1;
    transform: scale(1.02);
    pointer-events: auto;
}

.service-card-v2:hover .product-slide-img.active {
    transform: scale(1.06);
}

.product-slide-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(3, 7, 18, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.product-slide-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-slide-dot.active {
    width: 20px;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
}