/* ============================================================
   assets/css/site.css
   Vidya IT Services — public site design system
   Dark "AI" theme: violet -> cyan, glass surfaces, scroll reveals.
   Admin panel keeps assets/css/style.css and is not affected.
   ============================================================ */

/* ------------------------------------------------------------
   THEME CONTRACT
   Every colour below is derived from a handful of values that
   helpers/theme.php overrides per theme. Nothing in this file
   hardcodes a brand colour, so swapping the theme repaints the
   whole site — including glows, tints and gradients.
   ------------------------------------------------------------ */
:root {
  /* --- Overridden per theme (defaults = Midnight AI) --- */
  --c1:        #7c5cff;   /* primary   */
  --c1-rgb:    124, 92, 255;
  --c1-soft:   #a48dff;
  --c2:        #22d3ee;   /* secondary */
  --c2-rgb:    34, 211, 238;
  --c2-soft:   #67e8f9;
  --c3:        #34d399;   /* gradient tail + success */
  --c3-rgb:    52, 211, 153;
  --c4:        var(--c2);  /* fourth accent, for a brand that has one  */
  --c5:        var(--c1);  /* fifth — a black or an ink, if the brand has one */

  --bg:          #05070f;
  --bg-rgb:      5, 7, 15;
  --bg-2:        #0a0e1d;
  --bg-2-rgb:    10, 14, 29;
  --bg-3:        #0f1428;

  --ink-rgb:     255, 255, 255;  /* colour that surfaces/lines are drawn in */
  --surface:     rgba(var(--ink-rgb), 0.035);
  --surface-2:   rgba(var(--ink-rgb), 0.06);
  --line:        rgba(var(--ink-rgb), 0.09);
  --line-strong: rgba(var(--ink-rgb), 0.16);

  --txt:     #e9edfb;
  --muted:   #93a0c4;
  --dim:     #6b779c;
  --heading: #ffffff;   /* headings + emphasised text */
  --on-accent: #ffffff; /* text ON a brand fill — white in every theme */
  --icon-invert: invert(1) brightness(1.6);  /* mono icons drawn for a dark page */

  --shadow-strength: 1;
  /* --- End of theme-overridden block --- */

  /* Legacy accent names, now pointing at the theme */
  --violet:      var(--c1);
  --violet-soft: var(--c1-soft);
  --cyan:        var(--c2);
  --cyan-soft:   var(--c2-soft);
  --mint:        var(--c3);
  --amber:       #fbbf24;
  --whatsapp:    #25d366;   /* the brand green; a light theme darkens it */
  --rose:        #fb7185;

  /* Gradients */
  --grad:      linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  --grad-soft: linear-gradient(135deg, rgba(var(--c1-rgb), 0.18) 0%, rgba(var(--c2-rgb), 0.18) 100%);
  --grad-text: linear-gradient(100deg, var(--c1-soft) 0%, var(--c2) 55%, var(--c3) 100%);

  /* The wash behind the page. A theme that wants a plain sheet of paper
     sets these to transparent rather than fighting three radial blobs. */
  --grad-hover: linear-gradient(135deg, var(--c2) 0%, var(--c1) 100%);
  --hero-glow:  conic-gradient(from 0deg, transparent 0deg, rgba(var(--c1-rgb), 0.16) 70deg, transparent 150deg, rgba(var(--c2-rgb), 0.14) 240deg, transparent 320deg);
  --page-glow:  radial-gradient(circle, rgba(var(--c1-rgb), 0.2) 0%, transparent 62%);
  --cta-wash:   radial-gradient(120% 160% at 0% 0%, rgba(var(--c1-rgb), 0.28), transparent 58%),
                radial-gradient(120% 160% at 100% 100%, rgba(var(--c2-rgb), 0.24), transparent 58%),
                rgba(var(--ink-rgb), 0.03);

  --ambient-1: rgba(var(--c1-rgb), 0.28);
  --ambient-2: rgba(var(--c2-rgb), 0.20);
  --ambient-3: rgba(var(--c3-rgb), 0.13);

  /* Repeating tiles take these in turn, so a brand with four colours
     shows four colours instead of the same one four times. */
  --cyc-1: var(--grad);
  --cyc-2: linear-gradient(135deg, var(--c2), var(--c3));
  --cyc-3: linear-gradient(135deg, var(--c1), var(--c1-soft));
  --cyc-4: linear-gradient(135deg, var(--c3), var(--c2));

  /* Glow */
  --glow-violet: 0 0 40px rgba(var(--c1-rgb), 0.35);
  --glow-cyan:   0 0 40px rgba(var(--c2-rgb), 0.28);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t:    0.35s var(--ease);

  /* ---- Compatibility aliases ----
     Pages written against the old blue/orange light theme still carry
     inline style="...var(--blue)..." and friends. Repointing the old
     names at the new palette keeps every one of those in-brand
     instead of leaving stray 2016-blue on a dark page. */
  --blue:        var(--c1);
  --blue-dark:   var(--c1);
  --blue-light:  rgba(var(--c1-rgb), 0.14);
  --orange:      var(--c2);
  --orange-dark: var(--c2);
  --orange-light: rgba(var(--c2-rgb), 0.12);
  --dark:        var(--bg-2);
  --gray:        var(--muted);
  --light:       rgba(var(--ink-rgb), 0.05);
  --white:       var(--bg-3);
  --border:      var(--line);
  --shadow:      0 18px 44px -24px rgba(0, 0, 0, 0.9);
  --shadow-lg:   0 30px 70px -34px rgba(0, 0, 0, 1);
  --font-main:   'Sora', system-ui, sans-serif;
  --transition:  0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient background: aurora blobs + grid, fixed behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(58vw 58vw at 12% -8%,  var(--ambient-1), transparent 60%),
    radial-gradient(46vw 46vw at 92% 6%,   var(--ambient-2), transparent 62%),
    radial-gradient(52vw 52vw at 70% 92%,  var(--ambient-3), transparent 64%),
    var(--bg);
  animation: auroraDrift 24s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--ink-rgb), 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--ink-rgb), 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
}

@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-1.5%, 1.5%, 0) scale(1.06); }
  100% { transform: translate3d(1.5%, -1%, 0) scale(1.03); }
}

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

p { color: var(--muted); }

a { color: var(--cyan-soft); text-decoration: none; transition: var(--t); }
a:hover { color: var(--heading); }

img { max-width: 100%; }

::selection { background: rgba(var(--c1-rgb), 0.4); color: var(--heading); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(var(--c1-rgb), 0.4); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--c1-rgb), 0.65); }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--grad);
  z-index: 2000;
  box-shadow: var(--glow-violet);
  transition: width 0.08s linear;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="zoom"]  { transform: scale(0.94); }
[data-reveal="blur"]  { filter: blur(10px); transform: translateY(18px); }

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  body::before { animation: none; }
  .whatsapp-float { animation: none; }
}

/* ---------- Typography helpers ---------- */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  position: relative;
  padding: 104px 0;
}
.section-sm { padding: 72px 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  background: rgba(var(--c2-rgb), 0.08);
  border: 1px solid rgba(var(--c2-rgb), 0.22);
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.section-tag i { font-size: 13px; }

.section-title {
  font-size: clamp(30px, 3.9vw, 50px);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-title span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-subtitle {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 620px;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: var(--t);
}

.btn-grad, .btn-orange, .btn-primary, .btn-blue {
  position: relative;
  background: var(--grad);
  border: none;
  color: var(--on-accent);
  padding: 12px 28px;
  box-shadow: 0 10px 30px -12px rgba(var(--c1-rgb), 0.9);
  overflow: hidden;
  z-index: 0;
}
.btn-grad::after, .btn-orange::after, .btn-primary::after, .btn-blue::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hover);
  opacity: 0;
  transition: var(--t);
  z-index: -1;
}
.btn-grad:hover, .btn-orange:hover, .btn-primary:hover, .btn-blue:hover {
  color: var(--on-accent);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(var(--c1-rgb), 1), var(--glow-cyan);
}
.btn-grad:hover::after, .btn-orange:hover::after, .btn-primary:hover::after, .btn-blue:hover::after { opacity: 1; }

.btn-ghost, .btn-outline-primary, .btn-outline-secondary, .btn-outline-light {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--txt);
  padding: 11px 26px;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover, .btn-outline-primary:hover, .btn-outline-secondary:hover, .btn-outline-light:hover {
  background: var(--surface-2);
  border-color: rgba(var(--c1-rgb), 0.6);
  color: var(--heading);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -14px rgba(var(--c1-rgb), 0.9);
}

.btn-whatsapp {
  background: var(--whatsapp);
  border: none;
  color: var(--on-accent);
  font-weight: 600;
}
.btn-whatsapp:hover {
  background: color-mix(in srgb, var(--whatsapp) 82%, #000);
  color: var(--on-accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -14px rgba(37, 211, 102, 0.9);
}

.btn-lg { padding: 15px 38px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }

/* ---------- Glass card ---------- */
.glass, .service-card, .product-card, .blog-card, .testimonial-card, .cart-item, .cart-summary, .info-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--t);
}

/* Gradient hairline that lights up on hover */
.service-card::after, .product-card::after, .blog-card::after, .glass-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--t);
  pointer-events: none;
}
.service-card:hover::after, .product-card:hover::after, .blog-card:hover::after, .glass-glow:hover::after { opacity: 1; }

.service-card:hover, .product-card:hover, .blog-card:hover, .testimonial-card:hover {
  transform: translateY(-6px);
  background: var(--surface-2);
  box-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.9), 0 0 44px -22px rgba(var(--c1-rgb), 0.7);
}

/* ---------- Navbar ---------- */
#mainNav {
  background: rgba(var(--bg-rgb), 0.62);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  padding: 16px 0;
  transition: var(--t);
  z-index: 1050;
}
#mainNav.scrolled {
  padding: 9px 0;
  background: rgba(var(--bg-rgb), 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 1);
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  color: var(--heading);
  letter-spacing: -0.03em;
}
.brand-v { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-it {
  background: var(--grad);
  color: var(--on-accent);
  padding: 2px 8px;
  border-radius: 8px;
  box-shadow: 0 6px 18px -8px rgba(var(--c1-rgb), 1);
}

.nav-link {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--muted) !important;
  padding: 8px 15px !important;
  border-radius: 10px;
  transition: var(--t);
}
.nav-link::before {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--heading) !important; }
.nav-link:hover::before, .nav-link.active::before { transform: scaleX(1); }

.navbar-toggler {
  color: var(--txt);
  border: 1px solid var(--line-strong) !important;
  border-radius: 10px;
  padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  filter: var(--icon-invert);
  width: 22px; height: 22px;
}

/* Mega menu */
.mega-menu {
  min-width: 640px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(var(--bg-2-rgb), 0.96) !important;
  backdrop-filter: blur(22px);
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 1);
}
.mega-menu-item {
  color: var(--txt) !important;
  border-radius: var(--radius-sm);
  transition: var(--t);
}
.mega-menu-item:hover { background: var(--surface-2); transform: translateX(3px); }
.mega-icon {
  width: 40px; height: 40px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-soft);
  font-size: 17px;
  flex-shrink: 0;
}
.mega-title { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--heading); }
.mega-desc  { font-size: 12.5px; color: var(--dim); }

.dropdown-menu {
  background: rgba(var(--bg-2-rgb), 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(22px);
}
.dropdown-item { color: var(--muted); font-size: 14px; border-radius: 8px; }
.dropdown-item:hover { background: var(--surface-2); color: var(--heading); }
.dropdown-divider { border-color: var(--line); }

/* Cart button */
.cart-btn, .cart-btn-mobile {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: var(--t);
}
.cart-btn:hover, .cart-btn-mobile:hover { color: var(--heading); border-color: rgba(var(--c1-rgb), 0.6); }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--grad);
  color: var(--on-accent);
  font-size: 10px; font-weight: 700;
  width: 19px; height: 19px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px -3px rgba(var(--c1-rgb), 1);
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
}

/* Rotating conic glow behind the hero */
.hero-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 1100px; height: 1100px;
  transform: translate(-50%, -50%);
  background: var(--hero-glow);
  border-radius: 50%;
  animation: spin 28s linear infinite;
  pointer-events: none;
  /* Soften the disc edge so it reads as light, not as a circle */
  filter: blur(70px);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--txt);
  padding: 7px 17px 7px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
}
.hero-badge .pill {
  background: var(--grad);
  color: var(--on-accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--heading);
  margin-bottom: 22px;
}
.hero-title span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Rotating word */
/* Reserve the line so the headline never jumps while a word is typing */
.type-wrap {
  display: inline-flex;
  align-items: center;
  min-height: 1.12em;
  min-width: 1px;
}
.type-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.type-caret {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  margin-left: 6px;
  background: var(--cyan);
  border-radius: 2px;
  animation: caretBlink 1s steps(2) infinite;
  box-shadow: var(--glow-cyan);
}
@keyframes caretBlink { 50% { opacity: 0; } }

.hero-subtitle {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 38px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat-label { font-size: 13px; color: var(--dim); }

/* Hero visual panel */
.hero-panel {
  position: relative;
  background: rgba(var(--ink-rgb), 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(20px);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 1);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.hero-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.hero-dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-panel-title {
  margin-left: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--dim);
  letter-spacing: 0.05em;
}

.hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px;
  transition: var(--t);
}
.hero-card:hover { background: var(--surface-2); transform: translateX(5px); border-color: rgba(var(--c1-rgb), 0.45); }
.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  color: var(--on-accent);
  background: var(--grad);
  flex-shrink: 0;
  box-shadow: 0 8px 24px -10px rgba(var(--c1-rgb), 1);
}
.hero-card-title { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--heading); }
.hero-card-sub   { font-size: 12.5px; color: var(--dim); }

/* Floating chips around the hero panel */
.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(var(--bg-2-rgb), 0.9);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--heading);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 1);
  white-space: nowrap;
}
.hero-chip i { font-size: 14px; }
/* Sit on the panel's corners rather than across its content */
.hero-chip-1 { top: -20px;    left: -22px;  animation: floaty 6s ease-in-out infinite; }
.hero-chip-2 { bottom: -20px; right: -18px; animation: floaty 8s ease-in-out infinite 0.8s; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  background: rgba(var(--ink-rgb), 0.02);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--dim);
  white-space: nowrap;
  transition: var(--t);
}
.marquee-item i { font-size: 19px; color: var(--violet-soft); }
.marquee-item:hover { color: var(--heading); }

/* ---------- Service cards ---------- */
.service-card { padding: 32px; height: 100%; overflow: hidden; }
.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 25px;
  color: var(--cyan-soft);
  background: var(--grad-soft);
  border: 1px solid var(--line);
  margin-bottom: 22px;
  transition: var(--t);
}
.row > [class*="col-"]:nth-of-type(4n+1) .service-card:hover .service-icon { background: var(--cyc-1); }
.row > [class*="col-"]:nth-of-type(4n+2) .service-card:hover .service-icon { background: var(--cyc-2); }
.row > [class*="col-"]:nth-of-type(4n+3) .service-card:hover .service-icon { background: var(--cyc-3); }
.row > [class*="col-"]:nth-of-type(4n+4) .service-card:hover .service-icon { background: var(--cyc-4); }
.row > [class*="col-"]:nth-of-type(4n+1) .step-num { background: var(--cyc-1); }
.row > [class*="col-"]:nth-of-type(4n+2) .step-num { background: var(--cyc-2); }
.row > [class*="col-"]:nth-of-type(4n+3) .step-num { background: var(--cyc-3); }
.row > [class*="col-"]:nth-of-type(4n+4) .step-num { background: var(--cyc-4); }

.service-card:hover .service-icon {
  background: var(--grad);
  color: var(--on-accent);
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 14px 34px -12px rgba(var(--c1-rgb), 1);
}
.service-card h4 { font-size: 19px; margin-bottom: 11px; }
.service-card p  { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }

.service-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--heading);
}
.service-price small { color: var(--dim); font-weight: 500; }

/* ---------- Product cards ---------- */
.product-card { overflow: hidden; height: 100%; }
.product-card .product-media {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.product-card img {
  width: 100%;
  height: 218px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover img { transform: scale(1.07); }
.product-card-body { padding: 22px; position: relative; z-index: 1; }

.product-badge {
  background: var(--grad-soft);
  border: 1px solid rgba(var(--c2-rgb), 0.28);
  color: var(--cyan-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--heading);
}
.product-price-original { font-size: 14px; color: var(--dim); text-decoration: line-through; }

/* ---------- Stats ---------- */
.stats-bar {
  background: rgba(var(--ink-rgb), 0.025);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 58px 0;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat-label { color: var(--muted); font-size: 14px; }

/* ---------- Feature / why-us tiles ---------- */
.feature-tile {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: var(--t);
  height: 100%;
}
.feature-tile:hover {
  background: var(--surface-2);
  border-color: rgba(var(--c1-rgb), 0.42);
  transform: translateY(-4px);
}
.feature-ico {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--cyan-soft);
  background: var(--grad-soft);
  border: 1px solid var(--line);
}
.feature-tile h5 { font-size: 16px; margin-bottom: 6px; }
.feature-tile p  { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Process steps ---------- */
.step-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  height: 100%;
  transition: var(--t);
}
.step-card:hover { border-color: rgba(var(--c1-rgb), 0.45); transform: translateY(-5px); }
.step-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.55;
  margin-bottom: 14px;
}
.step-card h5 { font-size: 17px; margin-bottom: 8px; }
.step-card p  { font-size: 14px; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-card { padding: 30px; height: 100%; }
.testimonial-rating { color: var(--amber); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--txt); margin-bottom: 22px; }
.testimonial-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; margin-right: 12px; border: 1px solid var(--line-strong); }
.testimonial-name { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--heading); }
.testimonial-company { font-size: 12.5px; color: var(--dim); }

/* ---------- Blog cards ---------- */
.blog-card { overflow: hidden; height: 100%; }
.blog-card img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.7s var(--ease); }
.blog-card:hover img { transform: scale(1.06); }
.blog-card-body { padding: 22px; position: relative; z-index: 1; }
.blog-card h5 { font-size: 17.5px; margin: 12px 0 9px; }
.blog-card p  { font-size: 14px; }
.blog-category {
  background: var(--grad-soft);
  border: 1px solid rgba(var(--c1-rgb), 0.3);
  color: var(--violet-soft);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 168px 0 76px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60%; left: 50%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: var(--page-glow);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.page-hero p { font-size: 17px; color: var(--muted); max-width: 620px; margin: 0 auto; }

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--dim);
  margin-top: 18px;
}
.breadcrumb-nav a { color: var(--muted); }
.breadcrumb-nav a:hover { color: var(--heading); }

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  padding: 92px 0;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--cta-wash);
  padding: 62px 52px;
  overflow: hidden;
  backdrop-filter: blur(18px);
}
.cta-inner h2 { font-size: clamp(27px, 3.4vw, 42px); margin-bottom: 14px; }
.cta-inner p  { font-size: 16.5px; color: var(--muted); }

/* ---------- Forms ---------- */
.form-control, .form-select {
  background: rgba(var(--ink-rgb), 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--txt);
  padding: 13px 17px;
  font-size: 14.5px;
  transition: var(--t);
}
.form-control::placeholder { color: var(--dim); }
.form-control:focus, .form-select:focus {
  background: rgba(var(--ink-rgb), 0.07);
  border-color: rgba(var(--c1-rgb), 0.75);
  color: var(--txt);
  box-shadow: 0 0 0 4px rgba(var(--c1-rgb), 0.14);
}
.form-select option { background: var(--bg-2); color: var(--txt); }
.form-label { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--txt); margin-bottom: 7px; }
.form-check-input { background-color: rgba(var(--ink-rgb), 0.08); border-color: var(--line-strong); }
.form-check-input:checked { background-color: var(--violet); border-color: var(--violet); }
.form-text, .text-muted { color: var(--dim) !important; }

/* Honeypot — must stay invisible to humans, reachable to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* ---------- Tables ---------- */
.table { color: var(--txt); border-color: var(--line); }
.table > :not(caption) > * > * { background: transparent; color: var(--txt); border-color: var(--line); }
.table thead th { color: var(--dim); font-family: var(--font-display); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Flash / alerts ---------- */
.flash-success, .flash-error, .flash-info, .alert {
  border-radius: var(--radius-sm);
  padding: 15px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--txt);
}
.flash-success, .alert-success { border-left: 3px solid var(--mint); }
.flash-error,   .alert-danger  { border-left: 3px solid var(--rose); }
.flash-info,    .alert-info    { border-left: 3px solid var(--cyan); }
.alert-warning { border-left: 3px solid var(--amber); }

/* ---------- Badges ---------- */
.badge-soft {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 76px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.empty-state i { font-size: 46px; color: var(--violet-soft); margin-bottom: 16px; display: block; }
.empty-state h4 { font-size: 20px; margin-bottom: 8px; }

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
}
.auth-card {
  background: rgba(var(--ink-rgb), 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  backdrop-filter: blur(20px);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 1);
}

/* ---------- Cart / checkout ---------- */
.cart-item { padding: 18px; margin-bottom: 14px; }
.cart-summary { padding: 26px; position: sticky; top: 100px; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--on-accent);
  font-size: 26px;
  z-index: 9999;
  box-shadow: 0 10px 34px -8px rgba(37, 211, 102, 0.8);
  transition: var(--t);
  animation: waPulse 2.6s infinite;
}
.whatsapp-float:hover { background: color-mix(in srgb, var(--whatsapp) 82%, #000); color: var(--on-accent); transform: scale(1.1) rotate(6deg); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 34px -8px rgba(37, 211, 102, 0.8); }
  50%      { box-shadow: 0 10px 44px 2px rgba(37, 211, 102, 0.55); }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: rgba(var(--ink-rgb), 0.02);
  border-top: 1px solid var(--line);
  margin-top: 0 !important;
  backdrop-filter: blur(12px);
}
.footer-top { padding: 72px 0 52px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--dim);
  font-size: 13.5px;
}
.footer-bottom a { color: var(--dim); }
.footer-bottom a:hover { color: var(--cyan-soft); }
.brand-logo-light { font-family: var(--font-display); font-weight: 800; font-size: 23px; color: var(--heading); }
.brand-it-light { background: var(--grad); color: var(--on-accent); padding: 2px 8px; border-radius: 8px; }
.footer-desc { color: var(--muted); font-size: 14.5px; }
.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--heading);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; display: flex; justify-content: space-between; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 14.5px; }
.footer-links a:hover { color: var(--cyan-soft); padding-left: 5px; }
.footer-links strong { color: var(--txt); font-size: 14px; font-weight: 600; }
.footer-links span { color: var(--dim); font-size: 14px; }
.footer-contact-item { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.footer-contact-item i { color: var(--cyan-soft); font-size: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 16px;
  transition: var(--t);
}
.footer-social a:hover {
  background: var(--grad);
  border-color: transparent;
  color: var(--on-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -12px rgba(var(--c1-rgb), 1);
}

/* ---------- Bootstrap surface overrides ---------- */
.card { background: var(--surface); border: 1px solid var(--line); color: var(--txt); border-radius: var(--radius); }
.card-header, .card-footer { background: transparent; border-color: var(--line); }
.list-group-item { background: transparent; border-color: var(--line); color: var(--txt); }
.modal-content { background: var(--bg-2); border: 1px solid var(--line); color: var(--txt); }
.nav-tabs { border-color: var(--line); }
.nav-tabs .nav-link { color: var(--muted); border: none; border-bottom: 2px solid transparent; }
.nav-tabs .nav-link.active { background: transparent; color: var(--heading); border-bottom-color: var(--violet); }
.accordion-item { background: var(--surface); border-color: var(--line); }
.accordion-button { background: transparent; color: var(--txt); font-family: var(--font-display); font-weight: 600; }
.accordion-button:not(.collapsed) { background: var(--surface-2); color: var(--heading); box-shadow: none; }
.accordion-button::after { filter: var(--icon-invert); }
.accordion-body { color: var(--muted); }
.pagination .page-link { background: var(--surface); border-color: var(--line); color: var(--muted); }
.pagination .page-item.active .page-link { background: var(--grad); border-color: transparent; color: var(--on-accent); }
.border, .border-top, .border-bottom, .border-start, .border-end { border-color: var(--line) !important; }
hr { border-color: var(--line); opacity: 1; }
.bg-light, .bg-white { background: var(--surface) !important; color: var(--txt) !important; }
.text-dark { color: var(--txt) !important; }

/* Legacy utility names kept working on the dark theme */
.text-orange { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.text-blue   { color: var(--cyan-soft) !important; }
.bg-blue     { background: var(--grad) !important; }
.bg-orange   { background: var(--grad) !important; }
.bg-blue-light { background: var(--surface-2) !important; }
.rounded-xl  { border-radius: var(--radius) !important; }
.fw-800      { font-weight: 800 !important; }
.font-main   { font-family: var(--font-display) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hero-chip-1 { left: -14px; }
  .hero-chip-2 { right: -8px; }
}

@media (max-width: 991px) {
  .mega-menu { min-width: 100%; left: 0; transform: none; }
  .navbar-collapse {
    background: rgba(var(--bg-2-rgb), 0.97);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    margin-top: 14px;
    backdrop-filter: blur(22px);
  }
  .hero-section { min-height: auto; padding: 116px 0 70px; }
  .hero-panel { margin-top: 46px; }
  .hero-chip { display: none; }
  .section { padding: 76px 0; }
  .cta-inner { padding: 44px 26px; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .hero-stats { gap: 26px; }
  .page-hero { padding: 132px 0 56px; }
  .section { padding: 62px 0; }
  .service-card, .testimonial-card { padding: 26px; }
  .auth-card { padding: 30px 22px; }
  .whatsapp-float { bottom: 18px; right: 18px; width: 50px; height: 50px; font-size: 23px; }
  .marquee-track { gap: 34px; }
}
