/* ===================== Theme Tokens ===================== */
:root {
  --primary: #7A33CF;
  --primary-2: #9B5DE5;
  --gradient: linear-gradient(135deg, #7A33CF, #9B5DE5);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 20px rgba(122, 51, 207, 0.08);
  --shadow-md: 0 12px 40px rgba(122, 51, 207, 0.15);
  --shadow-lg: 0 25px 80px rgba(122, 51, 207, 0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
  --header-h: 72px;
}

/* Dark mode (default) */
[data-theme="dark"] {
  --bg: #0D0D0D;
  --surface: #1A1A1A;
  --surface-2: #232323;
  --text: #FFFFFF;
  --text-muted: #B3B3B3;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(122, 51, 207, 0.5);
  --header-bg: rgba(13, 13, 13, 0.7);
  --glow: rgba(122, 51, 207, 0.35);
}

[data-theme="light"] .cta-banner h2 {
  background: linear-gradient(135deg, #1a1a1a 40%, rgba(122, 51, 207, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .cta-banner p { color: rgba(122, 51, 207, 0.9); }

[data-theme="light"] {
  --bg: #FFFFFF;
  --surface: #F5F5F7;
  --surface-2: #EDEDF0;
  --text: #111111;
  --text-muted: #555555;
  --border: rgba(17, 17, 17, 0.08);
  --border-hover: rgba(122, 51, 207, 0.4);
  --header-bg: rgba(255, 255, 255, 0.75);
  --glow: rgba(122, 51, 207, 0.2);
}

/* ===================== Reset ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, [contenteditable] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
html { 
  scroll-behavior: smooth; 
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

/* ===================== Performance Optimizations ===================== */
.header,
.dock,
.cookie-banner {
  will-change: transform;
  transform: translateZ(0);
}

/* Disable expensive animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Reduce expensive effects on lower-end devices */
@media (max-width: 768px) {
  .header,
  .dock {
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
  }
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: transprent;
  color:var(--primary);
  border:1px solid var(--primary)
}
.btn-primary:hover {
  background: var(--primary);
  color: var(--text); 
  transform: translateY(-2px); 
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-ghost:hover { 
  background: var(--primary);
  color: var(--text);
  transform: translateY(-2px); 
}


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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-2);
  margin-bottom: 0.75rem;
}

/* ===================== Header ===================== */

/* .header-socials hidden — social links removed from dock */
.header-socials { display: none; }

/* ══════════════════════════════════════
   Mobile & Tablet — App Dock Style
   ══════════════════════════════════════ */
@media (max-width: 968px) {

  /* Compact centered pill dock */
  .header {
    bottom: 1rem;
    left: 50%;
    right: auto;
    width: max-content;
    max-width: calc(100vw - 2rem);
    transform: translateX(-50%);
    height: auto;
    border-radius: 999px;
    padding: 0.45rem 0.6rem;
    background: rgba(14, 14, 22, 0.92);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(122, 51, 207, 0.3);
    box-shadow:
      0 8px 32px rgba(0,0,0,0.6),
      0 0 0 1px rgba(255,255,255,0.04) inset,
      0 0 24px rgba(122, 51, 207, 0.18);
  }
  .header-hidden {
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
    pointer-events: none;
  }

  /* Single flex row */
  .header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    height: auto;
  }

  /* Hide logo from dock */
  .logo { display: none; }

  /* Icon-only nav */
  .nav {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    flex-shrink: 0;
  }
  .nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s, transform 0.18s;
    position: relative;
  }
  .nav-item span { display: none; }
  .nav-item svg { width: 26px; height: 26px; }
  .nav-item:hover {
    color: #fff;
    background: rgba(122, 51, 207, 0.25);
    transform: translateY(-2px);
  }
  .nav-item.active {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 0 14px rgba(122, 51, 207, 0.55);
  }

  /* Divider + theme toggle */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
  }
  .header-actions::before {
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    background: rgba(122, 51, 207, 0.3);
    margin-right: 0.25rem;
  }
  .header-actions .btn-primary { display: none; }
  .header-actions .hamburger { display: none; }
  .theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s;
  }
  .theme-toggle:hover { background: rgba(122, 51, 207, 0.25); color: #fff; }
  .theme-toggle svg { width: 22px; height: 22px; }
}


.header {
  position: fixed;
  bottom: 1rem; left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 1000;
  height: var(--header-h);
  width: max-content;
  max-width: calc(100% - 2rem);
  background: linear-gradient(135deg, var(--header-bg) 0%, rgba(122, 51, 207, 0.05) 100%);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3), 0 0 60px rgba(122, 51, 207, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  overflow: hidden;
}
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-2), var(--primary), var(--primary-2), transparent);
  opacity: 0.8;
}
.header-hidden {
  transform: translateX(-50%) translateY(150px);
  opacity: 0;
  pointer-events: none;
}
.header.scrolled {
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4), 0 0 70px rgba(122, 51, 207, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(122, 51, 207, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2.5rem;
  padding: 0 1rem 0 1.5rem;
  position: relative;
  z-index: 1;
}
.logo { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.75rem; 
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo:hover {
  transform: translateY(-2px);
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--gradient);
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(122, 51, 207, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 50%);
}
.logo-text { 
  font-family: 'Space Grotesk', sans-serif; 
  font-size: 1.1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-dot { 
  color: var(--primary-2);
  -webkit-text-fill-color: var(--primary-2);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.nav-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.nav-item svg {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.nav-item span {
  position: relative;
  z-index: 1;
}
.nav-item:hover { 
  color: #fff;
  transform: translateY(-2px);
}
.nav-item:hover::before {
  opacity: 1;
}
.nav-item:hover svg {
  transform: scale(1.15) rotate(5deg);
}
.nav-item.active {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 6px 18px rgba(122, 51, 207, 0.35);
}

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.theme-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.theme-toggle:hover { 
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px) rotate(15deg);
}
.theme-toggle:hover::before {
  opacity: 1;
}
.theme-toggle .icon-sun, .theme-toggle .icon-moon { 
  position: absolute; 
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
[data-theme="light"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(90deg) scale(0.5); }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0) scale(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px; height: 38px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.hamburger span {
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 5rem 0 calc(var(--header-h) + 3rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text { text-align: left; max-width: 600px; }
.hero-spline {
  position: relative;
  width: 100%;
  height: 550px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-spline spline-viewer {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  transform: scale(1.3);
  transform-origin: center center;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.glow-1 { width: 480px; height: 480px; background: var(--primary); top: -120px; left: -120px; }
.glow-2 { width: 520px; height: 520px; background: var(--primary-2); bottom: -160px; right: -160px; opacity: 0.4; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.badge-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 0 0 rgba(155, 93, 229, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(155, 93, 229, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(155, 93, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(155, 93, 229, 0); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 0 2.25rem;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta {
  display: flex; gap: 0.85rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1rem 2rem;
  background: rgba(122, 51, 207, 0.1);
  border: 1px solid rgba(122, 51, 207, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.4rem; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat-lbl { font-size: 0.75rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; }

.section-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  width: 100%; height: 80px;
  z-index: 1;
  color: var(--bg);
}

/* ===================== Sections ===================== */
.section {
  padding: 6rem 0;
  position: relative;
}
.section-alt { background: var(--surface); }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.85rem; }
.section-head p { color: var(--text-muted); }

/* ===================== Cards Grid ===================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .cards-grid {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem max(1rem, calc((100vw - var(--max-w)) / 2 + 1rem));
    scrollbar-width: none;
    cursor: grab;
  }
  .cards-grid:active { cursor: grabbing; }
  .cards-grid::-webkit-scrollbar { display: none; }
  .cards-grid > .card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    user-select: none;
  }
}
.card {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  overflow: hidden;
}
[data-theme="light"] .card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(122, 51, 207, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(122, 51, 207, 0.3);
  box-shadow: 0 12px 40px rgba(122, 51, 207, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
[data-theme="light"] .card:hover {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 40px rgba(122, 51, 207, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover { transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(122, 51, 207, 0.12);
  color: var(--primary-2);
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.card:hover .card-icon { background: var(--gradient); color: #fff; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===================== Horizontal Scroll ===================== */
.section-alt .section-head { margin-bottom: 2.5rem; }
.hscroll-wrap { position: relative; }
.hscroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem max(1.5rem, calc((100vw - var(--max-w)) / 2 + 1.5rem));
  scrollbar-width: none;
  cursor: grab;
}
.hscroll:active { cursor: grabbing; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > .card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  user-select: none;
}
.hscroll-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  user-select: none;
}
.section-alt .hscroll-card { background: var(--bg); }
.hscroll-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.hscroll-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(122, 51, 207, 0.12);
  color: var(--primary-2);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.hscroll-card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.hscroll-card p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.hscroll-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hscroll-meta span {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-muted);
}

.hscroll-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.hscroll-btn {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  display: grid; place-items: center;
  transition: all var(--transition);
}
.hscroll-btn:hover { background: var(--gradient); color: #fff; border-color: transparent; }

/* ===================== Form ===================== */
/* New Redesigned Contact Section */
.contact-section { position: relative; overflow: hidden; isolation: isolate; }
.contact-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(122, 51, 207, 0.18), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: stretch;
}

/* === Profile Card === */
.contact-profile-card {
  position: relative;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cp-glow {
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(122, 51, 207, 0.25), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.cp-photo {
  position: relative;
  width: 110px; height: 110px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--gradient);
  padding: 3px;
  box-shadow: 0 12px 30px rgba(122, 51, 207, 0.4);
}
.cp-photo img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--surface);
}
.cp-photo-icon { display: none; color: #fff; }
.cp-photo.cp-photo-fallback {
  display: grid;
  place-items: center;
}
.cp-photo.cp-photo-fallback .cp-photo-icon { display: block; }

.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  background: rgba(122, 51, 207, 0.1);
  border: 1px solid rgba(122, 51, 207, 0.3);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.cp-name { font-size: 1.25rem; margin-bottom: 0.2rem; }
.cp-role {
  color: var(--primary-2);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cp-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.cp-social-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.cp-arrow { color: var(--primary-2); animation: bounceDown 1.5s infinite; }
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.cp-socials {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
}
.cp-social {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: all var(--transition);
}
.cp-social:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

/* === Channel Tabs (one panel at a time) === */
.cp-channels-tabs {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}
.cp-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.3rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.cp-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.5rem;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.cp-tab:hover { color: var(--text); }
.cp-tab.active {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(122, 51, 207, 0.4);
}
.cp-tab svg { flex-shrink: 0; }

.cp-channel { display: none; }
.cp-channel.active { display: flex; animation: cpFadeIn 0.35s ease; }
@keyframes cpFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Channel Panel (single) === */
.cp-channel {
  position: relative;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
  overflow: hidden;
}
.cp-channel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ch-color) 8%, transparent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.cp-channel:hover::before { opacity: 1; }
.cp-channel:hover { border-color: var(--ch-color); transform: translateY(-2px); }

.cp-channel-blue { --ch-color: #3b82f6; }
.cp-channel-green { --ch-color: #7a33cf; }
.cp-channel-purple { --ch-color: var(--primary); }

.cpc-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cpc-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ch-color) 20%, transparent), color-mix(in srgb, var(--ch-color) 5%, transparent));
  color: var(--ch-color);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--ch-color) 15%, transparent);
}
.cpc-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  flex: 1;
}
.cpc-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cpc-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 80%, #000));
  color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 30%, transparent);
}
.cpc-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.cpc-actions {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.25rem;
}
.cpc-actions .btn {
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  flex: 1;
  border-radius: 10px;
  gap: 0.5rem;
}
.cpc-actions .btn-ghost { 
  flex: 0 0 auto; 
  padding: 0.65rem; 
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 var(--primary);
  animation: pulse 1s infinite;
}

.contact-form-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.75rem 2.5rem;
  background: linear-gradient(145deg, var(--surface) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.contact-form-card::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(122, 51, 207, 0.18), transparent 60%);
  pointer-events: none;
}
.contact-form-card > * { position: relative; z-index: 1; }
.contact-form-card h3 { 
  font-size: 1.65rem; 
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-form-card > p { 
  color: var(--text-muted); 
  font-size: 0.95rem; 
  line-height: 1.6; 
  margin-bottom: 0.5rem;
}
.cpanel-icon {
  width: 68px; height: 68px;
  border-radius: 20px;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
  box-shadow: 0 12px 32px rgba(122, 51, 207, 0.4);
  position: relative;
}
.cpanel-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  background: var(--gradient);
  opacity: 0.25;
  filter: blur(10px);
  z-index: -1;
}
.cpanel h3 { font-size: 1.4rem; }
.cpanel > p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.cpanel-data {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 0.5rem;
}
.cpanel-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.cpanel-value {
  font-family: 'Space Grotesk', monospace;
  font-size: 1rem;
  color: var(--text);
  background: transparent;
  padding: 0;
  word-break: break-all;
}
.cpanel-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.cpanel-actions .btn { flex: 1; min-width: 140px; }

[data-copy].copied {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

/* ── Mobile only: icon-only dock, no logo, no text, no theme toggle ── */
@media (max-width: 599px) {
  .logo { display: none !important; }
  .nav-item span { display: none !important; }
  .header { padding: 0.5rem 0.75rem; }
  .header-inner { gap: 0.2rem; }
  .header-actions { display: none !important; }
}

/* Tablet: stack contact layout */
@media (max-width: 968px) {
  .ctab { padding: 0.7rem 0.5rem; font-size: 0.78rem; }
  .cpanel { padding: 1.5rem; }
  .cpanel-actions .btn { flex: 1 1 100%; }
}

.form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}
.form-wrapper::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(122, 51, 207, 0.12), transparent 60%);
  pointer-events: none;
}
.form-header { text-align: center; margin-bottom: 2rem; position: relative; }
.form-header h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.form-header p { color: var(--text-muted); font-size: 0.95rem; }

.form-grid {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
}
.field-full { grid-column: 1 / -1; }
.form-submit { grid-column: 1 / -1; justify-self: stretch; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-wrapper { padding: 1.75rem; }
}

/* ===================== Card-Style Icon-Prefix Form ===================== */
.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.field-icon {
  position: relative;
  display: block;
}
.field-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.field-ico-top {
  top: 14px;
  transform: none;
}
.field-icon input,
.field-icon textarea {
  width: 100%;
  padding: 1.1rem 1.2rem 1.1rem 58px;
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  outline: none;
  resize: vertical;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
}
.field-icon textarea {
  padding-top: 1.2rem;
  min-height: 130px;
  line-height: 1.6;
}
.field-icon input::placeholder,
.field-icon textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.65;
  font-weight: 500;
}
.field-icon input:hover,
.field-icon textarea:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
  background: var(--surface);
}
.field-icon input:focus,
.field-icon textarea:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent), 0 4px 20px color-mix(in srgb, var(--primary) 15%, transparent);
}
.field-icon:focus-within .field-ico { 
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-50%) scale(1.05);
}
.field-icon:focus-within .field-ico-top {
  transform: scale(1.05);
}

.form-submit {
  margin-top: 0.5rem;
  padding: 1.1rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 14px;
  gap: 0.6rem;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 35%, transparent);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.form-submit:hover {
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ===================== Contact Form - Hide on Mobile Phones ===================== */
@media (max-width: 599px) {
  .contact-form-card {
    display: none !important;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ===================== Contact Section - Tablet Only Layout ===================== */
@media (min-width: 600px) and (max-width: 968px) {
  /* Hide form card — profile card takes full width */
  .contact-form-card {
    display: none !important;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }

  /* Profile card — 2-col grid: photo+info | channels */
  .contact-profile-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    align-items: start;
    padding: 2rem 1.75rem;
    grid-template-areas:
      "photo  channels"
      "name   channels"
      "role   channels"
      "status channels"
      "bio    channels"
      "sochead channels"
      "socials channels"
      ".      channels";
  }
  .cp-glow { display: none; }

  /* Photo — left anchor */
  .cp-photo {
    grid-area: photo;
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
    border: 2px solid var(--border);
  }
  .cp-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
  }

  /* Name beside photo */
  .cp-name {
    grid-area: name;
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.2;
    align-self: end;
    text-align: left;
  }

  /* Role below name */
  .cp-role {
    grid-area: role;
    font-size: 0.85rem;
    margin: 0.2rem 0 0.6rem;
    align-self: start;
    text-align: left;
  }

  /* Status, bio, etc. below photo row */
  .contact-status {
    grid-area: status;
    margin-bottom: 0.65rem;
    justify-content: flex-start;
  }
  .cp-bio {
    grid-area: bio;
    font-size: 0.87rem;
    line-height: 1.65;
    margin-bottom: 0.85rem;
    text-align: left;
  }
  .cp-social-head {
    grid-area: sochead;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    justify-content: flex-start;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-align: left;
  }
  .cp-socials {
    grid-area: socials;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .cp-social {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  /* ── Right: Channels panel ────────────────────── */
  .cp-channels-tabs {
    grid-area: channels;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-self: stretch;
    border-left: 1px solid var(--border);
    padding-left: 1.5rem;
  }

  /* Redesigned tab bar for tablet */
  .cp-tabs {
    display: flex;
    flex-direction: row;
    gap: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 0.85rem;
    overflow: hidden;
  }
  .cp-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .cp-tab.active {
    background: var(--gradient);
    color: #fff;
    box-shadow: none;
  }
  .cp-tab svg { width: 13px; height: 13px; }

  /* Redesigned channel cards for tablet */
  .cp-channel {
    display: none;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.1rem 1.1rem 1rem;
    gap: 0.85rem;
  }
  .cp-channel.active { display: flex; }

  .cpc-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .cpc-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .cpc-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
  }
  .cpc-value {
    font-size: 0.78rem;
    color: var(--text-muted);
    word-break: break-all;
  }
  .cpc-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0;
  }
  .cpc-actions .btn {
    font-size: 0.78rem;
    padding: 0.5rem 0.9rem;
  }
}

/* ===================== Footer ===================== */
/* ===================== Unique Footer Design ===================== */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(122, 51, 207, 0.08) 50%, var(--bg) 100%);
  padding: 5rem 0 2rem;
  overflow: hidden;
  isolation: isolate;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-2), var(--primary), var(--primary-2), transparent);
  z-index: 1;
}
.footer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(122, 51, 207, 0.15), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
}
.footer-brand {
  position: relative;
}
.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.92rem;
  line-height: 1.7;
}
.footer-brand::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}
.footer-col {
  position: relative;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  padding-left: 1rem;
}
.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  background: var(--gradient);
  border-radius: 2px;
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.45rem 0;
  transition: all 0.3s ease;
  position: relative;
}
.footer-col a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
  color: var(--primary-2);
  font-weight: 700;
}
.footer-col a:hover {
  color: var(--primary-2);
  padding-left: 0.5rem;
}
.footer-col a:hover::before {
  opacity: 1;
  transform: translateX(0);
}
.social { 
  display: flex; 
  gap: 0.6rem; 
  flex-wrap: wrap;
}
.social a {
  width: 42px; 
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #0D0D0D;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.social a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.social a:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px) rotate(-5deg);
}
.social a:hover::before {
  opacity: 1;
}

.footer-newsletter {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.footer-newsletter h5 {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.footer-newsletter p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
}
.footer-newsletter input {
  flex: 1;
  padding: 0.55rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}
.footer-newsletter input:focus {
  border-color: var(--primary-2);
}
.footer-newsletter button {
  padding: 0.55rem 0.9rem;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 0.2s;
}
.footer-newsletter button:hover {
  transform: translateY(-1px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: var(--gradient);
}
.footer-bottom p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-bottom .heart {
  color: #ef4444;
  animation: heartbeat 1.5s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ===================== About Page ===================== */
.about-hero {
  position: relative;
  min-height: 90vh;
  padding: 8rem 0 6rem;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.about-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
}
.about-hero .eyebrow { margin-bottom: 1.5rem; }
.about-hero .hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  margin: 0 0 1.75rem;
  line-height: 1.05;
}
.about-hero .hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  margin: 0 auto;
  max-width: 720px;
  color: var(--text-muted);
  line-height: 1.7;
}
.about-hero .hero-sub strong { color: var(--text); }
.about-hero .credentials { margin-top: 2.5rem; }

@media (max-width: 768px) {
  .about-hero { min-height: auto; padding: 5rem 0 4rem; }
}

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: start;
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  position: sticky;
  top: 2rem;
}
.profile-avatar {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(122, 51, 207, 0.4);
  overflow: hidden;
  padding: 4px;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--surface);
}
.profile-avatar .avatar-fallback-icon { display: none; }
.profile-avatar.avatar-fallback .avatar-fallback-icon { display: block; }
.profile-card h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.profile-role {
  color: var(--primary-2);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.profile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.profile-meta li {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.profile-meta svg { color: var(--primary-2); flex-shrink: 0; }

.about-bio h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1.25rem; }
.about-bio p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
.about-bio strong { color: var(--text); font-weight: 600; }

.mission-quote {
  position: relative;
  padding: 1.25rem 1.5rem;
  margin: 0 0 1.5rem;
  background: linear-gradient(135deg, rgba(122, 51, 207, 0.08), rgba(155, 93, 229, 0.04));
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  font-style: italic;
}

.credentials {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.cred {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
}
.cred-red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}
.cred-purple {
  background: rgba(122, 51, 207, 0.12);
  color: var(--primary-2);
  border-color: rgba(122, 51, 207, 0.35);
}

.profile-meta a {
  color: inherit;
  transition: color var(--transition);
  word-break: break-all;
}
.profile-meta a:hover { color: var(--primary-2); }
.contact-list a { color: inherit; transition: color var(--transition); }
.contact-list a:hover { color: var(--primary-2); }

.bio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.bio-stat { text-align: center; }
.bio-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.bio-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Timeline */
.timeline {
  position: relative;
  list-style: none;
  padding: 0;
  max-width: 760px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}
.timeline-dot {
  position: absolute;
  left: 4px;
  top: 12px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--border);
}
.section-alt .timeline-dot { box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--border); }
.timeline-content { padding: 1.5rem 1.75rem; }
.timeline-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-2);
  margin-bottom: 0.5rem;
}
.timeline-content h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.timeline-content p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Tools */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.tool {
  padding: 1rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.tool:hover {
  border-color: var(--primary);
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(122, 51, 207, 0.15);
}

@media (max-width: 1024px) {
  .tool-grid {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem max(1rem, calc((100vw - var(--max-w)) / 2 + 1rem));
    scrollbar-width: none;
    cursor: grab;
  }
  .tool-grid:active { cursor: grabbing; }
  .tool-grid::-webkit-scrollbar { display: none; }
  .tool {
    flex: 0 0 140px;
    scroll-snap-align: start;
    user-select: none;
  }
}

/* Open Source Cards */
.os-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .os-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.os-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.os-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 51, 207, 0.3);

}
.os-card:hover::before { opacity: 0; }

.os-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(122, 51, 207, 0.15), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(122, 51, 207, 0.2);
  display: grid;
  place-items: center;
  color: var(--primary-2);
  transition: all 0.3s;
}
.os-card:hover .os-icon-wrap {
  background: var(--gradient);
  color: #fff;
  transform: scale(1.05);
}

.os-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.os-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.os-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.os-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.os-badge {
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  background: rgba(122, 51, 207, 0.1);
  border: 1px solid rgba(122, 51, 207, 0.2);
  border-radius: 999px;
  color: var(--primary-2);
  font-weight: 500;
  transition: all 0.2s;
}
.os-badge-tag {
  background: rgba(122, 51, 207, 0.2);
  border-color: rgba(122, 51, 207, 0.35);
  font-weight: 600;
}
.os-card:hover .os-badge {
  background: rgba(122, 51, 207, 0.15);
  border-color: rgba(122, 51, 207, 0.3);
}

.os-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: transprent;
  border: 1px solid var(--primary);
  border-radius: 10px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  flex: 1;
}
.os-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.os-card .os-btn + .os-btn {
  margin-left: 0.5rem;
}
.os-actions {
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: center;
}

@media (max-width: 768px) {
  .os-btn span {
    display: none;
  }
  .os-btn {
    padding: 0.6rem;
    width: 40px;
    height: 40px;
  }
  .os-card .os-btn + .os-btn {
    margin-left: 0.5rem;
  }
}

/* CTA Banner */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg);
  border: 1px solid rgba(122, 51, 207, 0.35);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(122, 51, 207, 0.12), inset 0 1px 0 rgba(255,255,255,0.06);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(122, 51, 207, 0.25), transparent 60%);
  transform: translateX(-50%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(122, 51, 207, 0.06) 0%, transparent 100%);
  pointer-events: none;
  border-radius: inherit;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #fff 40%, rgba(168, 85, 247, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-banner p { color: rgba(168, 85, 247, 0.85); margin-bottom: 1.75rem; position: relative; z-index: 1; font-weight: 500; }
.cta-banner .hero-cta { position: relative; margin-bottom: 0; z-index: 1; }

@media (max-width: 968px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .profile-card { position: static; }
}

@media (max-width: 768px) {
  .cta-banner {
    width: 90%;
    padding: 3rem 10px 3rem 20px;
  }
  .cta-banner h2 {
    font-size: 1.6rem;
  }
  .cta-banner p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .cta-banner .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .cta-banner .hero-cta .btn {
    width: 100%;
  }
}

/* ===================== Cookie Banner ===================== */
.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1100;
  max-width: 460px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(122, 51, 207, 0.15);
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(122, 51, 207, 0.15);
  color: var(--primary-2);
  display: grid;
  place-items: center;
}
.cookie-content { flex: 1; min-width: 0; }
.cookie-content h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.cookie-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  align-items: center;
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
    flex-wrap: wrap;
  }
  .cookie-content { flex: 1 1 100%; order: 1; }
  .cookie-icon { order: 0; }
  .cookie-actions {
    flex: 1 1 100%;
    order: 2;
    justify-content: flex-end;
  }
}

/* Push cookie banner above mobile dock when both shown */
@media (max-width: 768px) {
  .cookie-banner { bottom: calc(var(--header-h) + 2rem); }
}

/* ===================== Floating Mobile Dock ===================== */
.dock {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 999;
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  background: var(--header-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(122, 51, 207, 0.2);
  width: calc(100% - 1.5rem);
  max-width: 420px;
  justify-content: space-around;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
  opacity: 0;
}
.dock.show { transform: translateX(-50%) translateY(0); opacity: 1; }

.dock-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0.5rem 0.25rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
  transition: color var(--transition), transform var(--transition);
  min-width: 0;
}
.dock-item svg { width: 22px; height: 22px; }
.dock-item:active { transform: scale(0.92); }
.dock-item.active { color: var(--primary-2); }
.dock-item.active::before {
  content: '';
  position: absolute;
  top: 4px;
  width: 28px; height: 28px;
  background: rgba(122, 51, 207, 0.15);
  border-radius: 50%;
  z-index: -1;
  animation: dockPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes dockPop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.dock-center {
  flex: 0 0 auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: -28px;
}
.dock-fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(122, 51, 207, 0.55), 0 0 0 4px var(--bg);
  transition: transform var(--transition);
}
.dock-fab svg { width: 22px; height: 22px; }
.dock-center:hover .dock-fab { transform: translateY(-3px) rotate(-5deg); }
.dock-center:active .dock-fab { transform: scale(0.92); }

@media (max-width: 768px) {
  .dock { display: flex; }
  body { padding-bottom: 5rem; }
}

/* ===================== Reveal animations ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===================== Desktop Only - Header at Bottom (App-style) ===================== */
@media (min-width: 969px) {
  .header {
    position: fixed;
    top: auto;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    height: 70px;
    min-height: 70px;
    width: max-content;
    max-width: calc(100% - 2rem);
    margin-top: 0;
  }
  body {
    padding-bottom: 6rem;
  }
}

/* ===================== Responsive ===================== */
@media (max-width: 968px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-spline { height: 380px; order: -1; }
  .hero-spline spline-viewer { transform: translateY(20%) scale(1.6); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }


  /* Tablet Footer */
  .footer {
    padding: 3rem 2rem 6rem;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.2) 100%);
  }
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  .footer-brand { text-align: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-brand p { margin: 1rem auto 0; max-width: 300px; }
  .footer-col {
    text-align: center;
  }
  .footer-col h4 {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    position: relative;
    padding-bottom: 0.5rem;
  }
  .footer-col h4::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 25px;
    height: 2px;
    background: var(--gradient);
    border-radius: 999px;
  }
  .footer-col a {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.88rem;
    transition: transform 0.2s;
  }
  .footer-col a:hover {
    transform: translateY(-2px);
    color: var(--primary-2);
  }
  .social { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  /* Hide dock — header pill replaces it */
  .dock { display: none; }

  /* Mobile Footer - Card-style design (MHT reference) */
  .footer {
    display: block;
    padding: 3rem 1rem 6rem;
    margin-top: 3rem;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.6) 0%, var(--bg) 50%, var(--bg) 100%);
    border-top: 2px solid rgba(122, 51, 207, 0.3);
    position: relative;
  }
  .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(122, 51, 207, 0.6), rgba(155, 93, 229, 0.6), rgba(122, 51, 207, 0.6), transparent);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(122, 51, 207, 0.2);
  }
  .footer-brand,
  .footer-col {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(13, 13, 13, 0.9));
    border: 1px solid rgba(122, 51, 207, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
  }
  .footer-brand::before,
  .footer-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(122, 51, 207, 0.5), transparent);
  }
  .footer-brand::after { display: none; }
  .footer-brand {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(13, 13, 13, 0.95));
    border-color: rgba(122, 51, 207, 0.4);
  }
  .footer-brand .logo { justify-content: center; margin-bottom: 0.5rem; }
  .footer-brand p { 
    margin: 0.75rem auto 0; 
    max-width: 320px;
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .footer-col h4 {
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    padding-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }
  .footer-col h4::before { display: none; }
  .footer-col > a,
  .footer-col li {
    display: block;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    background: rgba(13, 13, 13, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
  }
  .footer-col > a::before { display: none; }
  .footer-col > a:hover,
  .footer-col > a:active {
    background: linear-gradient(135deg, rgba(122, 51, 207, 0.2), rgba(155, 93, 229, 0.15));
    border-color: rgba(122, 51, 207, 0.4);
    color: var(--text);
    transform: translateY(-2px);
    padding-left: 1rem;
  }
  /* Social icons - keep as compact icons, not full-width buttons */
  .social {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
  }
  .social a {
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    display: grid;
    place-items: center;
    background: #0d0d0d99;
    border: 1px solid var(--primary);
    border-radius: 10px;
    color: var(--primary);
    font-size: inherit;
    text-align: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
  }
  .social a::before { display: none; }
  .social a:hover,
  .social a:active {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    padding-left: 0;
  }
  .social a svg {
    width: 18px;
    height: 18px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6), rgba(13, 13, 13, 0.8));
    border-radius: 12px;
    padding: 1.25rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    line-height: 1.7;
  }
  .footer-bottom::before { display: none; }
  .footer-bottom p { margin: 0.25rem 0; }
  .footer-bottom strong { color: var(--primary-2); font-weight: 600; }

  .section { padding: 4rem 0; }
  .hero { padding: 4rem 0 3rem; }
  .hero-spline { height: 320px; margin-top: -10px; }
  .hero-inner { gap: 1.5rem; }
  .hero-stats { gap: 1.25rem; padding: 0.85rem 1.25rem; }
  .stat-num { font-size: 1.15rem; }

  .hscroll {
    gap: 1rem;
    padding: 1rem 1.25rem;
    scroll-snap-type: x mandatory;
    scroll-padding: 1.25rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .hscroll-card,
  .hscroll > .card {
    flex: 0 0 calc(100vw - 3.5rem);
    max-width: 360px;
    padding: 1.5rem;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .form { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { flex-direction: column; gap: 0.75rem; border-radius: var(--radius); width: 100%; }
}
