:root {
    --bg: #03060f;
    --bg2: #060d1e;
    --cyan: #00e5ff;
    --cyan2: #00bcd4;
    --orange: #ff6b35;
    --orange2: #ff9a5e;
    --white: #f0f4ff;
    --muted: #6b7a99;
    --card: rgba(0,229,255,0.04);
    --border: rgba(0,229,255,0.12);
    --glow: 0 0 40px rgba(0,229,255,0.25);
  }
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Exo 2', sans-serif;
    overflow-x: hidden;
    cursor: none;
  }

  /* CURSOR */
  .cursor-dot { position: fixed; width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); }
  .cursor-ring { position: fixed; width: 36px; height: 36px; border: 1.5px solid var(--cyan); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: all 0.18s ease; opacity: 0.6; }

  /* CANVAS */
  #starfield { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 5%;
    background: rgba(3,6,15,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  .logo { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; font-weight: 900; letter-spacing: 0.12em; text-decoration: none; color: var(--white); display: flex; align-items: center; gap: 0.5rem; }
  .logo span.x { color: var(--cyan); }
  .logo-icon { width: 32px; height: 32px; background: linear-gradient(135deg, var(--cyan), var(--orange)); clip-path: polygon(50% 0%,100% 38%,82% 100%,18% 100%,0% 38%); animation: logoSpin 8s linear infinite; }
  @keyframes logoSpin { 100% { filter: hue-rotate(360deg); } }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a { text-decoration: none; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.3s; position: relative; }
  .nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--cyan); transition: width 0.3s ease; }
  .nav-links a:hover, .nav-links a.active { color: var(--cyan); }
  .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
  .nav-cta { background: transparent !important; border: 1px solid var(--cyan) !important; color: var(--cyan) !important; padding: 0.5rem 1.4rem !important; border-radius: 2px; transition: all 0.3s ease !important; }
  .nav-cta:hover { background: var(--cyan) !important; color: var(--bg) !important; box-shadow: var(--glow) !important; }
  .nav-cta::after { display: none !important; }

  /* HERO */
  .services-hero {
    position: relative; z-index: 1;
    padding: 8rem 5% 5rem;
    overflow: hidden;
    text-align: center;
  }
  .hero-bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 100%);
    animation: gridPulse 4s ease-in-out infinite;
  }
  @keyframes gridPulse { 0%,100%{opacity:.5}50%{opacity:1} }
  .hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
  .orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,229,255,0.1), transparent 70%); top: -150px; right: 0; animation: orbFloat 9s ease-in-out infinite; }
  .orb-2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(255,107,53,0.08), transparent 70%); bottom: -80px; left: 5%; animation: orbFloat 7s ease-in-out infinite; animation-delay: -3s; }
  @keyframes orbFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-25px)} }

  .hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
  .section-badge {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan);
    margin-bottom: 1.2rem;
    opacity: 0; transform: translateY(20px); animation: slideUp 0.7s 0.2s forwards;
  }
  .section-badge::before, .section-badge::after { content: ''; display: block; width: 24px; height: 1px; background: var(--cyan); }
  @keyframes slideUp { to { opacity:1; transform:translateY(0); } }
  h1.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
    margin-bottom: 1rem;
    opacity: 0; transform: translateY(20px); animation: slideUp 0.7s 0.4s forwards;
  }
  .hero-title .c { color: var(--cyan); }
  .hero-sub { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 520px; margin: 0 auto;
    opacity: 0; transform: translateY(20px); animation: slideUp 0.7s 0.6s forwards; }

  /* SERVICE NAV PILLS */
  .service-nav {
    position: relative; z-index: 10;
    display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem;
    padding: 0 5% 3rem;
  }
  .snav-pill {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 20px; cursor: pointer;
    font-size: 0.78rem; letter-spacing: 0.06em;
    color: var(--muted); transition: all 0.3s;
    text-decoration: none;
  }
  .snav-pill:hover { border-color: rgba(0,229,255,0.4); color: var(--white); }
  .snav-pill.active { border-color: var(--cyan); color: var(--cyan); background: rgba(0,229,255,0.08); }
  .snav-pill span { font-size: 1rem; }

  /* SERVICES SECTIONS */
  .services-body { position: relative; z-index: 1; }

  .service-section {
    padding: 5rem 5%;
    position: relative;
    border-top: 1px solid var(--border);
    transition: background 0.4s;
  }
  .service-section:nth-child(even) { background: rgba(0,229,255,0.015); }

  .service-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: start;
  }
  .service-inner.flip { direction: rtl; }
  .service-inner.flip > * { direction: ltr; }

  /* SERVICE HEADER */
  .service-number-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem; font-weight: 700;
    color: rgba(0,229,255,0.35); letter-spacing: 0.2em;
    margin-bottom: 1rem; display: block;
  }
  .service-title-row {
    display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem;
  }
  .service-big-icon {
    width: 58px; height: 58px; min-width: 58px;
    background: rgba(0,229,255,0.07);
    border: 1px solid var(--border); border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
  }
  .service-section:hover .service-big-icon {
    border-color: var(--cyan); background: rgba(0,229,255,0.12);
    box-shadow: 0 0 20px rgba(0,229,255,0.2);
  }
  h2.service-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 900; letter-spacing: 0.02em; line-height: 1.2;
  }
  .service-tagline { font-size: 1rem; color: var(--orange); font-style: italic; margin-bottom: 1rem; }
  .service-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.8rem; }

  /* DELIVERABLES */
  .deliverables-label {
    font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--cyan); margin-bottom: 0.8rem; display: block;
  }
  .deliverables { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.8rem; }
  .deliverable-item {
    display: flex; align-items: flex-start; gap: 0.75rem;
    font-size: 0.88rem; color: var(--white); line-height: 1.5;
  }
  .d-check {
    width: 20px; height: 20px; min-width: 20px;
    border: 1px solid rgba(0,229,255,0.35);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; color: var(--cyan);
    margin-top: 0.1rem; background: rgba(0,229,255,0.06);
  }

  /* TAGS */
  .service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .tag {
    font-size: 0.68rem; padding: 0.25rem 0.7rem;
    border: 1px solid rgba(0,229,255,0.15); color: rgba(0,229,255,0.6);
    border-radius: 2px; letter-spacing: 0.08em; text-transform: uppercase;
  }

  /* VISUAL PANEL */
  .service-visual { position: sticky; top: 100px; }

  .visual-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    position: relative;
  }
  .visual-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  }
  .vc-header {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 0.5rem;
    background: rgba(0,229,255,0.03);
  }
  .vc-dot { width: 8px; height: 8px; border-radius: 50%; }
  .vc-dot-r { background: #ff5f57; } .vc-dot-y { background: #febc2e; } .vc-dot-g { background: #28c840; }
  .vc-title { font-family: 'Orbitron', sans-serif; font-size: 0.65rem; color: var(--muted); letter-spacing: 0.1em; margin-left: 0.4rem; }
  .vc-body { padding: 1.4rem; }

  /* METRIC ROWS */
  .metric-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.7rem 0; border-bottom: 1px solid rgba(0,229,255,0.06);
  }
  .metric-row:last-child { border-bottom: none; }
  .mr-label { font-size: 0.78rem; color: var(--muted); }
  .mr-value { font-family: 'Orbitron', sans-serif; font-size: 0.85rem; font-weight: 700; }
  .mr-up { color: #00e676; } .mr-cyan { color: var(--cyan); } .mr-orange { color: var(--orange); }
  .mr-bar { height: 4px; border-radius: 2px; margin-top: 0.2rem; }
  .mr-bar-inner { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--cyan2)); }

  /* FLOW STEPS */
  .flow { display: flex; flex-direction: column; gap: 0; }
  .flow-step {
    display: flex; gap: 1rem; padding: 0.8rem 0;
    border-left: 1px solid var(--border); padding-left: 1rem; position: relative;
  }
  .flow-step::before {
    content: ''; position: absolute; left: -4px; top: 1rem;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  }
  .flow-num { font-family: 'Orbitron', sans-serif; font-size: 0.6rem; color: var(--cyan); min-width: 20px; padding-top: 2px; }
  .flow-text { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
  .flow-text strong { color: var(--white); display: block; margin-bottom: 0.1rem; font-size: 0.82rem; }

  /* PLATFORM GRID */
  .platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .platform-chip {
    background: rgba(0,229,255,0.04); border: 1px solid var(--border);
    border-radius: 4px; padding: 0.6rem;
    text-align: center; font-size: 0.72rem; color: var(--muted);
    transition: all 0.3s;
  }
  .platform-chip:hover { border-color: var(--cyan); color: var(--cyan); }
  .platform-chip .pc-icon { font-size: 1.2rem; display: block; margin-bottom: 0.3rem; }

  /* PULSE BADGE */
  .pulse-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.2);
    border-radius: 20px; padding: 0.3rem 0.8rem;
    font-size: 0.72rem; color: var(--cyan); margin-bottom: 0.8rem;
  }
  .pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: dotBlink 1s ease-in-out infinite; }
  @keyframes dotBlink { 0%,100%{opacity:1}50%{opacity:0} }

  /* PACKAGES */
  .packages-section {
    position: relative; z-index: 1;
    padding: 6rem 5%;
    background: linear-gradient(180deg, transparent, rgba(0,229,255,0.02) 50%, transparent);
    border-top: 1px solid var(--border);
  }
  .packages-header { text-align: center; margin-bottom: 3rem; }
  .sec-label {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.8rem;
  }
  .sec-label::before, .sec-label::after { content: ''; display: block; width: 24px; height: 1px; background: var(--cyan); }
  h2.sec-title { font-family: 'Orbitron', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; line-height: 1.15; }
  .packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
  .pkg-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 4px; padding: 2rem;
    position: relative; transition: all 0.35s ease;
    display: flex; flex-direction: column;
  }
  .pkg-card:hover { border-color: rgba(0,229,255,0.35); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
  .pkg-card.featured {
    border-color: var(--cyan);
    background: rgba(0,229,255,0.07);
    box-shadow: var(--glow);
  }
  .pkg-badge {
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    background: var(--cyan); color: #000;
    font-family: 'Orbitron', sans-serif; font-size: 0.58rem; font-weight: 700;
    letter-spacing: 0.1em; padding: 0.25rem 0.8rem; border-radius: 0 0 4px 4px;
  }
  .pkg-name { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 0.4rem; }
  .pkg-desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.2rem; line-height: 1.5; }
  .pkg-price { font-family: 'Orbitron', sans-serif; font-size: 1.8rem; font-weight: 900; color: var(--cyan); margin-bottom: 0.2rem; }
  .pkg-price span { font-size: 0.9rem; font-family: 'Exo 2', sans-serif; color: var(--muted); font-weight: 400; }
  .pkg-note { font-size: 0.72rem; color: var(--muted); margin-bottom: 1.5rem; }
  .pkg-features { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.8rem; flex: 1; }
  .pkg-feat { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.84rem; color: var(--muted); }
  .pkg-feat .check { color: var(--cyan); min-width: 14px; margin-top: 1px; }
  .pkg-feat .cross { color: rgba(107,122,153,0.4); min-width: 14px; }
  .pkg-feat.active { color: var(--white); }
  .btn-pkg {
    width: 100%; padding: 0.85rem;
    font-family: 'Orbitron', sans-serif; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    border-radius: 2px; cursor: pointer; transition: all 0.3s; text-decoration: none;
    display: block; text-align: center;
  }
  .btn-pkg-outline { background: transparent; border: 1px solid var(--border); color: var(--muted); }
  .btn-pkg-outline:hover { border-color: var(--cyan); color: var(--cyan); }
  .btn-pkg-filled { background: linear-gradient(135deg, var(--cyan), var(--cyan2)); border: none; color: #000; }
  .btn-pkg-filled:hover { box-shadow: 0 0 25px rgba(0,229,255,0.5); transform: translateY(-2px); }

  /* CTA BAND */
  .cta-band {
    position: relative; z-index: 1;
    padding: 6rem 5%;
    text-align: center; overflow: hidden;
    border-top: 1px solid var(--border);
  }
  .cta-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0,229,255,0.05), transparent 70%); }
  .cta-ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(0,229,255,0.08); border-radius: 50%; transform: translate(-50%,-50%); }
  .cr1 { width: 300px; height: 300px; animation: spin 10s linear infinite; }
  .cr2 { width: 500px; height: 500px; animation: spin 15s linear infinite reverse; border-color: rgba(255,107,53,0.06); }
  .cr3 { width: 700px; height: 700px; animation: spin 20s linear infinite; }
  @keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
  .cta-content { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
  .cta-content h2 { font-family: 'Orbitron', sans-serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; line-height: 1.15; margin-bottom: 1rem; }
  .cta-content p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2rem; }
  .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
  .btn-primary {
    padding: 0.9rem 2.2rem; background: linear-gradient(135deg, var(--cyan), var(--cyan2));
    color: #000; font-weight: 700; font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
    border: none; border-radius: 2px; cursor: pointer; position: relative; overflow: hidden;
    transition: all 0.3s ease; text-decoration: none; display: inline-block;
  }
  .btn-primary::before { content: ''; position: absolute; top: -50%; left: -60%; width: 30%; height: 200%; background: rgba(255,255,255,0.3); transform: skewX(-20deg); transition: left 0.5s ease; }
  .btn-primary:hover::before { left: 130%; }
  .btn-primary:hover { box-shadow: 0 0 30px rgba(0,229,255,0.5); transform: translateY(-2px); }
  .btn-secondary { padding: 0.9rem 2.2rem; background: transparent; color: var(--white); font-weight: 600; font-family: 'Exo 2', sans-serif; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.15); border-radius: 2px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-block; }
  .btn-secondary:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

  /* FOOTER */
  footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 3rem 5%; position: relative; z-index: 1; }
  .footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
  .footer-copy { font-size: 0.8rem; color: var(--muted); }
  .footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
  .footer-links a { font-size: 0.8rem; color: var(--muted); text-decoration: none; transition: color 0.3s; }
  .footer-links a:hover { color: var(--cyan); }
  .footer-brand { font-family: 'Orbitron', sans-serif; font-size: 0.7rem; color: rgba(0,229,255,0.3); letter-spacing: 0.15em; }

  /* REVEAL */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .rd1 { transition-delay: 0.1s; } .rd2 { transition-delay: 0.2s; } .rd3 { transition-delay: 0.3s; } .rd4 { transition-delay: 0.4s; }

  /* SCROLLBAR */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 2px; }

  @media (max-width: 960px) {
    .service-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .service-inner.flip { direction: ltr; }
    .service-visual { position: static; }
  }
  @media (max-width: 600px) {
    
    .platform-grid { grid-template-columns: repeat(2, 1fr); }
  }

  /* HAMBURGER */
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 101; padding: 4px; background: none; border: none; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s ease; transform-origin: center; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  @media (max-width: 600px) {
    .hamburger { display: flex !important; }
    .nav-links { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; background: rgba(3,6,15,0.97); backdrop-filter: blur(20px); padding: 90px 2rem 2rem; gap: 0; transform: translateY(-100%); transition: transform 0.35s ease; z-index: 99; border-bottom: 1px solid var(--border); }
    .nav-links.open { transform: translateY(0); }
    .nav-links li { border-bottom: 1px solid var(--border); }
    .nav-links a { display: block; padding: 1rem 0; font-size: 1rem; }
    .nav-links li:last-child { border-bottom: none; margin-top: 1rem; }
    .nav-cta { text-align: center; }
  }
.footer-email { margin: 0.5rem 0; }
.footer-email a { color: var(--cyan); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.05em; }
.footer-email a:hover { text-decoration: underline; }

.footer-links { justify-content: center; flex: 1; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; }
