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

/* CSS Variables / Tokens */
:root {
  /* ---- Base neutrals (slate family) ---------------------------------- */
  --revio-white: #FFFFFF;
  --revio-bg-base: #FAFAFC;       /* page background, faint cool tint */
  --revio-bg-card: #FFFFFF;       /* card / surface background */
  --revio-bg-subtle: #F8FAFC;     /* nested wells, review posts, inputs */

  --revio-slate-50:  #F8FAFC;
  --revio-slate-100: #F1F5F9;
  --revio-slate-200: #E2E8F0;
  --revio-slate-300: #CBD5E1;
  --revio-slate-400: #94A3B8;
  --revio-slate-500: #64748B;
  --revio-slate-600: #475569;
  --revio-slate-700: #334155;
  --revio-slate-800: #1E293B;
  --revio-slate-900: #0F172A;

  /* ---- Brand navy (primary CTA / logo / headings) -------------------- */
  --revio-navy-dark:  #0B192C;    /* primary buttons, footer, logo wordmark */
  --revio-navy-light: #1E293B;    /* hover state for navy surfaces */

  /* ---- Brand blue (accents, links, section labels) ------------------- */
  --revio-blue:        #2563EB;   /* section labels, gradient end-stop */
  --revio-blue-apple:  #007AFF;   /* iMessage-style SMS bubbles in mockups */

  /* ---- Path Green — positive / 5-star autopilot ---------------------- */
  --revio-emerald:        #10B981;
  --revio-emerald-strong: #047857;   /* text on light green, toast bg */
  --revio-emerald-light:  #D1FAE5;
  --revio-emerald-tint:   #F4FBF7;   /* feature card surface */

  /* ---- Path Amber — caution / stars ---------------------------------- */
  --revio-amber:       #F59E0B;      /* review stars, caution */
  --revio-amber-light: #FEF3C7;

  /* ---- Path Red — negative / 1–3-star alarm -------------------------- */
  --revio-rose:        #EF4444;      /* logo dot, alarm accents */
  --revio-rose-strong: #B91C1C;      /* text on light red */
  --revio-rose-light:  #FEE2E2;
  --revio-rose-tint:   #FDF8F8;      /* feature card surface */

  /* ---- Borders ------------------------------------------------------- */
  --revio-border:       #E2E8F0;
  --revio-border-hover: #CBD5E1;

  /* =========================================================================
     Semantic aliases — prefer these in components
     ========================================================================= */
  --color-bg-base:        var(--revio-bg-base);
  --color-bg-card:        var(--revio-bg-card);
  --color-bg-subtle:      var(--revio-bg-subtle);

  --color-text-primary:   var(--revio-slate-900);
  --color-text-secondary: var(--revio-slate-600);
  --color-text-light:     var(--revio-slate-400);
  --color-text-onDark:    var(--revio-white);

  --color-brand:          var(--revio-navy-dark);
  --color-brand-hover:    var(--revio-navy-light);
  --color-navy-dark:      var(--revio-navy-dark);
  --color-navy-light:     var(--revio-navy-light);
  --color-link:           var(--revio-blue);

  --color-success:        var(--revio-emerald);
  --color-success-strong: var(--revio-emerald-strong);
  --color-success-surface:var(--revio-emerald-tint);
  --color-warning:        var(--revio-amber);
  --color-danger:         var(--revio-rose);
  --color-danger-strong:  var(--revio-rose-strong);
  --color-danger-surface: var(--revio-rose-tint);

  --color-border:         var(--revio-border);
  --color-border-hover:   var(--revio-border-hover);

  /* Brand wordmark gradient (navy → blue), used on hero headline accents */
  --gradient-brand: linear-gradient(135deg, var(--revio-navy-dark) 30%, var(--revio-blue) 100%);

  /* ===========================================================================
     Revio — Typography Tokens
     Display / headings: Outfit (geometric, friendly, 700–800 for impact).
     Body / UI: Inter (neutral, legible at small sizes).
     =========================================================================== */
  /* ---- Families ------------------------------------------------------ */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Semantic aliases */
  --font-display: var(--font-heading);
  --font-ui:      var(--font-body);

  /* ---- Weights ------------------------------------------------------- */
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-extrabold:800;

  /* ---- Type scale (px) ---------------------------------------------- */
  --text-hero:    54px;   /* hero headline (desktop) */
  --text-display: 38px;   /* section titles */
  --text-h3:      24px;   /* feature / card titles */
  --text-h4:      18px;   /* sub-headings */
  --text-lg:      19px;   /* hero subtitle / lead */
  --text-body:    16px;   /* base body */
  --text-sm:      15px;   /* secondary body, nav links */
  --text-xs:      13px;   /* labels, badges */
  --text-2xs:     11px;   /* meta, fine print */

  /* ---- Line heights -------------------------------------------------- */
  --leading-tight:   1.15;  /* hero / display */
  --leading-snug:    1.25;  /* headings */
  --leading-normal:  1.6;   /* body copy */

  /* ---- Letter spacing ------------------------------------------------ */
  --tracking-tight:  -0.02em;  /* large display headlines */
  --tracking-normal: 0;
  --tracking-label:  0.05em;   /* uppercase eyebrow labels */

  /* ===========================================================================
     Revio — Spacing, Radius, Shadow & Motion Tokens
     =========================================================================== */
  /* ---- Spacing scale (4px base) ------------------------------------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-25: 100px;   /* section vertical rhythm */

  --container-max: 1200px;
  --container-pad: 24px;

  /* ---- Corner radii -------------------------------------------------- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --radius-full: 9999px;

  /* ---- Shadows (soft, low-opacity, cool) ---------------------------- */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* ---- Motion -------------------------------------------------------- */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);   /* @kind other */
  --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);   /* @kind other */
  --transition-smooth: all 0.25s var(--ease-smooth);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy-dark);
  line-height: 1.25;
}

/* Typography Helpers */
.text-gradient {
  background: linear-gradient(135deg, var(--color-navy-dark) 30%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
  transition: var(--transition-smooth);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--revio-navy-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mono {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--revio-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.logo-mono-r {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  line-height: 1;
}

.logo-notif {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 11px;
  height: 11px;
}

.logo-notif-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--revio-rose);
  border: 2px solid rgba(250, 250, 252, 1);
}

.logo-notif-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--revio-rose);
  animation: revioPing 1.9s cubic-bezier(0, 0, 0.2, 1) infinite;
}

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

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--revio-navy-dark);
}

/* Badges Component */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.badge-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Neutral tone badge */
.badge-neutral {
  background-color: var(--revio-slate-100);
  color: var(--color-text-secondary);
}
.badge-neutral.badge-solid {
  background-color: var(--color-brand);
  color: #fff;
}
.badge-neutral .badge-dot {
  background-color: var(--color-text-light);
}

/* Brand tone badge */
.badge-brand {
  background-color: var(--revio-slate-100);
  color: var(--color-brand);
}
.badge-brand.badge-solid {
  background-color: var(--color-brand);
  color: #fff;
}
.badge-brand .badge-dot {
  background-color: var(--revio-blue);
}

/* Success tone badge */
.badge-success {
  background-color: var(--revio-emerald-light);
  color: var(--revio-emerald-strong);
}
.badge-success.badge-solid {
  background-color: var(--revio-emerald-strong);
  color: #fff;
}
.badge-success .badge-dot {
  background-color: var(--revio-emerald);
}

/* Warning tone badge */
.badge-warning {
  background-color: var(--revio-amber-light);
  color: #92400E;
}
.badge-warning.badge-solid {
  background-color: var(--revio-amber);
  color: #fff;
}
.badge-warning .badge-dot {
  background-color: var(--revio-amber);
}

/* Danger tone badge */
.badge-danger {
  background-color: var(--revio-rose-light);
  color: var(--revio-rose-strong);
}
.badge-danger.badge-solid {
  background-color: var(--revio-rose-strong);
  color: #fff;
}
.badge-danger .badge-dot {
  background-color: var(--revio-rose);
}

/* Buttons Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  gap: 8px;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Button variants */
.btn-primary {
  background-color: var(--color-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--color-brand-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: #fff;
  color: var(--color-brand);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--color-bg-base);
  border-color: var(--color-border-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text-secondary);
  border-color: transparent;
  box-shadow: none;
}

.btn-ghost:hover:not(:disabled) {
  color: var(--color-brand);
}

/* Button sizes */
.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.btn-md {
  padding: 12px 24px;
  font-size: 15px;
  border-radius: var(--radius-sm);
}

.btn-lg, .btn-large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--revio-emerald-light);
  color: var(--revio-emerald-strong);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--revio-emerald);
  border-radius: 50%;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--color-text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

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

.hero-trust-badges {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
}

.trust-badge-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.trust-badge-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Smartphone & Live Simulator Widget */
.simulator-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 320px;
  height: 640px;
  background-color: #000000;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 30px 60px -15px rgba(0, 0, 0, 0.2);
  border: 4px solid #1E293B;
  overflow: hidden;
  z-index: 10;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #F8FAFC;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 24px;
  background-color: #000000;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-notch-camera {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #1E293B;
}

.phone-header {
  height: 38px;
  padding: 12px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #000000;
}

/* Premium Status Bar Icons */
.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-signal {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  width: 14px;
  height: 10px;
}

.phone-signal .bar {
  width: 2px;
  background-color: #000;
  border-radius: 0.5px;
}

.phone-signal .bar-1 { height: 30%; }
.phone-signal .bar-2 { height: 50%; }
.phone-signal .bar-3 { height: 75%; }
.phone-signal .bar-4 { height: 100%; }

.phone-battery {
  display: flex;
  align-items: center;
}

.phone-battery .battery-body {
  width: 18px;
  height: 9px;
  border: 1px solid #000;
  border-radius: 2px;
  padding: 1px;
  display: flex;
}

.phone-battery .battery-level {
  width: 100%;
  height: 100%;
  background-color: #000;
  border-radius: 0.5px;
}

.phone-battery .battery-cap {
  width: 1px;
  height: 3px;
  background-color: #000;
  border-top-right-radius: 1px;
  border-bottom-right-radius: 1px;
}

/* Phone Screen Content States */
.screen-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow-y: auto;
  scrollbar-width: none;
}
.screen-state::-webkit-scrollbar {
  display: none;
}

/* State: Google Business Map View */
.google-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 12px;
}

.google-biz-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.google-g {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #4285F4;
  font-size: 14px;
}

.google-biz-info h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--revio-navy-dark);
  margin: 0;
}

.stars {
  display: flex;
  font-size: 11px;
  gap: 1px;
}

.stars .star-filled {
  color: var(--revio-amber);
}

.stars .star-empty {
  color: var(--revio-slate-300);
}

.review-post {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-top: 10px;
}

.review-author {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.review-text {
  font-size: 11px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.google-response-box {
  margin-top: 10px;
  border-left: 2px solid var(--color-text-light);
  padding-left: 8px;
  font-size: 11px;
  display: none;
}

.google-response-box.active {
  display: block;
  animation: revioFade 0.4s ease forwards;
}

.google-response-label {
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 2px;
}

.google-response-text {
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* When response is live/final, it shifts to success theme (emerald) */
.google-response-box#final-reply-box {
  border-left-color: var(--revio-emerald);
}
.google-response-box#final-reply-box .google-response-label {
  color: var(--revio-emerald);
}

.simulator-step-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.simulator-hint {
  text-align: center;
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-top: 16px;
  line-height: 1.4;
}

/* SMS Interface State */
.sms-interface {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #E2E8F0;
  background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
  background-size: 12px 12px;
  padding: 12px;
  margin: -16px;
  border-radius: 0;
}

.sms-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-end;
  flex: 1;
}

.sms-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
}

.sms-incoming {
  background-color: white;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: var(--color-text-primary);
}

.sms-outgoing {
  background-color: var(--revio-blue-apple); /* iMessage blue */
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.sms-choices {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.sms-choice-btn {
  background-color: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 11px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  display: flex;
  gap: 8px;
  line-height: 1.4;
}

.sms-choice-btn:hover {
  border-color: var(--revio-blue-apple);
  background-color: #F0F7FF;
}

.sms-choice-letter {
  font-weight: 700;
  color: var(--revio-blue-apple);
}

.phone-action-bar {
  display: flex;
  padding: 10px;
  background: white;
  border-top: 1px solid var(--color-border);
  gap: 8px;
  align-items: center;
}

.phone-input-mock {
  flex: 1;
  height: 32px;
  background-color: #F1F5F9;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 0 12px;
  font-size: 11px;
  display: flex;
  align-items: center;
  color: var(--color-text-light);
}

.phone-send-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #007AFF;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
}

/* Interactive Simulator Dashboard Side */
.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sim-control-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.sim-control-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-scenarios {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.scenario-btn {
  background-color: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.scenario-btn:hover, .scenario-btn.active {
  background-color: white;
  border-color: var(--color-navy-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.scenario-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.scenario-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-navy-dark);
}

.scenario-meta {
  font-size: 12px;
  color: var(--color-text-light);
  font-weight: 500;
}

.scenario-preview {
  font-size: 12px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Steps Progress bar in Simulator */
.simulator-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 20px;
}

.simulator-steps::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-border);
  z-index: 1;
}

.step-indicator {
  position: relative;
  z-index: 2;
  width: 26px;
  height: 26px;
  background-color: white;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-light);
  transition: var(--transition-smooth);
}

.step-indicator.active {
  border-color: var(--color-navy-dark);
  background-color: var(--color-navy-dark);
  color: white;
}

.step-indicator.complete {
  border-color: var(--revio-emerald);
  background-color: var(--revio-emerald);
  color: white;
}

/* Product Features Grid */
.features {
  padding: 100px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

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

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--revio-blue);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--revio-navy-dark);
  line-height: var(--leading-snug);
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.feature-card.green {
  background-color: var(--revio-emerald-tint);
  border-color: var(--revio-emerald-light);
}

.feature-card.red {
  background-color: var(--revio-rose-tint);
  border-color: var(--revio-rose-light);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--revio-navy-dark);
}

.feature-description {
  color: var(--color-text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: var(--leading-normal);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.feature-list-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.feature-card.green .feature-list-icon {
  background-color: var(--revio-emerald-light);
  color: var(--revio-emerald-strong);
}

.feature-card.red .feature-list-icon {
  background-color: var(--revio-rose-light);
  color: var(--revio-rose-strong);
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background-color: var(--color-bg-base);
}

.pricing-card {
  max-width: 550px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-navy-dark);
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.pricing-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text-secondary);
}

.pricing-price {
  font-size: 56px;
  font-weight: 800;
  color: var(--color-navy-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.pricing-subtitle {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.pricing-features {
  text-align: left;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.pricing-feature-icon {
  color: var(--revio-emerald);
  font-weight: bold;
}

.pricing-disclaimer {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 16px;
}

/* FAQ Accordion Section */
.faq {
  padding: 100px 0;
  background-color: white;
}

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

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-base);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--color-navy-dark);
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--color-text-secondary);
  font-size: 15px;
}

.faq-item.active {
  border-color: var(--color-navy-light);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 24px 24px 24px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--color-navy-dark);
  color: white;
  border-color: var(--color-navy-dark);
}

/* Modal / Onboarding Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(11, 25, 44, 0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--color-text-light);
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: var(--color-navy-dark);
}

.tally-mockup {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 16px;
  background-color: var(--color-bg-base);
}

.tally-mockup-field {
  margin-bottom: 12px;
}

.tally-mockup-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.tally-mockup-field input,
.tally-mockup-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition-smooth);
  resize: vertical;
}

.tally-mockup-field input:focus,
.tally-mockup-field textarea:focus {
  border-color: var(--color-navy-dark);
}

.google-oauth-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #4285F4 0%, #2563EB 100%);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: white !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  margin-top: 24px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulse-blue-glow 3s infinite;
}

.google-oauth-btn:hover {
  background: linear-gradient(135deg, #357ae8 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.google-oauth-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.google-oauth-btn:disabled {
  background: var(--revio-slate-400);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  animation: none;
}

.google-icon-badge {
  background-color: white;
  border-radius: 4px;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.google-icon-badge svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
}

/* Styling for the Verify OTP CTA Button */
.cta-button {
  width: 100%;
  padding: 14px;
  background-color: var(--color-navy-dark);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
  background-color: var(--color-navy-light);
  box-shadow: 0 6px 20px rgba(11, 25, 44, 0.35);
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.2);
}

.cta-button:disabled {
  background-color: var(--color-text-light);
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

/* Slick OTP Input box styling */
#input-otp {
  letter-spacing: 12px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  background-color: white;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

#input-otp:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  outline: none;
}

@keyframes pulse-blue-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* Footer */
.footer {
  background-color: var(--revio-navy-dark);
  color: #fff;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-blurb {
  font-size: 14px;
  color: #94A3B8;
  max-width: 320px;
  line-height: 1.6;
  margin-top: 12px;
}

.footer-copy {
  margin-top: 16px;
  font-size: 12px;
  color: #64748B;
}

.footer-links-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: #94A3B8;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #94A3B8;
}

/* Animations */
@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

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

.fade-in {
  animation: fade-in 0.4s ease forwards;
}

/* Success Toast Notification */
.success-toast {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #047857; /* Emerald green */
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl), 0 10px 25px -5px rgba(4, 120, 87, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 90%;
  width: 520px;
}

.success-toast.active {
  top: 24px;
}

.success-toast-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

.success-toast-body {
  flex: 1;
  line-height: 1.4;
}

.success-toast-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.success-toast-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-title {
    font-size: 44px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust-badges {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    flex-direction: column;
    gap: 16px;
  }
  .nav-links {
    gap: 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-features {
    grid-template-columns: 1fr;
  }
}
