/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ===== DESIGN SYSTEM VARIABLES ===== */
:root {
  /* Colors (Light Theme Default) */
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-accent: rgba(15, 23, 42, 0.02);

  /* Heading gradient (light mode: dark navy) */
  --heading-gradient: linear-gradient(135deg, #0F172A 0%, #334155 100%);
  
  --accent-cyan: #0284C7;
  --accent-blue: #0369A1;
  --accent-gold: #D97706;
  --accent-gold-hover: #B45309;
  
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-dark: #FFFFFF;
  
  --border-glass: rgba(15, 23, 42, 0.08);
  --border-glass-bright: rgba(15, 23, 42, 0.15);
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Glows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.05);
  --shadow-md: 0 4px 20px rgba(15,23,42,.05);
  --shadow-lg: 0 10px 40px rgba(15,23,42,.08);
  --glow-cyan: 0 0 20px rgba(2, 132, 199, 0.15);
  --glow-gold: 0 0 20px rgba(217, 119, 6, 0.15);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  /* Colors (Dark Theme Overrides) */
  --bg-primary: #0A0E1A;

  /* Heading gradient (dark mode: bright white-to-slate) */
  --heading-gradient: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 100%);
  --bg-secondary: #0F1527;
  --bg-accent: rgba(255, 255, 255, 0.03);
  
  --accent-cyan: #00F2FE;
  --accent-blue: #4FACFE;
  --accent-gold: #F3A152;
  --accent-gold-hover: #E08F3C;
  
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dark: #0F172A;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(255, 255, 255, 0.15);
  --bg-glass: rgba(15, 21, 39, 0.7);
  
  /* Shadows & Glows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1);
  --shadow-md: 0 4px 20px rgba(0,0,0,.2);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.4);
  --glow-cyan: 0 0 20px rgba(0, 242, 254, 0.3);
  --glow-gold: 0 0 20px rgba(243, 161, 82, 0.3);
}

/* Global Transition for Smooth Theme Switch */
body, section, .navbar, .why-card, .reg-card, .testimonial-card, .btn, input, select, textarea, .step-card, .hero-stat {
  transition: background 0.4s ease, background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background: var(--bg-primary);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

/* ===== UTILITIES & LAYOUT ===== */
section {
  scroll-margin-top: 100px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin-bottom: 40px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #D97706 100%);
  color: var(--text-dark);
  box-shadow: var(--glow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243, 161, 82, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
}

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

.btn-outline:hover {
  background: rgba(0, 242, 254, 0.05);
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-glass);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
}

/* Fancier Trust-Evoking Vector Logo Badge */
.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  user-select: none;
}

.logo-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-swoop {
  stroke-dasharray: 60;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover .logo-icon {
  transform: scale(1.06);
}

.nav-logo:hover .logo-svg {
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.55)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.nav-logo:hover .logo-swoop {
  animation: logoSwoopDraw 1.2s ease-in-out infinite alternate;
}

@keyframes logoSwoopDraw {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 60;
  }
}

/* The unified one-word gradient wordmark */
.logo-wordmark {
  background: linear-gradient(100deg, var(--text-primary) 0%, var(--accent-cyan) 60%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.5px;
}

[data-theme="dark"] .logo-wordmark {
  background: linear-gradient(100deg, #e2f0ff 0%, var(--accent-cyan) 55%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Keep legacy .accent for any remaining uses */
.nav-logo span.accent {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  transition: var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent-cyan);
}

.nav-links a.btn.nav-cta {
  padding: 12px 28px;
  font-size: 0.95rem;
}

.nav-links a.btn.nav-cta::after {
  display: none;
}

/* ===== THEME TOGGLE WORK ===== */
.theme-toggle {
  background: var(--bg-accent);
  border: 1.5px solid var(--border-glass-bright);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  outline: none;
}

.theme-toggle:hover {
  background: rgba(2, 132, 199, 0.08);
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  transform: scale(1.05);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(0, 242, 254, 0.08);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-primary);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

/* Light Theme shows Moon, hides Sun */
.theme-toggle .sun-icon {
  opacity: 0;
  transform: translateY(20px) rotate(90deg);
  position: absolute;
}

.theme-toggle .moon-icon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* Dark Theme shows Sun, hides Moon */
[data-theme="dark"] .theme-toggle .sun-icon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
  position: static;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  opacity: 0;
  transform: translateY(-20px) rotate(-90deg);
  position: absolute;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav close button */
.nav-close {
  display: none;
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.nav-close:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
  color: #EF4444;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: saturate(0.5);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 80%),
              linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

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

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: var(--glow-cyan);
  animation: pulse-dot 2s infinite;
}

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

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border-glass);
  width: 100%;
}

.hero-stat {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  cursor: default;
}

.hero-stat:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .hero-stat:hover {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: var(--glow-cyan);
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat .number span {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Ambient glow blob behind the image */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.18) 0%, rgba(0, 242, 254, 0.08) 40%, transparent 70%);
  z-index: 0;
  border-radius: 50%;
  animation: glow-breathe 4s ease-in-out infinite;
}

[data-theme="dark"] .hero-visual::before {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.22) 0%, rgba(0, 242, 254, 0.08) 40%, transparent 70%);
}

/* Rotating orbit ring */
.hero-visual::after {
  content: '';
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(2, 132, 199, 0.35);
  border-right-color: rgba(0, 242, 254, 0.15);
  z-index: 0;
  animation: orbit-spin 8s linear infinite;
  pointer-events: none;
}

[data-theme="dark"] .hero-visual::after {
  border-top-color: rgba(0, 242, 254, 0.5);
  border-right-color: rgba(0, 242, 254, 0.2);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

/* Image wrapper for shimmer + float */
.hero-visual .hero-img-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  animation: hero-float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(2, 132, 199, 0.2));
}

[data-theme="dark"] .hero-visual .hero-img-wrap {
  filter: drop-shadow(0 20px 50px rgba(0, 242, 254, 0.25));
}

.hero-visual .hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 80%
  );
  background-size: 200% 100%;
  animation: shimmer-sweep 4s ease-in-out infinite;
  pointer-events: none;
}

[data-theme="dark"] .hero-visual .hero-img-wrap::after {
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(0, 242, 254, 0.08) 50%,
    transparent 80%
  );
  background-size: 200% 100%;
  animation: shimmer-sweep 4s ease-in-out infinite;
}

.hero-visual img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px rgba(2, 132, 199, 0.15);
  display: block;
}

[data-theme="dark"] .hero-visual img {
  box-shadow: 0 8px 40px rgba(0, 242, 254, 0.2), 0 0 0 1px rgba(0, 242, 254, 0.1);
}

/* Floating dot particles around the image */
.hero-visual .vis-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-cyan);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: vis-float-particle var(--dur, 5s) ease-in-out var(--delay, 0s) infinite;
}

/* ---- Keyframes ---- */
@keyframes hero-float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-18px) scale(1.01); }
}

@keyframes glow-breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes orbit-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes shimmer-sweep {
  0%   { background-position: -200% 0; opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { background-position: 200% 0; opacity: 0; }
}

@keyframes vis-float-particle {
  0%   { transform: translateY(0) scale(0.8); opacity: 0; }
  20%  { opacity: 0.6; }
  80%  { opacity: 0.4; }
  100% { transform: translateY(-60px) scale(0.3); opacity: 0; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}

.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(2,132,199,0.03) 50%, transparent);
  pointer-events: none;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-accent);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}

.trust-item:hover {
  border-color: rgba(2, 132, 199, 0.3);
  background: rgba(2, 132, 199, 0.04);
  transform: translateY(-2px);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
}

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
  position: relative;
}

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

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: visible;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glow blob behind the about image */
.about-image-main::before {
  content: '';
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.14) 0%, rgba(0, 242, 254, 0.06) 50%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: glow-breathe 4.5s ease-in-out infinite;
  pointer-events: none;
}

[data-theme="dark"] .about-image-main::before {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, rgba(0, 242, 254, 0.07) 50%, transparent 70%);
}

/* Rotating orbit arc */
.about-image-main::after {
  content: '';
  position: absolute;
  width: 105%;
  height: 105%;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(2, 132, 199, 0.3);
  border-left-color: rgba(0, 242, 254, 0.12);
  z-index: 0;
  animation: orbit-spin 10s linear infinite;
  pointer-events: none;
}

[data-theme="dark"] .about-image-main::after {
  border-top-color: rgba(0, 242, 254, 0.45);
  border-left-color: rgba(0, 242, 254, 0.18);
}

/* Shimmer wrapper — clips baked-in checkerboard pixels from PNG */
.about-image-main .about-img-inner {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  border: none;
  background: var(--bg-primary);
  overflow: hidden;
  animation: hero-float 7s ease-in-out infinite;
  box-shadow: 0 16px 48px rgba(2, 132, 199, 0.18), 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .about-image-main .about-img-inner {
  background: var(--bg-primary);
  box-shadow: 0 20px 56px rgba(0, 242, 254, 0.2), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.about-image-main .about-img-inner::after {
  display: none;
}

.about-image-main img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
  border-radius: 0;
}

.about-image:hover .about-image-main img {
  transform: scale(1.02);
}

.about-float-card {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border-glass-bright);
}

.float-card-1 {
  bottom: -30px;
  right: -30px;
  z-index: 10;
}

.float-card-2.moh-gateway-card {
  top: -30px;
  left: -40px;
  z-index: 10;
  padding: 16px 20px;
  max-width: 260px;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.float-card-2.moh-gateway-card:hover {
  box-shadow: 0 15px 35px rgba(239, 68, 68, 0.12), var(--shadow-lg) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}

[data-theme="dark"] .float-card-2.moh-gateway-card:hover {
  box-shadow: 0 15px 35px rgba(239, 68, 68, 0.25), var(--glow-cyan) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}

.vietnam-emblem {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  border: 1.5px solid rgba(239, 68, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.15);
  animation: pulseEmblem 2.5s infinite alternate ease-in-out;
  transform: translateZ(20px);
}

.float-card-2 .decree {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: #EF4444;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: translateZ(15px);
}

[data-theme="dark"] .float-card-2 .decree {
  color: #F87171;
}

.float-card-2 .txt {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 2px 0 6px 0;
  transform: translateZ(10px);
}

.verification-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10B981;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: translateZ(15px);
}

.verification-pill svg {
  animation: shieldBreathe 2.5s ease-in-out infinite;
}

@keyframes pulseEmblem {
  to {
    transform: scale(1.06) translateZ(20px);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
  }
}

@keyframes shieldBreathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 2px rgba(16, 185, 129, 0.4)); }
}

.about-float-card .icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan);
}

.about-float-card .icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--text-dark);
}

.about-float-card .card-text .num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.about-float-card .card-text .txt {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-feature .check {
  width: 30px;
  height: 30px;
  min-width: 30px;
  background: rgba(0, 242, 254, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.05);
}

[data-theme="dark"] .about-feature .check {
  background: rgba(0, 242, 254, 0.08);
  border-color: rgba(0, 242, 254, 0.25);
}

.about-feature .check svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

.about-feature .check svg path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0.4s);
}

.about-content.visible .about-features .about-feature:nth-child(1) .check svg path {
  --delay: 0.6s;
  stroke-dashoffset: 0;
}

.about-content.visible .about-features .about-feature:nth-child(2) .check svg path {
  --delay: 0.9s;
  stroke-dashoffset: 0;
}

.about-content.visible .about-features .about-feature:nth-child(3) .check svg path {
  --delay: 1.2s;
  stroke-dashoffset: 0;
}

.about-feature p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.about-feature p strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
}

/* Subtle dot grid pattern for texture */
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(2, 132, 199, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .services::before {
  background-image: radial-gradient(circle, rgba(0, 242, 254, 0.05) 1px, transparent 1px);
}

.services .container {
  position: relative;
  z-index: 1;
}

.services .section-header {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 80px;
  background: var(--bg-accent);
  border-radius: var(--radius-lg);
  padding: 50px;
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}

.service-item:hover {
  background: var(--bg-secondary);
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-item:nth-child(even) {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1.5;
}

.service-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(0, 242, 254, 0.1);
  line-height: 1;
  margin-bottom: 10px;
}

.service-text h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.service-quote {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
  border-left: 3px solid var(--accent-cyan);
  padding-left: 16px;
}

.service-desc {
  font-size: 1rem;
  color: var(--text-secondary);
}

.service-visual {
  flex: 0.5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-box {
  position: relative;
  width: 160px;
  height: 160px;
  background: linear-gradient(145deg, rgba(2, 132, 199, 0.08) 0%, rgba(0, 188, 212, 0.04) 50%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 50%;
  border: 1.5px solid rgba(2, 132, 199, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(2, 132, 199, 0.1), 0 2px 8px rgba(0,0,0,0.04), inset 0 2px 8px rgba(255, 255, 255, 0.9), inset 0 -2px 4px rgba(2, 132, 199, 0.06);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .visual-box {
  background: linear-gradient(145deg, rgba(0, 242, 254, 0.12) 0%, rgba(15, 21, 39, 0.7) 60%, rgba(15, 21, 39, 0.5) 100%);
  border-color: rgba(0, 242, 254, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 242, 254, 0.06), inset 0 1px 3px rgba(0, 242, 254, 0.1), inset 0 -1px 2px rgba(0,0,0,0.3);
}

/* Service Item Hover State */
.service-item:hover .visual-box {
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 40px rgba(2, 132, 199, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.9), 0 0 0 4px rgba(2, 132, 199, 0.06);
  transform: translateY(-6px) scale(1.04);
  background: linear-gradient(145deg, rgba(2, 132, 199, 0.14) 0%, rgba(255, 255, 255, 0.85) 100%);
}

[data-theme="dark"] .service-item:hover .visual-box {
  box-shadow: 0 12px 40px rgba(0, 242, 254, 0.2), 0 0 30px rgba(0, 242, 254, 0.12), inset 0 1px 4px rgba(0, 242, 254, 0.15);
  background: linear-gradient(145deg, rgba(0, 242, 254, 0.18) 0%, rgba(15, 21, 39, 0.6) 100%);
}

/* Clinical Breathing Pulse Ring */
.visual-box::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1.5px solid rgba(2, 132, 199, 0.08);
  animation: clinicalBreathe 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .visual-box::after {
  border-color: rgba(0, 242, 254, 0.08);
}

.service-item:hover .visual-box::after {
  border-color: rgba(2, 132, 199, 0.25);
  animation-duration: 2.2s;
}

[data-theme="dark"] .service-item:hover .visual-box::after {
  border-color: rgba(0, 242, 254, 0.35);
}

/* Soft Clinical Inner Glow */
.visual-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  transition: all 0.4s ease;
  opacity: 0;
}

.service-item:hover .visual-box::before {
  opacity: 1;
}

[data-theme="dark"] .visual-box::before {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
}

/* Large Icon Styling */
.service-icon-large {
  width: 52px;
  height: 52px;
  color: var(--accent-cyan);
  z-index: 2;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 8px rgba(2, 132, 199, 0.25));
}

.service-icon-large svg {
  width: 52px !important;
  height: 52px !important;
  stroke-width: 1.5;
}

.service-item:hover .service-icon-large {
  transform: scale(1.12) rotate(-3deg);
  filter: drop-shadow(0 4px 12px rgba(2, 132, 199, 0.4));
}

[data-theme="dark"] .service-icon-large {
  filter: drop-shadow(0 2px 8px rgba(0, 242, 254, 0.2));
}

[data-theme="dark"] .service-item:hover .service-icon-large {
  filter: drop-shadow(0 0 12px var(--accent-cyan)) drop-shadow(0 0 4px var(--accent-cyan));
}

/* Keyframes */
@keyframes clinicalBreathe {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

/* ===== PROCESS ===== */
.process {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.process .section-header {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-vertical {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.vertical-step {
  display: flex;
  gap: 30px;
  position: relative;
}

/* Left Indicator Column */
.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  min-width: 60px;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  z-index: 2;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.step-icon svg {
  width: 22px;
  height: 22px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-line {
  width: 2px;
  background: var(--border-glass);
  flex-grow: 1;
  min-height: 40px;
  margin: 8px 0;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

/* Right Content Card */
.step-card {
  flex-grow: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: var(--shadow-md);
}

/* Active & Hover states scroll-triggered */
.vertical-step.active .step-icon {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: var(--bg-secondary);
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.25), 0 0 0 4px rgba(2, 132, 199, 0.08);
}

[data-theme="dark"] .vertical-step.active .step-icon {
  background: rgba(0, 242, 254, 0.06);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3), 0 0 0 4px rgba(0, 242, 254, 0.08);
}

.vertical-step.active .step-line {
  background: linear-gradient(180deg, var(--accent-cyan), rgba(2, 132, 199, 0.3));
}

[data-theme="dark"] .vertical-step.active .step-line {
  background: linear-gradient(180deg, var(--accent-cyan), rgba(0, 242, 254, 0.2));
}

.vertical-step.active .step-card {
  border-color: rgba(2, 132, 199, 0.2);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.08);
}

[data-theme="dark"] .vertical-step.active .step-card {
  border-color: rgba(0, 242, 254, 0.15);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.06);
}

/* Hovering step icon reaction */
.vertical-step:hover .step-icon,
.vertical-step.active:hover .step-icon {
  transform: scale(1.08) rotate(8deg);
  box-shadow: 0 0 24px rgba(2, 132, 199, 0.4), 0 0 0 4px rgba(2, 132, 199, 0.1);
}

[data-theme="dark"] .vertical-step:hover .step-icon,
[data-theme="dark"] .vertical-step.active:hover .step-icon {
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.5), 0 0 0 4px rgba(0, 242, 254, 0.12);
}

.step-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Process CTA Button container */
.process-cta-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.process-cta-btn {
  background: var(--accent-cyan);
  color: var(--text-dark);
  border: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.process-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan);
  filter: brightness(1.05);
}

@media (max-width: 600px) {
  .vertical-step {
    gap: 16px;
  }
  .step-indicator {
    width: 44px;
    min-width: 44px;
  }
  .step-icon {
    width: 40px;
    height: 40px;
  }
  .step-icon svg {
    width: 18px;
    height: 18px;
  }
  .step-card {
    padding: 16px 20px;
  }
  .step-card h3 {
    font-size: 1.1rem;
  }
}

/* ===== WHY US ===== */
.why-us {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

/* Radial gradient accent decoration */
.why-us::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.why-us::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .why-us::before {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 65%);
}

[data-theme="dark"] .why-us::after {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.05) 0%, transparent 65%);
}

.why-us .container {
  position: relative;
  z-index: 1;
}

.why-us .section-header {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.why-card {
  display: flex;
  gap: 24px;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  background: var(--bg-accent);
}

.why-card:hover {
  border-color: rgba(0, 242, 254, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

.why-card .icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(0, 188, 212, 0.08) 100%);
  border: 1px solid rgba(2, 132, 199, 0.2);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

[data-theme="dark"] .why-card .icon {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.18) 0%, rgba(0, 152, 180, 0.1) 100%);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.12), inset 0 1px 2px rgba(0, 242, 254, 0.1);
}

.why-card:hover .icon {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(0, 188, 212, 0.15) 100%);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  transform: scale(1.05) rotate(-4deg);
}

[data-theme="dark"] .why-card:hover .icon {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.28) 0%, rgba(0, 152, 180, 0.18) 100%);
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.25), 0 0 15px rgba(0, 242, 254, 0.1);
}

.why-card .icon svg {
  width: 30px;
  height: 30px;
  color: var(--accent-cyan);
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.2));
}

[data-theme="dark"] .why-card .icon svg {
  filter: drop-shadow(0 2px 4px rgba(0, 242, 254, 0.3));
}

.why-card:hover .icon svg {
  transform: scale(1.1);
  filter: drop-shadow(0 2px 8px rgba(2, 132, 199, 0.4));
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ===== REGULATIONS ===== */
.regulations {
  padding: 120px 0;
}

.regulations .section-header {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reg-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.reg-card {
  background: var(--bg-accent);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-glass);
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Top accent bar */
.reg-card-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.bar-a  { background: linear-gradient(90deg, #10B981, #34D399); }
.bar-b  { background: linear-gradient(90deg, #F59E0B, #FCD34D); }
.bar-cd { background: linear-gradient(90deg, #EF4444, #F87171); }

.reg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-glass-bright);
}

.reg-card .reg-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  transition: var(--transition);
}

.reg-card:hover .reg-icon {
  transform: scale(1.1);
}

/* Timeline + CTA meta row */
.reg-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
  width: 100%;
  gap: 8px;
}

.reg-timeline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.reg-timeline svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

.reg-cta-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.reg-cta-link:hover {
  color: var(--accent-blue);
  letter-spacing: 0.3px;
}

.badge-a {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.08) 100%);
  color: #10B981;
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.12), inset 0 1px 2px rgba(255,255,255,0.4);
}

.badge-b {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(252, 211, 77, 0.08) 100%);
  color: #F59E0B;
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.12), inset 0 1px 2px rgba(255,255,255,0.4);
}

.badge-c-d {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(248, 113, 113, 0.08) 100%);
  color: #EF4444;
  border: 1.5px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.12), inset 0 1px 2px rgba(255,255,255,0.4);
}

[data-theme="dark"] .badge-a {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .badge-b {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

[data-theme="dark"] .badge-c-d {
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.reg-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.reg-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.testimonials .section-header {
  text-align: center;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.testimonial-card {
  background: var(--bg-accent);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-glass);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: rgba(0, 242, 254, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Star rating row */
.testimonial-card .stars {
  font-size: 0.9rem;
  color: #F59E0B;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-card .quote-icon {
  font-size: 5rem;
  color: var(--accent-cyan);
  opacity: 0.1;
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: var(--transition);
}

.testimonial-card:hover .quote-icon {
  opacity: 0.18;
  transform: scale(1.05) rotate(-5deg);
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  flex: 1;
  line-height: 1.75;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border: 2.5px solid transparent;
  background-clip: padding-box;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 2.5px rgba(2, 132, 199, 0.3);
}

[data-theme="dark"] .author-avatar {
  box-shadow: 0 0 0 2.5px rgba(0, 242, 254, 0.35);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-info .name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

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

/* ===== CTA ===== */
.cta {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0A0E1A 0%, #0F1527 100%);
}

[data-theme="dark"] .cta {
  background: linear-gradient(135deg, #060A14 0%, #0A0E1A 100%);
}

/* Ambient glow behind CTA content */
.cta::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

[data-theme="dark"] .cta::after {
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 65%);
}

.cta .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.03);
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.cta h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.cta p {
  font-size: 1.2rem;
  color: #E2E8F0 !important;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0;
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-subtitle {
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-method {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-method .method-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.contact-method .method-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
}

.contact-method h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-method p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg-accent);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition);
  background: var(--bg-secondary);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--glow-cyan);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 18px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-glass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-glass);
}

.footer-brand .nav-logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
}

.footer-social a:hover {
  background: var(--accent-cyan);
  color: var(--text-dark);
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 8px 0;
}

.footer-col a:hover {
  color: var(--accent-cyan);
  transform: translateX(5px);
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    justify-content: center;
    width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual img {
    max-width: 380px;
  }

  .hero-visual::before,
  .hero-visual::after {
    width: 340px;
    height: 340px;
  }
  
  .reg-cards, .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-item {
    flex-direction: column;
    text-align: center;
    padding: 40px;
    gap: 40px;
  }
  
  .service-item:nth-child(even) {
    flex-direction: column;
  }
  
  .service-quote {
    border-left: none;
    border-top: 3px solid var(--accent-cyan);
    padding-left: 0;
    padding-top: 16px;
  }
  
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .about .container, .contact .container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-image {
    order: -1;
    display: flex;
    justify-content: center;
  }
  
  .about-image-main {
    max-width: 500px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 40px;
    gap: 32px;
    border-left: 1px solid var(--border-glass);
  }
  
  .nav-links.open {
    display: flex;
  }

  .nav-close {
    display: flex;
  }
  
  .hamburger {
    display: flex;
  }
  
  .testimonial-grid, .why-grid, .reg-cards, .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  
  .about-float-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 0;
    width: 100%;
    max-width: 320px;
  }
  
  .contact-form {
    padding: 24px;
  }
}

/* ===== PRELOADER ===== */

.preloader {
  position: fixed;
  inset: 0;
  background: #F8FAFC;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Background radial glow orb */
.preloader-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 50% at 50% 50%,
    rgba(2, 132, 199, 0.12) 0%,
    rgba(0, 242, 254, 0.06) 40%,
    transparent 70%
  );
  animation: preloaderGlowPulse 3s ease-in-out infinite;
}

.preloader-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  opacity: 0;
  animation: preloaderContentFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

/* ---- Visual: 6-Step Licensing Flow Loader ---- */
.licensing-flow-loader {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto;
}

.flow-track {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.flow-track-svg {
  width: 100%;
  height: 100%;
}

.track-bg {
  fill: none;
  stroke: rgba(15, 23, 42, 0.04);
  stroke-width: 6;
}

.track-progress {
  fill: none;
  stroke: url(#preloaderCircleGrad);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 502.65;
  stroke-dashoffset: 502.65;
}

.flow-nodes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.flow-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  margin-left: -24px;
  transform: rotate(var(--angle)) translate(85px) rotate(calc(-1 * var(--angle)));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  transition: all 0.4s ease;
}

.node-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid rgba(15, 23, 42, 0.08);
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 6;
}

/* Pulsing effect for active node */
.flow-node.active .node-icon {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: #F0F9FF;
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.2);
  transform: scale(1.2);
}

.flow-node.completed .node-icon {
  border-color: #10B981;
  color: #10B981;
  background: rgba(16, 185, 129, 0.06);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.node-label {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 0.6rem 0.9rem;
  display: flex;
  flex-direction: column;
  width: 170px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  z-index: 10;
}

/* Position labels dynamically based on angle */
.flow-node[data-step="1"] .node-label { left: 55px; top: 50%; transform: translateY(-50%) translateX(10px); }
.flow-node[data-step="2"] .node-label { left: 45px; top: 45px; transform: translateX(5px); }
.flow-node[data-step="3"] .node-label { right: 45px; top: 45px; transform: translateX(-5px); }
.flow-node[data-step="4"] .node-label { right: 55px; top: 50%; transform: translateY(-50%) translateX(-10px); }
.flow-node[data-step="5"] .node-label { right: 45px; bottom: 45px; transform: translateX(-5px); }
.flow-node[data-step="6"] .node-label { left: 45px; bottom: 45px; transform: translateX(5px); }

.flow-node:hover .node-label,
.flow-node.active .node-label {
  opacity: 1;
  pointer-events: auto;
}

.flow-node[data-step="1"].active .node-label, .flow-node[data-step="1"]:hover .node-label { transform: translateY(-50%) translateX(0); }
.flow-node[data-step="2"].active .node-label, .flow-node[data-step="2"]:hover .node-label { transform: translateX(0); }
.flow-node[data-step="3"].active .node-label, .flow-node[data-step="3"]:hover .node-label { transform: translateX(0); }
.flow-node[data-step="4"].active .node-label, .flow-node[data-step="4"]:hover .node-label { transform: translateY(-50%) translateX(0); }
.flow-node[data-step="5"].active .node-label, .flow-node[data-step="5"]:hover .node-label { transform: translateX(0); }
.flow-node[data-step="6"].active .node-label, .flow-node[data-step="6"]:hover .node-label { transform: translateX(0); }

.step-num {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.15rem;
}

.step-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: #0F172A;
  white-space: normal;
  line-height: 1.3;
}

.flow-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.flow-percentage {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0F172A 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.flow-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 140px;
  line-height: 1.3;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ---- Text beneath the ring ---- */
.preloader-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateY(12px);
  animation: preloaderTextSlide 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.preloader-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(100deg, #0F172A 0%, var(--accent-cyan) 55%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.preloader-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* ---- Percentage counter ---- */
.preloader-percentage {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  opacity: 0;
  animation: preloaderTextSlide 0.5s ease 0.5s forwards;
}

/* ---- Keyframes ---- */
@keyframes preloaderGlowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

@keyframes preloaderContentFadeIn {
  to { opacity: 1; }
}

@keyframes preloaderLogoPop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

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

/* ===== CURSOR SPOTLIGHT TRACKING GLOW ===== */
.why-card, .reg-card, .hero-stat {
  position: relative;
  overflow: hidden;
}

.why-card::before, .reg-card::before, .hero-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(350px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(2, 132, 199, 0.05), transparent 80%);
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

[data-theme="dark"] .why-card::before, [data-theme="dark"] .reg-card::before, [data-theme="dark"] .hero-stat::before {
  background: radial-gradient(350px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), rgba(0, 242, 254, 0.08), transparent 80%);
}

.why-card:hover::before, .reg-card:hover::before, .hero-stat:hover::before {
  opacity: 1;
}

.why-card > *, .reg-card > *, .hero-stat > * {
  position: relative;
  z-index: 1;
}

/* ===== UTILITY HIDE/SHOW FOR THEME-AWARE IMAGES ===== */
.dark-only {
  display: none !important;
}
[data-theme="dark"] .light-only {
  display: none !important;
}
[data-theme="dark"] .dark-only {
  display: block !important;
}

/* ==================== V1 VS V2 VISIBILITY ==================== */
.preloader:not(.use-v2) .v2-loader,
.loading-overlay:not(.use-v2) .v2-loader {
  display: none !important;
}
.preloader.use-v2 .v1-loader,
.loading-overlay.use-v2 .v1-loader {
  display: none !important;
}

/* ==================== V2: LICENSING JOURNEY PATH TIMELINE ==================== */
.licensing-journal-loader {
  position: relative;
  width: 900px;
  max-width: 95%;
  margin: 2.5rem auto;
  perspective: 1000px;
}

.journey-container {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(3, 7, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 242, 254, 0.06);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  backdrop-filter: blur(10px);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Notebook cover closing effect */
.journey-container.closing {
  transform: scale(0.9) translateY(20px);
  opacity: 0;
}

/* Winding Journey Track Line */
.journey-track-wrapper {
  position: relative;
  width: 100%;
  height: 6px;
  margin: 3.5rem 0 4rem 0;
}

.journey-track-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
}

.journey-track-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  border-radius: 3px;
  width: var(--progress, 0%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
}

/* Gliding Traverse Arrow / Runner */
.journey-runner {
  position: absolute;
  top: 50%;
  left: var(--progress, 0%);
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 15px var(--accent-cyan),
    0 0 30px rgba(0, 242, 254, 0.4);
  z-index: 10;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.runner-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  animation: runnerPulse 1.8s ease-in-out infinite;
}

.runner-icon {
  font-size: 0.8rem;
  color: #fff;
  z-index: 2;
  transform: rotate(45deg);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@keyframes runnerPulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* Milestone Entries mapping horizontally */
.journey-nodes {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}

.journal-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
  position: relative;
  text-align: center;
}

/* Bullet icon style */
.entry-bullet {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0f172a;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.entry-bullet i {
  transition: all 0.3s ease;
}

.entry-details {
  position: absolute;
  top: 42px;
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.entry-step {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  opacity: 0.6;
}

.entry-name {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.3;
  transition: all 0.3s ease;
}

/* ACTIVE STATE */
.journal-entry.active .entry-bullet {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: #0f172a;
  box-shadow: 
    0 0 15px rgba(0, 242, 254, 0.45),
    inset 0 0 6px rgba(0, 242, 254, 0.2);
}

.journal-entry.active .entry-step {
  opacity: 1;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.journal-entry.active .entry-name {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

/* COMPLETED STATE */
.journal-entry.completed .entry-bullet {
  border-color: #10B981;
  color: #10B981;
  background: #0f172a;
  box-shadow: 
    0 0 12px rgba(16, 185, 129, 0.3),
    inset 0 0 4px rgba(16, 185, 129, 0.1);
}

.journal-entry.completed .entry-name {
  color: rgba(255, 255, 255, 0.75);
}

/* Center status indicator */
.journey-status-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  text-align: center;
}

.journal-bar-pct {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.1rem;
}

.journal-status-text {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

/* Light Theme overrides for Journey Path Loader */
[data-theme="light"] .journey-container {
  background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 
    0 25px 50px -12px rgba(15, 23, 42, 0.12),
    0 0 40px rgba(2, 132, 199, 0.04);
}

[data-theme="light"] .journey-track-bg {
  background: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .entry-bullet {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: rgba(15, 23, 42, 0.4);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .entry-name {
  color: rgba(15, 23, 42, 0.55);
}

[data-theme="light"] .journal-entry.active .entry-bullet {
  background: #ffffff;
  border-color: #0284c7;
  color: #0284c7;
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .journal-entry.active .entry-name {
  color: #0F172A;
}

[data-theme="light"] .journal-entry.completed .entry-bullet {
  background: #ffffff;
  border-color: #10B981;
  color: #10B981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .journal-entry.completed .entry-name {
  color: rgba(15, 23, 42, 0.7);
}

[data-theme="light"] .journal-bar-pct {
  background: linear-gradient(135deg, #0F172A 40%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .journal-status-text {
  color: #0284c7;
  text-shadow: 0 0 8px rgba(2, 132, 199, 0.15);
}

/* Responsiveness: Switch to gorgeous vertical timeline path on mobile */
@media (max-width: 768px) {
  .licensing-journal-loader {
    width: 350px;
    max-width: 90%;
    margin: 1rem auto;
  }
  
  .journey-container {
    padding: 2rem 1.5rem;
    min-height: 480px;
    justify-content: flex-start;
  }
  
  .journey-track-wrapper {
    position: absolute;
    top: 5rem;
    left: 2.2rem;
    width: 4px;
    height: 330px;
    margin: 0;
  }
  
  .journey-track-bg {
    width: 100%;
    height: 100%;
  }
  
  .journey-track-fill {
    width: 100%;
    height: var(--progress, 0%);
    background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  }
  
  .journey-runner {
    left: 50%;
    top: var(--progress, 0%);
    transform: translate(-50%, -50%);
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .runner-icon {
    transform: rotate(135deg); /* Pointing down along the line */
  }
  
  .journey-nodes {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    flex-direction: column;
    height: 330px;
    margin-top: 3.5rem;
    padding-left: 2rem;
  }
  
  .journal-entry {
    flex-direction: row;
    align-items: center;
    width: 100%;
    text-align: left;
    height: 32px;
  }
  
  .entry-bullet {
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  }
  
  .entry-details {
    position: static;
    width: auto;
    align-items: flex-start;
    margin-left: 1.5rem;
  }
  
  .entry-step {
    font-size: 0.55rem;
    margin-bottom: 0.05rem;
  }
  
  .entry-name {
    font-size: 0.75rem;
  }
  
  .journey-status-wrap {
    margin-top: 0;
    margin-bottom: 1.5rem;
    order: -1; /* Display percentage and active step at the top */
  }
  
  .journal-bar-pct {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .licensing-flow-loader {
    transform: scale(0.72);
    margin: 0.5rem auto;
  }
}

/* ==========================================================================
   VIETNAM MOH REGISTRATION PORTAL & COMPETITOR TRACKER
   ========================================================================== */
.registry-search {
  padding: 100px 0;
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}

/* Add a subtle background glow pattern */
.registry-search::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.registry-search::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(243, 161, 82, 0.04) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.registry-search .container {
  position: relative;
  z-index: 2;
}

/* Live Stats Row */
.registry-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}

.registry-stat-item {
  flex: 1 1 200px;
  max-width: 220px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.registry-stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-bright);
  box-shadow: var(--shadow-md);
}

.registry-stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.registry-stat-item .stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Filter Panel */
.registry-filter-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  transition: var(--transition);
}

.registry-filter-panel:hover {
  border-color: var(--border-glass-bright);
  box-shadow: var(--shadow-lg);
}

.search-box-wrapper {
  position: relative;
  width: 100%;
}

.search-box-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
  transition: var(--transition);
}

.registry-input {
  width: 100%;
  padding: 16px 56px 16px 56px;
  background: var(--bg-accent);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.registry-input:focus {
  border-color: var(--accent-cyan);
  background: var(--bg-secondary);
  box-shadow: var(--glow-cyan);
}

.registry-input:focus + .search-box-icon {
  color: var(--accent-cyan);
}

.search-box-clear {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none; /* Controlled by JS */
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  padding: 4px;
}

.search-box-clear:hover {
  color: var(--accent-cyan);
  transform: translateY(-50%) scale(1.1);
}

/* Legacy dropdown styles removed */

@media (max-width: 992px) {
  .registry-filter-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
}

@media (max-width: 576px) {
  .filter-dropdowns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Active Filter Tags Row */
.registry-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding: 0 16px;
}

.registry-active-filters .active-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.active-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass-bright);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.filter-tag:hover {
  border-color: var(--accent-cyan);
}

.filter-tag span {
  white-space: nowrap;
}

.filter-tag .remove-tag {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  padding: 2px;
  transition: var(--transition);
}

.filter-tag .remove-tag:hover {
  color: #EF4444;
  transform: scale(1.2);
}

.reset-all-btn {
  background: none;
  border: none;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.reset-all-btn:hover {
  background: var(--bg-accent);
  color: var(--accent-blue);
  text-decoration: underline;
}

/* Results Meta Row */
.registry-results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 16px;
}

.results-count-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.database-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-accent);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #10B981;
  opacity: 0.6;
  animation: pulse-ring 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.7); opacity: 0.8; }
  50% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Results Table Wrapper */
.registry-results-wrapper {
  position: relative;
  min-height: 250px;
  margin-bottom: 48px;
}

.registry-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.65);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: var(--transition);
}

[data-theme="dark"] .registry-loader {
  background: rgba(10, 14, 26, 0.65);
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-glass);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.registry-loader p {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Elegant Glassmorphic Table Layout */
.registry-table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
}

.registry-table-responsive:hover {
  border-color: var(--border-glass-bright);
  box-shadow: var(--shadow-md);
}

.registry-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.registry-table th {
  background: var(--bg-accent);
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-glass);
  white-space: nowrap;
}

.registry-row {
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}

.registry-row:last-child {
  border-bottom: none;
}

.registry-row:hover {
  background-color: var(--bg-accent);
}

.registry-table td {
  padding: 20px 24px;
  vertical-align: middle;
  color: var(--text-secondary);
}

/* Custom column typography details */
.reg-no {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.dossier-id {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.device-name {
  font-weight: 600;
  color: var(--text-primary);
  max-width: 320px;
  line-height: 1.4;
}

.device-type {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.company-column {
  font-weight: 500;
  color: var(--text-primary);
}

.date-column {
  white-space: nowrap;
  font-size: 0.9rem;
}

/* Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.status-active {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .status-badge.status-active {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34D399;
}

.status-badge.status-expired {
  background-color: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

[data-theme="dark"] .status-badge.status-expired {
  background-color: rgba(239, 68, 68, 0.15);
  color: #F87171;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-accent);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  font-size: 0.9rem;
}

.action-btn:hover {
  background: var(--accent-cyan);
  color: #FFFFFF;
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.action-btn.doc-btn {
  color: var(--accent-gold);
}

.action-btn.doc-btn:hover {
  background: var(--accent-gold);
  color: var(--text-dark);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

/* Empty State Styling */
.registry-empty-state {
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.registry-empty-state .empty-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.registry-empty-state h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.registry-empty-state p {
  color: var(--text-muted);
  max-width: 450px;
  margin: 0 auto;
}

/* Mobile Responsive Card Grid (hidden on desktop) */
.registry-cards-grid {
  display: none;
  grid-template-columns: 1fr;
  gap: 16px;
}

.registry-card-item {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.registry-card-item:hover {
  border-color: var(--border-glass-bright);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.registry-card-item .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.registry-card-item .card-date {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.registry-card-item .card-device {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.4;
}

.registry-card-item .card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
}

.registry-card-item .meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  line-height: 1.4;
}

.registry-card-item .meta-label {
  color: var(--text-muted);
  font-weight: 500;
}

.registry-card-item .meta-value {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.registry-card-item .card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.registry-card-item .card-actions .btn {
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}

/* Toggle Views on Mobile Screens */
@media (max-width: 768px) {
  .registry-table-responsive {
    display: none;
  }
  
  .registry-cards-grid {
    display: grid;
  }
}

/* CRO Lead-Generation Export Banner */
.registry-export-card {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.registry-export-card:hover {
  border-color: var(--border-glass-bright);
}

/* Glowing Radial Decorative Overlay */
.export-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.export-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 32px;
}

.export-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(3, 105, 161, 0.1) 100%);
  color: var(--accent-cyan);
  font-size: 2.2rem;
  border: 1px solid rgba(2, 132, 199, 0.2);
  flex-shrink: 0;
  transition: var(--transition);
}

.registry-export-card:hover .export-icon-box {
  transform: scale(1.05) rotate(-5deg);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(3, 105, 161, 0.15) 100%);
  box-shadow: var(--glow-cyan);
}

.export-text {
  flex-grow: 1;
}

.export-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.export-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 680px;
}

.export-action {
  flex-shrink: 0;
}

.export-action .btn {
  box-shadow: var(--glow-gold);
}

@media (max-width: 992px) {
  .export-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .export-text p {
    margin: 0 auto;
  }
  
  .export-icon-box {
    margin: 0 auto;
  }
}

/* CRO Lead Form Visual Flash/Glow Effect */
.cro-flash {
  animation: form-glow-highlight 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes form-glow-highlight {
  0% {
    border-color: var(--border-glass);
    box-shadow: none;
  }
  20% {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.4), inset 0 0 15px rgba(0, 242, 254, 0.1);
  }
  40% {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.4), inset 0 0 15px rgba(0, 242, 254, 0.1);
  }
  100% {
    border-color: var(--border-glass);
    box-shadow: none;
  }
}

/* ==========================================================================
   OUR TEAM SECTION
   ========================================================================== */
.team {
  padding: 120px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* Subtle background glow elements for the team section */
.team::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.04) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.team .container {
  position: relative;
  z-index: 2;
}

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

.team-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px 36px 40px 36px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-bright);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(2, 132, 199, 0.05);
}

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

.team-avatar-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 28px;
  z-index: 1;
}

.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-glass-bright);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Specific avatar ring for all team members (animated vectors) */
.team-card .team-avatar-ring {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 242, 254, 0.35);
  animation: rotateRing 15s linear infinite;
  z-index: 1;
  pointer-events: none;
  transition: all 0.5s ease;
}

.team-card .team-avatar {
  animation: avatarFloat 4s ease-in-out infinite;
}

.team-card:nth-child(1) .team-avatar {
  animation-delay: 0s;
}

.team-card:nth-child(2) .team-avatar {
  animation-delay: 1.3s;
}

.team-card:nth-child(3) .team-avatar {
  animation-delay: 2.6s;
}

/* Hover behaviors for all partner card animations */
.team-card:hover .team-avatar-ring {
  border-color: var(--accent-cyan);
  inset: -10px;
  animation-duration: 6s;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.team-card:hover .team-avatar {
  transform: scale(1.06) rotate(2deg);
  border-color: var(--accent-cyan);
}

.team-info {
  position: relative;
  z-index: 1;
  width: 100%;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.team-role {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.team-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-accent);
  border: 1px solid var(--border-glass);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.team-tag i {
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

.team-bio {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  height: 96px; /* Align bio heights on desktop */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.team-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-glass);
  padding-top: 16px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-badge i {
  color: var(--accent-cyan);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-accent);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.team-social a:hover {
  color: var(--text-primary);
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan);
}

/* Animations */
@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .team-bio {
    height: auto;
    -webkit-line-clamp: initial;
  }
}

@media (max-width: 768px) {
  .team {
    padding: 80px 0;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


