/* ═══════════════════════════════════════════
   iBrain Landing Page — v2 with animations
   ═══════════════════════════════════════════ */

:root {
  --bg: #0a0e1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #1e293b;
  --accent: #06B6D4;
  --accent-hover: #0891B2;
  --navy: #1E3A8A;
  --gradient: linear-gradient(135deg, #1E3A8A, #06B6D4);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 999px;

  /* Emil Kowalski — custom easing curves */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* Hero gradient shimmer — subtle background-position shift */
.gradient-text-shimmer {
  background: linear-gradient(135deg, #1E3A8A, #06B6D4, #7c3aed, #06B6D4, #1E3A8A);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShimmer 6s ease-in-out infinite;
}

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

/* ═══════════════════════════════════════════
   SCROLL REVEAL SYSTEM
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

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

/* Hero entrance animation */
.animate-in {
  opacity: 0;
  transform: translateY(25px);
  animation: animateIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

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

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-bottom-color 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}

.nav.scrolled {
  background: rgba(10, 14, 26, 0.9);
  border-bottom-color: rgba(30, 41, 59, 0.5);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
}

.nav-logo:hover img { transform: rotate(-10deg) scale(1.1); }

.nav-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #031650, #02eafe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-ghost {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}

.btn-ghost:hover { color: var(--text); }

.btn-primary-sm {
  display: inline-flex;
  padding: 0.5rem 1.25rem;
  background: var(--gradient);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

.btn-primary-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary-sm:active {
  transform: scale(0.97);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: 0.3s;
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  padding: 9rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -150px;
  right: -100px;
  animation: float 10s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--navy);
  bottom: -100px;
  left: -100px;
  animation: float 12s ease-in-out infinite reverse;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: #7c3aed;
  top: 30%;
  left: 45%;
  opacity: 0.12;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(6, 182, 212, 0); }
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--gradient);
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  position: relative;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.35);
}

.btn-primary:active { transform: scale(0.97); }

.btn-glow {
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(0deg); }
  100% { transform: translateX(100%) rotate(0deg); }
}

.btn-primary.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-primary.btn-full {
  width: 100%;
  justify-content: center;
  padding: 1rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}

.btn-outline:active { transform: scale(0.97); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat strong {
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.stat strong .counter {
  background: inherit;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font: inherit;
}

.stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ═══ PHONE MOCKUP ═══ */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 300px;
  background: #1a1a2e;
  border-radius: 32px;
  border: 2px solid #2a2a4a;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 25px 60px rgba(0,0,0,0.5),
    0 0 100px rgba(6, 182, 212, 0.08);
  position: relative;
  z-index: 2;
  transition: box-shadow 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}

/* Shadow pulses when messages arrive */
.phone-mockup.msg-pulse {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 25px 60px rgba(0,0,0,0.5),
    0 0 120px rgba(6, 182, 212, 0.18);
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #0a0e1a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
}

.phone-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(6,182,212,0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.chat-header-mock {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: #111827;
  border-bottom: 1px solid #1e293b;
}

.chat-avatar-mock {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.chat-name-mock {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.chat-status-mock {
  font-size: 0.65rem;
  color: #10b981;
}

.chat-body-mock {
  padding: 0.75rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #0d1117;
}

.msg-mock {
  max-width: 85%;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  font-size: 0.72rem;
  line-height: 1.5;
  position: relative;
}

.msg-mock.received {
  background: #1e293b;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.msg-mock.sent {
  background: #0c4a6e;
  color: #e0f2fe;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ai-tag-mock {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2px;
}

.slots-mock {
  display: flex;
  gap: 0.3rem;
  margin: 0.3rem 0;
  flex-wrap: wrap;
}

.slot-chip {
  padding: 0.2rem 0.5rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.6rem;
  color: var(--accent);
  font-weight: 500;
}

/* Chat message animations — spatial direction per Emil */
.msg-anim {
  opacity: 0;
  transition: none;
}

.msg-mock.received.msg-anim { transform: translateX(-15px); }
.msg-mock.sent.msg-anim { transform: translateX(15px); }
.typing-mock.msg-anim { transform: translateX(-15px); }

.msg-anim.play {
  animation: msgAppear 0.4s var(--ease-spring) forwards;
  animation-delay: var(--msg-delay, 0s);
}

.msg-mock.received.msg-anim.play { animation-name: msgAppearLeft; }
.msg-mock.sent.msg-anim.play { animation-name: msgAppearRight; }
.typing-mock.msg-anim.play { animation-name: msgAppearLeft; }

@keyframes msgAppearLeft {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes msgAppearRight {
  to { opacity: 1; transform: translateX(0); }
}

/* Typing indicator */
.typing-mock {
  display: flex;
  gap: 4px;
  padding: 0.6rem 0.8rem;
  background: #1e293b;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
}

.typing-mock .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingDot 1.4s ease-in-out infinite;
}

.typing-mock .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-mock .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ═══ TRUST BAR ═══ */
.trust-bar {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.trust-logo:hover { opacity: 1; }

/* ═══ SECTIONS ═══ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.12);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

/* Subtle glow flash when badge enters viewport */
.revealed .section-badge {
  animation: badgeFlash 0.8s var(--ease-out) 0.1s both;
}

@keyframes badgeFlash {
  0%   { filter: brightness(1); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
  40%  { filter: brightness(1.3); box-shadow: 0 0 16px 2px rgba(6, 182, 212, 0.15); }
  100% { filter: brightness(1); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
}

/* ═══ IMPACT BANNER ═══ */
.impact-banner {
  padding: 4rem 0;
}

.impact-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.04), rgba(30, 58, 138, 0.06));
  border: 1px solid rgba(6, 182, 212, 0.1);
  border-radius: 1.25rem;
  position: relative;
  overflow: hidden;
}

/* Override standard reveal — use clip-path horizontal wipe */
.impact-grid.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s var(--ease-in-out);
  transition-delay: 0.1s;
}

.impact-grid.reveal.revealed {
  clip-path: inset(0 0 0 0);
}

.impact-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
}

.impact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex: 1;
}

.impact-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.impact-icon.accent-green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.impact-item strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 0.35rem;
}

.impact-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.impact-divider {
  width: 1px;
  height: 70px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
  flex-shrink: 0;
}

/* ═══ FEATURES ═══ */
.features {
  padding: 6rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease-spring), border-color 0.3s var(--ease-spring), transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(6, 182, 212, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(6, 182, 212, 0.05);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.08);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition: transform 0.3s, background 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: rgba(6, 182, 212, 0.15);
}

.feature-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.feature-tag.tag-accent {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.15);
  color: var(--accent);
}

.feature-card-highlight {
  border-color: rgba(6, 182, 212, 0.12);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.03), var(--bg-card));
}

.feature-card-highlight:hover {
  border-color: rgba(6, 182, 212, 0.25);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══ TIMELINE DEMO ═══ */
.timeline-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.015), transparent);
}

.tl-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Rows */
.tl-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.tl-spacer {
  width: 80px;
  flex-shrink: 0;
}

.tl-label {
  width: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.tl-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c, #666);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.tl-room {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1;
}

/* Hour markers */
.tl-hours-row { margin-bottom: 0.75rem; }

.tl-hours {
  flex: 1;
  position: relative;
  height: 18px;
}

.tl-hours span {
  position: absolute;
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 500;
  transform: translateX(-50%);
  opacity: 0;
}

.tl-demo.active .tl-hours span {
  animation: tlFadeIn 0.3s ease forwards;
  animation-delay: 0.1s;
}

/* Group titles */
.tl-group-title {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 1rem 0 0.5rem;
  padding-left: 2px;
  opacity: 0;
  transform: translateX(-10px);
}

.tl-group-title:first-of-type { margin-top: 0; }

.tl-demo.active .tl-group-title {
  animation: tlSlideRight 0.4s ease forwards;
  animation-delay: var(--d, 0s);
}

/* Track */
.tl-track {
  flex: 1;
  position: relative;
  height: 36px;
  background: rgba(255, 255, 255, 0.015);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Vertical cursor line on each track */
.tl-track::after {
  content: '';
  position: absolute;
  left: 70%;
  top: -1px;
  bottom: -1px;
  width: 2px;
  background: #ef4444;
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
  z-index: 5;
  opacity: 0;
  transform: scaleY(0.15);
  transform-origin: top;
}

.tl-demo.active .tl-track::after {
  animation: tlCursorDrop 0.4s var(--ease-out) forwards;
  animation-delay: 2.2s;
}

/* Blocks */
.tl-block {
  position: absolute;
  top: 3px;
  height: calc(100% - 6px);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
  z-index: 2;
  transform: scaleX(0.05);
  transform-origin: left;
  opacity: 0;
  transition: box-shadow 0.5s, border-color 0.5s, background 0.5s;
}

.tl-demo.active .tl-block {
  animation: tlBlockGrow 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--d, 0s);
}

/* Block colors */
.tl-cyan   { background: rgba(6, 182, 212, 0.2);   border: 1px solid rgba(6, 182, 212, 0.35); }
.tl-purple { background: rgba(139, 92, 246, 0.2);  border: 1px solid rgba(139, 92, 246, 0.35); }
.tl-amber  { background: rgba(245, 158, 11, 0.2);  border: 1px solid rgba(245, 158, 11, 0.35); }
.tl-blue   { background: rgba(59, 130, 246, 0.18);  border: 1px solid rgba(59, 130, 246, 0.3); }
.tl-green  { background: rgba(16, 185, 129, 0.18);  border: 1px solid rgba(16, 185, 129, 0.3); }

/* Matched blocks glow */
.tl-block.matched {
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35), inset 0 0 12px rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.6) !important;
  z-index: 3;
}

.tl-block.matched.tl-amber  { background: rgba(245, 158, 11, 0.35); }
.tl-block.matched.tl-blue   { background: rgba(59, 130, 246, 0.3); }

/* Booking request */
.tl-request {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.15);
  border-radius: 10px;
  opacity: 0;
  transform: translateX(30px);
}

.tl-demo.active .tl-request {
  animation: tlSlideLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 2.5s;
}

.tl-wa-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.tl-wa-icon svg { width: 20px; height: 20px; }

.tl-request strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1px;
}

.tl-request span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Match result */
.tl-result {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
  padding: 0.65rem 1rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(10px);
}

.tl-demo.active .tl-result {
  animation: tlSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 3.3s;
}

.tl-result strong { color: var(--text); }

.tl-result-check {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Timeline keyframes */
@keyframes tlFadeIn {
  to { opacity: 1; }
}

@keyframes tlSlideRight {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes tlBlockGrow {
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes tlCursorDrop {
  to { opacity: 0.6; transform: scaleY(1); }
}

@keyframes tlSlideLeft {
  to { opacity: 1; transform: translateX(0); }
}

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

/* ═══ BROADCAST DEMO ═══ */
.broadcast-section {
  padding: 6rem 0;
}

.bc-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem 1.5rem;
  overflow: hidden;
}

/* Visual area: template + bubbles */
.bc-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
  margin-bottom: 2rem;
}

/* Ripple wave from center */
.bc-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 2px solid rgba(6, 182, 212, 0.2);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.bc-demo.active .bc-ripple {
  animation: bcRipple 0.9s ease-out forwards;
  animation-delay: 1.45s;
}

@keyframes bcRipple {
  0%   { width: 0; height: 0; opacity: 0.5; }
  100% { width: 420px; height: 420px; opacity: 0; }
}

/* Template card */
.bc-template {
  position: relative;
  z-index: 3;
  width: 255px;
  opacity: 0;
  transform: scale(0.9);
}

.bc-demo.active .bc-template {
  animation: bcTplIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes bcTplIn {
  to { opacity: 1; transform: scale(1); }
}

.bc-tpl-badge {
  font-size: 0.62rem;
  font-weight: 600;
  color: #10b981;
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.bc-tpl-msg {
  background: #0c4a6e;
  border-radius: 12px;
  padding: 0.85rem;
  font-size: 0.76rem;
  line-height: 1.55;
  color: #e0f2fe;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.bc-tpl-sub {
  color: rgba(224, 242, 254, 0.65);
  margin-top: 0.25rem;
  font-size: 0.72rem;
}

.bc-tpl-cta {
  margin-top: 0.55rem;
  padding: 0.4rem;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 8px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
}

/* Send button */
.bc-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  font-family: inherit;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.bc-demo.active .bc-send-btn {
  animation: bcPulse 0.6s ease 0.95s, bcClick 0.2s ease 1.4s;
}

@keyframes bcPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
}

@keyframes bcClick {
  0%   { transform: scale(1); }
  50%  { transform: scale(0.94); }
  100% { transform: scale(1); }
}

/* Contact bubbles */
.bc-bubble {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.bc-bubble span {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.bc-bubble i {
  position: absolute;
  bottom: -3px;
  right: -5px;
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 700;
  color: #3b82f6;
  background: var(--bg);
  border-radius: 4px;
  padding: 1px 2px;
  opacity: 0;
  transform: scale(0.85);
}

.bc-demo.active .bc-bubble {
  animation: bcBubbleOut 0.55s var(--ease-spring) forwards;
  animation-delay: var(--d, 1.6s);
}

.bc-demo.active .bc-bubble i {
  animation: bcCheckPop 0.3s var(--ease-spring) forwards;
  animation-delay: calc(var(--d, 1.6s) + 0.55s);
}

@keyframes bcBubbleOut {
  to {
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1);
    opacity: 1;
  }
}

@keyframes bcCheckPop {
  0%   { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

/* Stats row */
.bc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(15px);
}

.bc-demo.active .bc-stats {
  animation: bcFadeUp 0.5s ease forwards;
  animation-delay: 3s;
}

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

.bc-stat { text-align: center; }

.bc-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.15rem;
}

.bc-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.bc-stat-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 2px;
  overflow: hidden;
}

.bc-bar {
  height: 100%;
  width: 0;
  background: var(--gradient);
  border-radius: 2px;
  transition: none;
}

.bc-bar-blue  { background: #3b82f6; }
.bc-bar-green { background: #10b981; }

.bc-demo.active .bc-bar {
  animation: bcBarFill 1s ease forwards;
  animation-delay: var(--bd, 3.2s);
}

@keyframes bcBarFill {
  to { width: var(--w, 100%); }
}

/* ROI card */
.bc-roi {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(10px);
}

.bc-demo.active .bc-roi {
  animation: bcFadeUp 0.5s ease forwards;
  animation-delay: 4.2s;
}

.bc-roi-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.bc-roi strong { color: var(--text); }

/* ═══ HOW IT WORKS ═══ */
.how-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.02), transparent);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.3);
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  margin-top: 2.85rem;
  flex-shrink: 0;
  opacity: 0.4;
}

/* ═══ SOCIAL PROOF ═══ */
.social-proof {
  padding: 5rem 0;
}

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.industry-tag {
  padding: 0.6rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  cursor: default;
}

.industry-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.1);
}

/* ═══ PRICING ═══ */
.pricing-section {
  padding: 6rem 0;
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  /* base bg + border are overridden by animated border in the feature section below */
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(6, 182, 212, 0.08);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.pricing-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.06), transparent 50%);
  pointer-events: none;
}

/* Promo banner */
.pricing-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #10b981;
  margin-bottom: 1.75rem;
}

.promo-icon {
  flex-shrink: 0;
}

.pricing-card-header {
  margin-bottom: 1.75rem;
}

.pricing-header-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

.plan-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Setup box */
.pricing-setup-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.pricing-setup-box h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.pricing-setup-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
}

.pricing-setup-list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 1.1rem;
  position: relative;
}

.pricing-setup-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin-bottom: 1.5rem;
}

/* Monthly after promo */
.pricing-after {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-after strong {
  color: var(--text);
  font-weight: 700;
}

.pricing-includes-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.pricing-features li:hover {
  color: var(--text);
}

.pricing-features .check {
  color: #10b981;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pricing-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══ FINAL CTA ═══ */
.final-cta {
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.final-cta-bg .orb-1 {
  width: 350px;
  height: 350px;
  top: -100px;
  right: 10%;
  opacity: 0.15;
}

.final-cta-bg .orb-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: 10%;
  opacity: 0.15;
}

.final-cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ═══ FOOTER ═══ */
.footer {
  padding: 4rem 0 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-logo img {
  width: 28px;
  height: 28px;
}

.footer-logo span {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #031650, #02eafe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-contact {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-brand .footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.footer-brand .footer-contact a:hover {
  color: var(--text);
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.footer-contact svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  opacity: 0.5;
  transition: opacity 0.25s var(--ease-out);
}

.footer-contact a:hover svg {
  opacity: 0.85;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  color: var(--text);
  padding-left: 4px;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

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

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text { text-align: center; }

  .hero-cta { justify-content: center; }

  .hero-stats { justify-content: center; }

  .phone-mockup { width: 260px; }
}

@media (max-width: 900px) {
  .tl-demo {
    padding: 1.5rem;
    overflow-x: auto;
  }

  .tl-row, .tl-hours-row {
    min-width: 480px;
  }

  .tl-label, .tl-spacer {
    width: 65px;
    min-width: 65px;
  }

  .tl-label { font-size: 0.7rem; }
  .tl-block { font-size: 0.55rem; }

  .bc-visual {
    min-height: 280px;
    transform: scale(0.82);
    transform-origin: center;
    margin-bottom: 0.5rem;
  }

  .impact-grid {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  .impact-divider {
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
    text-align: center;
  }

  .nav-links.open,
  .nav-actions.open {
    display: flex;
  }

  .nav-actions.open {
    top: calc(100% + 160px);
    border-top: none;
  }

  .mobile-menu-btn { display: flex; }

  .hero { padding: 7rem 0 3rem; }

  .hero h1 { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1rem; }

  .hero-cta { flex-direction: column; align-items: center; }

  .features-grid { grid-template-columns: 1fr; }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    width: 2px;
    height: 30px;
    margin: 0;
    background: linear-gradient(180deg, var(--border), var(--accent), var(--border));
  }

  .section-header h2 { font-size: 1.75rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .final-cta h2 { font-size: 1.75rem; }

  .trust-logos { gap: 1.5rem; }

  .bc-stats { gap: 0.75rem; }
  .bc-stat-num { font-size: 1.4rem; }
  .bc-roi { flex-direction: column; text-align: center; gap: 0.5rem; font-size: 0.75rem; }

  .pricing-features { grid-template-columns: 1fr; }
  .pricing-card { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .price-amount { font-size: 2.75rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .features-grid { gap: 1rem; }
  .feature-card { padding: 1.5rem; }
  .phone-mockup { width: 240px; }
  .hero-stats { gap: 1.25rem; }
  .bc-visual { transform: scale(0.65); margin-bottom: -1rem; }
  .bc-demo { padding: 2rem 1.25rem 1.25rem; }
}

/* ═══ FAQ ═══ */
.faq-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.015), transparent);
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s var(--ease-out);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question:hover { color: var(--accent); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-spring);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.15s var(--ease-out),
              opacity 0.15s var(--ease-out),
              transform 0.15s var(--ease-out),
              padding 0.15s var(--ease-out);
  padding: 0;
}

/* Open state — slower opening (asymmetric per Emil) */
.faq-item[open] .faq-answer {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 1.25rem;
  transition-duration: 0.3s;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Broadcast inline SVG icons */
.bc-inline-icon {
  vertical-align: -2px;
  display: inline;
}

/* ═══ FEATURE CARD GLOW (Stripe effect) ═══ */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(6, 182, 212, 0.07),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  z-index: 0;
}

.feature-card:hover::after {
  opacity: 1;
}

/* Ensure card content sits above glow */
.feature-icon,
.feature-tag,
.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 1;
}

/* ���══ HERO PHONE 3D TILT ═══ */
.hero-visual {
  perspective: 800px;
}

.phone-mockup {
  transition: transform 0.6s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}

/* ═══ PRICING CARD — ANIMATED GRADIENT BORDER ═══ */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.pricing-card {
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    conic-gradient(from var(--border-angle), #06B6D4, #1E3A8A, #7c3aed, #10b981, #06B6D4) border-box;
  border: 2px solid transparent;
  animation: rotateBorder 6s linear infinite;
}

/* Remove the old static top-line since animated border replaces it */
.pricing-card::before {
  display: none;
}

@keyframes rotateBorder {
  to { --border-angle: 360deg; }
}

/* ═══ INDUSTRY TAGS — STAGGER WAVE ═══ */
.industry-tag {
  opacity: 0;
  transform: translateY(12px) scale(0.95);
}

.industry-tag.tag-revealed {
  animation: tagIn 0.45s var(--ease-spring) forwards;
  animation-delay: calc(var(--i, 0) * 40ms);
}

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

/* ═══ STEP CONNECTORS — DRAW LINE ═══ */
.step-connector.reveal {
  opacity: 0.4;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.7s var(--ease-in-out);
  transition-delay: var(--reveal-delay, 0s);
}

.step-connector.reveal.revealed {
  opacity: 0.4;
  transform: none;
  clip-path: inset(0 0 0 0);
}

@media (max-width: 768px) {
  .step-connector.reveal {
    clip-path: inset(100% 0 0 0);
  }
  .step-connector.reveal.revealed {
    clip-path: inset(0 0 0 0);
  }
}

/* ═══ NOISE TEXTURE OVERLAY ═══ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
}

/* ═══ ACCESSIBILITY: Reduced Motion ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .animate-in {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .badge-pulse { animation: none; }
  .gradient-orb { animation: none; }
  .phone-glow { animation: none; }
  .btn-glow::before { animation: none; }
  .pricing-card { animation: none; }
  .revealed .section-badge { animation: none; }
  .gradient-text-shimmer { animation: none; }

  .impact-grid.reveal {
    clip-path: none;
    opacity: 1;
  }

  .industry-tag {
    opacity: 1;
    transform: none;
  }

  .step-connector.reveal {
    clip-path: none;
    opacity: 0.4;
  }
}

/* ═══ HOVER GUARD FOR TOUCH DEVICES ═══ */
@media (hover: none) {
  .feature-card:hover {
    transform: none;
    box-shadow: none;
  }

  .feature-card:hover::after {
    opacity: 0;
  }

  .industry-tag:hover {
    transform: none;
    box-shadow: none;
  }

  .step-card:hover .step-number {
    transform: none;
    box-shadow: none;
  }
}
