/* ================================================================
   design-v2.css — Premium dark aesthetic
   Target: Linear / Vercel / Stripe-grade SaaS
   ================================================================ */

/* ----------------------------------------------------------------
   Design tokens
   ---------------------------------------------------------------- */
:root {
  /* Background */
  --bg:  #020817;
  --bg2: #060e1e;
  --bg3: #0b1630;

  /* Surfaces */
  --surface:       rgba(255, 255, 255, 0.038);
  --surface-hover: rgba(255, 255, 255, 0.07);

  /* Borders */
  --border:       rgba(255, 255, 255, 0.07);
  --border-hover: rgba(139, 92, 246, 0.5);
  --hairline:     rgba(255, 255, 255, 0.07);

  /* Accents */
  --purple:        #8b5cf6;
  --purple-bright: #a78bfa;
  --purple-deep:   #7c3aed;
  --cyan:          #22d3ee;
  --cyan-soft:     #67e8f9;
  --gold:          #fbbf24;

  /* Compat aliases (used by other layers) */
  --blue:          #8b5cf6;
  --blue-bright:   #a78bfa;
  --green:         #22d3ee;
  --orange:        #fbbf24;
  --pink:          #f2c4d7;

  /* Text */
  --text:   #f1f5f9;
  --muted:  rgba(241, 245, 249, 0.62);
  --muted2: rgba(241, 245, 249, 0.40);

  /* Glass */
  --glass:        rgba(6, 14, 30, 0.62);
  --glass-strong: rgba(6, 14, 30, 0.90);

  /* Shadows */
  --shadow-soft: 0 32px 96px rgba(0, 0, 0, 0.56);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.6);

  /* Focus ring */
  --ring: 0 0 0 3px rgba(139, 92, 246, 0.38);
}

/* ----------------------------------------------------------------
   Base
   ---------------------------------------------------------------- */
body {
  color: var(--text) !important;
  background:
    radial-gradient(ellipse 88% 55% at -8% -4%, rgba(88, 28, 235, 0.26), transparent),
    radial-gradient(ellipse 65% 48% at 108% 104%, rgba(22, 193, 255, 0.16), transparent),
    var(--bg) !important;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.75;
}

body::after {
  opacity: 0.12 !important;
}

/* Reduce noise-generating effects */
#starfield   { opacity: 0.2  !important; }
.aurora      { opacity: 0.1  !important; }
.cursor-glow { opacity: 0.22 !important; }
.ambient     { display: none !important; }

/* ----------------------------------------------------------------
   Gradient text
   ---------------------------------------------------------------- */
.nav-logo span,
.footer-logo span,
.grad {
  background: linear-gradient(135deg, #ffffff 5%, var(--purple-bright) 44%, var(--cyan) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ----------------------------------------------------------------
   Navigation
   ---------------------------------------------------------------- */
nav {
  top:    16px !important;
  left:   24px !important;
  right:  24px !important;
  min-height: 64px !important;
  padding: 0.5rem 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

nav.scrolled {
  background: transparent !important;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  min-height: 40px;
  text-shadow: 0 0 24px rgba(139, 92, 246, 0.2);
}

.nav-logo::before {
  content: "";
  width:  32px;
  height: 32px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 42% 36%, rgba(196, 181, 253, 0.85), transparent 54%),
    linear-gradient(145deg, #7c3aed, #2d1b69);
  border: 1px solid rgba(167, 139, 250, 0.28);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.18),
    0 8px 32px rgba(139, 92, 246, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

nav .nav-logo span {
  margin-left: -0.62rem;
}

/* Floating center pill */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: 0.1rem !important;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(2, 8, 23, 0.84);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.038),
    0 8px 40px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-links a {
  padding: 0.58rem 1.1rem;
  border-radius: 999px;
  color: rgba(241, 245, 249, 0.56) !important;
  font-weight: 600 !important;
  font-size: 0.83rem !important;
  letter-spacing: 0 !important;
  transition: color 0.18s, background 0.18s;
}

.nav-links a::after {
  display: none !important;
}

.nav-links a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07);
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.09);
}

.nav-right {
  margin-left: auto;
  gap: 0.75rem !important;
}

.nav-btn {
  min-height: 40px;
  padding: 0.6rem 1.15rem !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 0.84rem !important;
  letter-spacing: 0 !important;
  font-family: var(--font-body) !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.nav-btn.primary,
.nav-right .nav-btn:last-child {
  color: #fff !important;
  min-width: 128px;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 55%, #a855f7 100%) !important;
  border-color: rgba(167, 139, 250, 0.24) !important;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.18),
    0 0 32px rgba(139, 92, 246, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  transition: box-shadow 0.22s, transform 0.18s;
}

.nav-btn.primary:hover,
.nav-right .nav-btn:last-child:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.28),
    0 0 52px rgba(139, 92, 246, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.nav-btn.secondary,
.nav-right .nav-btn:first-child {
  color: var(--text) !important;
}

/* ----------------------------------------------------------------
   Buttons (global)
   ---------------------------------------------------------------- */
.btn-glow,
.footer-nl button,
.nl-widget button {
  border-radius: 999px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  transition: transform 0.18s, box-shadow 0.22s;
}

/* Primary CTA button — purple gradient */
.btn-glow.primary,
.footer-nl button,
.nl-widget button {
  color: #fff !important;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 52%, #a855f7 100%) !important;
  border-color: rgba(167, 139, 250, 0.22) !important;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.16),
    0 0 36px rgba(139, 92, 246, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.26) !important;
}

.btn-glow.primary:hover,
.footer-nl button:hover,
.nl-widget button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.28),
    0 8px 28px rgba(0, 0, 0, 0.3),
    0 0 52px rgba(139, 92, 246, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

/* Secondary ghost button */
.btn-glow.secondary {
  color: var(--text) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.024)),
    rgba(255, 255, 255, 0.03) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
}

.btn-glow.secondary:hover {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.038)),
    rgba(255, 255, 255, 0.048) !important;
  transform: translateY(-2px);
}

.hero .btn-glow.secondary {
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

/* ----------------------------------------------------------------
   Hero section
   ---------------------------------------------------------------- */
.hero {
  max-width: 1500px !important;
  min-height: 100vh !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr) !important;
  padding-top: 9.5rem !important;
}

.hero::before {
  inset: 7rem 1.4rem 2rem !important;
  border-radius: 28px !important;
  border-color: rgba(255, 255, 255, 0.068) !important;
  background:
    radial-gradient(ellipse 72% 58% at 0% 0%, rgba(88, 28, 235, 0.16), transparent),
    radial-gradient(ellipse 58% 48% at 100% 100%, rgba(22, 193, 255, 0.09), transparent),
    linear-gradient(158deg, rgba(255, 255, 255, 0.055), transparent 38%),
    rgba(10, 16, 32, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 36px 96px rgba(0, 0, 0, 0.5) !important;
}

.hero-content {
  max-width: 800px !important;
}

/* Labels / eyebrows */
.hero-eyebrow,
.section-label {
  color: var(--cyan) !important;
  border-color: rgba(34, 211, 238, 0.22) !important;
  background: rgba(34, 211, 238, 0.06) !important;
}

/* Heading */
.hero-h1 {
  max-width: 900px !important;
  font-size: clamp(3rem, 5.8vw, 6.1rem) !important;
  line-height: 0.97 !important;
  letter-spacing: -0.042em !important;
}

.hero-h1 .line {
  line-height: 1.04;
  padding-bottom: 0.04em;
}

.hero-h1 .line span {
  line-height: inherit;
}

.hero-h1 .line:nth-child(1) span,
.hero-h1 .line:nth-child(3) span {
  color: rgba(241, 245, 249, 0.88) !important;
  font-weight: 700 !important;
}

/* Subheadline */
.hero-sub,
.section-sub,
.page-hero p {
  color: var(--muted) !important;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.28vw, 1.18rem) !important;
  font-weight: 450 !important;
  text-shadow: none;
}

/* Prevent FOUC-related animation overrides */
.hero-sub,
.hero-actions,
.hero-proof,
.hero-stats {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Proof chips */
.hero-proof span,
.service-proof span,
.about-proof span,
.btag,
.ptag,
.tag-pill {
  border-color: rgba(255, 255, 255, 0.09) !important;
  background: rgba(255, 255, 255, 0.044) !important;
  color: var(--muted) !important;
}

.hero-proof span {
  border-color: rgba(34, 211, 238, 0.18) !important;
  background: rgba(34, 211, 238, 0.055) !important;
  color: rgba(241, 245, 249, 0.8) !important;
}

.hero-proof span::before {
  background: var(--cyan) !important;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.72) !important;
}

/* Stats row */
.hero-stat,
.stat-cell,
.portfolio-proof div {
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
    rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.088) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 2px 12px rgba(0, 0, 0, 0.32);
}

.hero-stat .num,
.stat-num,
.portfolio-proof strong {
  background: linear-gradient(135deg, #f1f5f9 10%, var(--purple-bright) 52%, var(--cyan)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Hero right-side visual — transparent container, card handles its own bg */
.hero-visual {
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.hero-visual::before,
.hero-visual::after {
  display: none !important;
}

/* ----------------------------------------------------------------
   Hero dashboard card
   ---------------------------------------------------------------- */
.hv-card {
  position: relative;
  width: min(420px, 90%);
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.018)),
    rgba(8, 14, 28, 0.78);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 8px 48px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(88, 28, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  animation: hvcFloat 7s ease-in-out infinite;
  z-index: 2;
}

@keyframes hvcFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* Card header */
.hvc-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hvc-logo-dot {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.5);
  flex-shrink: 0;
}

.hvc-title {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.92);
  letter-spacing: 0;
  flex: 1;
}

.hvc-live {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: rgba(34, 211, 238, 0.82);
  text-transform: uppercase;
}

.hvc-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.9);
  animation: blink 2s ease-in-out infinite;
}

/* Metric rows */
.hvc-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.88rem;
  margin-bottom: 1.15rem;
}

.hvc-row {
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
}

.hvc-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hvc-label {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(241, 245, 249, 0.48);
  font-family: var(--font-body);
}

.hvc-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hvc-green { color: var(--cyan); }
.hvc-amber { color: var(--gold); }

/* Progress bars */
.hvc-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.hvc-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-bright));
}

.hvc-fill-cyan {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.55), var(--cyan));
}

.hvc-fill-amber {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.55), var(--gold));
}

/* Sparkline footer */
.hvc-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hvc-chart-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.32);
  margin-bottom: 0.55rem;
}

.hvc-spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 44px;
}

.hvc-spark span {
  flex: 1;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--purple) 0%, rgba(139, 92, 246, 0.22) 100%);
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hvc-spark span:nth-last-child(-n+2) {
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(34, 211, 238, 0.22) 100%);
}

/* ----------------------------------------------------------------
   Float badge — new icon styles
   ---------------------------------------------------------------- */
.fb-dot-cyan {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}

.fb-trend {
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--cyan);
  flex-shrink: 0;
  font-style: normal;
}

/* Reposition badges for dashboard layout — near card corners */
.fb1 {
  top: 18% !important;
  right: 3% !important;
  left: auto !important;
  animation: floatA 7s ease-in-out infinite, badgePulse 8s ease-in-out infinite !important;
}

.fb2 {
  bottom: 18% !important;
  left: 3% !important;
  animation: floatB 8s ease-in-out 1.2s infinite, badgePulse 8s ease-in-out 2s infinite !important;
}

.fb3 {
  display: none !important;
}

/* ----------------------------------------------------------------
   Badge float animations (were referenced but never defined)
   ---------------------------------------------------------------- */
@keyframes floatA {
  0%, 100% { transform: translateY(0px)   translateX(0px); }
  33%       { transform: translateY(-7px)  translateX(3px); }
  66%       { transform: translateY(-3px)  translateX(-4px); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(0px)   translateX(0px); }
  40%       { transform: translateY(-5px)  translateX(-4px); }
  70%       { transform: translateY(-9px)  translateX(2px); }
}

@keyframes floatC {
  0%, 100% { transform: translateY(0px)   translateX(0px); }
  30%       { transform: translateY(-6px)  translateX(2px); }
  65%       { transform: translateY(-4px)  translateX(-3px); }
}

/* Override badge pulse to purple accent */
@keyframes badgePulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.09); }
  50%       { border-color: rgba(139, 92, 246, 0.35); }
}

/* ----------------------------------------------------------------
   Glass card system
   ---------------------------------------------------------------- */
.orb-core,
.oi,
.float-badge,
.tech-card,
.bento-cell,
.ow-card,
.testi-card,
.blog-card,
.article-card,
.featured,
.sb-widget,
.team-card,
.val-card,
.mv-cell,
.form-card,
.info-panel,
.port-card,
.ow-row,
.service-block,
.process-card,
.tl-item {
  border-color: rgba(255, 255, 255, 0.07) !important;
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.016)),
    rgba(10, 16, 32, 0.52) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 4px 24px rgba(0, 0, 0, 0.38);
}

.float-badge,
.bento-cell,
.ow-card,
.testi-card,
.blog-card,
.article-card,
.featured,
.sb-widget,
.team-card,
.val-card,
.mv-cell,
.form-card,
.info-panel,
.port-card,
.process-card {
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

/* Bento wrapper */
.bento {
  gap: 0.85rem !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

.bento-cell {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px !important;
}

/* Hover — purple glow lift */
.bento-cell:hover,
.ow-card:hover,
.testi-card:hover,
.blog-card:hover,
.article-card:hover,
.port-card:hover {
  border-color: rgba(139, 92, 246, 0.44) !important;
  transform: translateY(-5px);
  background:
    radial-gradient(circle at 75% 0%, rgba(139, 92, 246, 0.12), transparent 48%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.016)),
    rgba(10, 16, 32, 0.72) !important;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.14),
    0 20px 64px rgba(0, 0, 0, 0.46),
    0 0 44px rgba(139, 92, 246, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Bento cell top-edge accent */
.bento-cell::before {
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.1), transparent 30%),
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.1), transparent 56%) !important;
}

/* Bento cell number label */
.bento-num {
  color: rgba(34, 211, 238, 0.62) !important;
}

/* Icon containers */
.bento-icon,
.tech-icon,
.ow-icon,
.ri-icon,
.feat-icon,
.team-avatar,
.tav {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.076), rgba(34, 211, 238, 0.055)),
    rgba(15, 23, 42, 0.58) !important;
  border-color: rgba(255, 255, 255, 0.095) !important;
}

/* SVG stroke accent */
.mark-svg {
  stroke: var(--cyan) !important;
}

/* Tech grid — replace mint with electric cyan */
.tech-grid {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(34, 211, 238, 0.15), rgba(255, 255, 255, 0.08)) !important;
}

.tech-item {
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.06), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.014)),
    rgba(8, 14, 28, 0.92) !important;
}

.tech-item::before {
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.09), transparent 30%),
    radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.14), transparent 58%) !important;
}

.tech-item::after {
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent) !important;
}

.tech-item:hover {
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(8, 14, 28, 0.98) !important;
}

/* Link / arrow accents */
.bento-arrow,
.port-link,
.blog-link,
.article-link {
  color: var(--cyan) !important;
}

/* Warm-cream text overrides — cool palette consistency */
.bento-desc,
.section-head .section-sub,
.bento-num {
  color: var(--muted) !important;
}

/* ----------------------------------------------------------------
   Section backgrounds
   ---------------------------------------------------------------- */
.ai-section,
.tech-section,
.stats-strip,
.page-hero,
footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 58%),
    rgba(255, 255, 255, 0.009) !important;
}

/* CTA — dramatic purple glow from above */
.cta-section {
  background:
    radial-gradient(ellipse 82% 60% at 50% -8%, rgba(88, 28, 235, 0.36), transparent),
    radial-gradient(ellipse 48% 38% at 50% 112%, rgba(22, 193, 255, 0.12), transparent),
    rgba(6, 14, 30, 0.97) !important;
}

.page-hero::before,
.cta-section::before {
  border-color: rgba(255, 255, 255, 0.07) !important;
  background:
    linear-gradient(148deg, rgba(255, 255, 255, 0.055), transparent 40%),
    rgba(15, 23, 42, 0.2) !important;
}

/* ----------------------------------------------------------------
   Images
   ---------------------------------------------------------------- */
.port-img,
.blog-img,
.art-img,
.featured-img {
  filter: saturate(0.78) contrast(1.05);
}

/* ----------------------------------------------------------------
   Forms
   ---------------------------------------------------------------- */
input,
select,
textarea {
  border-color: rgba(255, 255, 255, 0.09) !important;
  background: rgba(10, 16, 32, 0.55) !important;
  color: var(--text) !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(139, 92, 246, 0.46) !important;
  box-shadow: var(--ring) !important;
}

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer-grid {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.014)),
    rgba(10, 16, 32, 0.6);
  backdrop-filter: blur(16px);
}

/* ----------------------------------------------------------------
   Responsive — tablet
   ---------------------------------------------------------------- */
@media (max-width: 980px) {
  nav {
    top:   10px !important;
    left:  12px !important;
    right: 12px !important;
    min-height: 62px !important;
    padding: 0.45rem 0 !important;
  }

  .nav-links {
    position: static;
    transform: none;
  }

  .mobile-nav {
    top:   84px !important;
    left:  12px;
    right: 12px;
    inset-inline: 12px;
    width: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(2, 8, 23, 0.96) !important;
    backdrop-filter: blur(24px);
  }

  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
}

/* ----------------------------------------------------------------
   Responsive — tablet portrait (hero-visual squishes to 360px)
   ---------------------------------------------------------------- */
@media (max-width: 760px) {
  .fb1, .fb2 {
    display: none !important;
  }

  .hv-card {
    width: min(400px, 92%) !important;
    padding: 1.15rem 1.15rem 1rem !important;
  }

  .hvc-metrics {
    gap: 0.7rem !important;
  }

  .hvc-footer {
    padding-top: 0.75rem !important;
  }

  .hvc-spark {
    height: 36px !important;
  }
}

/* ----------------------------------------------------------------
   Responsive — mobile
   ---------------------------------------------------------------- */
@media (max-width: 760px) {
  nav {
    min-height: 60px !important;
    padding: 0.5rem 0.65rem !important;
  }

  .nav-right {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
    position: fixed !important;
    top:   1.2rem !important;
    right: 1.1rem !important;
    z-index: 220;
    transform: none;
    margin-left: auto;
    width:  38px !important;
    height: 38px !important;
    border-color: rgba(167, 139, 250, 0.24) !important;
    background:
      radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.44), transparent 48%),
      rgba(10, 16, 32, 0.7) !important;
    box-shadow: 0 0 22px rgba(139, 92, 246, 0.24);
  }

  .hamburger span {
    background: #fff !important;
  }

  .nav-logo::before {
    width:  24px;
    height: 24px;
    border-radius: 7px;
  }

  .hero::before,
  .page-hero::before {
    border-radius: 20px !important;
  }

  .hero-h1 {
    max-width: 100% !important;
    font-size: clamp(1.9rem, 9.2vw, 2.4rem) !important;
    line-height: 1.0 !important;
  }

  .hero-h1 .line {
    overflow: visible !important;
  }

  .hero-h1 .line span {
    white-space: normal !important;
    overflow-wrap: normal;
  }

  .footer-grid {
    padding: 1.25rem;
    border-radius: 18px;
  }
}

/* ================================================================
   Enhancement layer — premium micro-details (market-standard)
   ================================================================ */

/* ----------------------------------------------------------------
   Scroll progress bar
   ---------------------------------------------------------------- */
.scroll-progress {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  height: 2px !important;
  width: 0% !important;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-bright) 55%, var(--cyan)) !important;
  z-index: 9999 !important;
  pointer-events: none !important;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.65), 0 0 20px rgba(34, 211, 238, 0.3) !important;
  transition: width 0.08s linear !important;
}

/* ----------------------------------------------------------------
   Announcement badge
   ---------------------------------------------------------------- */
.announce-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.3rem 0.9rem 0.3rem 0.38rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(139, 92, 246, 0.32) !important;
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(34, 211, 238, 0.06)),
    rgba(10, 16, 32, 0.68) !important;
  backdrop-filter: blur(12px) !important;
  color: rgba(241, 245, 249, 0.82) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  margin-bottom: 1.4rem !important;
  cursor: default !important;
  transition: border-color 0.2s, background 0.2s, transform 0.2s !important;
  width: fit-content !important;
}

.announce-pill:hover {
  border-color: rgba(139, 92, 246, 0.55) !important;
  transform: translateY(-1px) !important;
}

.announce-new {
  font-family: var(--font-mono) !important;
  font-size: 0.58rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple)) !important;
  border-radius: 999px !important;
  padding: 0.2rem 0.55rem !important;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.55) !important;
  flex-shrink: 0 !important;
  -webkit-text-fill-color: #fff !important;
}

.announce-text {
  color: rgba(241, 245, 249, 0.74) !important;
  letter-spacing: 0 !important;
}

.announce-arrow {
  font-size: 0.92rem !important;
  color: var(--cyan) !important;
  transition: transform 0.2s !important;
  flex-shrink: 0 !important;
}

.announce-pill:hover .announce-arrow {
  transform: translateX(3px) !important;
}

/* ----------------------------------------------------------------
   Marquee — gradient fade masks on edges
   ---------------------------------------------------------------- */
.marquee-section {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 130px,
    black calc(100% - 130px),
    transparent
  ) !important;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 130px,
    black calc(100% - 130px),
    transparent
  ) !important;
}

/* ----------------------------------------------------------------
   Testimonials — decorative large quote + gold stars
   ---------------------------------------------------------------- */
.testi-card {
  position: relative !important;
  overflow: hidden !important;
}

.testi-card::after {
  content: '\201C' !important;
  position: absolute !important;
  top: -0.5rem !important;
  right: 1.1rem !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 7rem !important;
  line-height: 1 !important;
  color: rgba(139, 92, 246, 0.1) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  user-select: none !important;
}

.testi-quote {
  position: relative !important;
  z-index: 1 !important;
}

.testi-stars {
  background: linear-gradient(90deg, #fbbf24, #f59e0b 45%, #fcd34d) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ----------------------------------------------------------------
   Section label — gradient dash accent
   ---------------------------------------------------------------- */
.section-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.6rem !important;
}

.section-label::before {
  content: '' !important;
  display: inline-block !important;
  width: 16px !important;
  height: 2px !important;
  background: linear-gradient(90deg, var(--cyan), var(--purple)) !important;
  border-radius: 999px !important;
  flex-shrink: 0 !important;
}

/* ----------------------------------------------------------------
   Footer social icons
   ---------------------------------------------------------------- */
.footer-social {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  margin-top: 1.15rem !important;
}

.footer-social-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(241, 245, 249, 0.45) !important;
  text-decoration: none !important;
  transition: all 0.22s !important;
  flex-shrink: 0 !important;
}

.footer-social-link svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
  display: block !important;
}

.footer-social-link:hover {
  border-color: rgba(139, 92, 246, 0.42) !important;
  background: rgba(139, 92, 246, 0.1) !important;
  color: var(--purple-bright) !important;
  transform: translateY(-2px) !important;
}

/* ----------------------------------------------------------------
   Hero visual — extra ambient depth behind card
   ---------------------------------------------------------------- */
.hero-visual {
  position: relative !important;
}

.hero-visual::before {
  content: '' !important;
  position: absolute !important;
  inset: 10% !important;
  background: radial-gradient(ellipse 70% 56% at 50% 50%, rgba(88, 28, 235, 0.18), transparent) !important;
  filter: blur(40px) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.hv-card {
  position: relative !important;
  z-index: 2 !important;
}

.float-badge {
  z-index: 3 !important;
}

/* ----------------------------------------------------------------
   Blog card — richer gradient images
   ---------------------------------------------------------------- */
.blog-img[style*="1e3a5f"] {
  background: linear-gradient(145deg, #0a1020, #1a2f5a, #0d204a) !important;
}

/* ----------------------------------------------------------------
   Section dividers — gradient top-edge glow
   ---------------------------------------------------------------- */
.sec-pad + .sec-pad,
[style*="border-top:1px solid var(--border)"] {
  position: relative;
}

/* ----------------------------------------------------------------
   Ongoing cards — enhanced progress bar
   ---------------------------------------------------------------- */
.ow-progress-bar {
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 999px !important;
  overflow: hidden !important;
}

.ow-progress-fill {
  background: linear-gradient(90deg, var(--purple-deep), var(--cyan)) !important;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.35) !important;
}

/* ----------------------------------------------------------------
   CTA section — spotlight beam
   ---------------------------------------------------------------- */
.cta-section::after {
  content: '' !important;
  position: absolute !important;
  top: -2px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 1px !important;
  height: 80px !important;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.7), transparent) !important;
  pointer-events: none !important;
}

.cta-inner {
  position: relative !important;
}

.cta-inner::before {
  content: '' !important;
  position: absolute !important;
  inset: -3rem !important;
  background: radial-gradient(ellipse 60% 50% at 50% -5%, rgba(88, 28, 235, 0.18), transparent) !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* ----------------------------------------------------------------
   Nav — active page indicator dot
   ---------------------------------------------------------------- */
.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
  display: none !important;
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  position: relative !important;
}

/* ----------------------------------------------------------------
   Bento icon SVG — color override (purple for bc-1/bc-6, cyan default)
   ---------------------------------------------------------------- */
.bento-cell.bc-1 .mark-svg,
.bento-cell.bc-2 .mark-svg {
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.55)) !important;
  color: var(--purple-bright) !important;
  stroke: var(--purple-bright) !important;
}

.bento-cell.bc-3 .mark-svg,
.bento-cell.bc-5 .mark-svg {
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.55)) !important;
}

.bento-cell.bc-4 .mark-svg,
.bento-cell.bc-6 .mark-svg {
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.5)) !important;
}

/* ----------------------------------------------------------------
   Smooth card entrance stagger for tech grid
   ---------------------------------------------------------------- */
.tech-item:nth-child(1) { transition-delay: 0.05s !important; }
.tech-item:nth-child(2) { transition-delay: 0.1s  !important; }
.tech-item:nth-child(3) { transition-delay: 0.15s !important; }
.tech-item:nth-child(4) { transition-delay: 0.2s  !important; }
.tech-item:nth-child(5) { transition-delay: 0.25s !important; }
.tech-item:nth-child(6) { transition-delay: 0.3s  !important; }
.tech-item:nth-child(7) { transition-delay: 0.35s !important; }
