/* ============================================================
   BIRTHDAY KARTS — Premium Design System
   Author: Skylight Studio
   Version: 1.0.0
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Custom Properties ── */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --glow-opacity {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}

:root {
  /* Colors */
  --primary:         #6C63FF;
  --primary-light:   #8B83FF;
  --primary-dark:    #4B44CC;
  --secondary:       #8B5CF6;
  --accent:          #FF5A5F;
  --success:         #00D084;
  --warning:         #FFD166;
  --info:            #38BDF8;

  /* Backgrounds */
  --bg:              #050816;
  --bg-2:            #080d20;
  --bg-3:            #0c1230;
  --card:            rgba(255, 255, 255, 0.06);
  --card-hover:      rgba(255, 255, 255, 0.10);
  --glass-border:    rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(255,255,255,0.25);

  /* Text */
  --text:            #FFFFFF;
  --text-secondary:  #B8B8B8;
  --text-muted:      #6B7280;

  /* API Channel Colors */
  --sms-color:       #00D084;
  --wa-color:        #25D366;
  --email-color:     #38BDF8;

  /* Shadows */
  --shadow-sm:       0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:       0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:       0 24px 64px rgba(0,0,0,0.5);
  --shadow-glow:     0 0 40px rgba(108,99,255,0.3);
  --shadow-glow-accent: 0 0 40px rgba(255,90,95,0.3);

  /* Blur */
  --blur-sm:         blur(8px);
  --blur-md:         blur(16px);
  --blur-lg:         blur(24px);
  --blur-xl:         blur(40px);

  /* Border Radius */
  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --radius-xl:       32px;
  --radius-full:     9999px;

  /* Typography */
  --font-primary:    'Space Grotesk', sans-serif;
  --font-secondary:  'Poppins', sans-serif;
  --font-tertiary:   'Manrope', sans-serif;
  --font-mono:       'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --space-xs:  clamp(0.25rem, 0.5vw, 0.5rem);
  --space-sm:  clamp(0.5rem, 1vw, 1rem);
  --space-md:  clamp(1rem, 2vw, 2rem);
  --space-lg:  clamp(2rem, 4vw, 4rem);
  --space-xl:  clamp(4rem, 8vw, 8rem);
  --space-2xl: clamp(6rem, 12vw, 12rem);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-inout: cubic-bezier(0.87, 0, 0.13, 1);
  --spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.3s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

/* Remove scrollbar flicker during Lenis init */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography Scale ── */
.text-xs   { font-size: clamp(0.65rem, 1vw, 0.75rem); }
.text-sm   { font-size: clamp(0.75rem, 1.2vw, 0.875rem); }
.text-base { font-size: clamp(0.875rem, 1.5vw, 1rem); }
.text-lg   { font-size: clamp(1rem, 1.8vw, 1.125rem); }
.text-xl   { font-size: clamp(1.125rem, 2vw, 1.25rem); }
.text-2xl  { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
.text-3xl  { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.text-4xl  { font-size: clamp(1.875rem, 4vw, 2.25rem); }
.text-5xl  { font-size: clamp(2.25rem, 5vw, 3rem); }
.text-6xl  { font-size: clamp(3rem, 6vw, 4rem); }
.text-7xl  { font-size: clamp(3.5rem, 7vw, 5rem); }
.text-8xl  { font-size: clamp(4rem, 9vw, 6.5rem); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.5rem); }

p {
  font-family: var(--font-tertiary);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2.5rem);
}

.container--wide { max-width: 1440px; }
.container--narrow { max-width: 900px; }

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

.grid { display: grid; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ── Glass Utilities ── */
.glass {
  background: var(--card);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.glass--sm { border-radius: var(--radius-md); }
.glass--xl { border-radius: var(--radius-xl); }

.glass-strong {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: var(--blur-xl);
  -webkit-backdrop-filter: var(--blur-xl);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius-lg);
}

/* Gradient Border */
.gradient-border {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--card);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(var(--gradient-angle), var(--primary), var(--secondary), var(--accent), var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradient-spin 4s linear infinite;
  pointer-events: none;
}
@keyframes gradient-spin {
  to { --gradient-angle: 360deg; }
}

/* Glow Card */
.glow-card {
  position: relative;
  background: var(--card);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  overflow: hidden;
}
.glow-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(108,99,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  pointer-events: none;
}
.glow-card:hover::after { opacity: 1; }
.glow-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75em 1.75em;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: clamp(0.85rem, 1.3vw, 0.95rem);
  letter-spacing: 0.01em;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover::before { transform: translateX(150%) skewX(-15deg); }

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 8px 32px rgba(108,99,255,0.4);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 48px rgba(108,99,255,0.55);
}

.btn--ghost {
  background: var(--card);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--card-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent), #FF8A5B);
  color: #fff;
  box-shadow: 0 8px 32px rgba(255,90,95,0.35);
}
.btn--accent:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 48px rgba(255,90,95,0.5);
}

.btn--sm { padding: 0.5em 1.25em; font-size: 0.8rem; }
.btn--lg { padding: 1em 2.5em; font-size: 1rem; }
.btn--icon { width: 2.5rem; height: 2.5rem; padding: 0; border-radius: 50%; justify-content: center; }

/* ── Section Headers ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3em 0.9em;
  background: rgba(108,99,255,0.15);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.section-header h2 {
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 40%, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  max-width: 640px;
  margin: 0 auto;
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25em 0.75em;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--success { background: rgba(0,208,132,0.15); color: var(--success); border: 1px solid rgba(0,208,132,0.3); }
.badge--primary { background: rgba(108,99,255,0.15); color: var(--primary-light); border: 1px solid rgba(108,99,255,0.3); }
.badge--accent  { background: rgba(255,90,95,0.15); color: var(--accent); border: 1px solid rgba(255,90,95,0.3); }
.badge--info    { background: rgba(56,189,248,0.15); color: var(--info); border: 1px solid rgba(56,189,248,0.3); }

/* Pulse dot */
.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

/* ── Aurora Background ── */
.aurora-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora-bg::before,
.aurora-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: aurora 12s ease infinite alternate;
}
.aurora-bg::before {
  width: 60vw; height: 60vh;
  background: radial-gradient(circle, var(--primary), transparent);
  top: -20%; left: -10%;
}
.aurora-bg::after {
  width: 50vw; height: 50vh;
  background: radial-gradient(circle, var(--secondary), transparent);
  bottom: -20%; right: -10%;
  animation-delay: -6s;
}
@keyframes aurora {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, 3%) scale(1.05); }
  66% { transform: translate(-3%, 5%) scale(0.97); }
  100% { transform: translate(2%, -2%) scale(1.03); }
}

/* ── Divider ── */
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  margin: 1rem auto;
}

/* ── Stat Card ── */
.stat-card {
  padding: var(--space-md);
  text-align: center;
}
.stat-card .stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  font-family: var(--font-secondary);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

/* ── Input / Form ── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }
.form-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-tertiary);
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--primary);
  background: rgba(108,99,255,0.08);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ── Code Block ── */
.code-block {
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-x: auto;
  position: relative;
}
.code-block .code-lang {
  position: absolute;
  top: 0.5rem; right: 0.75rem;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.code-keyword { color: #c792ea; }
.code-string  { color: #c3e88d; }
.code-number  { color: #f78c6c; }
.code-comment { color: #546e7a; font-style: italic; }
.code-func    { color: #82aaff; }
.code-var     { color: #89ddff; }

/* ── Marquee ── */
.marquee-wrapper {
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: var(--space-md);
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track--reverse { animation-direction: reverse; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: rgba(108,99,255,0.5); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── Selection ── */
::selection { background: rgba(108,99,255,0.4); color: #fff; }

/* ── Utility ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.visually-hidden { @extend .sr-only; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.z-1 { z-index: 1; }
.z-10 { z-index: 10; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.w-full { width: 100%; }

/* ── Responsive Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-md); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Visibility ── */
.hidden { display: none !important; }
.show-mobile { display: none !important; }
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: block !important; }
}

/* ── Page Section Divider ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
  margin: 0;
}

/* ── Number Highlight ── */
.highlight-number {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  font-family: var(--font-secondary);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* ── Floating Animation ── */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(1deg); }
  66% { transform: translateY(-6px) rotate(-1deg); }
}
@keyframes float-reverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(10px) rotate(-1deg); }
  66% { transform: translateY(5px) rotate(1deg); }
}
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-reverse { animation: float-reverse 7s ease-in-out infinite; }
.animate-float-slow { animation: float 9s ease-in-out infinite; }

/* ── Shimmer Loading ── */
@keyframes shimmer {
  from { background-position: -200% 0; }
  to { background-position: 200% 0; }
}
.shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* ── Neon Glow Border ── */
.neon-border-primary {
  box-shadow: 0 0 0 1px rgba(108,99,255,0.4), 0 0 20px rgba(108,99,255,0.2);
  border-color: rgba(108,99,255,0.5) !important;
}
.neon-border-accent {
  box-shadow: 0 0 0 1px rgba(255,90,95,0.4), 0 0 20px rgba(255,90,95,0.2);
  border-color: rgba(255,90,95,0.5) !important;
}

/* ── Noise Texture Overlay ── */
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
  mix-blend-mode: overlay;
}

/* ── Pricing Card ── */
.pricing-card {
  position: relative;
  padding: var(--space-md) var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(108,99,255,0.12), rgba(139,92,246,0.08));
  pointer-events: none;
}
.pricing-card .price {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  font-family: var(--font-secondary);
  color: var(--text);
  line-height: 1;
}
.pricing-card .price-period {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.pricing-feature .check { color: var(--success); flex-shrink: 0; }
.pricing-feature .cross { color: var(--text-muted); flex-shrink: 0; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--glass-border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text);
  gap: 1rem;
  transition: color 0.2s;
  font-family: var(--font-primary);
}
.faq-question:hover { color: var(--primary-light); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--card);
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  color: var(--primary-light);
}
.faq-item.open .faq-icon { background: rgba(108,99,255,0.2); transform: rotate(45deg); }
.faq-answer {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out), padding 0.45s var(--ease-out);
  font-family: var(--font-tertiary);
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

/* ── Tag Cloud ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35em 0.8em;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: var(--transition);
}
.tag:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(108,99,255,0.1);
}

/* ── Testimonial Card ── */
.testimonial-card {
  padding: var(--space-md);
  position: relative;
}
.testimonial-card .quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.3;
  font-family: serif;
  position: absolute;
  top: 1rem; left: 1.5rem;
}
.testimonial-card .stars { color: var(--warning); font-size: 0.85rem; letter-spacing: 2px; }
.testimonial-card .testimonial-text {
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-secondary);
  font-family: var(--font-tertiary);
  margin-top: 1rem;
}
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-role { font-size: 0.75rem; color: var(--text-muted); }

/* ── Service Card ── */
.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card .service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(108,99,255,0.2), rgba(139,92,246,0.1));
  border: 1px solid rgba(108,99,255,0.25);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 8px 24px rgba(108,99,255,0.4);
}
.service-card .service-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.service-card .service-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-family: var(--font-tertiary);
}
.service-card .service-book {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--primary-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition);
}
.service-card:hover .service-book { opacity: 1; transform: translateY(0); }

/* ── API Channel Cards ── */
.api-channel-card {
  position: relative;
  overflow: hidden;
}
.api-channel-card.sms { --channel-color: var(--sms-color); }
.api-channel-card.whatsapp { --channel-color: var(--wa-color); }
.api-channel-card.email { --channel-color: var(--email-color); }
.api-channel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--channel-color);
  opacity: 0.7;
}
.api-channel-card:hover {
  border-color: var(--channel-color) !important;
  box-shadow: 0 0 30px rgba(from var(--channel-color) r g b / 0.2);
}
.api-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: rgba(from var(--channel-color) r g b / 0.15);
  border: 1px solid rgba(from var(--channel-color) r g b / 0.3);
  margin-bottom: 1rem;
}

/* ── Product Hero ── */
.product-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

/* ── Keyframes Library ── */
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes bounce-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes scale-in {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fade-up {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.cursor-blink { animation: blink 1s ease infinite; }

/* ── Chart Bar ── */
.chart-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.chart-bar-fill {
  width: 24px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--primary), var(--secondary));
  transition: height 1.2s var(--ease-out);
}
.chart-bar-label { font-size: 0.65rem; color: var(--text-muted); }

/* ================================================================
   CRITICAL CLICK FIX — Canvas & Nav Z-Index
   ================================================================ */

/* Hero canvas must NEVER intercept pointer events */
#hero-canvas,
canvas {
  pointer-events: none !important;
  user-select: none;
}

/* Navbar sits ABOVE everything including canvas and aurora */
#navbar {
  isolation: isolate;
  z-index: 9000 !important;
}

/* Dropdown menu sits above navbar */
.nav-dropdown-menu {
  z-index: 9100 !important;
}

/* Aurora bg and decorative blobs: never block clicks */
.aurora-bg,
.aurora-bg *,
.blob,
[aria-hidden="true"] {
  pointer-events: none !important;
}

/* Ensure nav links are always clickable */
.nav-links,
.nav-links li,
.nav-link,
.nav-dropdown,
.nav-dropdown-menu,
.nav-dropdown-item,
.nav-product-card,
.nav-cta,
.nav-cta a,
.nav-hamburger {
  position: relative;
  z-index: 9001;
}

/* Fix dropdown transform — use translateY only; left/right positioning handles alignment */
.nav-dropdown-menu {
  transform: translateY(-10px) !important;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
