/* Google Fonts loaded via functions.php */

/* ── CSS Custom Properties (Theme Tokens) ── */
:root {
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --card-border: #e2e8f0;
  --primary: #0096c7;
  --primary-foreground: #ffffff;
  --secondary: #f1f5f9;
  --secondary-foreground: #0f172a;
  --muted: #f8fafc;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #0096c7;
  --radius: 12px;
}

.dark {
  --background: #000000;
  --foreground: #ffffff;
  --card: #121212;
  --card-foreground: #ffffff;
  --card-border: #262626;
  --primary: #00d8f6;
  --primary-foreground: #000000;
  --secondary: #181818;
  --secondary-foreground: #ffffff;
  --muted: #181818;
  --muted-foreground: #a3a3a3;
  --border: #262626;
  --input: #262626;
  --ring: #00d8f6;
}

/* ── Base Styles ── */
* { border-color: var(--border); }
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  transition: background-color 0.4s ease, color 0.4s ease;
  margin: 0;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Inter', sans-serif; letter-spacing: -0.02em; }

/* ── Scroll Animations ── */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-animate="fade-up"] { transform: translateY(30px); }
[data-animate="fade-down"] { transform: translateY(-30px); }
[data-animate="fade-left"] { transform: translateX(-40px); }
[data-animate="fade-right"] { transform: translateX(40px); }
[data-animate="scale-in"] { transform: scale(0.95); }
[data-animate].visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ── Keyframe Animations ── */
@keyframes ambientGlow {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}
.animate-ambient { animation: ambientGlow 8s ease-in-out infinite; }

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.animate-marquee { animation: marquee 35s linear infinite; }
.animate-marquee:hover { animation-play-state: paused; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 12px rgba(0,216,246,0.6)); }
  50% { filter: drop-shadow(0 0 25px rgba(0,216,246,1)); }
}
.animate-logo-glow { animation: pulse-glow 3.5s ease-in-out infinite; }

@keyframes count-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ── Preloader ── */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #000; color: #fff;
  transition: opacity 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.preloader.fade-out { opacity: 0; pointer-events: none; }

/* ── Chat Widget ── */
.founder-chat-window {
  position: fixed; bottom: 96px; right: 16px; z-index: 995;
  width: min(calc(100vw - 2rem), 400px); height: 520px;
  border-radius: 1rem; overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateY(30px) scale(0.95); opacity: 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.founder-chat-window.open {
  transform: translateY(0) scale(1); opacity: 1;
  pointer-events: all;
}

/* ── Vision Form Steps ── */
.vision-step { display: none; }
.vision-step.active { display: block; animation: stepIn 0.4s ease forwards; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #0096c7; border-radius: 10px; }
.dark ::-webkit-scrollbar-thumb { background: #00d8f6; }

/* ── Selection ── */
::selection { background: #00d8f6; color: #000; }

/* ── Hide scrollbar utility ── */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Hero video parallax ── */
.hero-video-container { position: relative; overflow: hidden; }
.hero-video-container video { object-fit: cover; width: 100%; height: 100%; }

/* Line clamp utility */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
