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

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #1e293b;
  --text-muted: #475569;
  
  /* HSL Neon Colors matching Pridora Brand */
  --neon-cyan: hsla(9, 100%, 59%, 1);       /* Coral #FF512F */
  --neon-indigo: hsla(346, 100%, 63%, 1);   /* Hot Pink #FF416C */
  --neon-purple: hsla(333, 79%, 50%, 1);   /* Deep Pink #DD2476 */
  --neon-rose: hsla(28, 100%, 53%, 1);      /* Orange #FF7B00 */
  
  --grad-primary: linear-gradient(135deg, var(--neon-indigo), var(--neon-purple));
  --grad-cyan: linear-gradient(135deg, var(--neon-indigo), var(--neon-cyan));
  --grad-rose: linear-gradient(135deg, var(--neon-purple), var(--neon-rose));
  --grad-dark: linear-gradient(180deg, rgba(248, 250, 252, 0.4) 0%, rgba(255, 255, 255, 0.8) 100%);

  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-active: rgba(255, 65, 108, 0.4);
  --bg-glass: rgba(255, 255, 255, 0.7);
  
  --shadow-neon-indigo: 0 20px 40px rgba(255, 65, 108, 0.12), 0 0 20px rgba(255, 65, 108, 0.03);
  
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --nav-height: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--grad-primary);
}

/* Base resets & behavior */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Dotted Matrix Background Grid Overlay */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: -1;
}

/* Ambient Pulsating Glows */
.ambient-glows {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}

.glow-1 {
  position: absolute;
  width: 700px;
  height: 700px;
  top: -200px;
  right: -50px;
  background: radial-gradient(circle, rgba(255, 65, 108, 0.08) 0%, transparent 70%);
  filter: blur(120px);
  animation: pulse-glow-slow 16s infinite alternate;
}

.glow-2 {
  position: absolute;
  width: 800px;
  height: 800px;
  top: 500px;
  left: -300px;
  background: radial-gradient(circle, rgba(255, 123, 0, 0.05) 0%, transparent 70%);
  filter: blur(140px);
  animation: pulse-glow-slow 24s infinite alternate-reverse;
}

.glow-3 {
  position: absolute;
  width: 700px;
  height: 700px;
  bottom: 600px;
  right: -200px;
  background: radial-gradient(circle, rgba(221, 36, 118, 0.04) 0%, transparent 70%);
  filter: blur(130px);
  animation: pulse-glow-slow 28s infinite alternate;
}

/* Interactive Cursor Spotlight */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 65, 108, 0.04) 0%, rgba(255, 65, 108, 0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
  opacity: 0;
}

body:hover .cursor-spotlight {
  opacity: 1;
}

/* Typography & Display Headers */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.015em;
}

a {
  color: inherit;
  text-decoration: none;
}

.gradient-text {
  background: linear-gradient(135deg, #FF416C 0%, #DD2476 50%, #FF7B00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 15px rgba(255, 65, 108, 0.1);
}

.neon-cyan-text {
  background: linear-gradient(135deg, #38bdf8, #06b6d4, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons (Premium Glass-Style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  gap: 10px;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 30px rgba(255, 65, 108, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 65, 108, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.02);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Modern Glassmorphism Cards with Tilt */
.features-grid {
  perspective: 1200px;
}

.glass-card {
  background: linear-gradient(135deg, rgba(8, 12, 28, 0.5) 0%, rgba(3, 5, 12, 0.75) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 38px 32px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.glass-card:hover {
  border-color: var(--border-glass-active);
  transform: perspective(1000px) rotateX(4deg) rotateY(-4deg) translateY(-6px);
  box-shadow: var(--shadow-neon-indigo);
}

/* Navbar */
.navbar {
  height: var(--nav-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.nav-select {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.775rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-select:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 65, 108, 0.2);
}

.nav-select option {
  background: #080c1c;
  color: #ffffff;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  border: none !important;
  outline: none !important;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.logo-icon-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  border: none !important;
  outline: none !important;
}

.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  border: none !important;
  outline: none !important;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--grad-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
  padding: 8px 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Burger menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* Sections Base (apple spacing) */
section {
  padding: 140px 0;
  position: relative;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 60px);
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  gap: 40px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  color: #a5b4fc;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background-color: #818cf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #818cf8;
  animation: pulse-dot 1.5s infinite alternate;
}

.hero-content h1 {
  font-size: 4.2rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 680px;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 60px;
  border-top: 1px solid var(--border-glass);
  padding-top: 38px;
  width: 100%;
  justify-content: center;
}

.hero-stat-item h3 {
  font-size: 2.2rem;
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
  font-weight: 700;
}

.hero-stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Features Grid Details */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 80px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.section-header p {
  font-size: 1.15rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-indigo);
  margin-bottom: 26px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover .feature-icon-wrapper {
  background: var(--neon-indigo);
  color: #fff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  transform: translateZ(20px);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 600;
}

.feature-desc {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* SVG Architecture Flow */
.architecture-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.arch-svg-wrapper {
  width: 100%;
  max-width: 900px;
  background: rgba(10, 16, 36, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 45px;
  box-shadow: inset 0 0 30px rgba(99, 102, 241, 0.02);
}

.arch-svg {
  width: 100%;
  height: auto;
}

.arch-node {
  cursor: pointer;
}

.arch-node rect {
  fill: #040714;
  stroke: var(--border-glass);
  stroke-width: 1.5;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.arch-node:hover rect {
  stroke: var(--neon-indigo);
  fill: #080d24;
  filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.2));
}

.arch-node text {
  font-family: var(--font-display);
  font-weight: 500;
  fill: var(--text-primary);
  font-size: 14px;
  text-anchor: middle;
  transition: fill 0.3s ease;
}

.arch-node:hover text {
  fill: #fff;
}

.arch-connection {
  stroke: var(--border-glass);
  stroke-width: 1.5;
  stroke-dasharray: 8 4;
  animation: flow-signal 4s linear infinite;
  transition: stroke 0.4s ease, stroke-width 0.4s ease;
}

.arch-node:hover ~ .arch-connection {
  stroke: var(--neon-cyan);
  stroke-width: 2;
}

/* Accordion FAQs */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

.faq-item.active {
  border-color: rgba(255, 65, 108, 0.2);
  background: rgba(255, 65, 108, 0.015);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
  border-top-color: var(--border-glass);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Early Access / Invitation Card */
.cta-glass-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: radial-gradient(circle at top right, rgba(255, 65, 108, 0.06), rgba(255, 123, 0, 0.02) 50%, var(--bg-glass) 100%);
  border: 1px solid var(--border-glass);
}

.cta-glass-card h2 {
  font-size: 3rem;
  margin-bottom: 18px;
}

.cta-glass-card p {
  max-width: 580px;
  margin: 0 auto 38px auto;
  font-size: 1.15rem;
}

.cta-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 12px;
}

.form-input-wrapper {
  flex: 1;
  position: relative;
}

.form-input-wrapper input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-input-wrapper input:focus {
  border-color: var(--neon-indigo);
  background: rgba(0, 0, 0, 0.01);
  box-shadow: 0 0 15px rgba(255, 65, 108, 0.15);
}

.form-success-msg {
  display: none;
  color: #34d399;
  font-family: var(--font-display);
  font-weight: 500;
  margin-top: 18px;
  animation: fade-in-line 0.3s forwards;
}

/* Footer styling */
footer {
  border-top: 1px solid var(--border-glass);
  background-color: var(--bg-secondary);
  padding: 80px 0 35px 0;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 290px;
}

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

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col a {
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.015);
  padding-top: 35px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: var(--text-primary);
}

/* Legal Modal Dialog */
.legal-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.legal-modal.active {
  opacity: 1;
  pointer-events: all;
}

.legal-modal-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
}

.legal-modal-card {
  position: relative;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2010;
  overflow: hidden;
}

.legal-modal.active .legal-modal-card {
  transform: scale(1);
}

.legal-modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0;
}

.legal-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.legal-modal-close:hover {
  color: var(--text-primary);
}

.legal-modal-content {
  padding: 32px 24px;
  overflow-y: auto;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-modal-content h4 {
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-modal-content p {
  margin-bottom: 16px;
}

/* Keyframes */
@keyframes pulse-glow-slow {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(40px, -20px); }
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 14px #818cf8; }
}

@keyframes fade-in-line {
  to { opacity: 1; }
}

@keyframes cursor-blink {
  from, to { border-color: transparent }
  50% { border-color: var(--neon-indigo) }
}

@keyframes flow-signal {
  to { stroke-dashoffset: -40; }
}

/* Telemetry & Control Center Dashboard */
.telemetry {
  background: linear-gradient(180deg, rgba(2, 4, 8, 0.4) 0%, rgba(4, 7, 18, 0.6) 100%);
}

.telemetry-dashboard {
  background: linear-gradient(135deg, rgba(8, 12, 28, 0.4) 0%, rgba(3, 5, 12, 0.6) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.telemetry-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 20px;
  margin-bottom: 35px;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
  color: #fff;
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.tab-btn svg {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.tab-btn.active svg {
  opacity: 1;
  color: var(--neon-cyan);
}

.tab-content {
  display: none;
  animation: fade-in-dashboard 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-content.active {
  display: block;
}

@keyframes fade-in-dashboard {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stats Mini-Grid */
.telemetry-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 35px;
}

.telemetry-stat-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

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

.stat-val-wrapper {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-badge {
  font-size: 0.8rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.stat-limit {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stat-subtext {
  font-size: 0.85rem;
  color: var(--neon-cyan);
}

.stat-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.progress-fill {
  height: 100%;
  background: var(--grad-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dispatcher Queue Table */
.table-container {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
}

.table-header-title {
  padding: 18px 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid var(--border-glass);
}

.telemetry-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.telemetry-table th {
  padding: 16px 24px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.005);
}

.telemetry-table td {
  padding: 16px 24px;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.015);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

.telemetry-table tr:last-child td {
  border-bottom: none;
}

.telemetry-table tbody tr {
  transition: background-color 0.2s ease;
}

.telemetry-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.015);
}

/* Table Monospace text tags */
.td-mono {
  font-family: var(--font-mono) !important;
  font-size: 0.8rem !important;
  color: var(--text-secondary) !important;
}

.td-type {
  font-family: var(--font-mono) !important;
  font-size: 0.82rem !important;
  color: var(--neon-cyan) !important;
  font-weight: 500;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  font-family: var(--font-display);
}

.status-badge.running {
  background: rgba(6, 182, 212, 0.08);
  color: var(--neon-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.status-badge.running::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse-dot 1s infinite alternate;
}

.status-badge.success {
  background: rgba(139, 92, 246, 0.08);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.status-badge.success::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #8b5cf6;
  border-radius: 50%;
}

.status-badge.enqueued {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-badge.enqueued::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
}

/* Cost & Prioritization Planner Layout */
.planner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.planner-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-group label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.select-wrapper select {
  width: 100%;
  appearance: none;
  background: #040714;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 14px 20px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-wrapper select:focus {
  border-color: var(--neon-indigo);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.select-wrapper::after {
  content: '▼';
  font-size: 0.7rem;
  color: var(--text-muted);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.slider-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 8px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.slider-info span:last-child {
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  font-weight: 500;
}

.range-slider {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  outline: none;
  transition: background 0.3s ease;
}

.range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grad-primary);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.8);
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.slider-group-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 15px;
  margin-top: 5px;
}

.status-success {
  color: #10b981 !important;
  font-weight: 600;
  font-family: var(--font-mono);
}

.status-error {
  color: #ef4444 !important;
  font-weight: 600;
  font-family: var(--font-mono);
}

/* Outputs preview panel */
.planner-outputs {
  display: flex;
  flex-direction: column;
}

.output-preview-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0.002) 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.01);
}

.output-preview-card h4 {
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.output-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.output-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.output-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.output-value.text-neon-cyan {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ops-unit {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.03);
  width: 100%;
  margin: 5px 0;
}

/* Live Lead assessment details */
.assessment-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.assessment-item:last-child {
  margin-bottom: 0;
}

.assess-company {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.score-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.score-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.score-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--grad-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Set dynamic widths based on script updates */
#stripe-score-bar::after { transform: scaleX(0.82); }
#figma-score-bar::after { transform: scaleX(0.68); }

.score-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  min-width: 55px;
  text-align: right;
}

/* Responsiveness */
@media (max-width: 1024px) {
  html { font-size: 15px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { text-align: center; }
  .hero-badge, .hero-actions, .hero-stats { justify-content: center; }
  .hero-content p { margin: 0 auto 38px auto; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .menu-toggle { display: flex; }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 50px 0;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid var(--border-glass);
    gap: 28px;
    z-index: 999;
  }
  
  .nav-links.active { left: 0; }
  .nav-cta { display: none; }
  .hero-content h1 { font-size: 3rem; }
  .cta-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }

  /* Telemetry Dashboard Responsive Adaptations */
  .telemetry-stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .planner-grid { grid-template-columns: 1fr; gap: 30px; }
  .telemetry-dashboard { padding: 24px 16px; }
  .telemetry-tabs { flex-direction: column; gap: 10px; }
  .tab-btn { justify-content: center; }
  .telemetry-table th, .telemetry-table td { padding: 12px 14px; font-size: 0.85rem; }
}

/* =====================================================
   INTERACTIVE PRODUCT DEMO STYLES
   ===================================================== */
.demo-player-card {
  width: 100%;
  max-width: 540px;
  background: rgba(22, 24, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(25px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 420px;
  position: relative;
  text-align: left;
}

.demo-window-header {
  background: rgba(11, 12, 16, 0.5);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-address {
  font-family: monospace;
  font-size: 0.72rem;
  color: #8f92a1;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

.audio-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.audio-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.demo-window-body {
  flex: 1;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.demo-step-view {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  opacity: 0;
  transform: scale(0.97) translateY(10px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.demo-step-view.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  z-index: 2;
}

/* Form Styles */
.demo-settings-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FF416C;
  margin-bottom: 4px;
}

.demo-settings-form label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8f92a1;
  margin-bottom: 4px;
  display: block;
}

.mock-tag-input {
  display: flex;
  gap: 8px;
}

.mock-tag-input span {
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  color: #00D2FF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.mock-checkbox-group {
  display: flex;
  gap: 12px;
}

.mock-checkbox {
  font-size: 0.75rem;
  font-weight: 600;
  color: #f5f6fa;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-text-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.75rem;
  min-height: 32px;
  font-family: monospace;
  color: #f5f6fa;
}

.demo-save-btn {
  background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(255, 65, 108, 0.2);
  transition: transform 0.2s ease;
}

.demo-save-btn.clicked {
  transform: scale(0.96);
  opacity: 0.9;
}

.mock-toast {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(18, 22, 28, 0.85);
  border: 1px solid rgba(0, 230, 118, 0.35);
  color: #00E676;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 230, 118, 0.05);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  backdrop-filter: blur(12px);
  z-index: 500;
}

.mock-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Leads Table Styles */
.demo-leads-table-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.table-header-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  font-size: 0.7rem;
  font-weight: 800;
  color: #8f92a1;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.table-body-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
}

.table-body-row.active-row {
  background: rgba(255, 65, 108, 0.05);
  border-left: 3px solid #FF416C;
  padding-left: 8px;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  width: fit-content;
}

.badge-green {
  border: 1px solid rgba(0, 230, 118, 0.3);
  background: rgba(0, 230, 118, 0.06);
  color: #00E676;
}

.badge-yellow {
  border: 1px solid rgba(255, 210, 0, 0.3);
  background: rgba(255, 210, 0, 0.06);
  color: #FFD200;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Split View & Slide-Over */
.demo-split-view {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  height: 100%;
}

.demo-leads-side {
  opacity: 0.5;
}

.demo-slide-over {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.slide-over-header {
  font-size: 0.8rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 6px;
  color: #FF416C;
}

.slide-over-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #8f92a1;
}

.section-text {
  font-size: 0.7rem;
  color: #f5f6fa;
  line-height: 1.3;
}

/* Outbox & Email Bubbles */
.demo-outbox-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.email-bubble {
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.725rem;
  line-height: 1.4;
  border: 1px solid rgba(255,255,255,0.05);
}

.email-bubble.incoming {
  background: rgba(255, 255, 255, 0.03);
  align-self: flex-start;
  max-width: 90%;
  color: #f5f6fa;
}

.email-bubble.outgoing {
  background: rgba(0, 210, 255, 0.03);
  border-color: rgba(0, 210, 255, 0.1);
  align-self: flex-end;
  max-width: 90%;
  display: none;
  color: #f5f6fa;
}

.email-sender {
  font-weight: 800;
  font-size: 0.65rem;
  color: #8f92a1;
  margin-bottom: 4px;
}

.calendar-booking-card {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #00E676;
  border-radius: 8px;
  padding: 6px 12px;
  margin-bottom: 8px;
  font-weight: 700;
}

.demo-send-btn {
  background: linear-gradient(135deg, #00D2FF 0%, #0083B0 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 210, 255, 0.2);
  display: none;
}

/* Footer & Controls */
.demo-window-footer {
  background: rgba(11, 12, 16, 0.5);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-action-btn {
  background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 100%);
  border: none;
  border-radius: 20px;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 65, 108, 0.2);
}

.demo-progress-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  margin: 0 20px;
  overflow: hidden;
}

.demo-progress-bar {
  height: 100%;
  background: #FF416C;
  width: 0%;
  transition: width 0.3s ease;
}

.demo-step-indicator {
  font-size: 0.7rem;
  font-weight: 800;
  color: #8f92a1;
}

/* Hero Section Adaptation to 2-Column */
@media (min-width: 992px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    text-align: left;
    align-items: center;
    max-width: 1200px;
    gap: 60px;
  }
  .hero-content {
    align-items: flex-start;
  }
}

/* =====================================================
   DEMO DASHBOARD AND STATS STYLES
   ===================================================== */
.demo-dashboard-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.dashboard-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #FF416C;
}

.stat-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #8f92a1;
  margin-top: 2px;
}

.dashboard-chart-mock {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 90px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.chart-bar-col {
  width: 24px;
  border-radius: 4px 4px 0 0;
  background: var(--primary-gradient);
  animation: heightGrow 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes heightGrow {
  from { height: 0; }
}

/* Caret Cursor animation for mock typing inputs */
.mock-text-input {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.mock-text-input::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 12px;
  background: transparent;
  transition: background 0.1s ease;
}

.mock-text-input.typing::after {
  background: #FF416C;
  animation: blink 0.8s infinite;
}

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

/* Call-to-action Pulsing Glow */
.pulse-btn {
  animation: ctaPulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s ease;
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 25px rgba(255, 65, 108, 0.7);
    transform: scale(1.02);
  }
}

/* Stat card interactive hovers */
.stat-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 65, 108, 0.2);
}

/* Premium Lightbox Backdrop for maximized player */
.demo-maximized-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  animation: fadeInBackdrop 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

.demo-player-card.maximized {
  position: relative !important;
  width: 100% !important;
  max-width: 960px !important;
  height: 520px !important; /* Premium scaled widescreen landscape ratio */
  z-index: 100000 !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 65, 108, 0.12) !important;
  animation: scaleUpCard 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUpCard {
  from { transform: scale(0.92) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.demo-player-card.maximized .demo-window-body {
  height: 420px !important; /* Fixed viewport minus header/footer heights */
}

/* Prevent page scrolling when demo player is maximized */
body.demo-maximized {
  overflow: hidden !important;
}

/* Accessibility & High Contrast Legibility Enhancements */
.demo-player-card .window-address {
  color: #c7cbdc !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.demo-player-card .demo-step-indicator {
  color: #e2e5f3 !important;
}
.demo-player-card .demo-settings-form label {
  color: #d1d5e5 !important;
}
.demo-player-card .table-header-row {
  color: #cbd0e2 !important;
}
.demo-player-card .email-sender {
  color: #c9cddf !important;
}
.demo-player-card .stat-label {
  color: #ccd0df !important;
}
.demo-player-card .demo-toggle-row span {
  color: #dcdfe9 !important;
}
.demo-player-card .table-body-row {
  color: #f5f6fa !important;
}

/* =====================================================
   MAXIMIZED STATE OVERRIDES (UX/UI scale adjustments)
   ===================================================== */
.demo-player-card.maximized {
  background: rgba(18, 20, 29, 0.96) !important;
  border-color: rgba(255, 65, 108, 0.25) !important;
}

.demo-player-card.maximized .demo-window-body {
  background: linear-gradient(145deg, #0d0e15 0%, #151724 100%) !important;
}

/* Headings and Titles scale up */
.demo-player-card.maximized .form-title {
  font-size: 1.15rem !important;
  margin-bottom: 14px !important;
}

/* Form input labels scale up */
.demo-player-card.maximized .demo-settings-form label {
  font-size: 0.95rem !important;
  margin-bottom: 8px !important;
}

/* Mock inputs scale up */
.demo-player-card.maximized .mock-text-input {
  font-size: 0.9rem !important;
  min-height: 40px !important;
  padding: 10px 16px !important;
}

/* Buttons scale up */
.demo-player-card.maximized .demo-save-btn {
  font-size: 0.95rem !important;
  padding: 12px !important;
  margin-top: 14px !important;
}

/* Leads Table scale up */
.demo-player-card.maximized .table-header-row {
  font-size: 0.85rem !important;
  padding-bottom: 10px !important;
}

.demo-player-card.maximized .table-body-row {
  font-size: 0.9rem !important;
  padding: 14px 0 !important;
}

.demo-player-card.maximized .demo-badge {
  font-size: 0.75rem !important;
  padding: 4px 12px !important;
}

.demo-player-card.maximized .table-body-row small {
  font-size: 0.68rem !important;
  margin-top: 4px !important;
}

/* Outbox Email bubble scale up */
.demo-player-card.maximized .email-sender {
  font-size: 0.82rem !important;
  margin-bottom: 6px !important;
}

.demo-player-card.maximized .email-bubble {
  font-size: 0.85rem !important;
  padding: 12px 16px !important;
}

.demo-player-card.maximized .calendar-booking-card {
  font-size: 0.9rem !important;
  padding: 8px 14px !important;
}

/* Dashboard statistics scale up */
.demo-player-card.maximized .stat-num {
  font-size: 1.6rem !important;
}

.demo-player-card.maximized .stat-label {
  font-size: 0.75rem !important;
}

.demo-player-card.maximized .dashboard-chart-mock {
  height: 120px !important;
}

.demo-player-card.maximized .chart-bar-col {
  width: 32px !important;
}

/* Window Header address bar scale up */
.demo-player-card.maximized .window-address {
  font-size: 0.85rem !important;
  padding: 6px 20px !important;
}

/* Audio Toggle scale up */
.demo-player-card.maximized .audio-toggle-btn {
  font-size: 0.85rem !important;
  padding: 6px 14px !important;
}

/* Footer Timer and Play button scale up */
.demo-player-card.maximized .demo-action-btn {
  font-size: 0.9rem !important;
  padding: 8px 18px !important;
}

.demo-player-card.maximized .demo-step-indicator {
  font-size: 0.85rem !important;
}

/* CTA End card copy scale up */
.demo-player-card.maximized .demo-end-card h2 {
  font-size: 1.5rem !important;
}

.demo-player-card.maximized .demo-end-card p {
  font-size: 0.85rem !important;
  max-width: 360px !important;
}

/* Pricing Section Styles */
.pricing {
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
  perspective: 1200px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-glass) !important;
  box-shadow: none !important;
  cursor: pointer;
}

.pricing-card:hover,
.pricing-card.selected {
  border-color: rgba(255, 65, 108, 0.4) !important;
  box-shadow: var(--shadow-neon-indigo) !important;
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) translateY(-4px);
}

.pricing-header {
  margin-bottom: 24px;
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.plan-price span {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.plan-credits {
  font-size: 0.85rem;
  font-weight: 700;
  color: #00f0ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-features li {
  font-size: 0.925rem;
  color: #a5abc4;
  position: relative;
  padding-left: 24px;
  line-height: 1.4;
  text-align: left;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00f0ff;
  font-weight: 900;
}

/* Pricing Card Buttons Transition Fix */
.pricing-card .btn {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: none !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: 100%;
}

.pricing-card:hover .btn,
.pricing-card.selected .btn {
  background: var(--grad-primary) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 30px rgba(255, 65, 108, 0.25) !important;
}

.pricing-card .btn:hover {
  transform: translateY(-2px);
}

.most-popular-tag {
  position: absolute;
  top: -14px;
  right: 20px;
  font-size: 0.65rem;
  background: var(--grad-primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(255, 65, 108, 0.3);
  z-index: 10;
}

/* Mobile Selectors & CTA Overrides */
.mobile-only-cta {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-only-cta {
    display: flex !important;
    justify-content: center;
    width: 100%;
    margin-top: 5px;
  }
  .mobile-select {
    width: 80%;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    outline: none;
  }
  .mobile-select option {
    background: var(--bg-primary);
    color: var(--text-primary);
  }
}
