/* ==========================================================================
   ZYNTRAKA — IT Solutions & Software House
   Global stylesheet · Design system, components, animations
   Author: Zyntraka build · Dark / Futuristic / Glassmorphism
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* 1. DESIGN TOKENS                                                           */
/* -------------------------------------------------------------------------- */
:root {
  /* Base surfaces */
  --bg: #05060f;
  --bg-2: #080a17;
  --bg-3: #0a0c1b;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.045);
  --surface-3: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Brand */
  --primary: #7c5cfc;
  --primary-600: #6d4ef0;
  --secondary: #22d3ee;
  --accent: #e879f9;
  --brand-gradient: linear-gradient(135deg, #22d3ee 0%, #7c5cfc 48%, #e879f9 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(124, 92, 252, 0.18) 50%, rgba(232, 121, 249, 0.18));

  /* Text */
  --text: #eef1f8;
  --text-2: #c2c8db;
  --muted: #8b93af;
  --muted-2: #6b7390;

  /* Status */
  --danger: #f43f5e;
  --success: #34d399;
  --warning: #fbbf24;

  /* Typography */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Spacing scale (4px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(2, 4, 14, 0.5);
  --shadow-lg: 0 24px 60px -12px rgba(2, 4, 14, 0.7);
  --glow-primary: 0 0 40px -8px rgba(124, 92, 252, 0.7);
  --glow-cyan: 0 0 40px -8px rgba(34, 211, 238, 0.6);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-base: 280ms;
  --dur-slow: 520ms;

  /* Layout */
  --container: 1200px;
  --container-wide: 1340px;
  --nav-h: 76px;
}

/* -------------------------------------------------------------------------- */
/* 2. RESET & BASE                                                            */
/* -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}

/* Ambient page background: aurora + grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(124, 92, 252, 0.16), transparent 60%),
    radial-gradient(50% 50% at 85% 10%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(45% 45% at 60% 100%, rgba(232, 121, 249, 0.1), transparent 60%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

::selection {
  background: rgba(124, 92, 252, 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--secondary));
  border-radius: 99px;
  border: 3px solid var(--bg);
}

/* -------------------------------------------------------------------------- */
/* 3. LAYOUT PRIMITIVES                                                       */
/* -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-wide { max-width: var(--container-wide); }

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 128px);
}
.section-sm { padding-block: clamp(48px, 6vw, 80px); }

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

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 24px; }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.max-680 { max-width: 680px; }
.max-760 { max-width: 760px; }

/* -------------------------------------------------------------------------- */
/* 4. TYPOGRAPHY HELPERS                                                      */
/* -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
  animation: pulse 2s infinite;
}

.h-hero {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h-1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.h-2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.h-3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-2);
  line-height: 1.65;
}
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }

.gradient-text {
  background: var(--brand-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-pan 6s linear infinite;
}
.gradient-text-static {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -------------------------------------------------------------------------- */
/* 5. BUTTONS                                                                 */
/* -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--r-full);
  transition: transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out), background var(--dur-base);
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  color: #0a0118;
  background: var(--brand-gradient);
  background-size: 180% auto;
  box-shadow: var(--glow-primary);
}
.btn-primary:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 0 60px -6px rgba(124, 92, 252, 0.9);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--surface-3);
  transform: translateY(-3px);
  border-color: rgba(124, 92, 252, 0.5);
}

.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--secondary);
  transition: gap var(--dur-base) var(--ease-out);
}
.link-arrow:hover { gap: 13px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-base); }

/* -------------------------------------------------------------------------- */
/* 6. CARDS & GLASS                                                           */
/* -------------------------------------------------------------------------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base), box-shadow var(--dur-base);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--brand-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-base);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before { opacity: 1; }

/* spotlight that follows cursor (set via JS custom props) */
.card-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 0%),
    rgba(124, 92, 252, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--dur-base);
  pointer-events: none;
}
.card-spotlight:hover::after { opacity: 1; }

.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--brand-gradient-soft);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  color: var(--secondary);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* tilt wrapper */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* -------------------------------------------------------------------------- */
/* 7. NAVBAR                                                                  */
/* -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-base), border-color var(--dur-base), backdrop-filter var(--dur-base);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 15, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}
.brand .logo-mark { width: 38px; height: 38px; }
.brand span { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  padding: 9px 15px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-full);
  transition: color var(--dur-base), background var(--dur-base);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur-base), opacity var(--dur-base);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(5, 6, 15, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base), visibility var(--dur-base);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  padding: 10px;
  opacity: 0;
  transform: translateY(20px);
}
.mobile-menu.open a { animation: fade-up-in 0.5s var(--ease-out) forwards; }
.mobile-menu.open a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { animation-delay: 0.3s; }
.mobile-menu.open a:nth-child(7) { animation-delay: 0.35s; }
.mobile-menu.open a:nth-child(8) { animation-delay: 0.4s; }

/* -------------------------------------------------------------------------- */
/* 8. HERO                                                                    */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.7;
}
.hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  z-index: 0;
  animation: float-slow 14s ease-in-out infinite;
}
.hero-glow.g1 { background: rgba(124, 92, 252, 0.5); top: -120px; right: -80px; }
.hero-glow.g2 { background: rgba(34, 211, 238, 0.35); bottom: -160px; left: -100px; animation-delay: -5s; }
.hero .container { position: relative; z-index: 2; }

.hero-title { margin-bottom: 26px; }
.hero-sub { max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Floating code window in hero */
.code-window {
  border-radius: var(--r-lg);
  background: rgba(8, 10, 23, 0.85);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), var(--glow-primary);
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.code-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
.code-bar .dot.r { background: #ff5f57; }
.code-bar .dot.y { background: #febc2e; }
.code-bar .dot.g { background: #28c840; }
.code-bar .fname { margin-left: 10px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.code-body {
  padding: 22px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.85;
  white-space: pre;
  overflow-x: auto;
}
.code-body .kw { color: #c084fc; }
.code-body .fn { color: #22d3ee; }
.code-body .str { color: #6ee7b7; }
.code-body .cm { color: #5b6480; }
.code-body .nm { color: #fbbf24; }

/* -------------------------------------------------------------------------- */
/* 9. SECTION HEADINGS                                                        */
/* -------------------------------------------------------------------------- */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h-1 { margin: 18px 0 16px; }

/* -------------------------------------------------------------------------- */
/* 10. MARQUEE / LOGO STRIP                                                   */
/* -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--muted-2);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color var(--dur-base);
}
.marquee-item:hover { color: var(--text); }

/* tech chip marquee */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}
.chip .ico { color: var(--secondary); }

/* -------------------------------------------------------------------------- */
/* 11. STAT / NUMBER BLOCKS                                                   */
/* -------------------------------------------------------------------------- */
.stat-card {
  text-align: center;
  padding: 36px 24px;
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}
.stat-card .label { color: var(--muted); margin-top: 12px; font-size: 0.95rem; }

/* -------------------------------------------------------------------------- */
/* 12. PROCESS / TIMELINE                                                     */
/* -------------------------------------------------------------------------- */
.steps { position: relative; }
.step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.22);
}
.step:hover .step-num {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
}
.step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 620px; }
.step .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.step .tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 5px 11px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  color: var(--text-2);
}

/* Vertical timeline (about) */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--primary), var(--secondary), transparent);
}
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--primary);
  box-shadow: 0 0 14px rgba(124, 92, 252, 0.7);
}
.tl-item .year {
  font-family: var(--font-mono);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
}
.tl-item h4 { font-size: 1.2rem; margin: 6px 0 8px; }
.tl-item p { color: var(--muted); }

/* -------------------------------------------------------------------------- */
/* 13. FEATURE / SPLIT ROWS                                                   */
/* -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
/* Prevent grid/flex items from blowing out the track (e.g. <pre> code window) */
.split > *,
.grid > * { min-width: 0; }
.code-window { max-width: 100%; }
.feature-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.feature-item { display: flex; gap: 16px; }
.feature-item .fi-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--brand-gradient-soft);
  border: 1px solid var(--border);
  color: var(--secondary);
}
.feature-item .fi-ico svg { width: 22px; height: 22px; }
.feature-item h4 { font-size: 1.08rem; margin-bottom: 4px; }
.feature-item p { color: var(--muted); font-size: 0.94rem; }

/* checklist */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--success); margin-top: 1px; }

/* -------------------------------------------------------------------------- */
/* 14. TESTIMONIALS                                                           */
/* -------------------------------------------------------------------------- */
.quote-card {
  padding: 34px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  position: relative;
}
.quote-card .stars { color: var(--warning); display: flex; gap: 3px; margin-bottom: 16px; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-size: 1.05rem; color: var(--text); line-height: 1.65; }
.quote-card .author { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #0a0118;
  background: var(--brand-gradient);
}
.quote-card .author .nm { font-weight: 600; }
.quote-card .author .rl { font-size: 0.84rem; color: var(--muted); }

/* -------------------------------------------------------------------------- */
/* 15. WORK / PORTFOLIO                                                       */
/* -------------------------------------------------------------------------- */
.work-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  isolation: isolate;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--wk, linear-gradient(135deg, #1a1140, #07203a));
  transition: transform var(--dur-slow) var(--ease-out);
}
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 6, 15, 0.85));
}
.work-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.work-card:hover::before { transform: scale(1.08); }
.work-card .wk-cat {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}
.work-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.work-card p { color: var(--text-2); font-size: 0.94rem; }
.work-card .wk-tags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.work-card .wk-tags span {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
}
.work-card .wk-deco {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  z-index: -1;
  opacity: 0.85;
}

/* filter pills */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter {
  padding: 9px 18px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--dur-base);
}
.filter:hover { color: var(--text); border-color: var(--border-strong); }
.filter.active {
  color: #0a0118;
  background: var(--brand-gradient);
  border-color: transparent;
}

/* -------------------------------------------------------------------------- */
/* 16. PRICING / ENGAGEMENT                                                   */
/* -------------------------------------------------------------------------- */
.price-card {
  padding: 36px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured { border-color: rgba(124, 92, 252, 0.6); box-shadow: var(--glow-primary); }
.price-card .badge-top {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-full);
  background: var(--brand-gradient);
  color: #0a0118;
}
.price-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.price-card .price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; margin: 14px 0 4px; }
.price-card .price small { font-size: 0.9rem; color: var(--muted); font-weight: 400; }
.price-card ul { display: grid; gap: 12px; margin: 24px 0 28px; }
.price-card li { display: flex; gap: 10px; color: var(--text-2); font-size: 0.94rem; }
.price-card li svg { width: 20px; height: 20px; color: var(--secondary); flex-shrink: 0; }
.price-card .btn { margin-top: auto; }

/* -------------------------------------------------------------------------- */
/* 17. FORMS                                                                  */
/* -------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--text-2); }
.field label .req { color: var(--accent); }
.input,
.textarea,
.select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), background var(--dur-base);
}
.input::placeholder,
.textarea::placeholder { color: var(--muted-2); }
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 92, 252, 0.18);
  background: rgba(255, 255, 255, 0.05);
}
.textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--success);
  font-weight: 500;
  margin-bottom: 20px;
}
.form-success.show { display: flex; animation: fade-up-in 0.4s var(--ease-out); }

/* contact info cards */
.contact-info { display: grid; gap: 16px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--r-md); }
.info-row .ir-ico {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--brand-gradient-soft);
  border: 1px solid var(--border);
  color: var(--secondary);
}
.info-row .ir-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.info-row .ir-val { font-weight: 600; margin-top: 2px; }

/* -------------------------------------------------------------------------- */
/* 18. ACCORDION (FAQ)                                                        */
/* -------------------------------------------------------------------------- */
.accordion { display: grid; gap: 14px; }
.acc-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--dur-base);
}
.acc-item.open { border-color: rgba(124, 92, 252, 0.45); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
}
.acc-head .acc-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: transform var(--dur-base), background var(--dur-base);
}
.acc-item.open .acc-icon { transform: rotate(45deg); background: var(--brand-gradient); color: #0a0118; border-color: transparent; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
.acc-body-inner { padding: 0 24px 24px; color: var(--muted); }

/* -------------------------------------------------------------------------- */
/* 19. CTA BANNER                                                             */
/* -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(124, 92, 252, 0.3), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(34, 211, 238, 0.25), transparent 60%),
    rgba(8, 10, 23, 0.7);
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.cta-banner > * { position: relative; }

/* -------------------------------------------------------------------------- */
/* 20. FOOTER                                                                 */
/* -------------------------------------------------------------------------- */
.footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding-top: 72px;
  margin-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(124, 92, 252, 0.05));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
}
.footer .brand { margin-bottom: 18px; }
.footer-about { color: var(--muted); max-width: 320px; font-size: 0.94rem; }
.footer h5 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--text-2);
  padding: 6px 0;
  font-size: 0.94rem;
  transition: color var(--dur-base), transform var(--dur-base);
}
.footer-col a:hover { color: var(--secondary); transform: translateX(4px); }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  transition: all var(--dur-base);
}
.socials a:hover { color: var(--text); border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--glow-primary); }
.socials a svg { width: 19px; height: 19px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--text); }

/* -------------------------------------------------------------------------- */
/* 21. PAGE HEADER (interior pages)                                           */
/* -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 64px;
  overflow: hidden;
}
.page-hero .hero-glow.g1 { top: -200px; right: 5%; opacity: 0.4; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 22px;
  font-family: var(--font-mono);
}
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { opacity: 0.5; }

/* -------------------------------------------------------------------------- */
/* 22. PRELOADER                                                              */
/* -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pre-bar {
  width: 180px;
  height: 3px;
  border-radius: 9px;
  background: var(--surface-3);
  margin-top: 22px;
  overflow: hidden;
}
.pre-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brand-gradient);
  animation: preload 1.4s var(--ease-out) forwards;
}

/* -------------------------------------------------------------------------- */
/* 23. CUSTOM CURSOR                                                          */
/* -------------------------------------------------------------------------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 7px; height: 7px; background: var(--secondary); }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(124, 92, 252, 0.6);
  transition: width 0.25s, height 0.25s, background 0.25s, border-color 0.25s;
}
.cursor-ring.hover {
  width: 56px; height: 56px;
  background: rgba(124, 92, 252, 0.12);
  border-color: var(--secondary);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 200;
  background: var(--brand-gradient);
  box-shadow: 0 0 10px rgba(124, 92, 252, 0.8);
}

/* back to top */
#to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--dur-base);
  z-index: 90;
}
#to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#to-top:hover { background: var(--brand-gradient); color: #0a0118; box-shadow: var(--glow-primary); }

/* -------------------------------------------------------------------------- */
/* 24. SCROLL REVEAL                                                          */
/* -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="left"].in,
[data-reveal="right"].in,
[data-reveal="scale"].in { transform: none; }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.4s; }
[data-delay="6"] { transition-delay: 0.48s; }

/* -------------------------------------------------------------------------- */
/* 25. KEYFRAMES                                                              */
/* -------------------------------------------------------------------------- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
@keyframes gradient-pan {
  to { background-position: 200% center; }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-40px) translateX(20px); }
}
@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes preload {
  to { width: 100%; }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes blink {
  50% { opacity: 0; }
}
.cursor-blink { animation: blink 1.1s step-end infinite; }
.spin-slow { animation: spin-slow 22s linear infinite; }

/* orbit ring decoration */
.orbit {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: spin-slow 30s linear infinite;
}

/* -------------------------------------------------------------------------- */
/* 26. RESPONSIVE                                                             */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split { gap: 40px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-block: 130px 60px; }
  .hero-stats { gap: 26px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step-num { font-size: 2.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split.reverse > * { grid-row: auto; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stat .num { font-size: 2rem; }
  .marquee-item { font-size: 1.1rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* -------------------------------------------------------------------------- */
/* 27. REDUCED MOTION                                                         */
/* -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-glow, #particles, .orbit { animation: none !important; }
}
