/* ==========================================================================
   S. SANDEEP — AI-POWERED DIGITAL MARKETER | LUXURY CORPORATE THEME
   Midnight Navy · Royal Blue · Emerald · Platinum Silver · Soft White
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --navy-950: #050a18;
  --navy-900: #070d1f;
  --navy-800: #0a1128;
  --navy-700: #101b3c;
  --navy-600: #16224a;

  --royal-600: #1e3fbf;
  --royal-500: #2e5bff;
  --royal-400: #4d7cff;
  --royal-300: #7da0ff;

  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;

  --platinum-100: #f0f2f7;
  --platinum-300: #d7dce6;
  --platinum-500: #aab2c5;

  --white: #f7f9fc;
  --text: #c9d1e3;
  --text-strong: #eef2fa;
  --muted: #8a93a8;

  --grad-royal: linear-gradient(135deg, #2e5bff 0%, #10b981 100%);
  --grad-royal-soft: linear-gradient(135deg, rgba(46, 91, 255, 0.18), rgba(16, 185, 129, 0.12));
  --grad-text: linear-gradient(90deg, #4d7cff 0%, #34d399 100%);

  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-strong: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 24px 60px -20px rgba(2, 6, 20, 0.65);

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --shadow-btn: 0 12px 32px -8px rgba(46, 91, 255, 0.55);
  --shadow-emerald: 0 12px 32px -8px rgba(16, 185, 129, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(46, 91, 255, 0.4); color: var(--white); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--royal-600), var(--emerald-600)); border-radius: 8px; }

/* ---------- Typography Helpers ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text-strong); line-height: 1.2; letter-spacing: -0.02em; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--royal-300);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad-text);
  border-radius: 2px;
}
.eyebrow-light { color: var(--emerald-400); }

.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 16px; }
.section-sub { color: var(--muted); max-width: 620px; font-size: 1.02rem; }

/* ---------- Layout ---------- */
.container { width: min(1180px, 92%); margin-inline: auto; }

.section { padding: clamp(72px, 9vw, 110px) 0; position: relative; }
.section-alt {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(46, 91, 255, 0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(16, 185, 129, 0.09), transparent 55%),
    var(--navy-800);
}

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-cta { text-align: center; margin-top: 52px; }

/* ---------- Skip Link / Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--royal-500);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-900);
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-mark {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pulse 1.2s ease-in-out infinite;
}
.preloader-bar {
  width: 140px; height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  margin: 18px auto 0;
  overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%;
  width: 40%;
  background: var(--grad-text);
  border-radius: 4px;
  animation: load 1.1s ease-in-out infinite;
}
@keyframes load { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
@keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  padding: 14px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.scrolled {
  background: rgba(7, 13, 31, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
  box-shadow: 0 10px 40px -12px rgba(2, 6, 20, 0.7);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.25rem;
  color: #fff;
  background: var(--grad-royal);
  box-shadow: 0 8px 22px -6px rgba(46, 91, 255, 0.65);
}
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--white); letter-spacing: 0.04em; }
.brand-dot { color: var(--emerald-400); }

.nav-menu { display: flex; align-items: center; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--grad-text);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta { padding: 10px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  z-index: 920;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-royal);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -8px rgba(46, 91, 255, 0.7);
}

.btn-ghost {
  background: var(--glass-bg);
  color: var(--white);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.btn-light {
  background: var(--white);
  color: var(--navy-900);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.45); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); }

.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-sm { padding: 11px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.text-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--royal-300);
  transition: color 0.25s ease;
}
.text-link:hover { color: var(--emerald-400); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(1100px 700px at 75% 0%, rgba(46, 91, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(16, 185, 129, 0.14), transparent 55%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: float 12s ease-in-out infinite;
}
.orb-1 { width: 480px; height: 480px; top: -160px; right: -80px; background: rgba(46, 91, 255, 0.4); }
.orb-2 { width: 360px; height: 360px; bottom: -120px; left: -100px; background: rgba(16, 185, 129, 0.32); animation-delay: -4s; }
.orb-3 { width: 200px; height: 200px; top: 40%; left: 55%; background: rgba(125, 160, 255, 0.25); animation-delay: -8s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-28px) translateX(18px); }
}

.float-shape {
  position: absolute;
  color: rgba(255, 255, 255, 0.1);
  font-size: 2.4rem;
  animation: float 14s ease-in-out infinite;
}
.shape-a { top: 18%; left: 6%; animation-delay: -2s; }
.shape-b { top: 30%; right: 10%; font-size: 1.4rem; animation-delay: -5s; }
.shape-c { bottom: 24%; left: 12%; font-size: 1.6rem; animation-delay: -7s; }
.shape-d { bottom: 16%; right: 26%; animation-delay: -9s; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-sub { font-size: 1.08rem; color: var(--text); max-width: 540px; margin-bottom: 34px; }
.hero-sub strong { color: var(--white); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 38px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-badges li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem;
  color: var(--text);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-text);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

/* --- Hero Visual Card --- */
.hero-visual { position: relative; }

.hero-card {
  position: relative;
  z-index: 2;
  padding: 26px;
  animation: card-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;
}
@keyframes card-enter { from { opacity: 0; transform: translateY(34px) scale(0.97); } to { opacity: 1; transform: none; } }

.hc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hc-avatar { position: relative; width: 50px; height: 50px; border-radius: 50%; }
.avatar-inner {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700; font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--royal-500), var(--royal-600));
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.hc-status {
  position: absolute;
  right: 1px; bottom: 2px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--emerald-400);
  border: 2.5px solid var(--navy-800);
}
.hc-name { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.02rem; }
.hc-role { font-size: 0.82rem; color: var(--muted); }
.hc-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald-400);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.hc-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}
.kpi-label { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; }
.kpi-value { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.kpi-delta {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.68rem; font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}
.kpi-delta.up { color: var(--emerald-400); background: rgba(16, 185, 129, 0.14); }

.hc-chart {
  background: rgba(2, 6, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}
.hc-chart-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; font-weight: 600; color: var(--text-strong);
  margin-bottom: 14px;
}
.hc-chart-year { color: var(--emerald-400); }

.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 5px;
  height: 130px;
}
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; height: 100%; }
.bar-track {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  overflow: hidden;
}
.bar {
  display: block;
  width: 100%;
  height: 0%;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--royal-400), var(--royal-600));
  transition: height 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.bar-col:nth-child(3n) .bar { background: linear-gradient(180deg, var(--emerald-400), var(--emerald-600)); }
.bar-chart.animate .bar { height: var(--h); }
.bar-col small { font-size: 0.62rem; color: var(--muted); }

.hc-footer { display: flex; align-items: center; gap: 18px; }
.hc-footer .mini-progress { flex: 1; }
.hc-avatars { display: flex; }
.hc-avatars span {
  width: 28px; height: 28px;
  margin-left: -8px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.6rem; font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-600), var(--royal-600));
  border: 2px solid var(--navy-800);
}
.hc-avatars span:first-child { margin-left: 0; }
.hc-avatars span:last-child { background: var(--grad-text); }

/* --- Floating mini cards --- */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  animation: bob 5s ease-in-out infinite;
}
.fc-1 { top: -26px; left: -30px; animation-delay: -1s; }
.fc-2 { bottom: -22px; right: -20px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.fc-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  font-size: 0.85rem; color: #fff;
  background: linear-gradient(135deg, var(--royal-500), var(--royal-600));
}
.fc-icon.green { background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600)); }
.float-card strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--white); display: block; line-height: 1.2; }
.float-card span { font-size: 0.72rem; color: var(--muted); }

/* --- Marquee --- */
.marquee-wrap { margin-top: 84px; position: relative; z-index: 2; }
.marquee-label { text-align: center; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.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: 46px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span {
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.marquee-track span:hover { color: var(--white); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   GLASS CARD BASE
   ========================================================================== */
.glass-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats-strip {
  position: relative;
  padding: 56px 0;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stat span { font-size: 0.9rem; color: var(--muted); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-visual { position: relative; }
.about-frame {
  position: relative;
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(46, 91, 255, 0.35), rgba(16, 185, 129, 0.25));
  box-shadow: 0 30px 70px -24px rgba(2, 6, 20, 0.8);
}
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--navy-700), var(--navy-900));
  overflow: hidden;
  display: grid;
  place-items: center;
}
.photo-glow {
  position: absolute;
  width: 70%; height: 45%;
  top: -8%;
  left: 15%;
  background: radial-gradient(closest-side, rgba(46, 91, 255, 0.55), transparent);
  filter: blur(30px);
}
.photo-placeholder { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0.95; }
.pp-face {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-500), var(--emerald-500));
  box-shadow: inset -10px -12px 30px rgba(0, 0, 0, 0.35), 0 20px 50px -10px rgba(46, 91, 255, 0.7);
}
.pp-body {
  width: 180px; height: 90px;
  border-radius: 90px 90px 0 0;
  background: linear-gradient(160deg, var(--royal-500), var(--navy-600));
  box-shadow: inset -12px -14px 30px rgba(0, 0, 0, 0.3);
}

.about-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  animation: bob 6s ease-in-out infinite;
}
.about-card { top: 24px; right: -18px; }
.ac-2 { bottom: 30px; left: -18px; animation-delay: -2.5s; }
.ac-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--royal-500), var(--royal-600));
  font-size: 0.85rem;
}
.ac-icon.green { background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600)); }
.about-card strong { font-family: var(--font-head); color: var(--white); font-size: 1.05rem; display: block; line-height: 1.3; }
.about-card span { font-size: 0.75rem; color: var(--muted); }

.about-copy p { margin-bottom: 18px; color: var(--text); }
.about-copy .section-title { margin-bottom: 22px; }

.skill-bars { margin: 28px 0 34px; display: grid; gap: 18px; }
.skill-head { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; color: var(--text-strong); margin-bottom: 8px; }
.skill-pct { color: var(--royal-300); }

.progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--grad-royal);
  transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 14px rgba(46, 91, 255, 0.5);
}
.progress-fill.animate { width: calc(var(--fill) * 1%); }

.about-cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-royal-soft);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 91, 255, 0.45);
  box-shadow: 0 26px 50px -18px rgba(2, 6, 20, 0.8);
}
.service-card:hover::before { opacity: 1; }

.svc-icon {
  position: relative;
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--royal-500), var(--royal-600));
  box-shadow: 0 12px 26px -8px rgba(46, 91, 255, 0.6);
  margin-bottom: 20px;
  transition: transform 0.35s ease;
}
.svc-icon svg { width: 26px; height: 26px; }
.service-card:nth-child(3n+2) .svc-icon { background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600)); box-shadow: 0 12px 26px -8px rgba(16, 185, 129, 0.6); }
.service-card:hover .svc-icon { transform: rotate(-6deg) scale(1.08); }

.service-card h3 { position: relative; font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { position: relative; font-size: 0.92rem; color: var(--text); margin-bottom: 16px; }
.svc-meta {
  position: relative;
  display: inline-block;
  font-size: 0.76rem; font-weight: 600;
  color: var(--royal-300);
  background: rgba(46, 91, 255, 0.1);
  border: 1px solid rgba(46, 91, 255, 0.22);
  padding: 5px 12px;
  border-radius: 999px;
}
.svc-img {
  position: relative;
  margin: -30px -26px 24px;
  overflow: hidden;
}
.svc-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.service-card:hover .svc-img img { transform: scale(1.06); }

/* ==========================================================================
   PROCESS / TIMELINE
   ========================================================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 34px; left: 6%; right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--royal-500), var(--emerald-400));
  opacity: 0.4;
  z-index: 0;
}
.timeline-item { position: relative; z-index: 1; }
.tl-number {
  display: grid; place-items: center;
  width: 68px; height: 68px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.3rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--royal-500), var(--royal-600));
  border: 4px solid var(--navy-900);
  box-shadow: 0 0 0 2px rgba(46, 91, 255, 0.5), 0 14px 30px -10px rgba(46, 91, 255, 0.7);
}
.timeline-item:nth-child(even) .tl-number { background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600)); box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.5), 0 14px 30px -10px rgba(16, 185, 129, 0.7); }
.tl-body { padding: 24px; }
.tl-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.tl-body p { font-size: 0.9rem; color: var(--text); margin-bottom: 16px; }
.tl-tag {
  display: inline-block;
  font-size: 0.74rem; font-weight: 600;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 4px 12px;
  border-radius: 999px;
}
.tl-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

/* ==========================================================================
   KPI DASHBOARD
   ========================================================================== */
.dashboard { padding: 26px; }
.dash-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dash-title { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.05rem; }
.dash-legend { display: flex; gap: 18px; font-size: 0.8rem; color: var(--text); }
.dash-legend span { display: inline-flex; align-items: center; gap: 7px; }
.dash-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg-a { background: var(--royal-500); }
.lg-b { background: var(--emerald-500); }
.lg-c { background: var(--platinum-500); }

.dash-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 26px;
  margin-bottom: 22px;
}
.dash-chart-title { font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }

.line-chart { width: 100%; height: auto; overflow: visible; }
.chart-grid line { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.chart-area { opacity: 0; }
.chart-line {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
}
.chart-dot { opacity: 0; }
.chart-animated .chart-area { animation: area-in 1.2s ease 0.6s forwards; }
.chart-animated .chart-line[data-line="A"] { animation: line-draw 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards; }
.chart-animated .chart-line[data-line="B"] { animation: line-draw 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.45s forwards; }
.chart-animated .chart-dot { animation: dot-pop 0.4s ease 1.9s forwards; }
@keyframes line-draw { to { stroke-dashoffset: 0; } }
@keyframes area-in { to { opacity: 1; } }
@keyframes dot-pop { to { opacity: 1; } }

.dash-chart-labels { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--muted); margin-top: 4px; }

.dash-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(2, 6, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
}
.donut-chart {
  width: 150px; height: 150px;
  border-radius: 50%;
  background: conic-gradient(
    var(--royal-500) 0% 54%,
    var(--emerald-500) 54% 88%,
    var(--platinum-500) 88% 100%
  );
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(46, 91, 255, 0.5);
  transition: background 0.2s ease;
}
.donut-chart.animate { animation: donut-spin 1.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes donut-spin { from { transform: rotate(-120deg) scale(0.6); opacity: 0; } to { transform: rotate(0) scale(1); opacity: 1; } }
.donut-inner {
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--navy-800);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}
.donut-inner strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--white); }
.donut-inner span { font-size: 0.7rem; color: var(--muted); }
.donut-list { width: 100%; display: grid; gap: 10px; }
.donut-list span {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.82rem; color: var(--text);
}
.donut-list i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.donut-list b { margin-left: auto; color: var(--white); font-weight: 600; }

.dash-foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mini-progress-head { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 600; color: var(--text-strong); margin-bottom: 8px; }
.mini-progress-head span:last-child { color: var(--emerald-400); }
.dash-foot-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.dash-foot-metrics strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--white); }
.dash-foot-metrics span { font-size: 0.72rem; color: var(--muted); }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.project-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 91, 255, 0.4);
  box-shadow: 0 30px 60px -20px rgba(2, 6, 20, 0.85);
}

.project-visual {
  position: relative;
  height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  overflow: hidden;
}
.pv-1 { background: linear-gradient(135deg, #1a2f6b, #2e5bff 60%, #10b981); }
.pv-2 { background: linear-gradient(135deg, #0f3d3e, #10b981 55%, #7da0ff); }
.pv-3 { background: linear-gradient(135deg, #2b1a6b, #7da0ff 55%, #2e5bff); }
.pv-4 { background: linear-gradient(135deg, #0b2b4f, #1e3fbf 55%, #34d399); }
.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(300px 200px at 80% 10%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 26px 26px;
  opacity: 0.5;
}

.pv-browser {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  background: rgba(5, 10, 24, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 14px;
  z-index: 2;
}
.pv-dot { width: 8px; height: 8px; border-radius: 50%; }
.pv-dot.r { background: #ff5f57; }
.pv-dot.y { background: #febc2e; }
.pv-dot.g { background: #28c840; }
.pv-url {
  margin-left: 8px;
  font-size: 0.7rem; color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 12px;
  border-radius: 6px;
}
.pv-stats {
  position: relative;
  z-index: 2;
  display: flex; gap: 12px;
}
.pv-stats span {
  background: rgba(5, 10, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.7rem; color: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.pv-stats strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: #fff; }

.pv-cover { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.pv-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 10, 24, 0.8), rgba(5, 10, 24, 0.2) 55%, rgba(5, 10, 24, 0.45));
}

.project-body { padding: 26px; }
.project-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.26);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.project-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.project-body p { font-size: 0.92rem; color: var(--text); margin-bottom: 16px; }

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.case-card:hover { transform: translateY(-8px); border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 26px 50px -18px rgba(2, 6, 20, 0.8); }
.case-cover {
  position: relative;
  margin: -30px -26px 24px;
  overflow: hidden;
}
.case-cover img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.case-card:hover .case-cover img { transform: scale(1.06); }
.case-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.case-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
  box-shadow: 0 10px 24px -8px rgba(16, 185, 129, 0.6);
}
.case-icon svg { width: 24px; height: 24px; }
.case-industry { font-size: 0.74rem; font-weight: 600; color: var(--royal-300); letter-spacing: 0.08em; text-transform: uppercase; }
.case-card h3 { font-size: 1.16rem; margin-bottom: 12px; }
.case-card > p { font-size: 0.92rem; color: var(--text); margin-bottom: 24px; }
.case-metrics {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}
.case-metrics div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 6px;
}
.case-metrics strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--emerald-400); }
.case-metrics span { font-size: 0.68rem; color: var(--muted); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.slider { position: relative; }
.slider-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.testimonial-slide {
  min-width: 100%;
  padding: 48px 54px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  position: relative;
}
.quote-mark {
  position: absolute;
  top: 16px; left: 26px;
  font-family: var(--font-head);
  font-size: 5.4rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.35;
}
.testimonial-slide blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--text-strong);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}
.testimonial-slide figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.t-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700; font-size: 0.8rem;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}
.av-1 { background: linear-gradient(135deg, #2e5bff, #7da0ff); }
.av-2 { background: linear-gradient(135deg, #10b981, #34d399); }
.av-3 { background: linear-gradient(135deg, #7a5cff, #c79bff); }
.av-4 { background: linear-gradient(135deg, #f0a04b, #ffd97a); }
.t-info strong { display: block; color: var(--white); font-size: 0.95rem; }
.t-info span { font-size: 0.8rem; color: var(--muted); }
.t-rating { color: #ffc233; letter-spacing: 2px; font-size: 0.9rem; margin-left: 10px; }

.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}
.slider-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--white);
  font-size: 1.1rem;
  display: grid; place-items: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.slider-btn:hover { background: var(--grad-royal); transform: translateY(-2px); box-shadow: var(--shadow-btn); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button {
  width: 9px; height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.3s ease, background 0.3s ease;
}
.slider-dots button.active { width: 26px; background: var(--grad-royal); }

.trust-row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.trust-item { padding: 22px 12px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); }
.trust-num { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-item span:last-child { font-size: 0.82rem; color: var(--muted); }

/* ==========================================================================
   CERTIFICATIONS
   ========================================================================== */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.cert-card::after {
  content: "";
  position: absolute;
  width: 140px; height: 140px;
  top: -70px; right: -70px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(46, 91, 255, 0.35), transparent);
  transition: transform 0.4s ease;
}
.cert-card:hover { transform: translateY(-8px); border-color: rgba(46, 91, 255, 0.4); box-shadow: 0 26px 50px -18px rgba(2, 6, 20, 0.8); }
.cert-card:hover::after { transform: scale(1.6); }
.cert-logo {
  position: relative;
  z-index: 1;
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-600), var(--royal-600));
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 18px;
}
.cert-logo svg { width: 26px; height: 26px; }
.cert-card h3 { position: relative; z-index: 1; font-size: 1.05rem; margin-bottom: 6px; }
.cert-card p { position: relative; z-index: 1; font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.cert-year {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 4px 12px;
  border-radius: 999px;
}
.cert-img {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  margin: -28px -24px 20px;
  transition: transform 0.5s ease;
}
.cert-card:hover .cert-img { transform: scale(1.05); }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.blog-card:hover { transform: translateY(-8px); border-color: rgba(46, 91, 255, 0.4); box-shadow: 0 26px 50px -18px rgba(2, 6, 20, 0.8); }
.blog-visual {
  position: relative;
  height: 170px;
  overflow: hidden;
}
.bv-1 { background: linear-gradient(135deg, #0f2447, #2e5bff 70%, #7da0ff); }
.bv-2 { background: linear-gradient(135deg, #0b2b4f, #10b981 75%, #34d399); }
.bv-3 { background: linear-gradient(135deg, #201a4f, #7a5cff 70%, #c79bff); }
.blog-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(180px 120px at 20% 120%, rgba(255, 255, 255, 0.2), transparent),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px;
}
.blog-cat {
  position: absolute;
  z-index: 2;
  top: 14px; left: 14px;
  font-size: 0.7rem; font-weight: 700;
  color: var(--white);
  background: rgba(5, 10, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.blog-body { padding: 24px; }
.blog-meta { font-size: 0.76rem; color: var(--muted); }
.blog-body h3 { font-size: 1.08rem; margin: 10px 0 10px; transition: color 0.25s ease; }
.blog-card:hover .blog-body h3 { color: var(--royal-300); }
.blog-body p { font-size: 0.9rem; color: var(--text); margin-bottom: 14px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-head .section-sub a { color: var(--royal-300); font-weight: 600; }

.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item[open] { border-color: rgba(46, 91, 255, 0.45); box-shadow: 0 20px 40px -16px rgba(2, 6, 20, 0.7); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  position: relative;
  transition: transform 0.35s ease, background 0.35s ease;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: 2px;
}
.faq-icon::before { width: 11px; height: 2px; }
.faq-icon::after { width: 2px; height: 11px; transition: opacity 0.3s ease; }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--grad-royal); border-color: transparent; }
.faq-item[open] .faq-icon::after { opacity: 0; }
.faq-item p { padding: 0 24px 22px; font-size: 0.94rem; color: var(--text); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-section { padding-bottom: 40px; }
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(48px, 7vw, 84px) clamp(24px, 5vw, 72px);
  text-align: center;
  background:
    linear-gradient(140deg, rgba(46, 91, 255, 0.35), rgba(16, 185, 129, 0.28)),
    var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -30px rgba(2, 6, 20, 0.9);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, #000, transparent);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, #000, transparent);
}
.cta-bg .orb-small {
  position: absolute;
  width: 320px; height: 320px;
  top: -140px; right: -80px;
  background: rgba(46, 91, 255, 0.4);
  filter: blur(60px);
  border-radius: 50%;
}
.cta-bg .shape-e { position: absolute; bottom: 20px; left: 40px; font-size: 2rem; color: rgba(255, 255, 255, 0.14); animation: float 10s ease-in-out infinite; }
.cta-content { position: relative; z-index: 2; }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; margin-bottom: 16px; }
.cta-sub { max-width: 640px; margin: 0 auto 36px; color: var(--text); font-size: 1.02rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start; }

.contact-channels { display: grid; gap: 14px; margin: 34px 0; }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
a.channel:hover { transform: translateX(6px); border-color: rgba(46, 91, 255, 0.45); background: var(--glass-bg-strong); }
.channel-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--royal-500), var(--royal-600));
  box-shadow: 0 10px 22px -8px rgba(46, 91, 255, 0.6);
}
.channel-icon svg { width: 22px; height: 22px; }
.channel strong { display: block; color: var(--white); font-size: 0.95rem; }
.channel small { color: var(--muted); font-size: 0.85rem; }

.social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--text);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover {
  transform: translateY(-4px);
  color: #fff;
  border-color: transparent;
  background: var(--grad-royal);
  box-shadow: var(--shadow-btn);
}
.social-btn.sm { width: 40px; height: 40px; border-radius: 11px; }
.social-btn.sm svg { width: 17px; height: 17px; }

.channel-colored {
  background: linear-gradient(135deg, rgba(46, 91, 255, 0.16), rgba(16, 185, 129, 0.12));
  border-color: rgba(46, 91, 255, 0.35);
}
.channel-colored:hover { border-color: rgba(16, 185, 129, 0.45); }

/* ==========================================================================
   3D EFFECT SYSTEM
   ========================================================================== */
.scene {
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.scene.float { animation: float3d 8s ease-in-out infinite; }
.scene.float:hover { animation-play-state: paused; }

.img3d {
  position: relative;
  border-radius: 22px;
  box-shadow: 0 36px 70px -24px rgba(2, 6, 20, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.09);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.img3d img { width: 100%; height: auto; display: block; border-radius: 22px; }
.scene:hover .img3d {
  transform: rotateY(-14deg) rotateX(8deg) scale(1.04);
  box-shadow: 0 46px 90px -26px rgba(2, 6, 20, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.tilt3d {
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.scene:hover .tilt3d { transform: rotateY(-10deg) rotateX(6deg) scale(1.05); }

@keyframes float3d {
  0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
  50% { transform: translateY(-14px) rotateX(3deg) rotateY(-5deg); }
}

/* Floating image chips */
.chip3d {
  position: absolute;
  width: 92px;
  border-radius: 18px;
  background: var(--navy-800);
  box-shadow: 0 24px 50px -16px rgba(2, 6, 20, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12);
  animation: float3d 7s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}
.chip3d img { width: 100%; height: auto; display: block; border-radius: 18px; }

.chip-float {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--navy-800);
  box-shadow: 0 18px 40px -14px rgba(2, 6, 20, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12);
  animation: float3d 6s ease-in-out infinite;
}
.chip-float img { width: 100%; height: 100%; border-radius: 13px; display: block; }

/* Section-head decorative 3D image */
.section-head, .faq-head, .contact-copy { position: relative; }
.head-3d {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 160px;
  z-index: 1;
  pointer-events: none;
}

/* Hero 3D images */
.hero-3d {
  position: absolute;
  z-index: 1;
  width: 132px;
  right: -36px;
  top: -34px;
  pointer-events: none;
}
.hero-3d-b {
  position: absolute;
  z-index: 3;
  width: 108px;
  left: -34px;
  top: 26%;
  pointer-events: none;
}

/* About 3D image */
.about-photo.scene .img3d { width: 86%; }
.img3d-fit img { box-shadow: inset 0 0 40px rgba(2, 6, 20, 0.6); }

/* Portfolio chips */
.pv-chip { top: 14px; right: 14px; width: 76px; }
.project-card.scene .project-visual { transform-origin: center; }

/* Blog 3D image */
.blog-img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 128px;
  height: 128px;
  border-radius: 18px;
  background: var(--navy-800);
  box-shadow: 0 26px 50px -16px rgba(2, 6, 20, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12);
  z-index: 2;
}

/* CTA 3D image */
.cta-3d {
  position: absolute;
  width: 104px;
  left: 5%;
  top: 40px;
  pointer-events: none;
  opacity: 0.9;
}

/* --- Floating action buttons --- */
.fab-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.fab {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 16px 34px -10px rgba(2, 6, 20, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fab svg { width: 28px; height: 28px; }
.fab:hover { transform: translateY(-5px) scale(1.06); }

.fab-whatsapp { background: #25d366; }
.fab-whatsapp:hover { box-shadow: 0 20px 40px -10px rgba(37, 211, 102, 0.8); }
.fab-whatsapp::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.7);
  animation: fab-pulse 2.2s ease-out infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.fab-email { background: linear-gradient(135deg, #4d7cff, #1e3fbf); }
.fab-email:hover { box-shadow: 0 20px 40px -10px rgba(46, 91, 255, 0.8); }

.fab-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy-700);
  border: 1px solid var(--glass-border);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 9px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 14px 30px -8px rgba(2, 6, 20, 0.7);
}
.fab:hover .fab-tip, .fab:focus-visible .fab-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-4px);
}

.contact-form { padding: 34px; }
.contact-form h3 { font-size: 1.35rem; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-strong); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--white);
  background: rgba(2, 6, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  padding: 13px 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--royal-400);
  box-shadow: 0 0 0 4px rgba(46, 91, 255, 0.18);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(138, 147, 168, 0.7); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--platinum-500) 50%), linear-gradient(135deg, var(--platinum-500) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--navy-800); color: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-note a { color: var(--royal-300); }
.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald-400);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr;
  gap: 44px;
  padding-bottom: 52px;
}
.footer-brand p { margin: 18px 0 22px; font-size: 0.92rem; color: var(--muted); max-width: 320px; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: var(--muted); transition: color 0.25s ease, padding-left 0.25s ease; }
.footer-col a:hover { color: var(--royal-300); padding-left: 4px; }
.footer-col .btn { margin-top: 20px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-links a { color: var(--muted); transition: color 0.25s ease; }
.footer-links a:hover { color: var(--royal-300); }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-visual { max-width: 620px; margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 72px; }
  .about-visual { max-width: 480px; margin-inline: auto; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .services-grid, .case-grid, .cert-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .head-3d, .hero-3d, .hero-3d-b, .cta-3d { display: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 0;
    background: rgba(7, 13, 31, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-links { flex-direction: column; gap: 22px; }
  .nav-link { font-size: 1.15rem; }
  .nav-cta { display: inline-flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-foot { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .services-grid, .case-grid, .cert-grid, .blog-grid, .timeline { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .testimonial-slide { padding: 44px 26px; }
  .float-card.fc-1 { left: -8px; }
  .float-card.fc-2 { right: -8px; }
  .about-card { right: -6px; }
  .ac-2 { left: -6px; }
  .hero { padding-top: 130px; }
  .fab { width: 52px; height: 52px; }
  .fab svg { width: 25px; height: 25px; }
  .fab-stack { right: 16px; bottom: 16px; }
  .fab-tip { display: none; }
}

@media (max-width: 480px) {
  .hero-card { padding: 18px; }
  .hc-kpi-row { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .kpi-value { font-size: 1.05rem; }
  .float-card { padding: 10px 12px; }
  .float-card strong { font-size: 0.95rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
  .bar { height: var(--h); }
  .progress-fill { width: calc(var(--fill) * 1%); }
}

/* ==========================================================================
   PREMIUM FEATURES: SCROLL PROGRESS, THEME TOGGLE, PARTICLES, AI WIDGET
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-royal);
  z-index: 1000;
  border-radius: 0 3px 3px 0;
  transition: width 0.1s linear;
}

.nav-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-strong);
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.theme-toggle:hover { background: var(--glass-bg-strong); transform: translateY(-2px); border-color: rgba(46, 91, 255, 0.45); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }

.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-bg > *:not(.particles) { z-index: 1; }

.ai-widget { position: fixed; left: 22px; bottom: 22px; z-index: 850; }
.ai-launcher {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 0;
  display: grid; place-items: center;
  color: #fff;
  background: var(--grad-royal);
  box-shadow: 0 14px 34px -8px rgba(46, 91, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-launcher:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 42px -10px rgba(16, 185, 129, 0.6); }
.ai-launcher svg { width: 26px; height: 26px; }
.ai-launcher .ai-close-icon { display: none; }
.ai-launcher.open .ai-bot-icon { display: none; }
.ai-launcher.open .ai-close-icon { display: block; }
.ai-panel {
  position: absolute;
  left: 0; bottom: 72px;
  width: min(340px, calc(100vw - 40px));
  background: var(--navy-800);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px -18px rgba(2, 6, 20, 0.85);
  display: flex;
  flex-direction: column;
}
.ai-panel[hidden] { display: none; }
.ai-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--royal-600), var(--navy-700));
  border-bottom: 1px solid var(--glass-border);
}
.ai-avatar {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.05rem;
  color: #fff;
  background: var(--grad-royal);
}
.ai-head strong { display: block; font-size: 0.95rem; color: var(--white); }
.ai-head span { font-size: 0.76rem; color: var(--emerald-400); }
.ai-messages {
  min-height: 180px;
  max-height: 260px;
  overflow-y: auto;
  padding: 16px;
  display: grid;
  gap: 12px;
}
.ai-msg {
  max-width: 85%;
  font-size: 0.86rem;
  line-height: 1.55;
  padding: 10px 14px;
  border-radius: 14px;
}
.ai-msg.bot {
  justify-self: start;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.ai-msg.user {
  justify-self: end;
  background: var(--grad-royal);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.ai-q {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--royal-300);
  background: rgba(46, 91, 255, 0.12);
  border: 1px solid rgba(46, 91, 255, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  transition: background 0.25s ease, color 0.25s ease;
}
.ai-q:hover { background: var(--grad-royal); color: #fff; }
.ai-input {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--glass-border);
}
.ai-input input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--white);
  background: rgba(2, 6, 20, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 11px 16px;
  min-width: 0;
}
.ai-input input:focus { outline: none; border-color: var(--royal-400); }
.ai-input button {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: var(--grad-royal);
  font-size: 1.05rem;
  transition: transform 0.25s ease;
}
.ai-input button:hover { transform: translateY(-2px); }

/* ==========================================================================
   SKILLS & TOOLS SECTION
   ========================================================================== */
.block-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.block-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(46, 91, 255, 0.5), transparent);
}
.expertise, .skills-dash, .tools { margin-bottom: 64px; }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.exp-group {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.exp-group:hover { border-color: rgba(46, 91, 255, 0.4); transform: translateY(-4px); }
.exp-group h4 { font-size: 0.92rem; color: var(--emerald-400); margin-bottom: 16px; letter-spacing: 0.04em; }
.chip-list { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(46, 91, 255, 0.08);
  border: 1px solid rgba(46, 91, 255, 0.22);
  border-radius: 999px;
  padding: 7px 14px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.chip:hover { background: var(--grad-royal); color: #fff; transform: translateY(-2px); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.skill-panel {
  padding: 26px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.skill-panel:hover { transform: translateY(-6px); border-color: rgba(46, 91, 255, 0.4); }
.skill-panel h4 { font-size: 1rem; margin-bottom: 22px; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tool-item {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.tool-item:hover { transform: translateY(-4px); border-color: rgba(16, 185, 129, 0.4); background: var(--glass-bg-strong); }
.tool-monogram {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--royal-500), var(--emerald-500));
}
.tool-name { font-weight: 600; font-size: 0.86rem; color: var(--text-strong); line-height: 1.25; }
.tool-cat { display: block; font-size: 0.7rem; color: var(--muted); }

/* ==========================================================================
   PORTFOLIO GALLERY
   ========================================================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
}
.g-filter {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 9px 20px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.g-filter:hover { transform: translateY(-2px); border-color: rgba(46, 91, 255, 0.45); }
.g-filter.active { background: var(--grad-royal); color: #fff; border-color: transparent; box-shadow: var(--shadow-btn); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.g-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.g-item:hover { transform: translateY(-8px); border-color: rgba(46, 91, 255, 0.4); box-shadow: 0 26px 50px -18px rgba(2, 6, 20, 0.8); }
.g-item.hide { display: none; }
.g-visual { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.g-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.g-item:hover .g-visual img { transform: scale(1.07); }
.g-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, rgba(5, 10, 24, 0.85), rgba(46, 91, 255, 0.25));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay span {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(5, 10, 24, 0.5);
  border-radius: 999px;
  padding: 9px 18px;
}
.g-body { padding: 16px 18px 18px; }
.g-cat { font-size: 0.7rem; font-weight: 600; color: var(--emerald-400); text-transform: uppercase; letter-spacing: 0.08em; }
.g-body h3 { font-size: 0.98rem; margin-top: 6px; }

/* ==========================================================================
   PERFORMANCE METRICS
   ========================================================================== */
.metrics { margin-top: 64px; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.metric-card {
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.metric-card:hover { transform: translateY(-6px); border-color: rgba(16, 185, 129, 0.4); }
.metric-icon {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--royal-500), var(--royal-600));
  box-shadow: 0 10px 22px -8px rgba(46, 91, 255, 0.6);
}
.metric-card:nth-child(even) .metric-icon { background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600)); box-shadow: 0 10px 22px -8px rgba(16, 185, 129, 0.6); }
.metric-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.metric-card span:last-child { font-size: 0.78rem; color: var(--muted); }

/* ==========================================================================
   CASE STUDY BEFORE / AFTER
   ========================================================================== */
.case-ba {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.ba-tile {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.ba-tile.good { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); }
.ba-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.ba-tile strong { font-family: var(--font-head); font-size: 1rem; color: var(--text-strong); }
.ba-tile.good strong { color: var(--emerald-400); }
.ba-arrow { color: var(--royal-400); font-size: 1.15rem; }

/* ==========================================================================
   NEWSLETTER, MAP, FOOTER LEGAL
   ========================================================================== */
.newsletter { margin: 22px 0 26px; }
.newsletter label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-strong); margin-bottom: 10px; }
.newsletter-row { display: flex; gap: 8px; max-width: 320px; }
.newsletter-row input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--white);
  background: rgba(2, 6, 20, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 11px 16px;
}
.newsletter-row input:focus { outline: none; border-color: var(--royal-400); }
.newsletter-note { font-size: 0.72rem; color: var(--muted); margin-top: 8px; }
.map-wrap {
  padding: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.map-wrap iframe { display: block; border-radius: 12px; filter: saturate(0.85); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--glass-border);
}
.footer-legal a { font-size: 0.78rem; color: var(--muted); transition: color 0.25s ease; }
.footer-legal a:hover { color: var(--emerald-400); }

/* ==========================================================================
   LIGHT THEME
   ========================================================================== */
[data-theme="light"] {
  --navy-950: #e2e7f2;
  --navy-900: #eef1f8;
  --navy-800: #ffffff;
  --navy-700: #dde3f0;
  --navy-600: #c8d2e8;

  --white: #0d1730;
  --text: #3c4763;
  --text-strong: #101c3d;
  --muted: #64718c;

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-strong: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(13, 23, 48, 0.12);
  --glass-shadow: 0 24px 60px -20px rgba(35, 48, 90, 0.25);
}
[data-theme="light"] body { background: var(--navy-900); }
[data-theme="light"] .section-alt { background: var(--navy-800); }
[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(13, 23, 48, 0.08);
}
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--navy-900); }
[data-theme="light"] .preloader { background: var(--navy-900); }
[data-theme="light"] .progress-track { background: rgba(13, 23, 48, 0.1); }
[data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .field textarea,
[data-theme="light"] .ai-input input, [data-theme="light"] .newsletter-row input {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(13, 23, 48, 0.16);
}
[data-theme="light"] .ai-panel { background: #fff; }
[data-theme="light"] .ai-head { background: linear-gradient(135deg, #1e3fbf, #3a5bd0); }
[data-theme="light"] .fab-tip { background: var(--navy-700); }
@media (max-width: 768px) {
  [data-theme="light"] .nav-menu { background: rgba(255, 255, 255, 0.97); }
}

/* ==========================================================================
   RESPONSIVE — NEW COMPONENTS
   ========================================================================== */
@media (max-width: 1024px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-widget { left: 14px; bottom: 14px; }
  .ai-launcher { width: 52px; height: 52px; }
}
@media (max-width: 480px) {
  .gallery-grid, .metrics-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .gallery-filters { gap: 8px; }
  .g-filter { padding: 8px 14px; font-size: 0.78rem; }
}
