

/* ==========================================================================
   Nodbits — Dark Luxury Design System
   Concept: Vibrant dark base, electric accents, smooth physics animations
   ========================================================================== */

:root {
  /* ── Core Palette ── */
  --bg-void:       transparent;
  --bg-deep:       transparent;
  --bg-surface:    #0e0e1c;
  --bg-raised:     #13132a;
  --bg-card:       rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);

  /* ── Accent Colors ── */
  --accent-primary:   #0ea5e9;   /* electric sky blue */
  --accent-secondary: #10b981;   /* emerald green */
  --accent-warm:      #f59e0b;   /* amber */
  --accent-pink:      #ec4899;
  --accent-green:     #10b981;

  /* ── Gradient Combos ── */
  --grad-hero:   linear-gradient(135deg, #666 0%, #fff 50%, #666 100%);
  --grad-blue:   linear-gradient(135deg, #0ea5e9, #3b82f6);
  --grad-cyan:   linear-gradient(135deg, #aaa, #fff);
  --grad-warm:   linear-gradient(135deg, #666, #aaa);
  --grad-card:   linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);

  /* ── Text ── */
  --text-white:   #ffffff;
  --text-primary: #f0f0ff;
  --text-secondary: #ffffff;
  --text-muted:   #ffffff;

  /* ── Borders ── */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card:   rgba(255, 255, 255, 0.1);
  --border-accent: rgba(14, 165, 233, 0.4);
  --border-glow:   rgba(14, 165, 233, 0.6);

  /* ── Shadows & Glows ── */
  --glow-blue:  0 0 40px rgba(14, 165, 233, 0.35), 0 0 80px rgba(14, 165, 233, 0.15);
  --glow-cyan:    0 0 40px rgba(6, 182, 212, 0.35), 0 0 80px rgba(6, 182, 212, 0.15);
  --shadow-card:  0 8px 32px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255,255,255,0.05);
  --shadow-hover: 0 24px 64px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255,255,255,0.08);

  /* ── Typography ── */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* ── Spacing ── */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  5.5rem;

  /* ── Radii ── */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 9999px;

  /* ── Motion ── */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast:   200ms;
  --duration-base:   400ms;
  --duration-slow:   700ms;
  --duration-slower: 1000ms;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: #05050a;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Ensure page content always sits above background layers */
main, footer {
  position: relative;
  z-index: 2;
}

/* ────────────────────────────────
   ANIMATED BACKGROUND SYSTEM
──────────────────────────────── */

/* Canvas fills entire viewport behind everything */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

/* Orb layer sits on top of canvas */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform, opacity;
}

.orb-1 {
  width: 900px; height: 900px;
  top: -300px; left: -250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  animation: orb1-move 18s ease-in-out infinite;
}

.orb-2 {
  width: 700px; height: 700px;
  top: 30%; right: -180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  animation: orb2-move 14s ease-in-out infinite;
}

.orb-3 {
  width: 600px; height: 600px;
  bottom: -150px; left: 20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  animation: orb3-move 20s ease-in-out infinite;
}

.orb-4 {
  width: 500px; height: 500px;
  top: 50%; left: 40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  animation: orb4-move 16s ease-in-out infinite;
}

/* Each orb has its own complex path */
@keyframes orb1-move {
   0%   { transform: translate(0px,   0px)   scale(1);    opacity: 0.5; }
  20%   { transform: translate(80px, -60px)  scale(1.1);  opacity: 0.65; }
  40%   { transform: translate(30px,  100px) scale(0.92); opacity: 0.45; }
  60%   { transform: translate(-60px, 60px)  scale(1.08); opacity: 0.6; }
  80%   { transform: translate(-20px,-80px)  scale(0.95); opacity: 0.5; }
  100%  { transform: translate(0px,   0px)   scale(1);    opacity: 0.5; }
}

@keyframes orb2-move {
   0%   { transform: translate(0px,   0px)   scale(1);    opacity: 0.4; }
  25%   { transform: translate(-90px, 50px)  scale(1.12); opacity: 0.55; }
  50%   { transform: translate(-40px,-90px)  scale(0.9);  opacity: 0.35; }
  75%   { transform: translate(70px, -30px)  scale(1.05); opacity: 0.5; }
  100%  { transform: translate(0px,   0px)   scale(1);    opacity: 0.4; }
}

@keyframes orb3-move {
   0%   { transform: translate(0px,   0px)   scale(1);    opacity: 0.38; }
  30%   { transform: translate(100px,-50px)  scale(1.15); opacity: 0.5; }
  60%   { transform: translate(-50px,-80px)  scale(0.88); opacity: 0.32; }
  90%   { transform: translate(60px,  70px)  scale(1.1);  opacity: 0.45; }
  100%  { transform: translate(0px,   0px)   scale(1);    opacity: 0.38; }
}

@keyframes orb4-move {
   0%   { transform: translate(0px,   0px)   scale(1);    opacity: 0.25; }
  33%   { transform: translate(-80px, 90px)  scale(1.2);  opacity: 0.38; }
  66%   { transform: translate(90px,  40px)  scale(0.85); opacity: 0.2; }
  100%  { transform: translate(0px,   0px)   scale(1);    opacity: 0.25; }
}


/* ────────────────────────────────
   TYPOGRAPHY
──────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-white);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

h2, h3, h4 {
  background: var(--grad-blue) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  display: inline-block;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 60ch;
  margin-bottom: 1.25rem;
  font-weight: 400;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

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

/* ────────────────────────────────
   LAYOUT UTILITIES
──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 2s ease-in-out infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 2rem;
  letter-spacing: -0.02em;
  padding: 0 1rem;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(to right, #fff, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.5rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ────────────────────────────────
   SCROLL PROGRESS BAR
──────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: #fff;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ────────────────────────────────
   HEADER (Apple Glass Pill)
──────────────────────────────── */
.site-header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  z-index: 200;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: header-slide-down 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transition: all 0.3s ease;
}

@keyframes header-slide-down {
  from { transform: translate(-50%, -150%); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* On scroll we might just want to make it slightly darker or add shadow */
.site-header.scrolled {
  padding: 0.5rem 1.5rem;
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}

@keyframes header-aurora {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Animated shimmer line at bottom of header removed for pill style */

@keyframes shimmer-line {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.brand-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-white);
  position: relative;
}

.brand-logo span {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  overflow: visible; /* allow child reveal translateY */
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  padding: 0.25rem 0;
  letter-spacing: -0.01em;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  height: 1px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration-base) var(--ease-spring);
}

.nav-links a:hover {
  color: var(--text-white);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Header CTA */
.header-cta .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.875rem;
}

/* ────────────────────────────────
   BUTTONS
──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--duration-fast) var(--ease-out);
}

.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.97) !important; }

/* Primary: gradient fill */
.btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3), 0 0 0 1px rgba(255,255,255,0.4);
}

#header-cta-btn {
  background: var(--grad-blue) !important;
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
  transform: none;
  font-weight: 700;
  -webkit-text-fill-color: #ffffff !important;
}

#header-cta-btn:hover {
  background: var(--grad-blue) !important;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.7);
  transform: translateY(-2px) scale(1.05);
  border: none;
}

/* Secondary: ghost with gradient border */
.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(14, 165, 233, 0.6);
  background: rgba(14, 165, 233, 0.1);
  box-shadow: 0 0 20px rgba(14,165,233,0.2);
}

/* ────────────────────────────────
   HERO SECTION
──────────────────────────────── */
.hero-viewport {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 0 6rem;
}

/* Noise texture overlay */
.hero-viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 0;
  pointer-events: none;
}

/* Video BG */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}

/* Dark overlay */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%,
    rgba(14, 165, 233, 0.15) 0%,
    rgba(5, 5, 10, 0.6) 60%,
    var(--bg-void) 100%);
  z-index: 1;
}

/* Grid lines background */
.hero-viewport::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-secondary);
  margin-bottom: 2rem;
  padding: 0.45rem 1.1rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-pill);
}

.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-secondary);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-content h1 .line {
  display: block;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 0 auto 2.5rem;
  max-width: 55ch;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Metrics bar */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-metric {
  padding: 1.75rem 1.5rem;
  text-align: center;
  position: relative;
  transition: background var(--duration-base) var(--ease-out);
}

.hero-metric:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
}

.hero-metric:hover {
  background: rgba(14, 165, 233, 0.08);
}

.hero-metric-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.hero-metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ────────────────────────────────
   MARQUEE
──────────────────────────────── */
.marquee-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  width: max-content;
  will-change: transform;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff !important;
  -webkit-text-stroke: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--duration-fast);
}

.marquee-item:hover { color: var(--accent-primary); }

.marquee-dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.5;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ────────────────────────────────
   GLASS CARD
──────────────────────────────── */
.glass-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    transform var(--duration-base) var(--ease-spring),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out),
    background var(--duration-base) var(--ease-out);
}

/* Inner shimmer gradient */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at var(--mx, 50%) var(--my, 0%),
    rgba(14, 165, 233, 0.15),
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
  pointer-events: none;
}

/* Top edge highlight */
.glass-card::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.glass-card:hover {
  transform: translateY(-6px) scale(1.01);
  background: var(--bg-card-hover);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(14,165,233,0.2);
}

.glass-card:hover::before { opacity: 1; }

/* Card icon */
.card-icon {
  width: auto; height: auto;
  background: transparent !important;
  border: none;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.glass-card h3 { color: #ffffff; font-size: 1.2rem; margin-bottom: 0.5rem; }
.glass-card p { font-size: 0.9rem; line-height: 1.65; margin-bottom: 0; color: #ffffff; max-width: none; }

/* ────────────────────────────────
   SERVICES SECTION
──────────────────────────────── */
#services {
  background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-deep) 100%);
}

.services-header {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.services-header p {
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 55ch;
}

/* ────────────────────────────────
   PROCESS SECTION
──────────────────────────────── */
#process {
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}

#process::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06), transparent 70%);
  pointer-events: none;
}

.process-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.process-header p { margin: 0 auto; max-width: 50ch; }

.process-step {
  padding: 2.5rem 2rem;
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 1rem;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
}

.process-step h3 { font-size: 1.2rem; color: var(--text-white); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; margin-bottom: 0; color: var(--text-secondary); max-width: none; }

/* ────────────────────────────────
   ABOUT SECTION
──────────────────────────────── */
#about {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-void) 100%);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .section-label { margin-bottom: 1.5rem; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { max-width: none; }

/* Big stat cards */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-spring),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at var(--mx, 50%) var(--my, 0%),
    rgba(14, 165, 233, 0.12),
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
  pointer-events: none;
}

.stat-card:hover::after { opacity: 1; }
.stat-card:hover { border-color: rgba(14, 165, 233, 0.25); }

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out);
}

.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.stat-card:hover::before { transform: scaleX(1); }

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--grad-blue) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  display: inline-block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ────────────────────────────────
   FAQ SECTION
──────────────────────────────── */
#faq {
  background: var(--bg-deep);
}

.faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.faq-item.active {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  cursor: pointer;
  user-select: none;
  background: transparent;
  transition: background var(--duration-fast) var(--ease-out);
}

.faq-question:hover { background: rgba(255,255,255,0.03); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-spring),
              background var(--duration-base),
              color var(--duration-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(14, 165, 233, 0.2);
  color: var(--accent-primary);
  border-color: rgba(14, 165, 233, 0.4);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--duration-slow) var(--ease-out),
              opacity var(--duration-base) var(--ease-out),
              padding var(--duration-base) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem;
}

.faq-answer-inner p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--text-secondary);
  max-width: none;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
}

/* ────────────────────────────────
   CONTACT SECTION
──────────────────────────────── */
#contact {
  background: var(--bg-void);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(14,165,233,0.12), transparent 70%);
  pointer-events: none;
}

.contact-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

/* Contact info card */
.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-info::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.5), transparent);
}

.contact-info h3, #contact-form-card h3 { font-size: 1.25rem; margin-bottom: 1.75rem; }

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding-left var(--duration-base) var(--ease-out);
}

.contact-channel:last-child { border-bottom: none; }
.contact-channel:hover { padding-left: 4px; }

.channel-icon {
  width: 40px; height: 40px;
  min-width: 40px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  transition: transform var(--duration-fast) var(--ease-spring);
}

.contact-channel:hover .channel-icon {
  transform: scale(1.1);
}

.channel-icon svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  display: block;
}

.channel-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.channel-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.channel-value a {
  color: var(--text-primary);
  transition: color var(--duration-fast);
}

.channel-value a:hover { color: var(--accent-primary); }

/* Contact form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-form-card::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.5), transparent);
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.form-control::placeholder { color: #ffffff; opacity: 0.6; }

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(14, 165, 233, 0.08);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

textarea.form-control { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
  margin-bottom: 0;
}

/* ────────────────────────────────
   FOOTER
──────────────────────────────── */
.site-footer {
  position: relative;
  background: var(--bg-deep);
  border-top: none;
  padding: 0 0 var(--space-md);
  overflow: hidden;
}

/* ── Footer hero call-to-action block ── */
.footer-hero {
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
}

.footer-overline {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  max-width: none;
}

.footer-big-line {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
}

/* Outline/stroked text for second line */
.footer-outline-text {
  -webkit-text-stroke: 0 !important;
  background: var(--grad-blue) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  opacity: 1;
  filter: blur(0px);
  transition: opacity var(--duration-base);
  display: inline-block;
}

.footer-hero:hover .footer-outline-text {
  opacity: 1;
  filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.4));
}

.footer-cta-btn {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

/* ── Animated gradient divider between hero and grid ── */
.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(14, 165, 233, 0.5) 20%,
    rgba(16, 185, 129, 0.6) 50%,
    rgba(14, 165, 233, 0.5) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer-line 4s linear infinite;
  margin: 0 2rem;
}


/* Aurora sweep background behind footer removed per user request */

/* Deep ambient glow inside footer */
.site-footer::after {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 300px;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: footer-glow-pulse 8s ease-in-out infinite alternate;
}

@keyframes footer-glow-pulse {
  0%   { opacity: 0.5; transform: translateX(-50%) scaleX(0.8); }
  100% { opacity: 1;   transform: translateX(-50%) scaleX(1.1); }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-top: var(--space-lg);
}


.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
  max-width: 28ch;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li { margin-bottom: 0.75rem; }

.footer-col ul a {
  font-size: 0.9rem;
  color: #ffffff;
  transition: color var(--duration-fast);
}

.footer-col ul a:hover { color: var(--accent-primary); }

.footer-col p {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  max-width: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  border-top: none;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #ffffff;
  margin: 0;
  max-width: none;
}

/* Gradient line at top of footer brand */
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.footer-brand-desc {
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 26ch;
  margin-bottom: 1.5rem;
}

/* Social icon row */
.footer-socials {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition:
    background var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-spring);
}

.social-icon svg {
  width: 16px; height: 16px;
  display: block;
  stroke: currentColor;
}

.social-icon:hover {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.35);
  color: var(--accent-primary);
  transform: translateY(-3px) scale(1.05);
}

/* Footer contact list with inline SVG icons */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  font-size: 0.875rem;
  color: #ffffff;
}

.footer-contact-list li svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  stroke: #ffffff;
  opacity: 1;
}

.footer-contact-list a {
  color: #ffffff;
  transition: color var(--duration-fast);
}

.footer-contact-list a:hover { color: var(--accent-primary); }

/* Footer bottom badge */
.footer-bottom-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #ffffff;
}

.badge-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-hero);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ────────────────────────────────
   REVEAL ANIMATIONS
──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }
.reveal.delay-4 { transition-delay: 320ms; }
.reveal.delay-5 { transition-delay: 400ms; }

/* Delay for reveal-scale */
.reveal-scale.delay-1 { transition-delay: 80ms; }
.reveal-scale.delay-2 { transition-delay: 160ms; }
.reveal-scale.delay-3 { transition-delay: 240ms; }
.reveal-scale.delay-4 { transition-delay: 320ms; }
.reveal-scale.delay-5 { transition-delay: 400ms; }

/* Delay for reveal-left / reveal-right */
.reveal-left.delay-1,
.reveal-right.delay-1  { transition-delay: 80ms; }
.reveal-left.delay-2,
.reveal-right.delay-2  { transition-delay: 160ms; }
.reveal-left.delay-3,
.reveal-right.delay-3  { transition-delay: 240ms; }

/* Footer element reveals */
.footer-col.reveal     { transition-delay: 0ms; }
.footer-col.reveal:nth-child(2) { transition-delay: 80ms; }
.footer-col.reveal:nth-child(3) { transition-delay: 160ms; }
.footer-col.reveal:nth-child(4) { transition-delay: 240ms; }

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

/* Scale variant */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-spring),
              transform var(--duration-slow) var(--ease-spring);
}

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

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

/* ────────────────────────────────
   RESPONSIVE
──────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-lg: 1.25rem;
  }

  /* Mobile Performance Optimizations */
  .bg-orbs { display: none !important; }
  #bg-canvas { display: none !important; }
  .hero-video-bg { display: none !important; }

  /* Header */
  .site-header { padding: 0.75rem 0; }
  .nav-links { display: none; }

  /* Fix full-width on mobile — no horizontal overflow */

  .container {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
  }

  /* Hero */
  #hero-cta-secondary { display: none; }
  #hero-subtext { font-size: 1.05rem; }
  .hero-viewport {
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 4rem;
    display: block;
  }
  .hero-content { padding: 0 1rem; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .hero-metric:nth-child(2) { border-right: none; }
  .hero-metric:nth-child(3) { border-right: 1px solid var(--border-subtle); }

  /* Grids */
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-text { text-align: center; }
  .about-text .section-label { margin-left: auto; margin-right: auto; }
  .about-text p { max-width: none; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form-card { padding: 1.5rem; }
  .contact-channel { gap: 1rem; }

  /* Footer — center everything on mobile */
  .contact-header { margin-bottom: 1.5rem; padding-bottom: 0; }
  .footer-hero { padding: 4rem 0 3rem; }
  .footer-big-line { font-size: clamp(2.2rem, 10vw, 4rem); }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand-desc { max-width: none; text-align: center; }
  .footer-socials { justify-content: center; }
  .footer-col { text-align: center; }
  .footer-col ul { display: flex; flex-direction: column; align-items: center; }
  .footer-contact-list li { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-bottom-badge { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .hero-metric { padding: 1rem 0.75rem; }
  .hero-metric-value { font-size: 1.4rem; }
  .hero-metric:nth-child(3) { border-right: none; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-big-line { font-size: clamp(2rem, 12vw, 3rem); }
}

/* ────────────────────────────────
   SCROLL ANCHOR OFFSET
──────────────────────────────── */
section { scroll-margin-top: 80px; }

/* ────────────────────────────────
   SELECTION
──────────────────────────────── */
::selection {
  background: rgba(14, 165, 233, 0.3);
  color: var(--text-white);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: rgba(14, 165, 233, 0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(14, 165, 233, 0.7); }

/* WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease;
}
.whatsapp-widget:hover {
  transform: scale(1.1);
  color: white;
}

/* Zalo Widget */
.zalo-widget, .whatsapp-widget {
  animation: widget-slide-in 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}
.zalo-widget { animation-delay: 0.5s; }
.whatsapp-widget { animation-delay: 0.7s; }

@keyframes widget-slide-in {
  from { transform: translateX(100px) scale(0.5); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

.zalo-widget {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #0068ff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 104, 255, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease;
}
.zalo-widget:hover {
  transform: scale(1.1);
  color: white;
}

/* Heading Hovers WOW */
h1, h2, h3, h4 {
  transition: transform 0.3s ease, filter 0.3s ease;
}
h1:hover, h2:hover, h3:hover, h4:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.4));
}

/* Hero WOW Effects */
#hero-headline .text-gradient {
  background: linear-gradient(to right, #0ea5e9, #10b981, #0ea5e9, #8b5cf6, #0ea5e9);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: liquid-gradient 4s linear infinite;
}

@keyframes liquid-gradient {
  to { background-position: 200% center; }
}

#hero-headline {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  perspective: 1000px;
}
#hero-headline .line {
  display: inline-block;
  opacity: 0;
  transform-origin: top center;
  transform: rotateX(-90deg);
}
#hero-headline.visible .line {
  animation: fold-up 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
#hero-headline.visible .line:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes fold-up {
  from {
    opacity: 0;
    transform: rotateX(-90deg) translateY(50px);
  }
  to {
    opacity: 1;
    transform: rotateX(0deg) translateY(0);
  }
}

#hero-headline:hover {
  transform: scale(1.05);
  letter-spacing: 0.05em;
  filter: drop-shadow(0 0 30px rgba(14, 165, 233, 0.8));
}
#hero-headline:hover .text-gradient {
  animation: liquid-gradient 2s linear infinite;
}

/* Abstract 3D Footer Core */
.footer-abstract-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  perspective: 1000px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
}

.wireframe-sphere, .wireframe-sphere-inner {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: rotate-sphere 20s linear infinite;
}
.wireframe-sphere-inner {
  transform: scale(0.6);
  animation-direction: reverse;
  animation-duration: 15s;
}

.wireframe-sphere::before, .wireframe-sphere::after, .wireframe-sphere-inner::before, .wireframe-sphere-inner::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 1px solid var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.5), inset 0 0 20px rgba(14, 165, 233, 0.5);
}

.wireframe-sphere::before { transform: rotateY(45deg); }
.wireframe-sphere::after { transform: rotateY(90deg); }
.wireframe-sphere-inner::before { transform: rotateX(45deg) rotateY(45deg); border-color: var(--accent-secondary); box-shadow: 0 0 20px rgba(16, 185, 129, 0.5), inset 0 0 20px rgba(16, 185, 129, 0.5); }
.wireframe-sphere-inner::after { transform: rotateX(90deg) rotateY(90deg); border-color: var(--accent-secondary); box-shadow: 0 0 20px rgba(16, 185, 129, 0.5), inset 0 0 20px rgba(16, 185, 129, 0.5); }

@keyframes rotate-sphere {
  from { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
  to { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

/* ────────────────────────────────
   TEXT BLUE
──────────────────────────────── */
.text-blue {
  background: var(--grad-blue) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

/* ────────────────────────────────
   FOOTER (LANGCHAIN STYLE)
──────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-primary) !important;
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 10;
}
.site-footer::after {
  display: none !important;
}

.footer-grid-lc {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-col-lc h4 {
  font-size: 0.85rem;
  color: #0ea5e9 !important;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  letter-spacing: 0;
  background: none !important;
  -webkit-text-fill-color: #0ea5e9 !important;
}

.footer-col-lc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col-lc ul li {
  margin-bottom: 0.75rem;
}

.footer-col-lc ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col-lc ul a:hover {
  color: var(--text-white);
}

.footer-bottom-lc {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.love-vietnam {
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-status {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  margin-right: 0.5rem;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--text-white);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer-grid-lc {
    grid-template-columns: 1fr 1fr;
  }
  .brand-col {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
  }
  .footer-bottom-lc {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
