/* ============================================================
   NF INNOVATIONS — AI Startup (Light Mode)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Syne:wght@400;500;600;700;800&display=swap');

/* ── Variables ── */
:root {
  --bg: #ffffff;
  --bg2: #f5f4fb;
  --bg3: #ede9f8;
  --surface: rgba(123, 93, 255, 0.05);
  --surface2: rgba(123, 93, 255, 0.09);
  --border: rgba(123, 93, 255, 0.13);
  --border2: rgba(123, 93, 255, 0.25);

  --purple: #7b5dff;
  --purple-soft: #9575ff;
  --purple-glow: rgba(123, 93, 255, 0.25);
  --purple-dim: rgba(123, 93, 255, 0.09);
  --lime: #dffd2a;
  --lime-dark: #c8e018;
  --lime-glow: rgba(223, 253, 42, 0.3);

  --text: #1a1630;
  --text-muted: #5a5480;
  --text-dim: #9490b0;

  --font-head: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 40px;
  --r-full: 9999px;

  --shadow: 0 8px 40px rgba(123, 93, 255, 0.10);
  --shadow-purple: 0 0 60px rgba(123, 93, 255, 0.12);
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Theme: Blue ── */
[data-theme="blue"] {
  --purple: #2563eb;
  --purple-soft: #3b82f6;
  --purple-glow: rgba(37, 99, 235, 0.25);
  --purple-dim: rgba(37, 99, 235, 0.09);
  --lime: #06b6d4;
  --lime-dark: #0891b2;
  --lime-glow: rgba(6, 182, 212, 0.3);
  --surface: rgba(37, 99, 235, 0.05);
  --surface2: rgba(37, 99, 235, 0.09);
  --border: rgba(37, 99, 235, 0.14);
  --border2: rgba(37, 99, 235, 0.28);
  --bg: #ffffff;
  --bg2: #f0f5ff;
  --bg3: #ddeaff;
  --text: #0f1e40;
  --text-muted: #3a5080;
  --text-dim: #7090b0;
  --shadow: 0 8px 40px rgba(37, 99, 235, 0.10);
  --shadow-purple: 0 0 60px rgba(37, 99, 235, 0.12);
}

/* ── Theme: Cyan ── */
[data-theme="cyan"] {
  --purple: #06B6D4;
  --purple-soft: #0EA5E9;
  --purple-glow: rgba(6, 182, 212, 0.28);
  --purple-dim: rgba(6, 182, 212, 0.08);
  --lime: #0EA5E9;
  --lime-dark: #0284C7;
  --lime-glow: rgba(14, 165, 233, 0.3);
  --surface: rgba(6, 182, 212, 0.05);
  --surface2: rgba(6, 182, 212, 0.09);
  --border: rgba(6, 182, 212, 0.14);
  --border2: rgba(6, 182, 212, 0.28);
  --bg: #ffffff;
  --bg2: #f0fbff;
  --bg3: #d8f4ff;
  --text: #062030;
  --text-muted: #4B5563;
  --text-dim: #6b8090;
  --shadow: 0 8px 40px rgba(6, 182, 212, 0.10);
  --shadow-purple: 0 0 60px rgba(6, 182, 212, 0.12);
}

/* ── Theme: Emerald ── */
[data-theme="emerald"] {
  --purple: #10b981;
  --purple-soft: #34d399;
  --purple-glow: rgba(16, 185, 129, 0.25);
  --purple-dim: rgba(16, 185, 129, 0.09);
  --lime: #34d399;
  --lime-dark: #059669;
  --lime-glow: rgba(52, 211, 153, 0.3);
  --surface: rgba(16, 185, 129, 0.05);
  --surface2: rgba(16, 185, 129, 0.09);
  --border: rgba(16, 185, 129, 0.14);
  --border2: rgba(16, 185, 129, 0.28);
  --bg: #ffffff;
  --bg2: #f0fdf4;
  --bg3: #dcfce7;
  --text: #064e3b;
  --text-muted: #065f46;
  --text-dim: #34d399;
  --shadow: 0 8px 40px rgba(16, 185, 129, 0.10);
  --shadow-purple: 0 0 60px rgba(16, 185, 129, 0.12);
}

/* ── Theme: Flamingo ── */
[data-theme="flamingo"] {
  --purple: #f43f5e;
  --purple-soft: #fb7185;
  --purple-glow: rgba(244, 63, 94, 0.25);
  --purple-dim: rgba(244, 63, 94, 0.09);
  --lime: #fbbf24;
  --lime-dark: #f59e0b;
  --lime-glow: rgba(251, 191, 36, 0.3);
  --surface: rgba(244, 63, 94, 0.05);
  --surface2: rgba(244, 63, 94, 0.09);
  --border: rgba(244, 63, 94, 0.14);
  --border2: rgba(244, 63, 94, 0.28);
  --bg: #ffffff;
  --bg2: #fff1f2;
  --bg3: #ffe4e6;
  --text: #881337;
  --text-muted: #9f1239;
  --text-dim: #fb7185;
  --shadow: 0 8px 40px rgba(244, 63, 94, 0.10);
  --shadow-purple: 0 0 60px rgba(244, 63, 94, 0.12);
}

/* ── Theme: Amber ── */
[data-theme="amber"] {
  --purple: #f59e0b;
  --purple-soft: #fbbf24;
  --purple-glow: rgba(245, 158, 11, 0.25);
  --purple-dim: rgba(245, 158, 11, 0.09);
  --lime: #fde047;
  --lime-dark: #facc15;
  --lime-glow: rgba(253, 224, 71, 0.3);
  --surface: rgba(245, 158, 11, 0.05);
  --surface2: rgba(245, 158, 11, 0.09);
  --border: rgba(245, 158, 11, 0.14);
  --border2: rgba(245, 158, 11, 0.28);
  --bg: #ffffff;
  --bg2: #fffbeb;
  --bg3: #fef3c7;
  --text: #78350f;
  --text-muted: #92400e;
  --text-dim: #fbbf24;
  --shadow: 0 8px 40px rgba(245, 158, 11, 0.10);
  --shadow-purple: 0 0 60px rgba(245, 158, 11, 0.12);
}

/* ── Theme: Violet ── */
[data-theme="violet"] {
  --purple: #8b5cf6;
  --purple-soft: #a78bfa;
  --purple-glow: rgba(139, 92, 246, 0.25);
  --purple-dim: rgba(139, 92, 246, 0.09);
  --lime: #c084fc;
  --lime-dark: #a855f7;
  --lime-glow: rgba(192, 132, 252, 0.3);
  --surface: rgba(139, 92, 246, 0.05);
  --surface2: rgba(139, 92, 246, 0.09);
  --border: rgba(139, 92, 246, 0.14);
  --border2: rgba(139, 92, 246, 0.28);
  --bg: #ffffff;
  --bg2: #f5f3ff;
  --bg3: #ede9fe;
  --text: #4c1d95;
  --text-muted: #5b21b6;
  --text-dim: #a78bfa;
  --shadow: 0 8px 40px rgba(139, 92, 246, 0.10);
  --shadow-purple: 0 0 60px rgba(139, 92, 246, 0.12);
}

/* ── Theme: Ruby ── */
[data-theme="ruby"] {
  --purple: #e11d48;
  --purple-soft: #fb7185;
  --purple-glow: rgba(225, 29, 72, 0.25);
  --purple-dim: rgba(225, 29, 72, 0.09);
  --lime: #fda4af;
  --lime-dark: #f43f5e;
  --lime-glow: rgba(253, 164, 175, 0.3);
  --surface: rgba(225, 29, 72, 0.05);
  --surface2: rgba(225, 29, 72, 0.09);
  --border: rgba(225, 29, 72, 0.14);
  --border2: rgba(225, 29, 72, 0.28);
  --bg: #ffffff;
  --bg2: #fff1f2;
  --bg3: #ffe4e6;
  --text: #881337;
  --text-muted: #9f1239;
  --text-dim: #fb7185;
  --shadow: 0 8px 40px rgba(225, 29, 72, 0.10);
  --shadow-purple: 0 0 60px rgba(225, 29, 72, 0.12);
}

/* ── Smooth theme transitions ── */
html {
  transition: background-color 0.4s ease, color 0.4s ease;
}

*,
*::before,
*::after {
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    color 0.4s ease;
}

/* Exclude transitions that would break animations */
.orb,
.hero-mesh,
.grid-bg,
[class*="animate"],
[class*="fade"],
img,
svg,
video,
canvas {
  transition: none !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: clip;
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--t)
}

ul,
ol {
  list-style: none
}

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

svg {
  flex-shrink: 0
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 5px
}

::-webkit-scrollbar-track {
  background: var(--bg)
}

::-webkit-scrollbar-thumb {
  background: var(--purple-soft);
  border-radius: 3px;
  opacity: 0.5;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text)
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 800
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem)
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem)
}

p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75
}

/* ── Layout ── */
.container {
  width: min(1200px, calc(100% - 56px));
  margin-inline: auto;
  padding-inline: 0;
}

.section {
  padding: 110px 0;
  position: relative
}

/* ── Section Header ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-dim);
  border: 1px solid var(--border2);
  color: var(--purple);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--r-full);
  margin-bottom: 20px
}

.section-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block
}

.section-header {
  text-align: center;
  margin-bottom: 64px
}

.section-title {
  margin-bottom: 16px;
  color: var(--text)
}

.section-title span {
  background: linear-gradient(135deg, var(--purple), var(--purple-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.section-subtitle {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 30px;
  border-radius: var(--r-full);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--t);
  white-space: nowrap;
  cursor: pointer
}

.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 4px 28px var(--purple-glow)
}

.btn-primary:hover {
  background: var(--purple-soft);
  transform: translateY(-2px)
}

.btn-lime {
  background: var(--lime);
  color: #1a1630;
  font-weight: 800;
  box-shadow: 0 4px 24px var(--lime-glow)
}

.btn-lime:hover {
  background: var(--lime-dark);
  transform: translateY(-2px)
}

.btn-accent {
  background: var(--lime);
  color: #1a1630;
  font-weight: 800;
  box-shadow: 0 4px 24px var(--lime-glow);
}

.btn-accent:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--lime-glow);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border2);
  color: var(--text)
}

.btn-outline:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-dim)
}

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

/* ── Cards / Glass style ── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl)
}

/* ── Glow Orbs ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0
}

.orb-purple {
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%)
}

.orb-lime {
  background: radial-gradient(circle, var(--lime-glow) 0%, transparent 70%)
}

/* ── Grid BG ── */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 70px 70px
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s ease, transform 0.7s ease
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0)
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s ease, transform 0.7s ease
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0)
}

/* ============================================================
   HEADER — Aior-style floating pill
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 20px;
  pointer-events: none;
}

.header-wrap {
  max-width: 1260px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.75);
  /* Softer background */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid #1a1630;
  /* Thin black border */
  border-radius: 20px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  /* Diamond edge light */
  pointer-events: all;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Diamond Shine Effect */
.header-wrap::after {
  content: "";
  position: absolute;
  top: -150%;
  left: -150%;
  width: 400%;
  height: 400%;
  background: linear-gradient(105deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.1) 45%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0.1) 55%,
      rgba(255, 255, 255, 0) 60%);
  transform: rotate(-35deg);
  animation: diamondShine 6s infinite ease-in-out;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

@keyframes diamondShine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(-35deg);
  }

  30%,
  100% {
    transform: translateX(100%) translateY(100%) rotate(-35deg);
  }
}

.header.scrolled .header-wrap {
  box-shadow:
    0 8px 40px var(--purple-glow),
    0 0 20px var(--purple-dim);
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  gap: 24px
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0
}

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block
}

.footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px
}

.nav-item {
  position: relative
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  border-radius: var(--r-full);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--t)
}

.nav-link svg {
  width: 12px;
  height: 12px
}

.nav-link:hover,
.nav-link.active {
  color: var(--purple);
  background: var(--purple-dim)
}

/* Dropdown */
.nav-dropdown {
  position: relative
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transition: var(--t);
  box-shadow: var(--shadow)
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0)
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  font-size: 0.87rem;
  transition: var(--t)
}

.nav-dropdown-item:hover {
  background: var(--purple-dim);
  color: var(--purple)
}

.nav-dropdown-icon {
  width: 26px;
  height: 26px;
  background: var(--purple-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.nav-dropdown-icon svg {
  width: 13px;
  height: 13px;
  color: var(--purple)
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0
}

.nav-contact {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap
}

.nav-contact svg {
  width: 13px;
  height: 13px;
  color: var(--purple)
}

.nav-contact a:hover {
  color: var(--purple)
}

/* Divider */
.nav-divider {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: var(--border);
  border-radius: 1px;
  margin: 0 4px
}

/* Language pills */
.nav-lang {
  display: flex;
  gap: 3px;
  align-items: center
}

.lang-pill {
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--t);
  letter-spacing: 0.04em
}

.lang-pill:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-dim)
}

.lang-pill.active {
  background: var(--purple-dim);
  border-color: var(--purple);
  color: var(--purple);
  pointer-events: none
}

/* CTA button */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--purple);
  color: #fff;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-head);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--t);
  box-shadow: 0 3px 18px var(--purple-glow)
}

.btn-nav-cta:hover {
  background: var(--purple-soft);
  transform: translateY(-1px)
}

.btn-nav-arrow {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t)
}

.btn-nav-cta:hover .btn-nav-arrow {
  background: rgba(255, 255, 255, 0.28)
}

.btn-nav-arrow svg {
  width: 13px;
  height: 13px
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t)
}

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

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, var(--purple-dim) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 70%, var(--surface) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 90% 80%, var(--lime-glow) 0%, transparent 60%);
  animation: meshShift 10s ease-in-out infinite alternate
}

@keyframes meshShift {
  from {
    opacity: 1
  }

  to {
    opacity: 0.75
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-dim);
  border: 1px solid var(--border2);
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--r-full);
  margin-bottom: 26px;
  animation: fadeInUp 0.6s ease both
}

.hero-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulseDot 1.6s ease infinite
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4)
  }
}

.hero-title {
  font-size: clamp(2.6rem, 4.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease 0.1s both;
  color: var(--text);
  text-wrap: balance;
  text-align: left;
}

.hero-title .grad {
  background: linear-gradient(130deg, var(--purple) 0%, var(--purple-soft) 60%, var(--lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 38px;
  text-align: left;
  animation: fadeInUp 0.7s ease 0.2s both
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.3s both
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.7s ease 0.4s both
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text)
}

.stat-num span {
  color: var(--purple)
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 2px
}

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeInRight 0.9s ease 0.3s both
}

.hero-card-main {
  background: #fff;
  border: 1px solid var(--border2);
  border-radius: var(--r-2xl);
  padding: 28px;
  box-shadow: var(--shadow), var(--shadow-purple);
  position: relative;
  overflow: hidden
}

.hero-card-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-soft), var(--lime))
}

.hpc-monitor {
  background: #18103a;
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--border2)
}

.monitor-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px
}

.monitor-dots {
  display: flex;
  gap: 5px
}

.monitor-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%
}

.monitor-dots span:nth-child(1) {
  background: #ff5f57
}

.monitor-dots span:nth-child(2) {
  background: #ffc42d
}

.monitor-dots span:nth-child(3) {
  background: #28ca41
}

.monitor-title {
  font-size: 0.72rem;
  color: #9490b0;
  font-family: 'Courier New', monospace
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.metric-item {
  background: #120c30;
  border-radius: var(--r-sm);
  padding: 11px;
  border: 1px solid var(--border)
}

.metric-label {
  font-size: 0.67rem;
  color: #9490b0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px
}

.metric-value {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700
}

.metric-value.purple {
  color: var(--purple-soft)
}

.metric-value.lime {
  color: var(--lime)
}

.metric-value.blue {
  color: #60a5fa
}

.metric-value.orange {
  color: #fb923c
}

.metric-bar {
  margin-top: 6px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden
}

.metric-bar-fill {
  height: 100%;
  border-radius: 2px;
  animation: barGrow 1.5s ease forwards
}

.metric-bar-fill.purple {
  background: var(--purple-soft)
}

.metric-bar-fill.lime {
  background: var(--lime)
}

.metric-bar-fill.blue {
  background: #60a5fa
}

@keyframes barGrow {
  from {
    width: 0
  }
}

/* Code box */
.code-box {
  background: #18103a;
  border-radius: var(--r-md);
  padding: 14px;
  border: 1px solid var(--border2)
}

.code-line {
  display: flex;
  align-items: center;
  gap: 10px
}

.code-num {
  font-size: 0.67rem;
  color: #6b60a0;
  font-family: 'Courier New', monospace;
  width: 16px;
  text-align: right
}

.code-text {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem
}

.code-text.kw {
  color: #c084fc
}

.code-text.fn {
  color: #a5b4fc
}

.code-text.str {
  color: #bef264
}

.code-text.cm {
  color: #6b7280
}

/* Floating mini cards */
.hero-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border2);
  border-radius: var(--r-md);
  padding: 12px 16px;
  position: absolute;
  box-shadow: var(--shadow)
}

.hero-mini.f1 {
  bottom: -16px;
  left: -24px;
  animation: float 4s ease-in-out infinite
}

.hero-mini.f2 {
  top: 14px;
  right: -22px;
  animation: float 4s ease-in-out 1.2s infinite
}

.mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.mini-icon.purple {
  background: var(--purple-dim)
}

.mini-icon.lime {
  background: rgba(223, 253, 42, 0.12)
}

.mini-icon svg {
  width: 16px;
  height: 16px;
  color: var(--purple)
}

.mini-lbl {
  font-size: 0.72rem;
  color: var(--text-dim)
}

.mini-val {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text)
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-9px)
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(36px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker-section {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden
}

.ticker-track {
  display: flex;
  align-items: center;
  animation: ticker 35s linear infinite;
  width: max-content
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  white-space: nowrap
}

.ticker-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0
}

@keyframes ticker {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--bg);
  overflow-x: clip;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.services-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  width: 100%;
}

.services-marquee::before,
.services-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.services-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.services-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.services-track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: servicesScroll 44s linear infinite;
  padding: 0 12px;
  will-change: transform;
}

.services-marquee:hover .services-track {
  animation-play-state: paused;
}

.services-track .service-card {
  flex: 0 0 clamp(270px, 26vw, 340px);
}

@keyframes servicesScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .services-track {
    animation-duration: 36s;
    padding: 0 8px;
  }

  .services-track .service-card {
    flex-basis: 280px;
  }
}

@media (max-width: 640px) {

  .services-marquee::before,
  .services-marquee::after {
    width: 44px;
  }

  .services-track {
    animation-duration: 30s;
    gap: 14px;
    padding: 0 4px;
  }

  .services-track .service-card {
    flex-basis: 240px;
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid #000 !important;
  border-radius: var(--r-xl);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 200%;
  height: 200%;
  background: linear-gradient(105deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.05) 40%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.05) 60%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(-35deg);
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px var(--purple-glow);
}

.service-card:hover::after {
  left: 100%;
  top: 100%;
  opacity: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--lime));
  opacity: 0;
  transition: var(--t)
}

.service-card:hover::before {
  opacity: 1
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--purple-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--t);
  flex-shrink: 0
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: inherit;
}

.service-icon.teal {
  background: rgba(20, 184, 166, 0.08);
  border-color: rgba(20, 184, 166, 0.2)
}

.service-icon.teal svg {
  color: #14b8a6
}

.service-icon.lime {
  background: rgba(223, 253, 42, 0.08);
  border-color: rgba(223, 253, 42, 0.2)
}

.service-icon.lime svg {
  color: #a8c800
}

.service-icon.orange {
  background: rgba(251, 146, 60, 0.08);
  border-color: rgba(251, 146, 60, 0.2)
}

.service-icon.orange svg {
  color: #f97316
}

.service-icon.blue {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.2)
}

.service-icon.blue svg {
  color: #3b82f6
}

.service-card:hover .service-icon {
  background: var(--purple-dim)
}

.service-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text)
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  transition: var(--t)
}

.service-link:hover {
  gap: 10px;
  color: var(--purple-soft)
}

.service-link svg {
  width: 14px;
  height: 14px
}

/* Featured card */
.service-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center
}

.feature-visual {
  background: #18103a;
  border-radius: var(--r-md);
  padding: 18px;
  border: 1px solid var(--border2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 170px;
  justify-content: center
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  background: var(--bg3)
}

.how .section-header {
  margin-bottom: 72px
}

.steps-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative
}

.steps-track::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--lime), var(--purple), transparent);
  z-index: 0
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1
}

.step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--t);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 16px var(--purple-glow)
}

.step-circle::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--lime));
  z-index: -1;
  opacity: 0;
  transition: var(--t)
}

.step-item:hover .step-circle::before {
  opacity: 1
}

.step-num {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--purple)
}

.step-item:hover .step-num {
  color: var(--text)
}

.step-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px
}

.step-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6
}

/* ============================================================
   TEAM / STAFF
   ============================================================ */
/* Team styles removed - see staff/index.blade.php inline styles */

/* ============================================================
   ABOUT / WHY US
   ============================================================ */
.about {
  background: var(--bg2)
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

.about-visual {
  position: relative
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 30px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--lime))
}

.process-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg2);
  border-radius: var(--r-md);
  padding: 14px 16px;
  border: 1px solid var(--border);
  transition: var(--t)
}

.process-step:hover {
  border-color: var(--border2);
  background: var(--purple-dim)
}

.step-badge {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: white
}

.step-info-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px
}

.step-info-desc {
  font-size: 0.8rem;
  color: var(--text-muted)
}

.about-float {
  position: absolute;
  bottom: 18px;
  right: -18px;
  background: #fff;
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite
}

.float-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--purple)
}

.float-lbl {
  font-size: 0.72rem;
  color: var(--text-muted)
}

.about-content .section-tag {
  margin-bottom: 20px
}

.about-content h2 {
  margin-bottom: 14px
}

.about-content>p {
  margin-bottom: 28px
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.feature-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--purple-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px
}

.feature-check svg {
  width: 12px;
  height: 12px;
  color: var(--purple)
}

.feature-text h4 {
  font-size: 0.93rem;
  color: var(--text);
  margin-bottom: 2px
}

.feature-text p {
  font-size: 0.84rem;
  color: var(--text-muted)
}

.about-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  position: relative;
  overflow: hidden
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0
}

.stat-card {
  padding: 42px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative
}

.stat-card:last-child {
  border-right: none
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px
}

.stat-icon svg {
  width: 24px;
  height: 24px
}

.stat-big {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px
}

.stat-big span {
  color: var(--purple)
}

.stat-desc {
  font-size: 0.86rem;
  color: var(--text-muted)
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--bg)
}

.testimonial-wrap {
  max-width: 740px;
  margin: 0 auto;
  text-align: center
}

.testimonial-quote {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 44px 48px;
  position: relative;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
  transition: var(--t)
}

.testimonial-quote::before {
  content: '"';
  font-family: var(--font-head);
  font-size: 7rem;
  color: var(--purple);
  opacity: 0.12;
  line-height: 0.6;
  position: absolute;
  top: 32px;
  left: 36px
}

.testimonial-text {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 24px
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple);
  background: linear-gradient(135deg, var(--purple), var(--purple-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: white;
  font-size: 1.05rem;
  flex-shrink: 0
}

.testimonial-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted)
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap
}

.tnav-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--border);
  overflow: hidden;
  transition: var(--t);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.84rem
}

.tnav-item.active {
  border-color: var(--purple);
  box-shadow: 0 0 14px var(--purple-glow)
}

.tnav-item:hover {
  border-color: var(--purple-soft)
}

/* ============================================================
   TEAM — Aior portrait style
   ============================================================ */
.team {
  background: var(--bg2)
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px
}

.team-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}

.team-marquee::before,
.team-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.team-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg2), transparent);
}

.team-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg2), transparent);
}

.team-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: teamScroll 42s linear infinite;
}

.team-marquee:hover .team-track {
  animation-play-state: paused;
}

.team-track .team-card {
  flex: 0 0 clamp(280px, 28vw, 360px);
}

@keyframes teamScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .team-track {
    animation-duration: 34s;
  }

  .team-track .team-card {
    flex-basis: 260px;
  }
}

@media (max-width: 640px) {

  .team-marquee::before,
  .team-marquee::after {
    width: 44px;
  }

  .team-track {
    animation-duration: 28s;
    gap: 14px;
  }

  .team-track .team-card {
    flex-basis: 220px;
  }
}

/* Card = clean, no border, no shadow — let the photo do the work */
.team {
  background: var(--bg2);
  padding: 100px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.team-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}

.team-marquee::before,
.team-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.team-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg2), transparent);
}

.team-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg2), transparent);
}

.team-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: teamScroll 42s linear infinite;
}

.team-marquee:hover .team-track {
  animation-play-state: paused;
}

.team-track .team-card {
  flex: 0 0 clamp(280px, 28vw, 360px);
}

@keyframes teamScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .team-track {
    animation-duration: 34s;
  }

  .team-track .team-card {
    flex-basis: 260px;
  }
}

@media (max-width: 640px) {

  .team-marquee::before,
  .team-marquee::after {
    width: 44px;
  }

  .team-track {
    animation-duration: 28s;
    gap: 14px;
  }

  .team-track .team-card {
    flex-basis: 220px;
  }
}

/* Card = Aigency style with 25px border-radius */
.team-card {
  text-decoration: none;
  background: var(--bg);
  border-radius: 25px;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  position: relative;
  height: 100%;
  border: 1px solid var(--border);
  cursor: default;
  /* Not a link itself anymore */
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--purple-soft);
}

/* Portrait photo container */
/* Portrait photo container */
.team-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3.2 / 4;
  overflow: hidden;
  background: var(--bg3);
  display: block;
  text-decoration: none;
  cursor: pointer;
}

/* Big Decorative Text inside image */
.team-item-tag {
  position: absolute;
  bottom: 0px;
  left: 20px;
  font-family: var(--font-head);
  font-size: clamp(36px, 12vw, 68px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  line-height: 0.8;
  pointer-events: none;
  z-index: 2;
  text-transform: uppercase;
}

/* Curved Separator SVG Overlay */
.team-item-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

.team-item-curve svg {
  display: block;
  width: 100%;
  height: auto;
  fill: var(--bg);
  /* Match the card/section background */
}

.team-card:hover .team-img-wrap {
  transform: translateY(0);
}

.team-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.21, 0, 0.01, 0.98);
  display: block;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.08);
}

/* Initials fallback */
.team-avatar-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), #4f39f6);
}

/* Social icons overlay */
.team-socials-overlay {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.team-card:hover .team-socials-overlay {
  opacity: 1;
  transform: translateY(0);
}

.tsoc-icon {
  width: 36px;
  height: 36px;
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tsoc-icon:hover {
  background: var(--purple);
  border-color: var(--purple);
  transform: translateY(-3px);
}

.tsoc-icon svg {
  width: 16px;
  height: 16px;
}

/* Name + role below photo */
.team-info {
  padding: 20px 24px;
  text-align: center;
}

.team-role-pill {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
}

.team-role-pill::before {
  content: '(';
}

.team-role-pill::after {
  content: ')';
}

.team-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0;
  font-family: var(--font-head);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.team-name a:hover {
  color: var(--purple);
}

.team-card:hover .team-name a {
  color: var(--purple);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--bg)
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
  align-items: start
}

.faq-sidebar .section-tag {
  margin-bottom: 18px
}

.faq-sidebar h2 {
  margin-bottom: 14px
}

.faq-sidebar>p {
  margin-bottom: 28px;
  font-size: 0.93rem
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--t);
  box-shadow: var(--shadow)
}

.faq-item.active {
  border-color: var(--border2)
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  transition: var(--t);
  gap: 14px
}

.faq-question:hover {
  background: var(--surface)
}

.faq-q-text {
  font-family: var(--font-head);
  font-size: 0.91rem;
  font-weight: 600;
  color: var(--text)
}

.faq-toggle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--purple-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t)
}

.faq-toggle svg {
  width: 13px;
  height: 13px;
  color: var(--purple);
  transition: var(--t)
}

.faq-item.active .faq-toggle {
  background: var(--purple)
}

.faq-item.active .faq-toggle svg {
  color: white;
  transform: rotate(45deg)
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease
}

.faq-item.active .faq-answer {
  max-height: 220px
}

.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.8
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners {
  background: var(--bg2);
  padding: 90px 0
}

.partners-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  margin-top: 30px;
}

.partners-marquee::before,
.partners-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg2), transparent);
}

.partners-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg2), transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: partnersScroll 40s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes partnersScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-25%);
  }
}

.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 20px;
  padding: 40px 56px;
  /* Increased padding */
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  min-width: 290px;
  /* Increased min-width */
  margin: 0 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  opacity: 1;
  /* Full opacity for better visibility */
}

.partner-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(110, 74, 255, 0.15);
  border-color: var(--purple-soft);
}

.partner-item img {
  height: 110px;
  /* Significantly increased height */
  max-width: 240px;
  /* Increased max-width */
  width: auto;
  object-fit: contain;
  filter: none;
  /* Remove grayscale/filters */
  transition: transform 0.4s ease;
}

.partner-item:hover img {
  transform: scale(1.08);
}

.partner-text {
  font-weight: 700;
  color: var(--purple);
  font-size: 1.5rem;
  /* Increased font size */
  transition: color 0.3s;
}

.partner-item:hover .partner-text {
  color: var(--lime);
}

.partner-item span {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.partner-item:hover span {
  color: var(--purple)
}

/* ============================================================
   NEWS / BLOG
   ============================================================ */
.news {
  background: var(--bg)
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: var(--t);
  box-shadow: var(--shadow)
}

.news-card:hover {
  border-color: var(--border2);
  transform: translateY(-5px)
}

.news-img {
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease
}

.news-card:hover .news-img img {
  transform: scale(1.04)
}

.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--purple);
  color: white;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--r-full)
}

.news-body {
  padding: 24px
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px
}

.news-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: var(--text-dim)
}

.news-meta-item svg {
  width: 12px;
  height: 12px
}

.news-title {
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.45;
  display: block
}

.news-title:hover {
  color: var(--purple)
}

.news-excerpt {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--purple)
}

.news-more:hover {
  gap: 10px;
  color: var(--purple-soft)
}

.news-more svg {
  width: 14px;
  height: 14px
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg2)
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto
}

.cta-inner h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 14px;
  color: var(--text)
}

.cta-inner h2 span {
  background: linear-gradient(130deg, var(--purple), var(--purple-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.cta-inner>p {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 36px
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap
}

.cta-note {
  margin-top: 24px;
  font-size: 0.86rem;
  color: var(--text-dim)
}

.cta-note a {
  color: var(--purple)
}

.cta-note a:hover {
  color: var(--purple-soft)
}

/* ============================================================
   FOOTER  (dark, as reference)
   ============================================================ */
.footer {
  background: #120c30;
  border-top: 1px solid var(--border)
}

.footer-main {
  padding: 86px 0 50px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 60px
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px
}

.footer-desc {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 290px
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.85rem;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.social-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #444, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  position: relative;
  box-shadow:
    inset 0 -2px 4px rgba(0, 0, 0, 0.8),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.social-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  filter: blur(4px);
}

.social-btn:hover .social-icon-wrapper::before {
  opacity: 0.4;
}

.social-icon-wrapper i {
  position: relative;
  z-index: 1;
}

.footer-social-link svg {
  display: none;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-links li {
  margin-bottom: 9px
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--t)
}

.footer-links a:hover {
  color: var(--lime);
  padding-left: 4px
}

.footer-newsletter h4 {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px
}

.footer-newsletter p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px
}

.newsletter-form {
  display: flex;
  gap: 8px
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-full);
  padding: 10px 16px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.83rem;
  outline: none;
  transition: var(--t)
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.3)
}

.newsletter-input:focus {
  border-color: var(--purple)
}

.newsletter-btn {
  padding: 10px 18px;
  background: var(--purple);
  border-radius: var(--r-full);
  color: white;
  font-size: 0.83rem;
  font-weight: 600;
  transition: var(--t);
  white-space: nowrap
}

.newsletter-btn:hover {
  background: var(--purple-soft)
}

.newsletter-message {
  margin-top: 12px;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 6px;
  display: none;
}

.newsletter-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.newsletter-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px
}

.footer-contact svg {
  width: 13px;
  height: 13px;
  color: var(--purple-soft);
  margin-top: 4px;
  flex-shrink: 0
}

.footer-contact a,
.footer-contact span {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--t)
}

.footer-contact a:hover {
  color: var(--lime)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38)
}

.footer-bottom-links {
  display: flex;
  gap: 18px
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  transition: var(--t)
}

.footer-bottom-links a:hover {
  color: var(--lime)
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-soft));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--t);
  box-shadow: 0 4px 18px var(--purple-glow)
}

.back-top.visible {
  opacity: 1;
  pointer-events: all
}

.back-top:hover {
  transform: translateY(-3px)
}

.back-top svg {
  width: 17px;
  height: 17px
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 92vw;
  background: #fff;
  z-index: 2000;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px var(--purple-glow);
  border-left: 1px solid var(--border)
}

.mobile-menu.open {
  transform: translateX(0)
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 48, 0.45);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(3px)
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all
}

.mobile-menu-close {
  align-self: flex-end;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--purple-dim);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer
}

.mobile-menu-close svg {
  width: 16px;
  height: 16px
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1
}

.mobile-nav-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  padding: 11px 13px;
  border-radius: var(--r-md);
  transition: var(--t)
}

.mobile-nav-link:hover {
  background: var(--purple-dim);
  color: var(--purple)
}

.mobile-submenu {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px
}

.mobile-submenu-link {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: var(--t)
}

.mobile-submenu-link:hover {
  color: var(--purple);
  background: var(--purple-dim)
}