/* ============================================================
   AEVAN DIGITAL v5 - Insane Level Premium Upgrades
   ============================================================ */
   :root {
    --brand-navy: #060b18;
    --bg: #060b18;
    --bg2: #0a1122;
    --bg3: #0f1830;
    
    --surface: rgba(77, 159, 255, 0.04);
    --surface-hover: rgba(77, 159, 255, 0.08);
    --border: rgba(77, 159, 255, 0.15);
    --border-lit: rgba(77, 159, 255, 0.4);
  
    --brand-blue: #4d9fff;
    --brand-blue-glow: rgba(77, 159, 255, 0.5);
  
    --txt: #ffffff;
    --txt2: #94a3b8;
    --txt3: #64748b;
  
    --grad-btn: linear-gradient(135deg, #1e4dcc 0%, #3d6fef 60%, #60b4ff 100%);
    
    --font: 'Space Grotesk', sans-serif;
    --font-display: 'Syne', sans-serif;
    --font-ui: 'Outfit', sans-serif;
  
    --max: 1400px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  /* Preloader Styles */
  #preloader {
    position: fixed;
    inset: 0;
    background: #060b18;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s var(--ease), visibility 1s var(--ease);
  }
  #preloader.loaded {
    opacity: 0;
    visibility: hidden;
  }
  .preloader-content {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .flashing-logo {
    width: 240px; /* Increased size */
    height: auto;
    animation: logo-flash 1.5s ease-in-out infinite; /* Slower, rhythmic flash */
    filter: drop-shadow(0 0 30px var(--brand-blue-glow));
  }
  @keyframes logo-flash {
    0%, 100% { opacity: 0.2; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
  }

  /* --- Reset & Layout --- */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  
  /* Native High-Performance Scrolling */
  html {
    scroll-behavior: smooth;
  }
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--txt);
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }
  
  a { text-decoration: none; color: inherit; }
  button { font-family: inherit; cursor: pointer; outline: none; }
  ul { list-style: none; }
  
  .container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
  section.container { margin-top: 100px; margin-bottom: 100px; }
  
  .page-content {
      padding-top: 100px;
      flex: 1;
  }
  
  /* ============================================================
     GLOBAL WEBGL / CANVAS BACKGROUND 
     ============================================================ */
  #particleCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
  }
  .ambient-curves {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }
  .parallax-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
  }
  
  /* ============================================================
     PILL NAVBAR & SPA TRANSITIONS
     ============================================================ */
  .navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: rgba(6, 11, 24, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 8px 8px 8px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 24px);
    max-width: 720px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: top 0.4s var(--ease), border-color 0.4s, background 0.4s;
  }
  @media (min-width: 768px) {
    .navbar { padding: 10px 16px 10px 32px; gap: 32px; width: max-content; }
  }
  .navbar.scrolled {
    background: rgba(6, 11, 24, 0.9);
    border-color: var(--border-lit);
  }
  
  .logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; cursor: pointer; }
  .logo-mark-svg { width: 36px; height: 36px; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); filter: drop-shadow(0 0 10px rgba(77,159,255,0.4)); }
  .logo:hover .logo-mark-svg { transform: scale(1.1); }
  .logo-suffix { color: var(--brand-blue); }
  
  .nav-links { display: flex; gap: 8px; }
  .nav-link { 
    padding: 10px 20px; 
    font-size: 0.95rem; 
    font-weight: 600; 
    color: var(--txt2); 
    border-radius: 100px; 
    transition: all 0.3s var(--ease); 
    cursor: pointer;
    display: inline-block;
  }
  .nav-link:hover, .nav-link.active { color: var(--txt); background: var(--surface-hover); transform: translateY(-2px); }
  
  .inner-glow {
    position: relative;
    overflow: hidden;
  }
  .btn-nav {
    background: var(--surface);
    border: 1px solid var(--border-lit);
    color: white;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s var(--ease);
    box-shadow: 0 0 20px rgba(77, 159, 255, 0.1) inset;
  }
  .btn-nav:hover {
    background: var(--border-lit);
    box-shadow: 0 0 30px rgba(77, 159, 255, 0.4) inset, 0 0 20px rgba(77,159,255,0.3);
  }
  
  /* SPA Overlay Wipe */
  .page-transition {
    position: fixed;
    bottom: -100vh;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--brand-navy);
    z-index: 900;
    will-change: transform;
    pointer-events: none;
    box-shadow: 0 -20px 60px rgba(77, 159, 255, 0.2);
    border-top: 1px solid var(--border-lit);
  }
  
  /* ============================================================
     MAGNETIC BUTTONS & INTERACTIONS
     ============================================================ */
  .magnetic-wrap { position: relative; display: inline-block; }
  .magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.1, 0.8, 0.3, 1), box-shadow 0.4s var(--ease);
  }
  .btn-primary {
    background: var(--grad-btn);
    border: none;
    color: white;
    box-shadow: 0 10px 30px var(--brand-blue-glow);
  }
  .btn-bloom {
    position: absolute;
    inset: -2px;
    background: inherit;
    border-radius: inherit;
    filter: blur(12px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s var(--ease);
  }
  .magnetic-btn:hover .btn-bloom { opacity: 0.8; }
  
  .btn-outline {
    background: var(--surface);
    border: 1px solid var(--border-lit);
    color: white;
  }
  .btn-outline:hover { background: var(--surface-hover); }
  
  /* ============================================================
     CINEMATIC HERO (Insane Level)
     ============================================================ */
  .cinematic-hero {
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 40px;
    box-sizing: border-box;
  }
  .hero-3d-elements {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
  }
  .glass-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    mix-blend-mode: screen;
  }
  .blob-1 {
    width: min(600px, 80vw); height: min(600px, 80vw);
    background: rgba(77, 159, 255, 0.15);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
  }
  .blob-2 {
    width: min(400px, 60vw); height: min(400px, 60vw);
    background: rgba(120, 200, 255, 0.1);
    top: 20%; right: 8%;
  }
  
  .hero-eyebrow {
    color: var(--brand-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  
  .hero-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    padding-bottom: 8px;
    margin-bottom: 16px;
    max-width: 1200px;
  }
  /* Splitting text animation styling */
  .hero-heading .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-40deg);
  }
  
  .text-glow {
    position: relative;
    color: transparent;
    -webkit-text-stroke: 1px var(--brand-blue);
    display: inline-block;
  }
  .text-glow::before {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: var(--brand-blue);
    -webkit-background-clip: text;
    color: transparent;
    filter: blur(16px);
    opacity: 0.8;
  }
  .text-glow::after {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    color: var(--txt);
    -webkit-text-stroke: 0;
  }
  
  .hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--txt2);
    line-height: 1.6;
    margin-bottom: 32px;
  }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

  .hero-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    color: var(--txt2);
    font-size: 0.88rem;
  }
  .hero-proof span {
    border: 1px solid var(--border);
    background: rgba(77, 159, 255, 0.06);
    border-radius: 100px;
    padding: 8px 14px;
    box-shadow: inset 0 0 20px rgba(77, 159, 255, 0.04);
  }
  
  .magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.1, 0.8, 0.3, 1), box-shadow 0.4s var(--ease);
  }
  .section-header { text-align: center; margin-bottom: 60px; }
  .section-title { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 3.5rem); font-weight: 800; line-height: 1.1; }
  .section-desc { color: var(--txt2); font-size: clamp(1rem, 1.2vw, 1.2rem); margin-top: 20px; max-width: 700px; margin-left: auto; margin-right: auto; }
  
  .services-module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-bottom: 120px;
  }
  .service-module {
    background: rgba(10, 17, 34, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 56px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s var(--ease), border-color 0.4s;
    transform-style: preserve-3d;
  }
  .sm-edge-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px transparent;
    border-radius: inherit;
    transition: box-shadow 0.4s var(--ease);
  }
  .service-module:hover { border-color: transparent; transform: translateY(-10px) scale(1.02); }
  .service-module:hover .sm-edge-glow { box-shadow: inset 0 0 0 2px var(--brand-blue), inset 0 0 40px rgba(77,159,255,0.2); }
  
  .sm-content { position: relative; z-index: 2; transform: translateZ(40px); }
  .sm-icon { font-size: 3rem; margin-bottom: 32px; }
  .sm-content h3 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 16px; }
  .sm-content p { color: var(--txt2); font-size: 1.15rem; line-height: 1.6; margin-bottom: 32px; }
  
  .sm-tags { display: flex; gap: 12px; }
  .sm-tags span {
    padding: 6px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--txt);
  }
  .sm-expand-trigger {
    position: absolute;
    bottom: 56px; right: 56px;
    color: var(--brand-blue);
    font-weight: 600;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s var(--ease);
  }
  .service-module:hover .sm-expand-trigger { opacity: 1; transform: translateX(0); }
  
  /* ============================================================
     CINEMATIC WORK LIST
     ============================================================ */
  .cinematic-work-list { display: flex; flex-direction: column; gap: 160px; padding-bottom: 160px; }
  .cinematic-project { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: center; }
  .cinematic-project:nth-child(even) { grid-template-columns: 1fr 1.5fr; }
  .cinematic-project:nth-child(even) .cp-visual { order: 2; }
  .cinematic-project:nth-child(even) .cp-meta { order: 1; text-align: right; }
  
  .cp-visual {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 40px;
    overflow: hidden;
    cursor: none;
    display: block;
    color: inherit;
    text-decoration: none;
  }
  .cp-visual-inner {
    width: 100%; height: 100%;
    background: var(--bg2);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.6s var(--ease);
    padding: 20px;
  }
  .cp-visual-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    border-radius: 20px;
  }
  .cp-visual:hover .cp-visual-inner { transform: scale(1.05); }
  
  .cp-overlay {
    position: absolute; inset: 0;
    background: rgba(6, 11, 24, 0.4);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    display: flex; align-items: center; justify-content: center;
  }
  .cp-visual:hover .cp-overlay { opacity: 1; }
  
  .cp-view-btn {
    background: var(--brand-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    border: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .cp-visual:hover .cp-view-btn { transform: translateY(0); opacity: 1; }
  
  .cp-meta h3 { font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; margin-bottom: 16px; }
  .cp-meta span { color: var(--brand-blue); font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
  
  .mockup { width: 60%; height: 60%; border: 1px solid var(--border-lit); border-radius: 16px; }
  .mockup-dashboard { background: linear-gradient(135deg, rgba(77,159,255,0.1), transparent); }
  .mockup-orb { border-radius: 50%; box-shadow: 0 0 60px rgba(77,159,255,0.3); }
  
  /* ============================================================
     CONTACT GRID FAST LOAD
     ============================================================ */
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .glass-panel { background: rgba(10,17,34,0.6); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 32px; padding: 48px; }
  .glass-input { width: 100%; background: var(--surface); border: 1px solid var(--border); padding: 16px 24px; border-radius: 16px; color: var(--txt); font-family: var(--font); margin-bottom: 16px; transition: border-color 0.3s; resize: none; font-size: 1rem; }
  .glass-input:focus { outline: none; border-color: var(--brand-blue); }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  
  .c-method { margin-top: 32px; }
  .c-method h5 { color: var(--txt2); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; margin-bottom: 8px; }
  .c-method  span { font-size: 1.4rem; font-weight: 600; color: var(--brand-blue); }
  
  /* ============================================================
     PREMIUM MODULES (Why Us, Comparison, Integration, Security)
     ============================================================ */
     
  .pill-label {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.5);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--txt2);
    margin-bottom: 24px;
  }
  
  .dark-panel {
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(0,0,0,0.4));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .dark-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  }
  
  /* Feature Grid (Why Us) */
  .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  @media (min-width: 720px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  }
  .f-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
  }
  .f-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--brand-blue); stroke-width: 2; }

  .proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .proof-card {
    position: relative;
    min-height: 260px;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background:
      linear-gradient(145deg, rgba(77,159,255,0.09), rgba(255,255,255,0.02) 45%, rgba(0,0,0,0.3)),
      rgba(10, 17, 34, 0.62);
    overflow: hidden;
  }
  .proof-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -35% -20%;
    height: 120px;
    background: radial-gradient(circle, rgba(77,159,255,0.24), transparent 68%);
    filter: blur(24px);
    opacity: 0.8;
  }
  .proof-card span,
  .timeline-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-lit);
    color: var(--brand-blue);
    font-family: var(--font-display);
    font-weight: 800;
    margin-bottom: 22px;
    background: rgba(77, 159, 255, 0.06);
  }
  .proof-card h3,
  .timeline-step h3 {
    font-family: var(--font-display);
    font-size: 1.22rem;
    margin-bottom: 12px;
  }
  .proof-card p,
  .timeline-step p {
    color: var(--txt2);
    line-height: 1.65;
    font-size: 0.95rem;
  }

  .timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: step;
  }
  .timeline-step {
    position: relative;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(0,0,0,0.28));
  }
  .timeline-step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 48px;
    width: 20px;
    height: 1px;
    background: var(--border-lit);
  }

  .industry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .industry-grid div {
    min-height: 72px;
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(77, 159, 255, 0.045);
    color: var(--txt);
    font-weight: 600;
  }

  .growth-stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .growth-stack-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(150deg, rgba(77,159,255,0.08), rgba(255,255,255,0.025) 48%, rgba(0,0,0,0.34));
    min-height: 240px;
  }
  .growth-stack-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 14px;
  }
  .growth-stack-card p {
    color: var(--txt2);
    line-height: 1.65;
    font-size: 0.95rem;
  }

  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .faq-item {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(10, 17, 34, 0.55);
    padding: 22px 24px;
  }
  .faq-item summary {
    color: var(--txt);
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    list-style: none;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: "+";
    float: right;
    color: var(--brand-blue);
    font-size: 1.2rem;
  }
  .faq-item[open] summary::after { content: "-"; }
  .faq-item p {
    color: var(--txt2);
    line-height: 1.65;
    margin-top: 14px;
  }
  
  /* Comparison Split */
  .comparison-wrapper { margin-top: 80px; }
  .comp-headers { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 24px; text-align: center; }
  .comp-tag { font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 12px; }
  .comp-tag.pro { color: #00ff66; }
  .comp-tag.con { color: #ff3333; }
  
  .comp-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  @media (min-width: 768px) {
    .comp-row { grid-template-columns: 1fr 1fr; gap: 28px; }
  }
  .comp-card {
    background: rgba(10, 15, 30, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 32px;
  }
  .comp-card.pro { box-shadow: inset 0 0 40px rgba(0, 255, 102, 0.05); }
  .comp-card.con { box-shadow: inset 0 0 40px rgba(255, 51, 51, 0.05); }
  .comp-card h3 { margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
  .comp-card p { color: var(--txt2); line-height: 1.6; }
  
  /* Integration / Security Split Module */
  .split-module {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }
  @media (min-width: 900px) {
    .split-module { grid-template-columns: 1fr 1fr; gap: 60px; }
  }
  .sm-content h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 24px; }
  .sm-content .text-glow { color: var(--brand-blue); -webkit-text-stroke: 0; }
  .sm-content p { color: var(--txt2); font-size: 1.1rem; line-height: 1.6; margin-bottom: 32px; }
  
  .integration-cluster {
    position: relative;
    height: 400px;
    display: flex; align-items: center; justify-content: center;
  }
  .integration-center {
    width: 100px; height: 100px;
    background: #0f1524;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 60px rgba(77, 159, 255, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.05);
    z-index: 2;
  }
  .integration-center svg { width: 50px; height: 50px; fill: #fff; }
  /* Floating nodes orbiting center */
  .i-node {
    position: absolute;
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    animation: floatNode 6s ease-in-out infinite alternate;
  }
  .i-node svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; }
  .i-node:nth-child(2) { top: 8%; left: 18%; animation-delay: 0s; transform: scale(0.9); }
  .i-node:nth-child(3) { top: 18%; right: 12%; animation-delay: 1s; transform: scale(1.1); }
  .i-node:nth-child(4) { bottom: 12%; left: 20%; animation-delay: 2s; transform: scale(1); }
  .i-node:nth-child(5) { bottom: 20%; right: 18%; animation-delay: 3s; transform: scale(0.85); }
  .i-node:nth-child(6) { top: 45%; left: 5%; animation-delay: 1.5s; transform: scale(1.05); }
  .i-node:nth-child(7) { top: 48%; right: 4%; animation-delay: 2.5s; transform: scale(0.95); }
  @keyframes floatNode { from { transform: translateY(-12px); } to { transform: translateY(12px); } }
  
  /* Security Glowing Orb */
  .security-visual {
    width: 100%; height: 400px;
    display: flex; align-items: center; justify-content: center;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  }
  .s-orb {
    width: 120px; height: 120px;
    background: var(--brand-blue);
    border-radius: 50%;
    box-shadow: 0 0 80px var(--brand-blue-glow), inset 0 0 30px #fff;
    display: flex; align-items: center; justify-content: center;
    animation: pulseOrb 3s infinite alternate;
  }
  @keyframes pulseOrb { from { transform: scale(0.9); box-shadow: 0 0 60px var(--brand-blue-glow); } to { transform: scale(1.1); box-shadow: 0 0 100px var(--brand-blue-glow); } }
  
  /* Massive CTA Container */
  .final-cta {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,15,30,0.8) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 32px;
    padding: 48px 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
  }
  @media (min-width: 900px) {
    .final-cta { grid-template-columns: 1.4fr 1fr; padding: 70px 56px; }
  }
  .cta-content h2 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.1; margin-bottom: 18px; }
  .cta-content p { font-size: 1.05rem; color: var(--txt2); margin-bottom: 28px; max-width: 540px; }
  .cta-graphics {
    aspect-ratio: 1;
    border-radius: 24px;
    background: radial-gradient(circle at center, rgba(77,159,255,0.2), transparent);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    position: relative; overflow: hidden;
  }
  
  /* ============================================================
     3D VIRTUAL ASSISTANT (Cute Robot Avatar - Bright Contrast)
     ============================================================ */
  .assistant-container {
    position: fixed;
    bottom: 40px; right: 40px;
    z-index: 1000;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    height: auto;
    overflow: visible;
  }
  
  .mascot-core.cute-mode {
    width: 80px; height: 130px;
    position: relative;
    cursor: pointer;
    pointer-events: all;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.1, 0.8, 0.3, 1);
    animation: robotHover 4s ease-in-out infinite alternate;
    outline: none;
  }
  .mascot-core.cute-mode:hover { transform: scale(1.15); }
  @keyframes robotHover { from { transform: translateY(-10px); } to { transform: translateY(10px); } }
  
  .cute-robot {
    width: 100%; height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Detaches head from body */
  }
  
  /* Floating Head */
  .cr-head {
    width: 66px; height: 46px;
    background: radial-gradient(circle at 30% 20%, #ffffff, #d0d5e0 70%, #9ca3af 100%);
    border-radius: 40px 40px 20px 20px;
    position: relative;
    z-index: 3;
    box-shadow: 
      inset -4px -8px 12px rgba(0,0,0,0.15),
      inset 4px 8px 12px rgba(255,255,255,0.9),
      0 8px 16px rgba(0,0,0,0.4);
    animation: headBobDynamics 6s ease-in-out infinite alternate;
  }
  /* More playful, tilted head bobbing */
  @keyframes headBobDynamics { 
    0% { transform: translateY(0px) rotate(-6deg); } 
    25% { transform: translateY(4px) rotate(0deg); }
    50% { transform: translateY(0px) rotate(8deg); }
    75% { transform: translateY(4px) rotate(0deg); }
    100% { transform: translateY(0px) rotate(-4deg); } 
  }
  
  /* Dark Visor */
  .cr-visor {
    position: absolute;
    top: 14px; left: 50%;
    transform: translateX(-50%);
    width: 46px; height: 20px;
    background: linear-gradient(135deg, #111827, #000000);
    border-radius: 10px;
    box-shadow: inset 0 4px 6px rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  /* Scanning Eyes Track */
  .cr-eyes-track {
    display: flex;
    gap: 8px;
    animation: eyeScan 8s infinite;
  }
  @keyframes eyeScan {
    0%, 15% { transform: translateX(0); }
    20%, 35% { transform: translateX(-8px); }   /* Look Left */
    40%, 65% { transform: translateX(8px); }    /* Look Right */
    70%, 100% { transform: translateX(0); }     /* Center */
  }
  
  /* Cute Orange Glowing Eyes */
  .cr-eye {
    width: 8px; height: 10px;
    background: #ff9d00;
    border-radius: 5px;
    box-shadow: 0 0 10px #ff6b00, 0 0 20px #ff9d00;
    animation: cuteBlink 6s infinite;
  }
  @keyframes cuteBlink {
    0%, 96%, 100% { transform: scaleY(1); }
    98% { transform: scaleY(0.1); }
  }
  
  /* Head Antennas/Ears */
  .cr-ear {
    position: absolute;
    top: 18px;
    width: 8px; height: 14px;
    background: #ff6b00;
    border-radius: 4px;
    box-shadow: inset 2px 2px 4px rgba(255,255,255,0.4), inset -2px -2px 4px rgba(0,0,0,0.3);
  }
  .cr-ear.left { left: -4px; border-radius: 6px 0 0 6px; }
  .cr-ear.right { right: -4px; border-radius: 0 6px 6px 0; }
  
  /* Floating Lower Body (Teardrop / Eve Style) */
  .cr-body {
    width: 52px; height: 50px;
    background: radial-gradient(circle at 30% 20%, #ffffff, #d0d5e0 70%, #9ca3af 100%);
    border-radius: 20px 20px 40px 40px; /* Tapers down at the bottom */
    position: relative;
    z-index: 2;
    box-shadow: 
      inset -4px -8px 12px rgba(0,0,0,0.15),
      inset 4px 8px 12px rgba(255,255,255,0.9),
      0 12px 24px rgba(0,0,0,0.4);
    animation: bodyFloatDynamics 6s ease-in-out infinite alternate-reverse;
  }
  /* The body swings slightly independently of the head */
  @keyframes bodyFloatDynamics {
    0% { transform: translateY(0px) rotate(4deg); }
    50% { transform: translateY(-4px) rotate(0deg); }
    100% { transform: translateY(0px) rotate(-4deg); }
  }
  
  /* Internal Core Ring */
  .cr-chest-ring {
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #111827;
    border: 3px solid #e5e7eb;
    box-shadow: inset 0 4px 6px rgba(0,0,0,0.6), 0 2px 4px rgba(255,255,255,0.8);
    display: flex; align-items: center; justify-content: center;
  }
  .cr-core-light {
    width: 10px; height: 10px;
    background: #ff9d00;
    border-radius: 50%;
    box-shadow: 0 0 15px #ff6b00, 0 0 30px #ff9d00;
    animation: coreHeartbeat 2s ease-in-out infinite alternate;
  }
  @keyframes coreHeartbeat { from { transform: scale(0.9); opacity: 0.6; } to { transform: scale(1.1); opacity: 1; } }
  
  /* Thruster Glow underneath the body */
  .cr-thruster {
    position: absolute;
    bottom: -8px; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 10px;
    background: #ff6b00;
    border-radius: 50%;
    filter: blur(6px);
    opacity: 0.6;
    animation: thrusterPulse 1s ease-in-out infinite alternate;
  }
  @keyframes thrusterPulse { from { opacity: 0.6; transform: translateX(-50%) scale(0.9); } to { opacity: 1; transform: translateX(-50%) scale(1.2); } }
  
  /* Floating Shadow under robot */
  .cr-shadow {
    position: absolute;
    bottom: -15px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    filter: blur(4px);
    z-index: 1;
    animation: shadowPulse 4s ease-in-out infinite alternate;
  }
  @keyframes shadowPulse { from { transform: translateX(-50%) scale(0.8); opacity: 0.3; } to { transform: translateX(-50%) scale(1.1); opacity: 0.7; } }
  
  /* Glass Panel */
  .assistant-panel {
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 350px;
    background: rgba(6, 11, 24, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-lit);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    pointer-events: all;
    transform-origin: bottom right;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
    margin-bottom: 24px;
  }
  .assistant-panel.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .ap-header { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--txt3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
  .ap-status { width: 8px; height: 8px; background: var(--brand-blue); border-radius: 50%; box-shadow: 0 0 10px var(--brand-blue); }
  
  .ap-chat { margin-bottom: 24px; min-height: 40px; }
  .ap-typing-text { font-size: 1.1rem; line-height: 1.5; }
  
  .ap-options { display: flex; flex-direction: column; gap: 8px; }
  .ap-btn { text-align: left; background: var(--surface); border: 1px solid var(--border); color: var(--txt); padding: 12px 16px; border-radius: 12px; transition: all 0.2s; font-weight: 500; font-size: 0.95rem; }
  .ap-btn:hover { background: var(--surface-hover); border-color: var(--brand-blue); transform: translateX(5px); }

  /* Footer Social Glow */
  .social-link {
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
  }
  .social-link:hover {
    color: var(--txt);
    background: var(--brand-blue);
    box-shadow: 0 0 20px var(--brand-blue-glow);
    transform: translateY(-5px);
  }
  .social-link svg {
    width: 20px;
    height: 20px;
  }
  
  /* ============================================================
     ANIMATION UTILS
     ============================================================ */
  /* Reveal Animations v2 */
  .fade-in-up {
    opacity: 0;
    transform: translateY(40px) scale(0.95) perspective(1000px) rotateX(5deg);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    will-change: transform, opacity;
  }
  .fade-in-up.in {
    opacity: 1;
    transform: translateY(0) scale(1) perspective(1000px) rotateX(0deg);
  }

  .delay-1 { transition-delay: 0.1s; }
  .delay-2 { transition-delay: 0.2s; }
  .delay-3 { transition-delay: 0.3s; }
  .delay-4 { transition-delay: 0.4s; }

  /* Section Padding Polish */
  section.container {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
  }
  
  .footer { 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    padding: 60px 40px 40px; 
    background: rgba(4, 7, 16, 0.85); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2; 
    position: relative;
    width: 100%;
  }
  .footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; max-width: var(--max); margin: 0 auto 48px; }
  @media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; } }
  .f-title { font-weight: 700; margin-bottom: 20px; font-size: 1.1rem; }
  .f-link { display: block; color: var(--txt2); margin-bottom: 12px; transition: color 0.2s; cursor: pointer; }
  .f-link:hover { color: var(--txt); }
  .social-links { display: flex; gap: 10px; margin-top: 14px; }
  .social-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(77, 159, 255, 0.06);
    color: var(--txt2);
    transition: all 0.25s var(--ease);
  }
  .social-link svg { width: 18px; height: 18px; }
  .social-link:hover {
    color: #fff;
    border-color: var(--border-lit);
    box-shadow: 0 0 16px rgba(77, 159, 255, 0.45);
    transform: translateY(-2px);
  }
  .footer-bottom { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--border); padding-top: 32px; text-align: center; color: var(--txt3); }
  
  /* ============================================================
     TIMELINE PROCESS
     ============================================================ */
  .laser-beam {
    width: 0;
    height: 100%;
    background: var(--brand-blue);
    position: relative;
    box-shadow: 0 0 20px var(--brand-blue), 0 0 10px #fff;
    animation: shootLaser 3s cubic-bezier(0.8, 0, 0.2, 1) infinite;
  }
  @keyframes shootLaser {
    0% { width: 0; opacity: 0; }
    20% { opacity: 1; }
    60% { width: 100%; opacity: 1; transform-origin: left; }
    80% { opacity: 0; transform: scaleX(0); transform-origin: right; }
    100% { opacity: 0; width: 0; }
  }
  
  /* ============================================================
     RESPONSIVE FIXES (Preventing Overlaps)
     ============================================================ */
  #scroll-wrapper { 
    width: 100%; 
    position: relative; 
    will-change: transform; 
    margin: 0; 
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  #app-root {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .page-content {
    flex: 1;
  }
  
  @media(max-width: 1100px) {
    .services-module-grid { grid-template-columns: 1fr; }
    .cinematic-project { grid-template-columns: 1fr !important; gap: 40px; }
    .cinematic-project:nth-child(even) .cp-visual { order: unset; }
    .cinematic-project:nth-child(even) .cp-meta { text-align: left; order: unset; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .proof-grid,
    .timeline-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .growth-stack-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .timeline-step:not(:last-child)::after {
      display: none;
    }
  }
  
  @media(max-width: 768px) {
    .navbar { gap: 16px; padding: 10px 20px; width: calc(100% - 32px); justify-content: space-between; }
    .nav-links { display: none; }
    .hero-heading { font-size: clamp(3rem, 12vw, 4.5rem); }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions a { width: 100%; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .assistant-container { transform: scale(0.85); transform-origin: bottom right; right: 10px; bottom: 10px; z-index: 10001; }
    .cp-meta h3 { font-size: 2.5rem; }
    .section-title { font-size: 3rem; }
    .container { padding: 0 24px; }
  }

  /* ============================================================
     SERVICES PAGE PREMIUM MODULES
     ============================================================ */
  .services-pg-hero {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 100px);
    max-height: calc(100vh - 100px);
  }
  .sph-inner { z-index: 2; }
  .sph-console { z-index: 2; }

  /* Console Window */
  .console-window {
    width: 100%;
    max-width: 540px;
    background: #0d1117;
    border-radius: 14px;
    border: 1px solid rgba(77, 159, 255, 0.18);
    box-shadow:
      0 0 0 1px rgba(77, 159, 255, 0.08),
      0 30px 80px rgba(0, 0, 0, 0.7),
      0 0 60px rgba(77, 159, 255, 0.06) inset;
    overflow: hidden;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 0.82rem;
    line-height: 1.65;
    position: relative;
  }
  .console-window::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77,159,255,0.4), transparent);
  }

  /* Titlebar */
  .console-titlebar {
    background: #161b22;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .console-dots { display: flex; gap: 6px; }
  .dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    opacity: 0.9;
  }
  .dot-red    { background: #ff5f57; box-shadow: 0 0 6px rgba(255,95,87,0.6); }
  .dot-yellow { background: #febc2e; box-shadow: 0 0 6px rgba(254,188,46,0.6); }
  .dot-green  { background: #28c840; box-shadow: 0 0 6px rgba(40,200,64,0.6); }
  .console-title {
    flex: 1;
    text-align: center;
    color: #6e7681;
    font-size: 0.78rem;
    font-family: var(--font-ui);
    letter-spacing: 0.02em;
  }
  .console-lang-badge {
    background: rgba(77,159,255,0.15);
    color: var(--brand-blue);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-ui);
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid rgba(77,159,255,0.3);
  }

  /* Code Body */
  .console-body {
    display: flex;
    height: 280px;
    overflow: hidden;
    background: #0d1117;
    padding: 10px 0;
    position: relative;
  }
  .console-line-nums {
    padding: 0 12px;
    color: #3d444d;
    text-align: right;
    min-width: 36px;
    user-select: none;
    border-right: 1px solid rgba(255,255,255,0.04);
    font-size: 0.75rem;
    line-height: 1.65;
    white-space: pre;
  }
  .console-code-area {
    flex: 1;
    padding: 0 16px;
    overflow: hidden;
    position: relative;
  }
  .console-pre {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    white-space: pre;
    color: #e6edf3;
    word-break: break-all;
  }
  .console-cursor {
    color: var(--brand-blue);
    animation: cursorBlink 1s step-end infinite;
    font-size: 0.9rem;
    vertical-align: middle;
    line-height: 1;
  }
  @keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  /* Status Bar */
  .console-statusbar {
    background: #1c2128;
    padding: 4px 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .csb-item {
    color: #6e7681;
    font-size: 0.72rem;
    font-family: var(--font-ui);
    letter-spacing: 0.02em;
  }
  .csb-green { color: #28c840; }

  /* Syntax Colors */
  .tok-kw     { color: #ff7b72; }  /* keywords */
  .tok-fn     { color: #d2a8ff; }  /* functions */
  .tok-str    { color: #a5d6ff; }  /* strings */
  .tok-num    { color: #79c0ff; }  /* numbers */
  .tok-cmt    { color: #8b949e; font-style: italic; } /* comments */
  .tok-brk    { color: #ffa657; }  /* brackets/operators */
  .tok-var    { color: #e6edf3; }  /* variables */
  .tok-prop   { color: #7ee787; }  /* properties/tags */

  @media (max-width: 1100px) {
    .services-pg-hero { grid-template-columns: 1fr; min-height: auto; }
    .sph-console { display: none; }
  }

  .svc-card { position: relative; padding: 40px; overflow: hidden; height: 100%; transition: transform 0.4s var(--ease); }
  .svc-card:hover { transform: translateY(-8px); }
  .svc-card--tall { grid-row: span 2; }
  .svc-card--banner { grid-column: span 3; }
  .svc-card-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
  .svc-icon-wrap { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items:center; justify-content:center; margin-bottom: 24px; }
  .svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
  .svc-tags span { font-size: 0.75rem; color: var(--txt3); border: 1px solid var(--border); padding: 4px 10px; border-radius: 100px; }
  .svc-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cta-color, var(--brand-blue)); text-decoration: none; font-size: 0.95rem; }
  .svc-card-glow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, var(--glow), transparent 70%); opacity: 0; transition: opacity 0.4s; z-index: 1; pointer-events: none; mix-blend-mode: screen; filter: blur(40px); }
  .svc-card:hover .svc-card-glow { opacity: 0.15; }

  .svc-featured-badge { display: inline-block; padding: 4px 12px; border-radius: 100px; background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.4); color: #ef4444; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }

  .svc-3d-visual { position: relative; width: 300px; height: 300px; display: flex; align-items: center; justify-content: center; }
  .svc-3d-orb { position: relative; width: 120px; height: 120px; }
  .svc-3d-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: var(--brand-blue); border-radius: 50%; box-shadow: 0 0 50px var(--brand-blue); animation: orbPulse 4s ease-in-out infinite alternate; }
  .svc-3d-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(77,159,255,0.3); border-radius: 50%; }
  .ring-1 { width: 180px; height: 180px; animation: rotate 10s linear infinite; }
  .ring-2 { width: 240px; height: 240px; animation: rotate 15s linear infinite reverse; }
  .ring-3 { width: 300px; height: 300px; animation: rotate 20s linear infinite; }

  @keyframes rotate { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
  @keyframes orbPulse { from { box-shadow: 0 0 30px var(--brand-blue); transform: translate(-50%, -50%) scale(0.9); } to { box-shadow: 0 0 70px var(--brand-blue); transform: translate(-50%, -50%) scale(1.1); } }

  .proc-card { transition: all 0.4s var(--ease); }
  .proc-card:hover { border-color: var(--brand-blue); transform: translateY(-5px); }
  .proc-num { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--brand-blue); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); color: var(--brand-blue); font-size: 1.2rem; }

  @media(max-width: 1100px) {
    .svc-bento-row { grid-template-columns: 1fr !important; }
    .svc-card--banner .svc-card-inner { grid-template-columns: 1fr !important; text-align: center; }
    .svc-3d-visual { margin: 40px auto 0; }
    .process-timeline { grid-template-columns: 1fr 1fr !important; }
  }

  /* Navigation Hidden States (Fix for Desktop breakage) */
  .hamburger { display: none; cursor: pointer; padding: 10px; z-index: 9999; position: relative; }
  /* Mobile menu hidden by default on desktop */
  .mobile-menu {
    position: fixed; inset: 0; z-index: 9998;
    background: rgba(6, 11, 24, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 24px; padding: 80px 24px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s var(--ease);
    visibility: hidden;
  }
  .mobile-menu.open { opacity: 1; pointer-events: auto; visibility: visible; }

  /* Global Mobile Overrides (Phase 1) */
  @media(max-width: 768px) {
    :root {
      --max: 100%;
    }
    
    body { overflow-x: hidden; width: 100%; position: relative; -webkit-overflow-scrolling: touch; }

    /* Standardized Spacing */
    .container { padding: 0 16px !important; }
    section.container { margin-top: 50px !important; margin-bottom: 50px !important; }
    .page-content { padding-top: 140px !important; }

    /* Reset desktop scroll-hijacking transform on mobile */
    #scroll-wrapper { transform: none !important; }

    .navbar { 
      width: calc(100% - 32px) !important; 
      padding: 10px 20px; 
      left: 50% !important; 
      right: auto !important;
      transform: translateX(-50%) !important; 
      top: 16px !important;
      margin: 0 !important;
      background: rgba(6, 11, 24, 0.8) !important;
      justify-content: space-between;
    }
    .nav-links, .btn-nav { display: none !important; } /* Hide for mobile menu */
    
    .hamburger { display: block; z-index: 9999; position: relative; }

    .mobile-menu {
      position: fixed;
      top: 80px;
      right: 16px;
      left: auto;
      bottom: auto;
      z-index: 9998;
      background: rgba(6, 11, 24, 0.97);
      border: 1px solid var(--border-lit);
      border-radius: 20px;
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
      padding: 24px;
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
      transform: translateY(-10px) scale(0.95);
      transform-origin: top right;
      transition: all 0.3s var(--ease);
      width: 220px;
      height: auto;
      box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    }
    .mobile-menu.open {
      opacity: 1;
      pointer-events: auto;
      visibility: visible;
      transform: translateY(0) scale(1);
    }
    .mobile-link {
      font-size: 1.2rem;
      font-family: var(--font-display);
      font-weight: 600;
      color: white;
      text-decoration: none;
      transition: color 0.3s;
      width: 100%;
    }
    .mobile-link:hover { color: var(--brand-blue); }
    
    .mobile-menu .btn-primary {
      display: block;
      padding: 12px 24px;
      text-align: center;
      border-radius: 100px;
      margin-top: 4px;
      font-size: 1rem;
      width: 100%;
      box-sizing: border-box;
    }
    .mobile-menu-divider {
      width: 100%;
      height: 1px;
      background: var(--border);
      margin: 4px 0;
    }

    .split-module, .dashboard-grid, .products-grid, .cs-grid { 
      grid-template-columns: 1fr !important; 
      gap: 32px;
    }
    .proof-grid,
    .timeline-grid,
    .faq-grid,
    .industry-grid,
    .growth-stack-grid {
      grid-template-columns: 1fr !important;
    }
    .proof-card {
      min-height: auto;
    }
    .sm-content { padding-right: 0 !important; padding-left: 0 !important; }
    
    .services-pg-hero { text-align: center; padding-top: 40px !important; }
    .sph-inner { margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
    
    .comparison-wrapper { margin-top: 40px !important; }
    .comp-headers { grid-template-columns: 1fr 1fr; font-size: 0.85rem; }
    .comp-card.pro::before { content: "WITH AEVAN DIGITAL"; display: block; color: #00c853; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; margin-bottom: 12px; }
    .comp-card.con::before { content: "WITHOUT US"; display: block; color: #ff5252; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; margin-bottom: 12px; }
    
    /* Typography Balancing */
    h1 { font-size: clamp(2.2rem, 9vw, 3rem) !important; }
    h2 { font-size: clamp(1.8rem, 7vw, 2.2rem) !important; }
    
    .process-timeline { grid-template-columns: 1fr !important; }
    .footer { padding: 40px 16px; }
    .footer-grid { text-align: center; }
    .footer-grid .logo { justify-content: center; }
    .footer-grid p { margin-left: auto !important; margin-right: auto !important; }
    .social-links { justify-content: center; }

    /* Hero & section centering across all pages */
    .split-module { margin-left: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
    section.container.split-module { padding-left: 16px !important; padding-right: 16px !important; }
    .section-header { text-align: center !important; margin-bottom: 40px !important; }
    .dark-panel { background: var(--surface) !important; border-radius: 24px; padding: 24px !important; }
    
    .cinematic-hero { 
      padding-top: 40px !important; 
      padding-bottom: 40px !important; 
      padding-left: 16px !important;
      padding-right: 16px !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      text-align: center !important;
    }
    
    .hero-heading {
      max-width: 100% !important;
      word-break: break-word !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }

    .hero-sub {
      width: 100% !important;
      max-width: 100% !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }

    .hero-actions {
      width: 100% !important;
      gap: 12px !important;
    }

    .hero-actions .magnetic-btn {
      width: 100% !important;
      padding: 16px 24px !important;
      display: flex !important;
      justify-content: center !important;
    }
    
    /* Work page - project grid */
    .cinematic-work-list { gap: 60px !important; }
    .cp-visual { height: auto !important; min-height: 220px !important; border-radius: 24px !important; aspect-ratio: 16/10; }
    .cp-visual-inner { padding: 12px !important; }
    .cp-meta h3 { font-size: 1.8rem !important; text-align: left !important; }
    
    .products-section > .dark-panel { display: grid; grid-template-columns: 1fr !important; gap: 32px !important; }
    .products-section > .dark-panel > * { text-align: center !important; }
    .products-content h2 { font-size: 2.5rem !important; }

    /* Services page - 3D visual responsiveness */
    .svc-3d-visual { width: 100% !important; max-width: 280px !important; height: auto !important; aspect-ratio: 1; margin: 40px auto 0 !important; }
    #orb3dCanvas { width: 100% !important; height: 100% !important; }

    /* Contact page & Forms */
    .form-row { 
      display: flex !important; 
      flex-direction: column !important; 
      gap: 16px !important; 
      margin-top: 0 !important;
    }
    .form-row + .form-row { margin-top: 16px !important; }
    .glass-input { width: 100% !important; }
    .cg-form { padding: 24px !important; }
    
    /* Global CTA Overrides for Hero Sections */
    .btn-primary.magnetic-btn, .btn-outline.magnetic-btn {
      width: 100% !important;
      display: flex !important;
      justify-content: center !important;
    }
  }

  .hamburger span { display: block; width: 24px; height: 2px; background: white; margin-bottom: 6px; transition: 0.3s; }
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
  
  @media(max-width: 480px) {
    .navbar { width: calc(100% - 24px) !important; }
    h1 { font-size: clamp(2rem, 8.5vw, 2.5rem) !important; }
    .mobile-link { font-size: 1.2rem; }
  }

  /* ============================================================
     PROFESSIONAL POLISH PASS
     ============================================================ */
  ::selection {
    background: rgba(77, 159, 255, 0.35);
    color: #fff;
  }

  :focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 4px;
  }

  img, svg {
    max-width: 100%;
  }

  .navbar img,
  .footer .logo img {
    max-width: 190px;
  }

  .dark-panel,
  .glass-panel,
  .service-module,
  .svc-card,
  .comp-card,
  .final-cta {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  }

  .case-image {
    width: 100%;
    height: 100%;
    background: var(--bg2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .case-image img {
    border-radius: 20px;
  }

  .case-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin-left: 0 !important;
  }

  .case-list li {
    position: relative;
    padding-left: 18px;
  }

  .case-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-blue);
    box-shadow: 0 0 12px rgba(77, 159, 255, 0.75);
  }

  .contact-item,
  .glass-input,
  .btn-primary,
  .btn-outline,
  .btn-nav,
  .cp-view-btn {
    -webkit-tap-highlight-color: transparent;
  }

  .glass-input::placeholder {
    color: rgba(148, 163, 184, 0.78);
  }

  select.glass-input {
    appearance: none;
    background-image:
      linear-gradient(45deg, transparent 50%, var(--brand-blue) 50%),
      linear-gradient(135deg, var(--brand-blue) 50%, transparent 50%);
    background-position:
      calc(100% - 22px) 50%,
      calc(100% - 16px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
  }

  .glass-input:focus {
    box-shadow: 0 0 0 4px rgba(77, 159, 255, 0.12);
  }

  .btn-primary,
  .btn-outline,
  .btn-nav,
  .cp-view-btn {
    min-height: 44px;
  }

  .cp-meta {
    max-width: 620px;
  }

  .cp-meta p,
  .cp-meta li {
    text-align: left;
  }

  .assistant-panel {
    max-width: calc(100vw - 32px);
  }

  @media (max-width: 900px) {
    .final-cta {
      text-align: center;
    }

    .final-cta .cta-content > div {
      justify-content: center;
    }

    .integration-cluster,
    .security-visual {
      height: min(360px, 80vw);
    }
  }

  @media (max-width: 768px) {
    .hero-sub br {
      display: none;
    }

    .comp-headers {
      display: none !important;
    }

    .cp-meta {
      max-width: 100%;
    }

    .cp-meta .magnetic-btn,
    .cp-view-btn {
      width: 100%;
    }

    .case-image {
      padding: 12px;
    }

    .assistant-container {
      transform: scale(0.72) !important;
      right: 6px !important;
      bottom: 6px !important;
    }

    .assistant-panel {
      right: -8px;
      width: min(350px, calc(100vw - 24px));
    }

    .footer-bottom {
      justify-content: center !important;
    }
  }

  @media (max-width: 380px) {
    .assistant-container {
      display: none;
    }

    .mobile-menu {
      width: calc(100vw - 32px) !important;
    }
  }

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

    #particleCanvas,
    .assistant-container {
      display: none;
    }
  }

