/* ============================================
   SWEEP AERIAL PHOTOGRAPHY - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Bebas+Neue&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --purple: #6925bf;
  --purple-light: #8b3ff0;
  --purple-dark: #4a1a8a;
  --purple-glow: rgba(105, 37, 191, 0.3);
  --black: #000000;
  --black-soft: #0a0a0a;
  --black-card: #111111;
  --black-border: #1a1a1a;
  --white: #ffffff;
  --white-dim: rgba(255, 255, 255, 0.85);
  --white-muted: rgba(255, 255, 255, 0.5);
  --white-subtle: rgba(255, 255, 255, 0.08);
  --font-heading: 'Audiowide', sans-serif;
  --font-accent: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 88px;
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background-color: var(--black); }
body {
  font-family: var(--font-body);
  color: var(--white-dim);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
/* Topo map background helpers. Apply one of these to a section (or
   to body) to overlay the topographic background.

   - .topo-bg-right : full on the right, fades out to the left
   - .topo-bg-left  : full on the left,  fades out to the right
   - .topo-bg-both  : full width, fades only at top and bottom
*/
.topo-bg-right,
.topo-bg-left,
.topo-bg-both {
  position: relative;
}
.topo-bg-right::before,
.topo-bg-left::before,
.topo-bg-both::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url('../images/topo-bg.svg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.75;
}
.topo-bg-right::before { background-position: right center; }
.topo-bg-left::before  { background-position: left center;  }
.topo-bg-both::before  { background-position: center;       }
.carousel__card.topo-bg-right::before { background-image: url('../images/topo-bg-static.svg'); opacity: 1; filter: brightness(1.6) contrast(1.4); }
.carousel__card.topo-bg-right::after { opacity: 0.5; }
/* When applied to body, the topo should be fixed and behind everything. */
body.topo-bg-right::before,
body.topo-bg-left::before,
body.topo-bg-both::before {
  position: fixed;
  z-index: -1;
}
/* Lift direct children of a hero with topo above the pseudo-element. */
/* Lift content above the topo pseudo on any topo-bg section. */
.topo-bg-left > *,
.topo-bg-right > *,
.topo-bg-both > * { position: relative; z-index: 1; }
/* Hero is special: orbs/noise/scan are also direct children and
   should stay behind. Lift the content container + scroll indicator
   to a higher z-index than those decorative layers. */
.hero > .container,
.hero > .hero__scroll { z-index: 3; }
.hero > .hero__video { z-index: 0; }
.hero > .hero__video-overlay { z-index: 1; }
.hero > .hero__bg,
.hero > .hero__grid,
.hero > .hero__noise,
.hero > .hero__scan,
.hero > .hero__orb { z-index: 0; }
/* When a video background is present, hide all decorative layers
   (topo, grid, noise, scan, orbs) so only the video shows through. */
.hero:has(.hero__video) > .hero__bg,
.hero:has(.hero__video) > .hero__grid,
.hero:has(.hero__video) > .hero__noise,
.hero:has(.hero__video) > .hero__scan,
.hero:has(.hero__video) > .hero__orb { display: none; }
.hero:has(.hero__video)::before { display: none; }
.hero:has(.hero__video) { background: #000000; }
.hero:has(.hero__video) p,
.hero:has(.hero__video) .hero__sub { color: #ffffff !important; }

/* Topo sections get a soft vertical fade on the topo itself at top
   AND bottom, composited with the horizontal side-mask. */
.topo-bg-left::before {
  -webkit-mask-image:
    linear-gradient(to left,   transparent 0%, rgba(0,0,0,0.15) 35%, #000 65%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-image:
    linear-gradient(to left,   transparent 0%, rgba(0,0,0,0.15) 35%, #000 65%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.topo-bg-right::before {
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, rgba(0,0,0,0.15) 35%, #000 65%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-image:
    linear-gradient(to right,  transparent 0%, rgba(0,0,0,0.15) 35%, #000 65%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.topo-bg-both::before {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

/* Hero decorative bg layers (orbs, noise, scan, grid, hero__bg) also
   fade out at the bottom toward the next section. */
.hero .hero__bg,
.hero .hero__grid,
.hero .hero__noise,
.hero .hero__scan,
.hero .hero__orb {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}

/* Site-wide section divider: thin purple gradient line at the top of
   every section that follows another section. Topo sections retain
   their own top/bottom variant below. */
section { position: relative; }
section + section:not(.topo-bg-right):not(.topo-bg-left):not(.topo-bg-both)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18px;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to right, transparent 0%, rgba(105,37,191,0.55) 30%, rgba(139,63,240,0.75) 50%, rgba(105,37,191,0.55) 70%, transparent 100%),
    radial-gradient(ellipse 60% 18px at 50% 0, rgba(105,37,191,0.35) 0%, transparent 70%);
  background-position: top, top;
  background-size: 100% 1px, 100% 18px;
  background-repeat: no-repeat;
}
/* Top + bottom accent dividers on every topo-bg section: a thin
   purple gradient line that fades at each end and glows softly. Body
   variants get full-viewport top/bottom lines. */
.topo-bg-left::after,
.topo-bg-right::after,
.topo-bg-both::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to right, transparent 0%, rgba(105,37,191,0.55) 30%, rgba(139,63,240,0.75) 50%, rgba(105,37,191,0.55) 70%, transparent 100%),
    linear-gradient(to right, transparent 0%, rgba(105,37,191,0.55) 30%, rgba(139,63,240,0.75) 50%, rgba(105,37,191,0.55) 70%, transparent 100%),
    radial-gradient(ellipse 60% 18px at 50% 0,   rgba(105,37,191,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 18px at 50% 100%, rgba(105,37,191,0.35) 0%, transparent 70%);
  background-position: top, bottom, top, bottom;
  background-size: 100% 1px, 100% 1px, 100% 18px, 100% 18px;
  background-repeat: no-repeat;
}
body.topo-bg-left::after,
body.topo-bg-right::after,
body.topo-bg-both::after {
  position: fixed;
  z-index: -1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: var(--font-body);
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: 0.02em;
}
h1, h2 {
  font-family: var(--font-accent);
  font-weight: 400;
  letter-spacing: 0.05em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { font-size: 0.975rem; color: var(--white-muted); }

/* ── Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(24px, 4vw, 64px); }
@media (min-width: 1600px) {
  .container { max-width: 1440px; }
}
@media (min-width: 2000px) {
  .container { max-width: 1600px; }
}
.section { padding: 96px 0; }
.section + .section { padding-top: 56px; }
.section.carousel-section { padding: 56px 0; }
.carousel-section + .section { padding-top: 40px; }
.section--sm { padding: 64px 0; }
.text-purple { color: var(--purple-light); }
.text-center { text-align: center; }
.tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid var(--purple);
  border-radius: 2px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  margin: 16px 0 32px;
}
.divider--center { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::before { opacity: 1; }
.btn--primary {
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 0 24px var(--purple-glow);
}
.btn--primary:hover {
  background: var(--purple-light);
  color: #ffffff;
  box-shadow: 0 0 36px var(--purple-glow);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
}
/* Force white text on Client Portal links across all themes. Higher
   specificity than .navbar__links a so it actually wins. */
a[href="portal.html"],
.navbar__links a[href="portal.html"],
.nav-mobile a[href="portal.html"],
a[href="portal.html"].btn,
a[href="portal.html"].btn--outline,
a[href="portal.html"].btn--primary { color: #ffffff; }
a[href="portal.html"].btn--outline:hover,
a[href="portal.html"].btn--primary:hover { color: #ffffff; }

/* Get a Quote / outline buttons need to be visible on the light theme
   too. Switch them to brand purple text + border when in light mode. */
html[data-theme="light"] .btn--outline {
  color: var(--purple);
  border-color: var(--purple);
}
html[data-theme="light"] .btn--outline:hover {
  color: var(--purple-light);
  border-color: var(--purple-light);
}
.btn--outline:hover {
  border-color: var(--purple-light);
  color: var(--purple-light);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--purple-light);
  padding-left: 0;
}
.btn--ghost:hover { gap: 12px; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--black-border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--black-border);
}
.navbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}
.navbar__inner > .navbar__logo { justify-self: start; }
.navbar__inner > .theme-toggle { justify-self: end; }
.navbar__logo {
  display: flex;
  align-items: center;
}
.navbar__logo img {
  height: clamp(40px, 6vw, 68px);
  width: auto;
  margin: 4px 0 -8px;
  transition: height 0.2s ease;
}
.navbar__logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
}
.navbar__logo-text span { color: var(--purple-light); }
.navbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
}
.navbar__links a { white-space: nowrap; }
.navbar__links a {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-muted);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 1px;
  background: var(--purple-light);
  transform: scaleX(0);
  transition: var(--transition);
}
.navbar__links a:hover { color: var(--white); }
.navbar__links a:hover::after { transform: scaleX(1); }
.navbar__links a.active { color: var(--white); }
.navbar__links a.active::after { transform: scaleX(1); }
.navbar__links:has(a:not(.active):hover) a.active::after { transform: scaleX(0); }
.navbar__links .btn--primary { padding: 9px 20px; font-size: 0.8rem; }
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  cursor: pointer;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}
.navbar__hamburger span:nth-child(1) { background: var(--purple-light); }
.navbar__hamburger span:nth-child(3) { background: var(--purple-light); }
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--purple-light); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--white); }

/* ── Mobile Nav ── */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--black-border);
  z-index: 999;
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-muted);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.nav-mobile a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 1px;
  background: var(--purple-light);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--white); }
.nav-mobile a:hover::after { transform: scaleX(1); }
.nav-mobile a.active { color: var(--white); }
.nav-mobile a.active::after { transform: scaleX(1); }
.nav-mobile:has(a:not(.active):hover) a.active::after { transform: scaleX(0); }

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 0;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
  padding-top: calc(var(--nav-height) + 32px);
  padding-bottom: 140px;
}
/* Hero background — matches the coming-soon (index.html) treatment:
   three layered radial gradients, faint scan lines, fractal noise,
   and two floating orbs. */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(105,37,191,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(105,37,191,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 0%,  rgba(105,37,191,0.06) 0%, transparent 55%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(105,37,191,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105,37,191,0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
}
.hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.hero__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(105,37,191,0.03) 50%,
    transparent 100%);
  background-size: 100% 8px;
  animation: heroScanMove 8s linear infinite;
}
@keyframes heroScanMove {
  0%   { background-position: 0 0; }
  100% { background-position: 0 800px; }
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: heroOrbFloat 12s ease-in-out infinite;
}
.hero__orb--1 {
  width: 500px; height: 500px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(105,37,191,0.15) 0%, transparent 70%);
}
.hero__orb--2 {
  width: 350px; height: 350px;
  bottom: -80px; left: -80px;
  background: radial-gradient(circle, rgba(139,63,240,0.10) 0%, transparent 70%);
  animation-delay: -6s;
}
@keyframes heroOrbFloat {
  0%, 100% { transform: translate(0, 0)        scale(1);    }
  33%      { transform: translate(20px, -30px) scale(1.05); }
  66%      { transform: translate(-15px, 20px) scale(0.95); }
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
}
.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--purple);
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .line-purple {
  display: inline;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: 1.1rem;
  color: #ffffff;
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-dark);
}
.hero__scroll-line {
  width: 2px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--purple-light));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Stats Bar ── */
.stats {
  display: none; /* hidden for now */
  background: var(--black-card);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  padding: 40px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--black-border);
}
.stats__item {
  background: var(--black-card);
  padding: 24px 32px;
  text-align: center;
}
.stats__number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--purple-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stats__label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-muted);
}

/* ── Section Headers ── */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .divider { margin-left: auto; margin-right: auto; }
.section-header p { max-width: 600px; font-size: 1rem; margin-top: 12px; }
.section-header--center p { margin-left: auto; margin-right: auto; }

/* ── Service Cards (Homepage) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black-border);
}
.service-card {
  background: var(--black-card);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover { background: #131313; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--purple-light);
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.service-card p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.service-card__link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  margin-top: auto;
  align-self: flex-start;
}
.service-card__link:hover { gap: 12px; }
.service-card > .btn { margin-top: auto; align-self: flex-start; }
.service-card__icon-spacer { width: 48px; height: 48px; margin-bottom: 20px; flex-shrink: 0; }

/* ── Why Us ── */
.why-us { background: var(--black-soft); }
.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-us__list { margin-top: 32px; }
.why-us__item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--black-border);
}
.why-us__item:last-child { border-bottom: none; }
.why-us__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple-light);
  line-height: 1;
  min-width: 48px;
  flex-shrink: 0;
  text-align: left;
}
.why-us__text h4 { margin-bottom: 6px; font-size: 1rem; }
.why-us__text p { font-size: 0.875rem; }
.why-us__visual {
  position: relative;
  overflow: hidden;
}
.why-us__visual .cslider {
  width: 100%;
  max-width: none;
}
.why-us__visual-inner {
  text-align: center;
  padding: 40px;
}
.why-us__visual-inner svg {
  width: 120px;
  height: 120px;
  color: var(--purple);
  opacity: 0.3;
  margin: 0 auto 16px;
}
.why-us__visual-inner p {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.why-us__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--purple-glow) 0%, transparent 70%);
}

/* ── Portfolio Preview ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.portfolio-card {
  aspect-ratio: 4/3;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}
.portfolio-card:hover { transform: translateY(-4px); border-color: var(--purple); }
.portfolio-card__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  opacity: 1;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.portfolio-card:hover .portfolio-card__overlay { background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%); }
.portfolio-card__type {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 4px;
}
.portfolio-card__title { font-size: 0.95rem; font-weight: 600; color: #ffffff; }

/* ── Services Page - Carousel ── */
.services-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, var(--purple-glow) 0%, transparent 70%);
}
.hero > .container { text-align: center; }
.hero > .container p { margin-left: auto; margin-right: auto; }

.carousel {
  position: relative;
  overflow: hidden;
}
.carousel__track {
  display: flex;
  height: 700px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel__slide {
  min-width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
}
.carousel__card {
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(105,37,191,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(105,37,191,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 0%,  rgba(105,37,191,0.06) 0%, transparent 55%),
    var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  width: 100%;
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.carousel__card-icon {
  width: 64px;
  height: 64px;
  background: var(--purple-glow);
  border: 1px solid var(--purple);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--purple-light);
}
.carousel__card-icon svg { width: 32px; height: 32px; }
.carousel__card h2 { margin-bottom: 16px; font-size: 2rem; }
.carousel__card-desc { font-size: 1rem; line-height: 1.75; margin-bottom: 24px; }
.carousel__deliverables {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--white-subtle);
  border: 1px solid var(--black-border);
  border-left: 2px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.carousel__deliverables h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.carousel__deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--white-muted);
  padding: 6px 0;
}
.carousel__deliverables li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  margin-top: 7px;
  flex-shrink: 0;
}
.carousel__visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--black) 0%, #0d0d1a 100%);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.carousel__visual-icon {
  color: var(--purple);
  opacity: 0.2;
}
.carousel__visual-icon svg { width: 96px; height: 96px; }
.carousel__visual-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-muted);
}
.carousel__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--purple-glow) 0%, transparent 70%);
}
.carousel__visual--embed {
  background: none;
  border: none;
}
.carousel__visual--embed::before { display: none; }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.section-header + .carousel { margin-top: -32px; }
.carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--black-border);
  background: var(--black-card);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.carousel__btn:hover {
  border-color: var(--purple);
  background: var(--purple-glow);
  color: var(--purple-light);
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black-border);
  cursor: pointer;
  transition: var(--transition);
}
.carousel__dot.active {
  background: var(--purple);
  width: 24px;
  border-radius: 4px;
}
.carousel__progress {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--white-muted);
  min-width: 40px;
  text-align: center;
}

/* ── All Services List ── */
.all-services { background: var(--black-soft); }
.all-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-item {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  transition: var(--transition);
}
.service-item:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}
.service-item__icon {
  width: 48px;
  height: 48px;
  background: var(--purple-glow);
  border: 1px solid rgba(105,37,191,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple-light);
}
.service-item__icon svg { width: 24px; height: 24px; }
.service-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-item p { font-size: 0.875rem; line-height: 1.65; }

/* ── Portfolio Page ── */
.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 2px;
  border: 1px solid var(--black-border);
  background: var(--black-card);
  color: var(--white-muted);
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--purple); color: var(--white); }
.filter-btn.active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.portfolio-item:hover { border-color: var(--purple); transform: translateY(-4px); }
.portfolio-item__thumb {
  aspect-ratio: 16/10;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.portfolio-item__thumb-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  opacity: 0.15;
}
.portfolio-item__thumb-bg svg { width: 80px; height: 80px; }
.portfolio-item__body { padding: 20px; }
.portfolio-item__badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  border: 1px solid rgba(105,37,191,0.3);
  padding: 2px 8px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 8px;
}
.portfolio-item__title { font-size: 1rem; margin-bottom: 6px; }
.portfolio-item__desc { font-size: 0.85rem; line-height: 1.6; }

/* ── About Page ── */
.about-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.about-story h1 { margin-bottom: 24px; }
.about-story p { margin-bottom: 16px; line-height: 1.75; }
.about-visual {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.about-visual svg {
  width: 160px;
  height: 160px;
  color: var(--purple);
  opacity: 0.25;
  margin: 0 auto 24px;
}
.mission { background: var(--black-soft); }
.mission__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.mission__item {
  background: var(--black-card);
  padding: 40px 32px;
  text-align: center;
}
.mission__item-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--purple-light);
}
.mission__item-icon svg { width: 100%; height: 100%; }
.mission__item h4 { margin-bottom: 10px; }
.mission__item p { font-size: 0.875rem; }
.team { padding: 96px 0; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { border-color: var(--purple); }
.team-card__avatar {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--black) 0%, #0d0a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  opacity: 0.5;
}
.team-card__avatar svg { width: 80px; height: 80px; }
.team-card__body { padding: 24px; }
.team-card__name { font-size: 1.1rem; margin-bottom: 4px; }
.team-card__role {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 12px;
}
.team-card__bio { font-size: 0.875rem; line-height: 1.65; }
.tech-stack { background: var(--black-soft); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--black-border);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.tech-card {
  background: var(--black-card);
  padding: 40px 32px;
  text-align: center;
}
.tech-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--purple-light);
}
.tech-card__icon svg { width: 100%; height: 100%; }
.tech-card__title { margin-bottom: 10px; }
.tech-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tech-card__list li {
  font-size: 0.875rem;
  padding: 4px 0;
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap > p { margin-bottom: 36px; }
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-muted);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.95rem;
  color: var(--white);
  transition: var(--transition);
}
.form-control:focus { border-color: var(--purple); outline: none; }
.form-control::placeholder { color: rgba(255,255,255,0.2); }
select.form-control option { background: var(--black-card); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { margin-top: 8px; width: 100%; justify-content: center; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.contact-info-card h4 { margin-bottom: 16px; font-size: 1rem; }
.contact-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item svg {
  width: 18px;
  height: 18px;
  color: var(--purple-light);
  flex-shrink: 0;
  margin-top: 1px;
}
.contact-info-item span { font-size: 0.9rem; color: var(--white-muted); }
.service-select-note { font-size: 0.8rem; color: var(--white-muted); margin-top: 6px; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success svg { width: 48px; height: 48px; color: var(--purple-light); margin: 0 auto 16px; }
.form-success h3 { margin-bottom: 8px; }

/* ── Portal ── */
.portal-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.portal-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 50%, rgba(105,37,191,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(105,37,191,0.08) 0%, transparent 60%);
}
.portal-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(105,37,191,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105,37,191,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.portal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.portal-logo {
  text-align: center;
  margin-bottom: 40px;
}
.portal-logo img { height: 56px; margin: 0 auto 12px; }
.portal-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.portal-logo-text span { color: var(--purple-light); }
.portal-logo-sub {
  font-size: 0.8rem;
  color: var(--white-muted);
  margin-top: 4px;
}
.portal-box h2 { font-size: 1.6rem; margin-bottom: 6px; }
.portal-box > p { font-size: 0.875rem; margin-bottom: 32px; }
.portal-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #fca5a5;
  margin-bottom: 20px;
  display: none;
}

/* ── Dashboard ── */
.dashboard {
  min-height: 100vh;
  background: var(--black-soft);
}
.dashboard-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 240px;
  height: 100vh;
  background: var(--black);
  border-right: 1px solid var(--black-border);
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.dashboard-sidebar__logo {
  padding: 24px;
  border-bottom: 1px solid var(--black-border);
}
.dashboard-sidebar__logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.dashboard-sidebar__logo-text span { color: var(--purple-light); }
.dashboard-sidebar__nav { flex: 1; padding: 16px 12px; }
.dashboard-sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-muted);
  transition: var(--transition);
  margin-bottom: 2px;
}
.dashboard-sidebar__nav a svg { width: 18px; height: 18px; }
.dashboard-sidebar__nav a:hover { background: var(--white-subtle); color: var(--white); }
.dashboard-sidebar__nav a.active { background: var(--purple-glow); color: var(--purple-light); }
.dashboard-sidebar__footer {
  padding: 16px;
  border-top: 1px solid var(--black-border);
}
.dashboard-sidebar__user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.dashboard-sidebar__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple-glow);
  border: 1px solid var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}
.dashboard-sidebar__user-info { flex: 1; min-width: 0; }
.dashboard-sidebar__user-name { font-size: 0.85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dashboard-sidebar__user-role { font-size: 0.7rem; color: var(--white-muted); }
.dashboard-sidebar__logout {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-muted);
  background: transparent;
  border: 1px solid var(--black-border);
  cursor: pointer;
  transition: var(--transition);
}
.dashboard-sidebar__logout:hover { border-color: rgba(239,68,68,0.4); color: #fca5a5; }
.dashboard-sidebar__logout svg { width: 16px; height: 16px; }
.dashboard-main {
  margin-left: 240px;
  min-height: 100vh;
  padding: 40px;
}
.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 40px;
}
.dashboard-header h1 { font-size: 2rem; margin-bottom: 4px; }
.dashboard-header p { font-size: 0.875rem; }
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.dashboard-stat {
  background: var(--black);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.dashboard-stat__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 4px;
}
.dashboard-stat__label { font-size: 0.8rem; color: var(--white-muted); }
.dashboard-projects { margin-bottom: 40px; }
.dashboard-section-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project-card {
  background: var(--black);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  transition: var(--transition);
}
.project-card:hover { border-color: var(--purple); }
.project-card__name { font-weight: 600; margin-bottom: 4px; }
.project-card__meta { font-size: 0.8rem; color: var(--white-muted); display: flex; gap: 16px; }
.project-card__type {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
  border: 1px solid rgba(105,37,191,0.3);
  padding: 2px 8px;
  border-radius: 2px;
}
.status-badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.status-badge--complete { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.status-badge--progress { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.status-badge--review { background: var(--purple-glow); color: var(--purple-light); border: 1px solid rgba(105,37,191,0.3); }
.project-card__actions { display: flex; gap: 8px; align-items: center; }
.deliverable-list { display: flex; flex-direction: column; gap: 8px; }
.deliverable-item {
  background: var(--black);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.deliverable-item:hover { border-color: var(--purple); }
.deliverable-item__icon { color: var(--purple-light); }
.deliverable-item__icon svg { width: 20px; height: 20px; }
.deliverable-item__info { flex: 1; }
.deliverable-item__name { font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.deliverable-item__meta { font-size: 0.75rem; color: var(--white-muted); }
.deliverable-item__download {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-light);
  padding: 8px 14px;
  border: 1px solid rgba(105,37,191,0.3);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.deliverable-item__download:hover { background: var(--purple-glow); border-color: var(--purple); }
.deliverable-item__download svg { width: 14px; height: 14px; }

/* ── Footer ── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--black-border);
  padding: 72px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 240px));
  gap: 48px;
  max-width: 900px;
  margin: 0 auto 48px;
  justify-content: space-between;
  align-items: start;
}
.footer__brand p { font-size: 0.875rem; line-height: 1.7; margin-top: 16px; }
.footer__brand-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer__brand-logo { display: block; }
.footer__brand-logo img { width: 100%; height: auto; max-width: 220px; margin: 0; display: block; }
.footer__brand-logo span { color: var(--purple-light); }
.footer__col h5 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  font-size: 0.875rem;
  color: var(--white-muted);
  transition: var(--transition);
}
.footer__col ul a:hover { color: var(--purple-light); }
.footer__disclaimer {
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  padding: 20px 0;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--white-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__copy { font-size: 0.8rem; color: var(--white-muted); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-muted);
  transition: var(--transition);
}
.footer__social a:hover { border-color: var(--purple); color: var(--purple-light); }
.footer__social a svg { width: 16px; height: 16px; }

/* ── Theme Toggle Button ── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  background: var(--purple);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--purple);
}
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle__icon { display: flex; align-items: center; justify-content: center; }
.theme-toggle__icon--hover { display: none; }
.theme-toggle:hover .theme-toggle__icon--current { display: none; }
.theme-toggle:hover .theme-toggle__icon--hover { display: flex; }
html[data-theme="light"] .theme-toggle {
  border: 1px solid rgba(0,0,0,0.2);
  background: var(--purple);
  color: #ffffff;
}
html[data-theme="light"] .theme-toggle:hover {
  background: #111827;
  border-color: #111827;
  color: var(--purple);
}

/* ── FAQ Accordion ── */
.faq-item {
  border-bottom: 1px solid var(--black-border);
}
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-item__question:hover { color: var(--purple-light); }
.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-item__icon { transform: rotate(180deg); }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-item__answer {
  max-height: 600px;
  padding-bottom: 20px;
}
.faq-item__answer p {
  color: var(--white-dim);
  line-height: 1.7;
}
.faq-category h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--purple-light);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--purple);
  margin-bottom: 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.faq-col {
  min-width: 0;
}
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ── Light Theme ── */
html[data-theme="light"] {
  --black: #f0f2f5;
  --black-soft: #e8eaed;
  --black-card: #ffffff;
  --black-border: #d1d5db;
  --white: #111827;
  --white-dim: rgba(17,24,39,0.88);
  --white-muted: rgba(17,24,39,0.55);
  --white-subtle: rgba(17,24,39,0.07);
}
html[data-theme="light"] {
  background-color: var(--black);
}
html[data-theme="light"] body {
  color: var(--white-dim);
}
html[data-theme="light"] .navbar,
html[data-theme="light"] .navbar.scrolled {
  background: rgba(240,242,245,0.95);
}
html[data-theme="light"] .nav-mobile {
  background: rgba(240,242,245,0.98);
}
.cta-banner { background: linear-gradient(135deg,#0a0012 0%,#0d0a1a 50%,#000 100%); }
html[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg,#f3eefb 0%,#ece4f7 50%,#f7f5fb 100%);
}
html[data-theme="light"] .nav-mobile a { color: var(--white-muted); }
html[data-theme="light"] .nav-mobile a:hover,
html[data-theme="light"] .nav-mobile a.active { color: var(--white); }
html[data-theme="light"] .footer__col h5 { color: var(--purple); }
html[data-theme="light"] .filter-btn.active { color: #ffffff; }
html[data-theme="light"] .carousel__card.topo-bg-right::before { filter: saturate(3) brightness(0.7); opacity: 0.55; }
html[data-theme="light"] .nav-mobile a[href="portal.html"] { color: var(--purple); }
/* Lock the home-page hero to dark appearance in both themes */
html[data-theme="light"] .hero:has(.hero__video) {
  --black: #000000;
  --black-soft: #0a0a0a;
  --black-card: #111111;
  --black-border: #1a1a1a;
  --white: #ffffff;
  --white-dim: rgba(255, 255, 255, 0.85);
  --white-muted: rgba(255, 255, 255, 0.5);
  --white-subtle: rgba(255, 255, 255, 0.08);
}
html[data-theme="light"] .form-control {
  background: #f9fafb;
  color: var(--white);
}
html[data-theme="light"] .form-control::placeholder {
  color: rgba(17,24,39,0.3);
}
html[data-theme="light"] select.form-control option {
  background: #ffffff;
  color: #111827;
}
html[data-theme="light"] .service-card:hover { background: #f9f9f9; }
html[data-theme="light"] .team-card__avatar {
  background: linear-gradient(135deg, #e8eaed 0%, #d8d0f0 100%);
}
html[data-theme="light"] .carousel__visual {
  background: linear-gradient(135deg, #f0f2f5 0%, #e8e4f5 100%);
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }
.fade-in--delay-4 { transition-delay: 0.4s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .why-us__grid { grid-template-columns: 1fr; gap: 48px; }
  .about-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .carousel__card { grid-template-columns: 1fr; gap: 32px; height: auto; }
  .carousel__track { height: auto; }
  .carousel__slide { align-items: stretch; }
  .carousel__visual { aspect-ratio: 3/2; min-height: 200px; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
  .theme-toggle { margin-left: auto; margin-right: 8px; }
  .navbar__inner { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-full-grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .all-services__grid { grid-template-columns: 1fr; }
  .mission__grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .carousel__card { padding: 32px 24px; height: auto; }
  .carousel__track { height: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .dashboard-main { margin-left: 0; padding: 24px 16px; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-full-grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }
}


/* ══════════════════════════════════════════
   COMPARISON SLIDER
═══════════════════════════════════════════ */

.cslider {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--black-border);
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
  touch-action: pan-y;
}

.cslider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--obj-pos, 50% 50%);
  object-view-box: inset(10%);
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.cslider--no-zoom .cslider__img {
  object-view-box: none;
}

.cslider__img--b { z-index: 1; }

.cslider__img--a {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
}

.cslider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  transform: translateX(-50%);
  z-index: 10;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: ew-resize;
  touch-action: none;
}

.cslider__line {
  width: 2px;
  flex: 1;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
  pointer-events: none;
}

.cslider__grip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
  color: var(--purple);
  pointer-events: none;
}

.cslider__grip svg { width: 18px; height: 18px; }

.cslider__labels {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 14px;
  pointer-events: none;
  z-index: 5;
}

.cslider__label {
  background: var(--purple);
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Light theme */
html[data-theme="light"] .cslider { border-color: var(--black-border); background: #ffffff; }

/* Mobile */
@media (max-width: 480px) {
  .cslider { aspect-ratio: 1 / 1; }
  .cslider__grip { width: 40px; height: 40px; }
}
