:root{
    --bg: #090c12;
    --bg-surface: #10151f;
    --bg-surface-2: #171e2b;
    --accent: #ff6a34;
    --accent-2: #ffb547;
    --accent-grad: linear-gradient(135deg, #ff6a34 0%, #ff9a3d 55%, #ffc966 100%);
    --accent-dim: #c94e1f;
    --blue: #4a9eff;
    --text: #f2f4f7;
    --text-muted: #9aa2b4;
    --text-faint: #5c6578;
    --border: #232b39;
    --border-bright: #3a4a63;
    --glass: rgba(16,21,31,0.55);
    --glow: 0 0 32px rgba(255,106,52,0.18);
    --mono: 'JetBrains Mono', monospace;
    --display: 'Space Grotesk', sans-serif;
    --body: 'Inter', sans-serif;
  }

  .reveal{opacity:0; transform:translateY(18px); transition:opacity 0.6s ease, transform 0.6s ease;}
  .reveal-in{opacity:1; transform:translateY(0);}

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:var(--body);
    line-height:1.6;
    overflow-x:hidden;
  }
  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
  }
  a{color:inherit;text-decoration:none;}
  ::selection{background:var(--accent);color:#0a0e14;}
  :focus-visible{outline:2px solid var(--accent); outline-offset:3px;}

  .wrap{max-width:1240px;margin:0 auto;padding:0 32px;}
  @media (max-width:640px){ .wrap{padding:0 20px;} }

  /* background grid texture */
  /* Full-page background video (robot.mp4) */
  .bg-video{
    position:fixed; top:0; left:0; width:100%; height:100%;
    object-fit:cover; z-index:0; pointer-events:none;
  }
  .bg-video-overlay{
    position:fixed; top:0; left:0; width:100%; height:100%;
    background:rgba(0,0,0,0.65); z-index:0; pointer-events:none;
  }
  .grid-bg{
    position:fixed; inset:0; z-index:0; pointer-events:none;
    background-image:
      linear-gradient(rgba(255,106,52,0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,106,52,0.035) 1px, transparent 1px);
    background-size:64px 64px;
    mask-image:radial-gradient(ellipse 90% 60% at 50% 0%, black 20%, transparent 75%);
  }

  /* NAV */
  header{
    position:sticky; top:0; z-index:100;
    background:rgba(9,12,18,0.35);
    backdrop-filter:blur(20px) saturate(180%);
    -webkit-backdrop-filter:blur(20px) saturate(180%);
    border-bottom:1px solid rgba(255,255,255,0.07);
    box-shadow:0 8px 32px rgba(0,0,0,0.25);
    transition:background 0.4s ease, box-shadow 0.4s ease;
  }
  header.scrolled{
    background:rgba(9,12,18,0.68);
    box-shadow:0 8px 32px rgba(0,0,0,0.45);
  }
  header::after{
    content:''; position:absolute; left:0; right:0; bottom:-1px; height:1px;
    background:linear-gradient(90deg, transparent, rgba(255,106,52,0.6), rgba(255,181,71,0.6), transparent);
    background-size:200% 100%;
    animation:navShimmer 7s linear infinite;
  }
  @keyframes navShimmer{
    0%{background-position:200% 0;}
    100%{background-position:-200% 0;}
  }
  .nav-links a{position:relative; padding:6px 4px; z-index:1;}
  .nav-links a::before{
    content:''; position:absolute; inset:-8px -12px; z-index:-1;
    background:rgba(255,255,255,0.045); border:1px solid rgba(255,255,255,0.08);
    border-radius:8px; opacity:0; transform:scale(0.92);
    backdrop-filter:blur(8px); transition:all 0.25s ease;
  }
  .nav-links a:hover::before{opacity:1; transform:scale(1);}
  nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:20px 0;
  }
  .logo{
    font-family:var(--display); font-weight:700; font-size:20px;
    letter-spacing:0.02em; display:flex; align-items:center; gap:10px;
  }
  .logo-mark{
    width:30px;height:30px; flex-shrink:0;
    display:block;
    object-fit:contain;
    filter:drop-shadow(0 0 8px rgba(255,106,52,0.45));
    animation:pulseGlow 2.4s ease-in-out infinite;
  }
  @keyframes pulseGlow{
    0%,100%{filter:drop-shadow(0 0 6px rgba(255,106,52,0.35));}
    50%{filter:drop-shadow(0 0 14px rgba(255,181,71,0.6));}
  }
  footer .logo-mark{width:22px; height:22px;}

  .nav-links{display:flex; gap:36px; font-size:14px; color:var(--text-muted);}
  .nav-links a{transition:color 0.2s;}
  .nav-links a:hover{color:var(--text);}
  /* Animated nav link underline (gradient sweep) */
  .nav-links a::after{
    content:''; position:absolute; left:0; bottom:-2px; width:100%; height:2px;
    background:var(--accent-grad);
    transform:scaleX(0); transform-origin:left;
    transition:transform 0.3s cubic-bezier(0.22,1,0.36,1);
  }
  .nav-links a:hover::after{ transform:scaleX(1); }
  .nav-cta:hover{ animation:ctaPulse 0.5s ease; }
  @keyframes ctaPulse{
    0%{transform:scale(1);}
    40%{transform:scale(1.05);}
    100%{transform:scale(1);}
  }
  /* Header entrance animation */
  @keyframes navIn{
    from{opacity:0; transform:translateY(-12px);}
    to{opacity:1; transform:translateY(0);}
  }
  header nav{ animation:navIn 0.7s cubic-bezier(0.22,1,0.36,1) both; }
  .nav-cta{
    font-family:var(--mono); font-size:13px; padding:10px 20px;
    border:1px solid var(--border-bright); color:var(--text);
    transition:all 0.25s ease; white-space:nowrap;
    position:relative; overflow:hidden;
  }
  .nav-cta:hover{
    border-color:transparent; color:#0a0e14; background:var(--accent-grad);
    box-shadow:0 4px 18px rgba(255,106,52,0.35);
  }
  .nav-mobile-hide{display:flex;}
  @media (max-width:860px){ .nav-mobile-hide{display:none;} }

  /* HERO */
  .hero{
    position:relative; z-index:1;
    padding:88px 0 100px;
    perspective:1200px;
  }
  .hero-glow{
    position:absolute; inset:0; pointer-events:none; z-index:0;
    background:radial-gradient(600px circle at 50% 30%, rgba(255,106,52,0.10), transparent 65%);
  }
  .hero [data-depth], .page-hero [data-depth], .spotlight [data-depth]{ will-change:transform; }
  .hero-grid{
    display:grid; grid-template-columns:1.1fr 0.9fr; gap:64px; align-items:center;
  }
  @media (max-width:940px){ .hero-grid{grid-template-columns:1fr; gap:56px;} }

  .eyebrow{
    font-family:var(--mono); font-size:12px; color:var(--accent);
    letter-spacing:0.12em; text-transform:uppercase;
    display:flex; align-items:center; gap:10px; margin-bottom:24px;
  }
  .eyebrow::before{
    content:''; width:24px; height:1px; background:var(--accent);
  }
  h1{
    font-family:var(--display); font-weight:700;
    font-size:clamp(38px, 5.2vw, 64px);
    line-height:1.04; letter-spacing:-0.01em;
    margin-bottom:26px;
  }
  h1 em{
    font-style:normal; color:var(--accent);
    background:var(--accent-grad);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
  }
  /* Hero headline entrance: staggered rise + light sweep */
  .hero h1{position:relative;}
  .hero h1 > span, .hero h1 em{
    display:inline-block;
    opacity:0; transform:translateY(26px);
    animation:heroRise 0.85s cubic-bezier(0.22,1,0.36,1) forwards;
  }
  .hero h1 > span:nth-child(2){animation-delay:0.12s;}
  .hero h1 em{animation-delay:0.24s;}
  @keyframes heroRise{
    to{opacity:1; transform:translateY(0);}
  }
  .hero h1::after{
    content:''; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.14) 50%, transparent 80%);
    background-size:250% 100%;
    animation:heroShine 4.5s cubic-bezier(0.4,0,0.2,1) 0.8s infinite;
  }
  @keyframes heroShine{
    0%{background-position:180% 0;}
    55%,100%{background-position:-80% 0;}
  }
  .hero-sub{
    font-size:17px; color:var(--text-muted); max-width:520px; margin-bottom:36px;
  }
  .hero-actions{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:48px;}
  .btn-primary{
    font-family:var(--body); font-weight:600; font-size:15px;
    background:var(--accent-grad); color:#0a0e14; padding:15px 28px;
    border:1px solid transparent; transition:all 0.25s ease;
    display:inline-flex; align-items:center; gap:8px;
    box-shadow:0 4px 16px rgba(255,106,52,0.22);
  }
  .btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 30px rgba(255,106,52,0.4);
  }
  .btn-secondary{
    font-family:var(--body); font-weight:600; font-size:15px;
    background:rgba(255,255,255,0.04); color:var(--text); padding:15px 28px;
    border:1px solid rgba(255,255,255,0.12); transition:all 0.3s ease;
    backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  }
  .btn-secondary:hover{
    border-color:var(--accent); color:var(--accent);
    transform:translateY(-2px);
  }

  .hero-stats{display:flex; gap:40px; flex-wrap:wrap;}
  .hero-stat b{
    display:block; font-family:var(--display); font-size:26px; color:var(--text);
  }
  .hero-stat span{font-size:12px; color:var(--text-faint); letter-spacing:0.03em;}

  /* Terminal panel */
  .scan-panel{
    position:relative;
    background:var(--bg-surface);
    border:1px solid var(--border-bright);
    font-family:var(--mono);
    font-size:13px;
    box-shadow:0 20px 60px -20px rgba(0,0,0,0.5);
  }
  .scan-panel-head{
    display:flex; align-items:center; justify-content:space-between;
    padding:12px 16px; border-bottom:1px solid var(--border);
    background:var(--bg-surface-2);
  }
  .scan-dots{display:flex; gap:6px;}
  .scan-dots span{width:8px;height:8px;border-radius:50%;background:var(--border-bright);}
  .scan-panel-head .label{color:var(--text-faint); font-size:11px; letter-spacing:0.06em;}
  .scan-body{padding:20px; min-height:280px;}
  .scan-line{white-space:pre-wrap; word-break:break-word; opacity:0; animation:fadeIn 0.3s forwards;}
  .scan-line .prompt{color:var(--blue);}
  .scan-line .ok{color:#3ecf8e;}
  .scan-line .warn{color:var(--accent);}
  .scan-line .dim{color:var(--text-faint);}
  @keyframes fadeIn{to{opacity:1;}}
  .cursor{
    display:inline-block; width:7px; height:14px; background:var(--accent);
    vertical-align:middle; animation:blink 1s step-end infinite;
  }
  @keyframes blink{50%{opacity:0;}}
  .scan-panel::before{
    content:''; position:absolute; top:-1px; left:-1px; right:-1px; height:2px;
    background:var(--accent-grad);
  }

  /* TRUST BAR */
  .trust-bar{
    border-top:1px solid var(--border); border-bottom:1px solid var(--border);
    padding:22px 0; position:relative; z-index:1;
  }
  .trust-row{
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px;
    font-family:var(--mono); font-size:12px; color:var(--text-faint);
    letter-spacing:0.05em; text-transform:uppercase;
  }

  /* SECTION HEADERS */
  section{position:relative; z-index:1; padding:110px 0;}
  @media (max-width:640px){ section{padding:72px 0;} }
  .section-head{max-width:640px; margin-bottom:64px;}
  .section-tag{
    font-family:var(--mono); font-size:12px; color:var(--accent);
    letter-spacing:0.12em; text-transform:uppercase; margin-bottom:16px;
    display:block;
  }
  h2{
    font-family:var(--display); font-weight:700;
    font-size:clamp(28px, 3.4vw, 42px); letter-spacing:-0.01em; margin-bottom:14px;
  }
  .section-desc{color:var(--text-muted); font-size:16px; max-width:560px;}

  /* SERVICES */
  .services-grid{
    display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;
  }
  @media (max-width:900px){ .services-grid{grid-template-columns:repeat(2,1fr);} }
  @media (max-width:600px){ .services-grid{grid-template-columns:1fr;} }
  .service-card{
    background:rgba(255,255,255,0.035);
    backdrop-filter:blur(16px) saturate(140%);
    -webkit-backdrop-filter:blur(16px) saturate(140%);
    border:1px solid rgba(255,255,255,0.08);
    border-left:2px solid transparent;
    border-radius:10px;
    padding:32px 28px;
    transform-style:preserve-3d;
    transition:background 0.35s ease, box-shadow 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.3s;
    position:relative;
  }
  .service-card > *{ transform:translateZ(18px); }
  .service-card:hover{
    background:rgba(255,255,255,0.065);
    border-left:2px solid var(--accent);
    border-color:rgba(255,255,255,0.14);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.06), 0 20px 44px -18px rgba(0,0,0,0.7), var(--glow);
    transform:translateY(-5px);
  }
  .service-index{
    font-family:var(--mono); font-size:11px; color:var(--text-faint);
    margin-bottom:22px; display:block;
  }
  .service-card h3{
    font-family:var(--display); font-size:19px; font-weight:600; margin-bottom:10px;
  }
  .service-card p{color:var(--text-muted); font-size:14px; line-height:1.65;}
  .service-card .tag{
    display:inline-block; margin-top:16px; font-family:var(--mono); font-size:11px;
    color:var(--blue); letter-spacing:0.04em;
  }
  .service-card.offense .service-index{color:var(--accent);}
  .service-card.build .tag{color:#3ecf8e;}

  /* ---- Animated visuals inside BUILD service cards ---- */
  .svc-visual{
    height:96px; margin-bottom:20px; border-radius:8px;
    display:flex; align-items:center; justify-content:center;
    overflow:hidden; position:relative;
  }
  .service-card.build .svc-visual{
    background:rgba(62,207,142,0.05);
    border:1px solid rgba(62,207,142,0.18);
  }

  /* 05 — typing code window */
  .code-visual{display:block; padding:0;}
  .cv-head{
    display:flex; align-items:center; gap:5px;
    padding:7px 12px; background:rgba(62,207,142,0.08);
    border-bottom:1px solid rgba(62,207,142,0.15);
  }
  .cv-head span{width:7px; height:7px; border-radius:50%; background:var(--border-bright);}
  .cv-head span:nth-child(1){background:#ff5f57;}
  .cv-head span:nth-child(2){background:#febc2e;}
  .cv-head span:nth-child(3){background:#28c840;}
  .cv-head em{
    font-family:var(--mono); font-style:normal; font-size:10px;
    color:var(--text-faint); margin-left:auto; letter-spacing:0.04em;
  }
  .cv-body{padding:10px 12px 12px; font-family:var(--mono); font-size:11px; line-height:1.7;}
  .cv-line{opacity:0; animation:cvTyping 0.9s cubic-bezier(0.22,1,0.36,1) forwards;}
  .cv-line:nth-child(1){animation-delay:0.2s;}
  .cv-line:nth-child(2){animation-delay:0.8s;}
  .cv-line:nth-child(3){animation-delay:1.4s;}
  .cv-line:nth-child(4){animation-delay:2.0s;}
  @keyframes cvTyping{
    0%{opacity:0; transform:translateX(-8px);}
    100%{opacity:1; transform:translateX(0);}
  }
  .cv-line .c-key{color:#ff7b72; font-weight:500;}
  .cv-line .c-fn{color:#d2a8ff; font-weight:500;}
  .cv-line .c-str{color:#a5d6ff; font-weight:500;}
  .cv-cursor{
    display:inline-block; width:6px; height:12px; margin-left:2px;
    background:#3ecf8e; vertical-align:text-bottom;
    animation:cvBlink 1s step-end infinite;
  }
  @keyframes cvBlink{50%{opacity:0;}}

  /* 06 — browser mockup with loading bar */
  .wv-screen{
    width:150px; border:1px solid rgba(62,207,142,0.25);
    border-radius:6px; overflow:hidden; background:rgba(9,12,18,0.4);
  }
  .wv-bar{
    display:flex; align-items:center; gap:4px; padding:5px 8px;
    background:rgba(62,207,142,0.08); border-bottom:1px solid rgba(62,207,142,0.15);
  }
  .wv-bar span{width:6px; height:6px; border-radius:50%; background:var(--border-bright);}
  .wv-bar em{
    font-family:var(--mono); font-style:normal; font-size:9px;
    color:var(--text-faint); margin-left:auto; letter-spacing:0.03em;
  }
  .wv-body{padding:10px 8px 12px; display:flex; flex-direction:column; gap:10px;}
  .wv-load{
    height:4px; border-radius:4px; background:rgba(62,207,142,0.15); overflow:hidden;
  }
  .wv-load i{
    display:block; height:100%; width:40%; border-radius:4px;
    background:linear-gradient(90deg, #3ecf8e, #a5f3c9);
    animation:wvLoad 1.6s cubic-bezier(0.4,0,0.2,1) infinite;
  }
  @keyframes wvLoad{
    0%{transform:translateX(-110%);}
    100%{transform:translateX(280%);}
  }
  .wv-cards{display:flex; gap:6px;}
  .wv-cards i{
    flex:1; height:26px; border-radius:3px;
    background:rgba(62,207,142,0.12);
    border:1px solid rgba(62,207,142,0.12);
    animation:wvCards 2.4s ease-in-out infinite;
  }
  .wv-cards i:nth-child(2){animation-delay:0.3s;}
  .wv-cards i:nth-child(3){animation-delay:0.6s;}
  @keyframes wvCards{
    0%,100%{transform:translateY(0); opacity:0.7;}
    50%{transform:translateY(-3px); opacity:1;}
  }

  /* 07 — spinning mini 3D cube */
  .cube-visual{perspective:600px;}
  .mini-cube{
    width:52px; height:52px; position:relative;
    transform-style:preserve-3d;
    animation:miniSpin 8s linear infinite;
  }
  @keyframes miniSpin{
    from{transform:rotateX(-20deg) rotateY(0deg);}
    to{transform:rotateX(-20deg) rotateY(360deg);}
  }
  .mini-face{
    position:absolute; width:52px; height:52px;
    display:flex; align-items:center; justify-content:center;
    font-family:var(--mono); font-size:10px; letter-spacing:0.06em;
    color:#a5f3c9;
    border:1px solid rgba(62,207,142,0.5);
    background:linear-gradient(160deg, rgba(62,207,142,0.12), rgba(74,158,255,0.06));
    box-shadow:0 0 12px rgba(62,207,142,0.15);
  }
  .mf-front{transform:translateZ(26px);}
  .mf-back{transform:rotateY(180deg) translateZ(26px);}
  .mf-right{transform:rotateY(90deg) translateZ(26px);}
  .mf-left{transform:rotateY(-90deg) translateZ(26px);}
  .mf-top{transform:rotateX(90deg) translateZ(26px);}
  .mf-bottom{transform:rotateX(-90deg) translateZ(26px);}

  /* PROCESS */
  .process-list{border-top:1px solid var(--border);}
  .process-item{
    display:grid; grid-template-columns:80px 1fr 1.4fr; gap:32px;
    padding:32px 24px; margin-bottom:8px; border-radius:4px;
    border-bottom:1px solid rgba(255,255,255,0.06);
    background:rgba(255,255,255,0.02);
    backdrop-filter:blur(14px) saturate(140%);
    -webkit-backdrop-filter:blur(14px) saturate(140%);
    align-items:start; transition:background 0.3s, transform 0.3s;
  }
  .process-item:hover{background:rgba(255,255,255,0.055); transform:translateX(4px);}
  @media (max-width:760px){ .process-item{grid-template-columns:50px 1fr; } .process-item .process-desc{grid-column:2;} }
  .process-num{
    font-family:var(--display); font-size:15px; color:var(--accent); font-weight:600;
  }
  .process-item h4{font-family:var(--display); font-size:20px; font-weight:600;}
  .process-desc{color:var(--text-muted); font-size:15px;}

  /* BUILD / SOFTWARE SPOTLIGHT */
  .spotlight{
    background:var(--bg-surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border);
    position:relative;
  }
  .spotlight .hero-glow{opacity:0.9;}
  .spotlight-grid{display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; position:relative; z-index:1;}
  @media (max-width:900px){ .spotlight-grid{grid-template-columns:1fr;} }
  /* 3D perspective so the tilting heading actually turns toward the cursor */
  .spotlight-grid > div:first-child{perspective:900px;}

  /* Animated underline bar under the spotlight heading (grows in on scroll) */
  .spotlight h2{position:relative; padding-bottom:18px;}
  .spotlight h2::after{
    content:''; position:absolute; left:0; bottom:0; width:64px; height:3px;
    background:var(--accent-grad); border-radius:2px;
    transform:scaleX(0); transform-origin:left;
    transition:transform 0.9s cubic-bezier(0.22,1,0.36,1) 0.25s;
    box-shadow:0 0 12px rgba(255,106,52,0.5);
  }
  .spotlight h2.reveal-in::after{transform:scaleX(1);}

  .spotlight-list{list-style:none; margin-top:28px;}
  .spotlight-list li{
    display:flex; align-items:flex-start; gap:14px; padding:16px 12px; margin:0 -12px;
    border-top:1px solid var(--border); border-radius:6px;
    font-size:15px; color:var(--text-muted); position:relative;
    transition:background 0.3s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1), padding 0.3s ease;
  }
  .spotlight-list li:last-child{border-bottom:1px solid var(--border);}
  .spotlight-list li b{color:var(--text); font-weight:600; min-width:168px; flex-shrink:0;}
  .spotlight-list li b{font-family:var(--display); font-size:15px;}

  /* Numbered badges (01-04) from data-n */
  .spotlight-list li::before{
    content:attr(data-n);
    font-family:var(--mono); font-size:11px; letter-spacing:0.06em;
    color:var(--accent); flex-shrink:0;
    border:1px solid rgba(255,106,52,0.4); border-radius:4px;
    padding:3px 7px; margin-top:2px; line-height:1;
    transition:all 0.3s ease;
  }
  .spotlight-list li:hover{background:rgba(255,106,52,0.05); transform:translateX(8px);}
  .spotlight-list li:hover::before{
    background:var(--accent-grad); color:#0a0e14; border-color:transparent;
    box-shadow:0 0 14px rgba(255,106,52,0.45);
  }
  .spotlight-list li span{line-height:1.55;}

  /* Staggered entrance: each row slides in from the left with its own delay */
  .spotlight-list li.reveal{opacity:0; transform:translateX(-20px);}
  .spotlight-list li.reveal-in{opacity:1; transform:translateX(0); transition-delay:0s;}
  .spotlight-list li:nth-child(1){transition-delay:0.05s;}
  .spotlight-list li:nth-child(2){transition-delay:0.15s;}
  .spotlight-list li:nth-child(3){transition-delay:0.25s;}
  .spotlight-list li:nth-child(4){transition-delay:0.35s;}

  .cube-wrap{
    display:flex; align-items:center; justify-content:center; perspective:900px; height:340px;
    position:relative;
  }
  .cube-wrap::before{
    content:''; position:absolute; top:50%; left:50%; width:280px; height:280px;
    border-radius:50%; pointer-events:none;
    background:radial-gradient(circle, rgba(255,106,52,0.16), rgba(74,158,255,0.05) 55%, transparent 70%);
    animation:cubeGlow 4s ease-in-out infinite;
  }
  @keyframes cubeGlow{
    0%,100%{ transform:translate(-50%,-50%) scale(1); opacity:0.65;}
    50%{ transform:translate(-50%,-50%) scale(1.18); opacity:1;}
  }
  /* Floating wrapper (mouse-tilted by ui.js) — gentle bob keeps it alive */
  .cube-tilt{
    width:150px; height:150px; position:relative;
    transform-style:preserve-3d;
    animation:cubeFloat 5s ease-in-out infinite;
  }
  @keyframes cubeFloat{
    0%,100%{transform:translateY(-10px);}
    50%{transform:translateY(10px);}
  }
  /* Tumbling spin: wobbles on X while turning on Y — much livelier */
  .cube{
    width:150px; height:150px; position:relative; transform-style:preserve-3d;
    animation:spin 14s linear infinite;
  }
  @keyframes spin{
    0%{transform:rotateX(-18deg) rotateY(0deg);}
    50%{transform:rotateX(18deg) rotateY(180deg);}
    100%{transform:rotateX(-18deg) rotateY(360deg);}
  }
  .cube-face{
    position:absolute; width:150px; height:150px;
    border:1px solid var(--border-bright);
    background:linear-gradient(160deg, rgba(255,106,52,0.08), rgba(74,158,255,0.05));
    display:flex; align-items:center; justify-content:center;
    font-family:var(--mono); font-size:11px; color:var(--text-faint); letter-spacing:0.08em;
    animation:facePulse 3.6s ease-in-out infinite;
  }
  @keyframes facePulse{
    0%,100%{box-shadow:0 0 14px rgba(255,106,52,0.12); border-color:var(--border-bright);}
    50%{box-shadow:0 0 34px rgba(255,106,52,0.42); border-color:rgba(255,106,52,0.55);}
  }
  .cf-front{transform:translateZ(75px);}
  .cf-back{transform:rotateY(180deg) translateZ(75px);}
  .cf-right{transform:rotateY(90deg) translateZ(75px);}
  .cf-left{transform:rotateY(-90deg) translateZ(75px);}
  .cf-top{transform:rotateX(90deg) translateZ(75px);}
  .cf-bottom{transform:rotateX(-90deg) translateZ(75px);}

  /* WHY US */
  .why-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
  @media (max-width:900px){ .why-grid{grid-template-columns:repeat(2,1fr);} }
  @media (max-width:520px){ .why-grid{grid-template-columns:1fr;} }
  .why-card{
    background:rgba(255,255,255,0.035);
    backdrop-filter:blur(16px) saturate(140%);
    -webkit-backdrop-filter:blur(16px) saturate(140%);
    border:1px solid rgba(255,255,255,0.08);
    border-top:2px solid transparent;
    border-radius:10px;
    padding:28px; 
    transition:background 0.35s ease, box-shadow 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.3s;
  }
  .why-card:hover{
    background:rgba(255,255,255,0.065);
    border-top:2px solid var(--accent);
    border-color:rgba(255,255,255,0.14);
    box-shadow:0 20px 44px -18px rgba(0,0,0,0.7), var(--glow);
    transform:translateY(-5px);
  }
  .why-card b{
    display:block; font-family:var(--display); font-size:32px;
    background:var(--accent-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
    margin-bottom:8px;
  }
  .why-card span{font-size:13px; color:var(--text-muted); line-height:1.5; display:block;}

  /* CTA */
  .cta{
    text-align:center; border-top:1px solid var(--border);
  }
  .cta h2{max-width:680px; margin:0 auto 18px;}
  .cta .section-desc{margin:0 auto 40px;}
  .cta-form{
    max-width:520px; margin:0 auto; display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
  }
  .cta-form input{
    flex:1; min-width:220px; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.1);
    color:var(--text); padding:14px 16px; font-family:var(--body); font-size:14px;
    backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
    transition:all 0.3s ease;
  }
  .cta-form input:focus{
    border-color:var(--accent); outline:none; background:rgba(255,255,255,0.06);
    box-shadow:0 0 0 4px rgba(255,106,52,0.15), 0 0 26px rgba(255,106,52,0.18);
  }
  .cta-note{font-family:var(--mono); font-size:12px; color:var(--text-faint); margin-top:18px;}

  /* FOOTER */
  footer{border-top:1px solid var(--border); padding:48px 0 32px; position:relative; z-index:1;}
  .footer-grid{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px;}
  .footer-links{display:flex; gap:28px; font-size:13px; color:var(--text-muted);}
  .footer-links a:hover{color:var(--text);}
  .footer-copy{font-family:var(--mono); font-size:12px; color:var(--text-faint);}

/* ===== Shared subpage components ===== */
.page-hero{
  padding:64px 0 56px; border-bottom:1px solid var(--border); position:relative; z-index:1;
  perspective:1200px;
}
.breadcrumb{
  font-family:var(--mono); font-size:12px; color:var(--text-faint);
  display:flex; align-items:center; gap:8px; margin-bottom:22px;
}
.breadcrumb a{color:var(--text-muted); transition:color 0.2s;}
.breadcrumb a:hover{color:var(--accent);}
.page-hero h1{font-size:clamp(32px,4.4vw,52px); margin-bottom:14px;}
.page-hero p{color:var(--text-muted); font-size:16px; max-width:600px;}

/* Service detail rows */
.detail-list{border-top:1px solid var(--border);}
.detail-row{
  padding:56px 32px; margin-bottom:8px; border-radius:4px;
  border-bottom:1px solid rgba(255,255,255,0.06);
  background:rgba(255,255,255,0.02);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  display:grid; grid-template-columns:280px 1fr; gap:48px;
  transition:background 0.3s;
}
.detail-row:hover{background:rgba(255,255,255,0.05);}
@media (max-width:820px){ .detail-row{grid-template-columns:1fr; gap:20px;} }
.detail-row .d-head{}
.detail-row .service-index{margin-bottom:14px;}
.detail-row h3{font-family:var(--display); font-size:26px; font-weight:600; margin-bottom:10px;}
.detail-row .d-cat{font-family:var(--mono); font-size:12px; color:var(--blue); letter-spacing:0.06em; text-transform:uppercase;}
.detail-row p.d-desc{color:var(--text-muted); font-size:15.5px; max-width:640px; margin-bottom:24px;}
.d-cols{display:grid; grid-template-columns:1fr 1fr; gap:32px;}
@media (max-width:560px){ .d-cols{grid-template-columns:1fr;} }
.d-cols h5{
  font-family:var(--mono); font-size:11px; color:var(--text-faint);
  letter-spacing:0.08em; text-transform:uppercase; margin-bottom:12px;
}
.d-cols ul{list-style:none;}
.d-cols li{
  font-size:14px; color:var(--text-muted); padding:8px 0 8px 18px; position:relative;
}
.d-cols li::before{
  content:''; position:absolute; left:0; top:15px; width:6px; height:1px; background:var(--accent);
}

/* Team / values grid */
.team-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
@media (max-width:900px){ .team-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .team-grid{grid-template-columns:1fr;} }
.team-card{
  background:rgba(255,255,255,0.035);
  backdrop-filter:blur(16px) saturate(140%);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
  border:1px solid rgba(255,255,255,0.08);
  border-top:2px solid transparent;
  border-radius:10px;
  padding:28px;
  transition:background 0.35s ease, box-shadow 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.3s;
}
.team-card:hover{
  background:rgba(255,255,255,0.065);
  border-top:2px solid var(--accent);
  border-color:rgba(255,255,255,0.14);
  box-shadow:0 20px 44px -18px rgba(0,0,0,0.7), var(--glow);
  transform:translateY(-5px);
}
.team-avatar{
  width:44px; height:44px; border:1px solid var(--border-bright);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-size:15px; color:var(--accent); margin-bottom:18px;
  background:rgba(255,106,52,0.06);
}
.team-card h4{font-family:var(--display); font-size:16px; font-weight:600; margin-bottom:4px;}
.team-card span{font-size:13px; color:var(--text-faint); display:block; margin-bottom:12px;}
.team-card p{font-size:13.5px; color:var(--text-muted); line-height:1.6;}

.value-row{
  display:grid; grid-template-columns:60px 1fr; gap:24px; padding:28px 24px; margin-bottom:6px;
  background:rgba(255,255,255,0.02);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid rgba(255,255,255,0.06); border-radius:4px;
  transition:background 0.3s;
}
.value-row:hover{background:rgba(255,255,255,0.05);}
.value-row:first-child{border-top:1px solid rgba(255,255,255,0.06);}
.value-row .v-num{font-family:var(--display); color:var(--accent); font-size:14px; font-weight:600;}
.value-row h4{font-family:var(--display); font-size:19px; font-weight:600; margin-bottom:6px;}
.value-row p{font-size:14.5px; color:var(--text-muted); max-width:600px;}

/* Timeline (about) */
.timeline{border-top:1px solid var(--border);}
.t-row{
  display:grid; grid-template-columns:100px 1fr; gap:24px; padding:26px 24px; margin-bottom:6px;
  background:rgba(255,255,255,0.02);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid rgba(255,255,255,0.06); border-radius:4px;
  transition:background 0.3s;
}
.t-row:hover{background:rgba(255,255,255,0.05);}
.t-row .t-year{font-family:var(--mono); color:var(--accent); font-size:14px;}
.t-row h4{font-family:var(--display); font-size:17px; font-weight:600; margin-bottom:4px;}
.t-row p{font-size:14px; color:var(--text-muted);}

/* ===== Tools page ===== */
.toolbar{
  display:flex; gap:14px; flex-wrap:wrap; align-items:center;
  margin-bottom:40px;
}
.toolbar input[type=text], .toolbar select{
  background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.1);
  color:var(--text); padding:12px 14px; font-family:var(--body); font-size:14px;
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  transition:all 0.3s ease;
}
.toolbar input[type=text]{flex:1; min-width:200px;}
.toolbar select{min-width:170px;}
.toolbar input:focus, .toolbar select:focus{
  border-color:var(--accent); outline:none;
  box-shadow:0 0 0 4px rgba(255,106,52,0.15);
}
.toolbar-pills{display:flex; gap:8px;}
.pill{
  font-family:var(--mono); font-size:12px; letter-spacing:0.04em;
  padding:10px 18px; cursor:pointer;
  background:rgba(255,255,255,0.03); color:var(--text-muted);
  border:1px solid rgba(255,255,255,0.1);
  transition:all 0.25s ease;
}
.pill:hover{color:var(--text); border-color:var(--border-bright);}
.pill.active{
  background:var(--accent-grad); color:#0a0e14; border-color:transparent;
  box-shadow:0 4px 16px rgba(255,106,52,0.25);
}

.purchase-banner{
  border:1px solid rgba(255,255,255,0.12);
  padding:18px 22px; margin-bottom:36px; font-size:15px;
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}
.purchase-banner.ok{
  background:rgba(62,207,142,0.08); border-color:rgba(62,207,142,0.4); color:#a9f0cd;
}
.purchase-banner.err{
  background:rgba(255,106,52,0.08); border-color:rgba(255,106,52,0.4); color:#ffc2a8;
}
.purchase-banner a{color:var(--text); text-decoration:underline;}

.tools-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;
}
@media (max-width:980px){ .tools-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .tools-grid{grid-template-columns:1fr;} }
.tool-card{
  background:rgba(255,255,255,0.035);
  backdrop-filter:blur(16px) saturate(140%);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:10px;
  padding:26px 26px 24px;
  display:flex; flex-direction:column;
  transition:background 0.35s ease, box-shadow 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.3s;
}
.tool-card:hover{
  background:rgba(255,255,255,0.065);
  border-color:rgba(255,255,255,0.14);
  box-shadow:0 20px 44px -18px rgba(0,0,0,0.7), var(--glow);
  transform:translateY(-5px);
}
.tool-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:14px;}
.tool-cat{
  font-family:var(--mono); font-size:11px; color:var(--blue); letter-spacing:0.06em;
  text-transform:uppercase;
}
.tool-featured{
  font-family:var(--mono); font-size:10px; color:var(--accent); letter-spacing:0.08em;
  border:1px solid rgba(255,106,52,0.45); padding:3px 8px; border-radius:20px;
}
.tool-card h3{
  font-family:var(--display); font-size:19px; font-weight:600; margin-bottom:10px;
}
.tool-ver{
  font-family:var(--mono); font-size:12px; color:var(--text-faint); font-weight:400;
}
.tool-desc{color:var(--text-muted); font-size:14px; line-height:1.65; flex-grow:1;}
.tool-tags{display:flex; gap:6px; flex-wrap:wrap; margin:16px 0 14px;}
.tool-tags span{
  font-family:var(--mono); font-size:11px; color:var(--text-faint);
  border:1px solid rgba(255,255,255,0.08); padding:3px 9px; border-radius:20px;
}
.tool-meta{
  display:flex; justify-content:space-between; align-items:center;
  font-family:var(--mono); font-size:11px; color:var(--text-faint);
  border-top:1px solid rgba(255,255,255,0.06); padding-top:12px; margin-bottom:16px;
}
.tool-foot{display:flex; justify-content:space-between; align-items:center; gap:12px;}
.tool-price{
  font-family:var(--display); font-size:20px; font-weight:700;
  background:var(--accent-grad); -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
.tool-price.free{
  background:none; -webkit-text-fill-color:#3ecf8e; font-size:16px; letter-spacing:0.08em;
}
.tool-btn{padding:11px 18px; font-size:14px;}

/* Contact page */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:64px;}
@media (max-width:900px){ .contact-grid{grid-template-columns:1fr; gap:48px;} }
.contact-form-full{display:flex; flex-direction:column; gap:14px;}
.contact-form-full label{
  font-family:var(--mono); font-size:11px; color:var(--text-faint);
  letter-spacing:0.06em; text-transform:uppercase; margin-bottom:6px; display:block;
}
.contact-form-full input, .contact-form-full select, .contact-form-full textarea{
  width:100%; background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.1);
  color:var(--text); padding:13px 14px; font-family:var(--body); font-size:14px;
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  transition:all 0.3s ease;
}
.contact-form-full textarea{resize:vertical; min-height:120px;}
.contact-form-full input:focus, .contact-form-full select:focus, .contact-form-full textarea:focus{
  border-color:var(--accent); outline:none; background:rgba(255,255,255,0.06);
  box-shadow:0 0 0 4px rgba(255,106,52,0.15), 0 0 26px rgba(255,106,52,0.18);
}
.field{margin-bottom:4px;}
.info-card{
  border:1px solid var(--border); padding:24px; margin-bottom:1px; background:var(--bg-surface);
  border-radius:10px;
  transition:border-color 0.3s, box-shadow 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.info-card:hover{
  border-color:var(--border-bright);
  box-shadow:0 16px 36px -16px rgba(0,0,0,0.6), var(--glow);
  transform:translateY(-4px);
}
.info-card h5{
  font-family:var(--mono); font-size:11px; color:var(--accent); letter-spacing:0.06em;
  text-transform:uppercase; margin-bottom:10px;
}
.info-card p, .info-card a{font-size:14.5px; color:var(--text-muted); display:block;}
.info-card a:hover{color:var(--text);}