/* ==========================================================================
   VYAI — Design System & Custom Stylesheet
   ========================================================================== */

/* --- CSS Variables & Custom Properties --- */
:root {
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color System */
  --bg-space-obsidian: #070A13;
  --bg-glass-card: rgba(15, 23, 42, 0.45);
  --border-glow-soft: rgba(255, 255, 255, 0.08);
  --border-neon-blue: rgba(59, 130, 246, 0.2);

  /* Neon Accent Colors */
  --neon-blue: #3B82F6;
  --neon-blue-rgb: 59, 130, 246;
  --neon-teal: #14B8A6;
  --neon-teal-rgb: 20, 184, 166;
  --neon-pink: #EC4899;
  --neon-pink-rgb: 236, 72, 153;
  --neon-gold: #F59E0B;
  --neon-gold-rgb: 245, 158, 11;
  --neon-emerald: #10B981;
  --neon-emerald-rgb: 16, 185, 129;
  --neon-red: #EF4444;
  --neon-red-rgb: 239, 68, 68;

  /* Glow Effects */
  --glow-blue: 0 0 20px rgba(var(--neon-blue-rgb), 0.35);
  --glow-teal: 0 0 20px rgba(var(--neon-teal-rgb), 0.35);
  --glow-pink: 0 0 20px rgba(var(--neon-pink-rgb), 0.35);
  --glow-gold: 0 0 20px rgba(var(--neon-gold-rgb), 0.35);
  --glow-emerald: 0 0 20px rgba(var(--neon-emerald-rgb), 0.35);
  --glow-red: 0 0 20px rgba(var(--neon-red-rgb), 0.35);

  /* Spacing */
  --space-unit: 8px;

  /* Smooth Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-out;
}

/* --- Base Resets & Global Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-space-obsidian);
  color: #F8FAFC;
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  position: relative;
  overflow-x: hidden;
  accent-color: var(--neon-blue);
  color-scheme: dark;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(59, 130, 246, 0.012) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.012) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon-teal) 0%, var(--neon-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Dynamic Cursor Light Aura --- */
.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--neon-blue-rgb), 0.15) 0%, rgba(var(--neon-pink-rgb), 0.05) 50%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  transition: transform 0.1s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* --- Helper Classes --- */
.hidden {
  display: none !important;
}

/* --- Glassmorphic Cards & 3D Tilt system --- */
.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow-soft);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
  transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.2s ease;
}

.tilt-card:hover {
  border-color: var(--border-neon-blue);
  box-shadow: var(--glow-blue);
}

/* Mouse-follow background glow inside glass card */
.tilt-card::before, .credit-card-mock::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(20, 184, 166, 0.08),
    transparent 40%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tilt-card:hover::before, .credit-card-mock:hover::before {
  opacity: 1;
}

/* Dynamic metallic shimmer reflection shine */
.tilt-card::after, .credit-card-mock::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--shine-pos, 50% 50%),
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0) 55%
  );
  opacity: var(--shine-opacity, 0);
  mix-blend-mode: overlay;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 2;
}

/* --- Navigation Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 10, 19, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glow-soft);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-header);
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
}

.logo-icon {
  background: linear-gradient(135deg, var(--neon-teal) 0%, var(--neon-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 22px;
  animation: logoPulse 3s infinite ease-in-out;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-teal);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: #FFFFFF;
}

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

/* --- Buttons --- */
.btn-primary {
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-teal) 100%);
  color: #FFFFFF;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-teal);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-neon-blue);
  color: #FFFFFF;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: var(--neon-teal);
  box-shadow: var(--glow-teal);
  transform: translateY(-2px);
}

.pulse-glow {
  animation: pulseButton 2s infinite ease-in-out;
}

/* --- Hero Section --- */
.hero-section {
  padding: 160px 24px 80px 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  color: var(--neon-teal);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-headline {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subheadline {
  font-size: 18px;
  color: #94A3B8;
  max-width: 750px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* --- Beta Request Form --- */
.beta-form-container {
  display: flex;
  flex-direction: column;
  max-width: 450px;
  margin: 0 auto 32px auto;
  gap: 16px;
}

.input-group {
  position: relative;
  flex-grow: 1;
}

.input-group input {
  width: 100%;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-glow-soft);
  border-radius: 30px;
  padding: 14px 24px;
  color: #FFFFFF;
  font-size: 15px;
  outline: none;
  transition: var(--transition-smooth);
}

.input-group input:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(var(--neon-blue-rgb), 0.2);
}

.input-group label {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748B;
  pointer-events: none;
  font-size: 15px;
  transition: var(--transition-smooth);
}

/* Floating Label Animation */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
  top: 0;
  left: 20px;
  background: var(--bg-space-obsidian);
  padding: 0 8px;
  font-size: 12px;
  color: var(--neon-blue);
}

.glow-border {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-teal));
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.input-group input:focus ~ .glow-border {
  opacity: 0.3;
}

/* Success Container */
.beta-success-container {
  max-width: 500px;
  margin: 0 auto 32px auto;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  animation: scaleUpCheckmark 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Error Container */
.beta-error-container {
  max-width: 500px;
  margin: 0 auto 32px auto;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 16px;
  padding: 16px 24px;
  text-align: center;
  animation: scaleUpCheckmark 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.error-message {
  font-size: 14px;
  color: #FECACA;
  font-weight: 500;
}

.hologram-checkmark {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px auto;
}

.checkmark-svg {
  width: 100%;
  height: 100%;
  stroke: var(--neon-emerald);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

.success-message {
  font-size: 15px;
  color: #A7F3D0;
  font-weight: 500;
}

.hero-taglines {
  display: flex;
  justify-content: center;
  gap: 16px;
  color: #64748B;
  font-size: 14px;
  font-weight: 500;
}

/* --- Sections Common --- */
section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px auto;
}

.section-title {
  font-size: 38px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: #94A3B8;
  line-height: 1.6;
}

/* --- Interactive Phone Demo --- */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.phone-wrapper {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-case {
  width: 320px;
  height: 640px;
  background: #0D1326;
  border: 10px solid #1E293B;
  border-radius: 40px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7), 0 0 30px rgba(59, 130, 246, 0.15);
  display: flex;
  flex-direction: column;
  padding: 12px;
}

.phone-speaker {
  width: 60px;
  height: 4px;
  background: #1E293B;
  border-radius: 2px;
  margin: 0 auto 8px auto;
}

.phone-screen {
  flex-grow: 1;
  background: #090D1A;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
}

.phone-home-btn {
  width: 40px;
  height: 4px;
  background: #1E293B;
  border-radius: 2px;
  margin: 8px auto 0 auto;
}

/* Screen State 1: Setup */
.screen-layout {
  width: 100%;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

.setup-header {
  text-align: center;
  margin: 40px 0 30px 0;
}

.setup-logo {
  font-size: 32px;
  background: linear-gradient(135deg, var(--neon-teal) 0%, var(--neon-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.setup-header h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.setup-header p {
  font-size: 12px;
  color: #64748B;
}

.setup-stages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
  justify-content: center;
  padding: 0 16px;
}

.stage-item {
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.stage-item.active {
  color: #FFFFFF;
}

.stage-item.completed {
  color: var(--neon-teal);
}

.stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
  transition: var(--transition-smooth);
}

.stage-item.active .stage-dot {
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
}

.stage-item.completed .stage-dot {
  background: var(--neon-teal);
  box-shadow: 0 0 8px var(--neon-teal);
}

.setup-footer {
  text-align: center;
  font-size: 12px;
  color: #64748B;
  padding: 12px 0;
}

/* Screen State 2: Chat */
.chat-header {
  background: #0E162B;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.chat-status h4 {
  font-size: 13px;
}

.chat-status span {
  font-size: 10px;
  color: var(--neon-teal);
}

.chat-messages {
  flex-grow: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

/* Chat bubble styles */
.msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px);
  animation: messageSlideIn 0.3s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

.msg.sms-incoming {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #FBBF24;
  align-self: flex-start;
  border-top-left-radius: 2px;
  font-family: monospace;
  position: relative;
}

.msg.sms-incoming::before {
  content: "Incoming SMS";
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  color: #FBBF24;
  margin-bottom: 4px;
  opacity: 0.8;
}

/* Scanning Overlay style inside phone */
.scanner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--neon-teal), transparent);
  box-shadow: 0 0 10px var(--neon-teal);
  animation: laserSweep 1.8s ease-in-out infinite;
  z-index: 10;
  pointer-events: none;
}

.msg.ledger-card {
  align-self: center;
  width: 90%;
  background: rgba(59, 130, 246, 0.08);
  border: 1px dashed rgba(59, 130, 246, 0.3);
  color: #FFFFFF;
  text-align: center;
}

.msg.user-query {
  background: #1E293B;
  align-self: flex-end;
  border-top-right-radius: 2px;
}

.msg.ai-response {
  background: #0E162B;
  border: 1px solid rgba(255,255,255,0.04);
  align-self: flex-start;
  border-top-left-radius: 2px;
}

.msg.chart-card {
  align-self: center;
  width: 95%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.05);
}

/* Mini Bar Chart Inside Phone */
.mini-chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 60px;
  margin-top: 8px;
  border-bottom: 1px solid #1E293B;
  padding-bottom: 4px;
}

.chart-bar {
  width: 12px;
  background: linear-gradient(0deg, var(--neon-blue) 0%, var(--neon-teal) 100%);
  border-radius: 4px 4px 0 0;
  height: 0%;
  transition: height 1s ease-out;
  position: relative;
}

.chart-label {
  display: flex;
  justify-content: space-around;
  font-size: 8px;
  color: #64748B;
  margin-top: 4px;
}

.chat-input-area {
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-placeholder-input {
  flex-grow: 1;
  background: #121A30;
  border-radius: 20px;
  padding: 8px 16px;
  color: #475569;
  font-size: 11px;
}

.chat-mic-btn {
  background: transparent;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

/* Explainer cards on the right */
.demo-explainer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.explainer-card {
  padding: 24px;
  border-left: 3px solid #1E293B;
  transition: var(--transition-smooth);
}

.explainer-card.active {
  border-color: var(--neon-teal);
  background: rgba(20, 184, 166, 0.03);
}

.step-num {
  font-family: var(--font-header);
  font-size: 14px;
  font-weight: 700;
  color: var(--neon-teal);
  margin-bottom: 8px;
}

.explainer-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.explainer-card p {
  font-size: 14px;
  color: #94A3B8;
}

/* --- Readiness Score Section --- */
.score-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.score-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.score-controls h3 {
  font-size: 24px;
}

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

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
}

.slider-label span:nth-child(2) {
  color: var(--neon-teal);
  font-family: var(--font-header);
  font-weight: bold;
}

/* Range Slider Styling */
.neon-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #1E293B;
  outline: none;
  cursor: pointer;
}

/* Webkit browser slider */
.neon-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon-teal);
  box-shadow: 0 0 10px var(--neon-teal);
  transition: var(--transition-fast);
}

.neon-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Firefox slider */
.neon-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: var(--neon-teal);
  box-shadow: 0 0 10px var(--neon-teal);
  transition: var(--transition-fast);
}

.neon-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

/* Score Display SVG Gauge */
.score-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.gauge-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 24px;
}

.score-gauge {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-gauge circle {
  fill: none;
  stroke-width: 12px;
  stroke-linecap: round;
}

.score-gauge .gauge-bg {
  stroke: #1E293B;
}

.score-gauge .gauge-fill {
  stroke: url(#score-grad-green);
  stroke-dasharray: 534; /* 2 * PI * r (2 * 3.14159 * 85) */
  stroke-dashoffset: 534;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), stroke var(--transition-smooth);
}

.gauge-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.score-number {
  font-family: var(--font-header);
  font-size: 42px;
  font-weight: 800;
  color: #FFFFFF;
}

.score-band {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-top: -4px;
}

.score-insight {
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 16px;
}

.score-insight h4 {
  font-size: 14px;
  margin-bottom: 6px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score-insight-text {
  font-size: 13px;
  color: #F1F5F9;
  line-height: 1.5;
}

/* --- Best Card Advisor Section --- */
.advisor-section {
  max-width: 900px;
  margin: 0 auto;
}

.advisor-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.advisor-header h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.advisor-header p {
  font-size: 14px;
  color: #94A3B8;
}

.advisor-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 15px;
}

.cyber-select {
  background: #0E162B;
  border: 1px solid var(--border-neon-blue);
  color: #FFFFFF;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cyber-select:focus {
  border-color: var(--neon-teal);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.2);
}

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

.credit-card-mock {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 150px;
  transition: var(--transition-smooth);
}

.card-chip {
  width: 32px;
  height: 24px;
  background: linear-gradient(135deg, #E2E8F0 0%, #94A3B8 100%);
  border-radius: 4px;
  opacity: 0.6;
}

.credit-card-mock h4 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 20px;
}

.card-rate {
  font-size: 11px;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-val {
  font-family: var(--font-header);
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 12px;
  text-shadow: 0 0 10px rgba(255,255,255,0.1);
  transition: var(--transition-smooth);
}

/* Pulsing/Glow state for the winner card */
.credit-card-mock.winner {
  border-color: var(--neon-teal);
  box-shadow: var(--glow-teal);
  transform: translateY(-4px);
}

.credit-card-mock.winner .card-val {
  color: var(--neon-teal);
  text-shadow: var(--glow-teal);
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-item-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-icon {
  font-size: 32px;
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid var(--border-neon-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(59, 130, 246, 0.05);
}

.feature-item-card h3 {
  font-size: 22px;
}

.feature-item-card p {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
}

/* --- Pricing Section --- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.toggle-label {
  font-size: 15px;
  font-weight: 500;
  color: #64748B;
  transition: var(--transition-smooth);
}

.toggle-label.active {
  color: #FFFFFF;
  font-weight: 600;
}

.toggle-switch {
  width: 50px;
  height: 26px;
  border-radius: 13px;
  background: #1E293B;
  border: 1px solid var(--border-glow-soft);
  position: relative;
  cursor: pointer;
  outline: none;
}

.toggle-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.toggle-switch.yearly-active .toggle-knob {
  left: 26px;
  background: var(--neon-teal);
  box-shadow: 0 0 8px var(--neon-teal);
}

.discount-badge {
  font-size: 11px;
  font-weight: bold;
  color: var(--neon-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.popular {
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink);
}

.popular-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--neon-pink) 0%, #D01C6D 100%);
  color: #FFFFFF;
  font-family: var(--font-header);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.border-cyan { border-color: rgba(20, 184, 166, 0.25); }
.border-cyan:hover { border-color: var(--neon-teal); box-shadow: var(--glow-teal); }

.border-magenta { border-color: rgba(236, 72, 153, 0.25); }
.border-magenta:hover { border-color: var(--neon-pink); box-shadow: var(--glow-pink); }

.border-gold { border-color: rgba(245, 158, 11, 0.25); }
.border-gold:hover { border-color: var(--neon-gold); box-shadow: var(--glow-gold); }

.tier-name {
  font-size: 24px;
  margin-bottom: 12px;
}

.tier-price {
  font-family: var(--font-header);
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}

.tier-price .currency {
  font-size: 24px;
  vertical-align: super;
  margin-right: 4px;
}

.tier-price .period {
  font-size: 14px;
  font-family: var(--font-body);
  color: #64748B;
  font-weight: normal;
}

.tier-desc {
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 24px;
  height: 48px;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
}

.tier-features li {
  font-size: 13.5px;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier-features li::before {
  content: "✦";
  color: var(--neon-teal);
  font-size: 12px;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
}

/* --- FAQ Section --- */
.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  background: var(--bg-glass-card);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--border-neon-blue);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-header);
  font-size: 16px;
  font-weight: 600;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  transition: var(--transition-smooth);
}

.faq-icon {
  font-size: 20px;
  color: #64748B;
  transition: transform 0.3s ease;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.3s ease;
  padding: 0 24px;
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.6;
}

/* Accordion open state (JS applied class) */
.faq-item.open .faq-panel {
  padding-bottom: 20px;
}

.faq-item.open .faq-trigger {
  color: var(--neon-teal);
  text-shadow: 0 0 10px rgba(20, 184, 166, 0.15);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--neon-teal);
}

/* --- Final Call To Action (CTA) Section --- */
.cta-section {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-card {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-card h2 {
  font-size: 36px;
}

.cta-card p {
  font-size: 16px;
  color: #94A3B8;
  max-width: 600px;
}

/* --- Footer --- */
.footer {
  background: #04070D;
  border-top: 1px solid var(--border-glow-soft);
  padding: 60px 24px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-left {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-header);
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-left p {
  font-size: 13.5px;
  color: #64748B;
}

.footer-left .copyright {
  margin-top: 20px;
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 14px;
  color: #FFFFFF;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  font-size: 13.5px;
  color: #64748B;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-col a:hover {
  color: var(--neon-teal);
}

/* --- Modal Overlays --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.modal-overlay:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border-color: var(--border-neon-blue);
  box-shadow: var(--glow-blue);
  position: relative;
  animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 28px;
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: #FFFFFF;
}

.modal-body {
  padding-top: 16px;
}

.modal-body h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.modal-body h3 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.modal-body p {
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 12px;
}

.modal-body ul {
  list-style: disc;
  padding-left: 20px;
  color: #94A3B8;
  font-size: 14px;
  margin-bottom: 16px;
}

.modal-body li {
  margin-bottom: 6px;
}

/* --- Keyframe Animations --- */
@keyframes logoPulse {
  0%, 100% { opacity: 0.8; text-shadow: 0 0 5px rgba(20, 184, 166, 0.3); }
  50% { opacity: 1; text-shadow: 0 0 15px rgba(20, 184, 166, 0.8), 0 0 25px rgba(59, 130, 246, 0.6); }
}

@keyframes pulseButton {
  0%, 100% { box-shadow: 0 0 10px rgba(59, 130, 246, 0.2); }
  50% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 30px rgba(20, 184, 166, 0.4); }
}

@keyframes laserSweep {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

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

@keyframes scaleUpCheckmark {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@supports not (accent-color: var(--neon-blue)) {
  /* VISUALLY HIDDEN RECIPE FALLBACK */
  .visually-hidden {
    position: absolute !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
  }
}

@keyframes strokeCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes strokeCheck {
  to { stroke-dashoffset: 0; }
}

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

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 46px;
  }
  .demo-grid {
    gap: 40px;
  }
  .pricing-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile Hamburger or simplicity wrapper */
  }
  .nav-container {
    padding: 12px 16px;
  }
  .hero-section {
    padding: 120px 16px 60px 16px;
  }
  .hero-headline {
    font-size: 36px;
  }
  .hero-subheadline {
    font-size: 16px;
  }
  .beta-form-container {
    flex-direction: column;
    max-width: 100%;
  }
  .btn-primary.pulse-glow {
    width: 100%;
  }
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .score-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 400px;
    margin: 0 auto;
  }
  .cards-grid-mock {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .credit-card-mock {
    height: 130px;
  }
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 30px;
  }
}

/* --- Score Band Shockwave Ripple --- */
.score-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 250px;
  height: 250px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.8;
  z-index: 0;
  animation: scoreRippleAnim 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

.score-ripple.ripple-emerald {
  border: 4px solid var(--neon-emerald);
  box-shadow: 0 0 30px rgba(var(--neon-emerald-rgb), 0.4);
}

.score-ripple.ripple-gold {
  border: 4px solid var(--neon-gold);
  box-shadow: 0 0 30px rgba(var(--neon-gold-rgb), 0.4);
}

.score-ripple.ripple-red {
  border: 4px solid var(--neon-red);
  box-shadow: 0 0 30px rgba(var(--neon-red-rgb), 0.4);
}


@keyframes scoreRippleAnim {
  to {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

.before-after-container { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 30px; margin-bottom: 30px; flex-wrap: wrap; }
.visual-card { padding: 15px; border-radius: 12px; text-align: left; width: 250px; font-size: 0.9rem; }
.before-card { background: #1a1a1a; border: 1px solid #333; color: #888; }
.after-card { border: 1px solid var(--neon-teal); }
.sms-text { font-family: monospace; font-size: 0.8rem; margin-bottom: 10px; line-height: 1.3; }
.clean-transaction { display: flex; justify-content: space-between; margin-top: 10px; color: white; font-weight: 500;}
.badge { font-size: 0.7rem; padding: 3px 8px; border-radius: 10px; text-transform: uppercase; letter-spacing: 1px; }
.badge.red { background: rgba(236, 72, 153, 0.2); color: var(--neon-pink); }
.badge.green { background: rgba(16, 185, 129, 0.2); color: var(--neon-emerald); }
.visual-arrow { font-size: 1.5rem; color: var(--neon-teal); }
.amount { color: var(--neon-red); }

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid var(--border-glow-soft);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}
.btn-outline:hover {
  border-color: var(--neon-blue);
  background: rgba(59, 130, 246, 0.1);
}
