/* ==========================================================================
   MyAiAvatar — Global Layout & Common Stylesheet (css/common.css)
   Includes: Design Tokens, Global Base, Navigation, Footer, Ambient FX,
   and Login System styles.
   ========================================================================== */

/* ── 1. DESIGN TOKENS ── */
:root {
  --bg: #09090b;
  --surface: #12151d;
  --surface-light: #181d28;
  --surface-card: rgba(18, 21, 29, 0.75);
  --border: #283042;
  --border-focus: #38bdf8;
  --text: #fafafa;
  --muted: #a1a1aa;
  --muted-dark: #71717a;
  --brand1: #38bdf8;
  --brand2: #818cf8;
  --brand3: #c084fc;
  --brand4: #34d399;
  --danger: #f87171;
  --grad-primary: linear-gradient(135deg, #38bdf8, #818cf8, #c084fc);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.15), rgba(129, 140, 248, 0.05) 50%, transparent 80%);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --gutter: clamp(1.25rem, 5vw, 2rem);
}

/* ── 2. BASE RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

body.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── 3. AMBIENT BACKGROUND GLOW & GRID (USED BY LOGIN & LANDING) ── */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 650px;
  background: var(--grad-glow);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── 4. GLOBAL NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.9rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.logo-box {
  width: 26px;
  height: 26px;
  background: var(--grad-primary);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
  flex-shrink: 0;
}

/* Menu items strictly centered on desktop */
.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

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

.btn-nav {
  background: var(--text);
  color: var(--bg) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 99px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Mobile hamburger button */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-toggle:hover {
  border-color: var(--brand1);
  background: rgba(56, 189, 248, 0.08);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-bottom, 58px);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--nav-bottom, 58px));
  overflow-y: auto;
  background: rgba(9, 9, 11, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem var(--gutter) 1.5rem;
  z-index: 101;
  flex-direction: column;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.7);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.2s;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .btn-nav {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* ── 5. GLOBAL FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
  text-align: center;
  background: var(--bg);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.footer-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

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

.footer-secondary-links {
  margin-top: 1.5rem;
  gap: 1.75rem;
}

.footer-secondary-links a {

}

.footer-secondary-links a:hover {
  color: var(--brand1);
}

/* ── 6. LOGIN SPECIFIC INTERFACE & COMPONENTS ── */
header.login-nav {
  position: relative;
  z-index: 10;
  padding: 1.25rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--brand4);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
}

.secure-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brand4);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand4);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

main.login-container {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem var(--gutter) 4rem;
}

.login-card-wrapper {
  width: 100%;
  max-width: 460px;
  position: relative;
}

.card-border-glow {
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(129, 140, 248, 0.2), rgba(192, 132, 252, 0.35));
  border-radius: 20px;
  z-index: -1;
  filter: blur(1px);
}

.login-card {
  background: var(--surface-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 2.75rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.05);
}

.login-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.avatar-icon-pill {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(129, 140, 248, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.login-card-header h1 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.login-card-header p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-group label .required-star {
  color: var(--brand1);
}

.form-badge {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--brand1);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: color 0.2s;
}

.login-input {
  width: 100%;
  background: rgba(18, 21, 29, 0.9);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.login-input:focus {
  outline: none;
  border-color: var(--brand1);
  background: rgba(24, 29, 40, 0.95);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.login-input:focus + .input-icon,
.login-input:focus ~ .input-icon {
  color: var(--brand1);
}

.login-input::placeholder {
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.input-hint {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.btn-submit {
  width: 100%;
  background: var(--grad-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 8px 25px rgba(129, 140, 248, 0.3);
  margin-top: 0.5rem;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(129, 140, 248, 0.45);
}

.btn-submit:active:not(:disabled) {
  transform: translateY(0);
}

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

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--muted-dark);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.auth-divider span {
  padding: 0 0.85rem;
}

.btn-demo-quick {
  width: 100%;
  background: rgba(28, 32, 45, 0.7);
  border: 1px dashed var(--border);
  color: var(--muted);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-demo-quick:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--brand1);
}

.alert-box {
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.86rem;
  display: none;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.5;
}

.alert-box.show {
  display: flex;
}

.alert-box.error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}

.alert-box.success {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #6ee7b7;
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 1rem;
}

.otp-section {
  display: none;
  animation: fadeIn 0.3s ease;
}

.otp-section.show {
  display: block;
}

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

.otp-digits {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  margin: 1rem 0;
}

.otp-input {
  width: 52px;
  height: 56px;
  text-align: center;
  font-size: 1.4rem;
  font-family: var(--font-mono);
  font-weight: 700;
  background: rgba(18, 21, 29, 0.95);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--brand1);
  transition: all 0.2s;
}

.otp-input:focus {
  outline: none;
  border-color: var(--brand1);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
  background: rgba(28, 32, 45, 0.95);
}

.login-footer-note {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.8rem;
  color: var(--muted-dark);
  line-height: 1.5;
}

.login-footer-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.login-footer-note a:hover {
  color: var(--brand1);
}

footer.login-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1.5rem var(--gutter);
  font-size: 0.82rem;
  color: var(--muted-dark);
  border-top: 1px solid rgba(40, 48, 66, 0.4);
}

@media (max-width: 480px) {
  .login-card {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }
  .login-card-header h1 {
    font-size: 1.6rem;
  }
  .otp-digits {
    gap: 0.35rem;
  }
  .otp-input {
    width: clamp(36px, 12vw, 44px);
    height: 48px;
    font-size: 1.15rem;
  }
}

@media (max-width: 360px) {
  .otp-digits {
    gap: 0.25rem;
  }
  .otp-input {
    width: 34px;
    height: 42px;
    font-size: 1rem;
    padding: 0;
  }
}


/* ==========================================================================
   HOMEPAGE / LANDING STYLES (from index.html)
   ========================================================================== */

    :root {
      --bg: #09090b;
      --surface: #12151d;
      --surface-light: #1c202d;
      --border: #283042;
      --text: #fafafa;
      --muted: #a1a1aa;
      --brand1: #38bdf8;
      --brand2: #818cf8;
      --brand3: #c084fc;
      --brand4: #34d399;
      --grad-primary: linear-gradient(135deg, var(--brand1), var(--brand2), var(--brand3));
      --font-display: 'Outfit', sans-serif;
      --font-body: 'Inter', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;

      --space-sm: clamp(1rem, 2vw, 1.5rem);
      --space-md: clamp(1.5rem, 3vw, 2.5rem);
      --space-lg: clamp(3rem, 5vw, 5rem);
      --space-xl: clamp(5rem, 8vw, 8rem);
      --gutter: clamp(1.25rem, 5vw, 2rem);
    }

    html {
      scroll-behavior: smooth;
    }

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

    h1,
    h2,
    h3,
    h4,
    h5 {
      font-family: var(--font-display);
      font-weight: 600;
      line-height: 1.2;
    }

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

    .tagline {
      font-family: var(--font-display);
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.13em;
      color: var(--brand1);
      margin-bottom: 1rem;
      display: inline-block;
      background: rgba(56, 189, 248, 0.1);
      padding: 0.35rem 1rem;
      border-radius: 99px;
    }

    .section-header {
      text-align: center;
      margin-bottom: var(--space-lg);
    }

    .section-header h2 {
      font-size: clamp(2rem, 4.5vw, 3.5rem);
      margin-bottom: 1rem;
    }

    .section-header p {
      color: var(--muted);
      font-size: clamp(1rem, 1.4vw, 1.2rem);
      max-width: 680px;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* ── TOP PROMO ANNOUNCEMENT BAR ── */
    .announcement-bar {
      background: rgba(56, 189, 248, 0.08);
      border-bottom: 1px solid var(--border);
      padding: 0.55rem var(--gutter);
      text-align: center;
      font-size: 0.86rem;
      color: var(--text);
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      flex-wrap: wrap;
    }

    .promo-pill {
      background: rgba(56, 189, 248, 0.15);
      color: var(--brand1);
      border: 1px solid rgba(56, 189, 248, 0.3);
      padding: 0.15rem 0.6rem;
      border-radius: 99px;
      font-size: 0.74rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .announcement-bar a {
      color: var(--brand1);
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 3px;
      transition: opacity 0.2s;
    }

    .announcement-bar a:hover {
      opacity: 0.8;
    }

    /* ── BUTTONS ── */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      padding: clamp(0.85rem, 2vw, 1.2rem) clamp(1.75rem, 4vw, 2.8rem);
      border-radius: 99px;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: clamp(0.95rem, 1.4vw, 1.15rem);
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
      cursor: pointer;
      border: none;
    }

    .btn-primary {
      background: var(--grad-primary);
      color: #fff;
      box-shadow: 0 8px 25px rgba(129, 140, 248, 0.25);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 35px rgba(129, 140, 248, 0.4);
    }

    .btn-outline {
      border: 2px solid var(--border);
      color: var(--text);
      background: transparent;
    }

    .btn-outline:hover {
      border-color: var(--brand1);
      transform: translateY(-2px);
    }

    /* ── LAYOUT ── */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 var(--gutter);
    }

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

    .bg-surface {
      background-color: var(--surface);
    }

    .section-divider {
      border-top: 1px solid var(--border);
    }

    /* ── HERO ── */
    .hero {
      min-height: 88svh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: calc(var(--space-lg) + 1.5rem);
      padding-bottom: var(--space-lg);
    }

    .hero-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0 var(--gutter);
      max-width: 1000px;
      width: 100%;
    }

    .hero-orb {
      width: clamp(130px, 18vw, 200px);
      height: clamp(130px, 18vw, 200px);
      border-radius: 50%;
      background: var(--grad-primary);
      margin-bottom: var(--space-md);
      position: relative;
      box-shadow: 0 0 100px rgba(192, 132, 252, 0.4);
      animation: float 6s ease-in-out infinite, glow 4s ease-in-out infinite alternate;
      flex-shrink: 0;
    }

    .hero-orb::after {
      content: '';
      position: absolute;
      inset: 10px;
      background: var(--bg);
      border-radius: 50%;
    }

    .hero-orb::before {
      content: '';
      position: absolute;
      inset: 35px;
      background: var(--grad-primary);
      border-radius: 50%;
      filter: blur(25px);
      opacity: 0.6;
    }

    .hero-inner h1 {
      font-size: clamp(2.3rem, 5.5vw, 5.2rem);
      letter-spacing: -0.03em;
      margin-bottom: var(--space-sm);
      line-height: 1.12;
    }

    .hero-inner p {
      font-size: clamp(1.05rem, 1.4vw, 1.25rem);
      color: var(--muted);
      max-width: 740px;
      margin-bottom: var(--space-md);
      line-height: 1.75;
    }

    .hero-cta {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: var(--space-md);
    }

    .waitlist-trust-bar {
      font-size: 0.84rem;
      color: var(--muted);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.4rem;
      flex-wrap: wrap;
    }

    .waitlist-trust-bar span {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    /* ── 5 FEATURE CARDS GRID ── */
    .features-section {
      padding: var(--space-xl) 0;
    }

    .features-grid-5 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
      margin-top: 2rem;
    }

    .feature-card-yc {
      min-height: 230px;
      border-radius: 20px;
      border: 1px solid var(--border);
      background: var(--bg);
      padding: 1.6rem;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background 0.3s, box-shadow 0.3s;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .feature-card-yc:hover {
      background: rgba(9, 9, 11, 0.95);
      transform: translateY(-4px);
    }

    /* Colorful Card Accents */
    .feature-card-yc.theme-indigo:hover {
      border-color: rgba(99, 102, 241, 0.55);
      box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
    }

    .feature-card-yc.theme-purple:hover {
      border-color: rgba(168, 85, 247, 0.55);
      box-shadow: 0 12px 32px rgba(168, 85, 247, 0.15);
    }

    .feature-card-yc.theme-emerald:hover {
      border-color: rgba(16, 185, 129, 0.55);
      box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
    }

    .feature-card-yc.theme-amber:hover {
      border-color: rgba(245, 158, 11, 0.55);
      box-shadow: 0 12px 32px rgba(245, 158, 11, 0.15);
    }

    .feature-card-yc.theme-pink:hover {
      border-color: rgba(236, 72, 153, 0.55);
      box-shadow: 0 12px 32px rgba(236, 72, 153, 0.15);
    }

    .feature-card-yc.theme-cyan:hover {
      border-color: rgba(6, 182, 212, 0.55);
      box-shadow: 0 12px 32px rgba(6, 182, 212, 0.15);
    }

    .icon-wrapper {
      width: 2.75rem;
      height: 2.75rem;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      flex-shrink: 0;
      background: rgba(56, 189, 248, 0.1);
      border: 1px solid rgba(56, 189, 248, 0.2);
      color: var(--brand1);
      transition: transform 0.25s ease;
    }

    .feature-card-yc:hover .icon-wrapper {
      transform: scale(1.08);
    }

    .card-header-flex {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    .card-header-flex .icon-wrapper {
      margin-bottom: 0;
    }

    .card-badge-soon {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 0.22rem 0.65rem;
      border-radius: 9999px;
      background: rgba(6, 182, 212, 0.12);
      color: #22d3ee;
      border: 1px solid rgba(6, 182, 212, 0.32);
      white-space: nowrap;
      box-shadow: 0 0 12px rgba(6, 182, 212, 0.12);
    }

    .card-badge-soon.badge-purple {
      background: rgba(168, 85, 247, 0.12);
      color: #c084fc;
      border-color: rgba(168, 85, 247, 0.32);
      box-shadow: 0 0 12px rgba(168, 85, 247, 0.12);
    }

    .icon-wrapper.icon-indigo {
      background: rgba(99, 102, 241, 0.12);
      border: 1px solid rgba(99, 102, 241, 0.28);
      color: #818cf8;
    }

    .icon-wrapper.icon-purple {
      background: rgba(168, 85, 247, 0.12);
      border: 1px solid rgba(168, 85, 247, 0.28);
      color: #c084fc;
    }

    .icon-wrapper.icon-emerald {
      background: rgba(16, 185, 129, 0.12);
      border: 1px solid rgba(16, 185, 129, 0.28);
      color: #34d399;
    }

    .icon-wrapper.icon-amber {
      background: rgba(245, 158, 11, 0.12);
      border: 1px solid rgba(245, 158, 11, 0.28);
      color: #fbbf24;
    }

    .icon-wrapper.icon-pink {
      background: rgba(236, 72, 153, 0.12);
      border: 1px solid rgba(236, 72, 153, 0.28);
      color: #f472b6;
    }

    .icon-wrapper.icon-cyan {
      background: rgba(6, 182, 212, 0.12);
      border: 1px solid rgba(6, 182, 212, 0.28);
      color: #22d3ee;
    }

    .feature-card-yc h3 {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.5rem;
    }

    .feature-card-yc p {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.65;
    }

    .feature-card-footer {
      padding-top: 0.85rem;
      margin-top: 1rem;
      border-top: 1px solid var(--border);
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--brand1);
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }

    .feature-card-footer.tag-indigo {
      color: #818cf8;
    }

    .feature-card-footer.tag-purple {
      color: #c084fc;
    }

    .feature-card-footer.tag-emerald {
      color: #34d399;
    }

    .feature-card-footer.tag-amber {
      color: #fbbf24;
    }

    .feature-card-footer.tag-pink {
      color: #f472b6;
    }

    .feature-card-footer.tag-cyan {
      color: #22d3ee;
    }

    .feature-note-box {
      margin-top: 2rem;
      padding: 0.85rem 1.6rem;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--border);
      border-radius: 12px;
      font-size: 0.84rem;
      color: var(--muted);
      width: fit-content;
      max-width: min(760px, 95%);
      margin-left: auto;
      margin-right: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      text-align: center;
    }

    /* ── ROI METRICS SECTION ── */
    .roi-section {
      padding: var(--space-xl) 0;
    }

    .roi-cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
    }

    .roi-stat-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 2rem 1.75rem;
      position: relative;
      transition: transform 0.3s, border-color 0.3s;
    }

    .roi-stat-card:hover {
      transform: translateY(-4px);
      border-color: var(--brand2);
      background: var(--surface-light);
    }

    .roi-number {
      font-family: var(--font-display);
      font-size: clamp(2.2rem, 3.5vw, 3rem);
      font-weight: 700;
      line-height: 1.05;
      margin-bottom: 0.6rem;
      color: var(--brand1);
    }

    .roi-stat-title {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.5rem;
    }

    .roi-stat-desc {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.65;
    }

    .roi-badge {
      position: absolute;
      top: 1.5rem;
      right: 1.5rem;
      font-size: 0.72rem;
      font-weight: 700;
      padding: 0.25rem 0.65rem;
      border-radius: 99px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      background: rgba(56, 189, 248, 0.1);
      color: var(--brand1);
      border: 1px solid rgba(56, 189, 248, 0.25);
    }

    /* ── INTERACTIVE ROI CALCULATOR WIDGET ── */
    .calc-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: clamp(2rem, 4vw, 3.2rem);
      margin-top: 3.5rem;
    }

    .calc-layout {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 3rem;
      align-items: center;
    }

    .calc-sliders {
      display: flex;
      flex-direction: column;
      gap: 1.75rem;
    }

    .slider-group label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.65rem;
    }

    .slider-val-tag {
      font-family: var(--font-mono);
      color: var(--brand1);
      font-weight: 700;
      font-size: 1.05rem;
    }

    input[type="range"] {
      width: 100%;
      height: 8px;
      border-radius: 4px;
      background: var(--surface-light);
      outline: none;
      -webkit-appearance: none;
      cursor: pointer;
    }

    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--grad-primary);
      cursor: pointer;
      box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
    }

    .calc-result-box {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 2rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 1.25rem;
    }

    .result-item-main {
      padding-bottom: 1.25rem;
      border-bottom: 1px solid var(--border);
    }

    .result-num-big {
      font-family: var(--font-display);
      font-size: clamp(2.4rem, 4vw, 3.4rem);
      font-weight: 700;
      color: var(--brand4);
      line-height: 1.1;
    }

    .result-label-big {
      font-size: 0.85rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 600;
      margin-top: 0.35rem;
    }

    .result-sub-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      text-align: center;
    }

    .result-sub-num {
      font-family: var(--font-display);
      font-size: 1.45rem;
      font-weight: 700;
      color: var(--text);
    }

    .result-sub-label {
      font-size: 0.76rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    /* ── PERSONAS / USE CASES SECTION ── */
    .personas-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
    }

    .persona-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 1.8rem;
      transition: transform 0.3s, border-color 0.3s;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .persona-card:hover {
      transform: translateY(-4px);
      border-color: var(--brand1);
      background: var(--surface-light);
    }

    .persona-header {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }

    .persona-icon {
      font-size: 1.75rem;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.04);
    }

    .persona-title {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--text);
    }

    .persona-desc {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.65;
      margin-bottom: 1.25rem;
    }

    .persona-bullets {
      list-style: none;
      font-size: 0.82rem;
      color: var(--text);
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .persona-bullets li {
      display: flex;
      align-items: flex-start;
      gap: 0.45rem;
    }

    .persona-bullets li::before {
      content: '→';
      color: var(--brand1);
      font-weight: bold;
    }

    /* ── SPLIT SECTIONS (CHIEF OF STAFF & INTERACTIVE SIMULATOR) ── */
    .split-section {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: clamp(3rem, 6vw, 6rem);
      align-items: center;
    }

    .split-reverse {
      grid-template-columns: 0.9fr 1.1fr;
    }

    .split-reverse .visual-slot {
      order: -1;
    }

    .feature-content h2 {
      font-size: clamp(1.8rem, 3.5vw, 3rem);
      margin-bottom: 1.2rem;
    }

    .feature-content>p {
      color: var(--muted);
      font-size: clamp(1rem, 1.3vw, 1.15rem);
      margin-bottom: var(--space-md);
      line-height: 1.7;
    }

    .feature-grid {
      display: grid;
      gap: var(--space-md);
      margin-top: var(--space-sm);
    }

    .feature-item {
      padding-left: 1.75rem;
      position: relative;
    }

    .feature-item::before {
      content: '✦';
      position: absolute;
      left: 0;
      top: 3px;
      color: var(--brand3);
      font-size: 1.05rem;
    }

    .feature-item h4 {
      font-size: clamp(1rem, 1.3vw, 1.25rem);
      color: var(--text);
      margin-bottom: 0.4rem;
    }

    .feature-item p {
      font-size: clamp(0.9rem, 1.05vw, 1.05rem);
      color: var(--muted);
      line-height: 1.65;
    }

    /* ── VISUAL CARDS & SIMULATOR ── */
    .visual-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: clamp(1.5rem, 3vw, 2.5rem);
      overflow: hidden;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
      position: relative;
    }

    .visual-card.surface {
      background: var(--bg);
    }

    .sim-tabs {
      display: flex;
      gap: 0.4rem;
      margin-bottom: 1.25rem;
      background: var(--surface-light);
      padding: 0.35rem;
      border-radius: 12px;
      border: 1px solid var(--border);
      overflow-x: auto;
    }

    .sim-tab-btn {
      flex: 1;
      font-family: var(--font-display);
      font-size: 0.78rem;
      font-weight: 600;
      padding: 0.5rem 0.6rem;
      border-radius: 8px;
      border: none;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
      white-space: nowrap;
    }

    .sim-tab-btn.active {
      background: var(--surface-light);
      color: var(--text);
      border: 1px solid var(--border);
    }

    .sim-panel {
      display: none;
    }

    .sim-panel.active {
      display: block;
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(6px);
      }

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

    .chat-bubble {
      background: var(--surface-light);
      padding: 0.9rem 1.2rem;
      border-radius: 16px;
      border-bottom-left-radius: 4px;
      margin-bottom: 0.75rem;
      font-size: clamp(0.85rem, 1vw, 0.97rem);
      width: 88%;
      color: var(--text);
      line-height: 1.5;
    }

    .chat-bubble.right {
      background: rgba(129, 140, 248, 0.15);
      border: 1px solid rgba(129, 140, 248, 0.3);
      border-radius: 16px;
      border-bottom-right-radius: 4px;
      margin-left: auto;
      color: #e0e7ff;
      width: 88%;
    }

    .chat-bubble.system {
      background: rgba(52, 211, 153, 0.1);
      border: 1px solid rgba(52, 211, 153, 0.3);
      color: var(--brand4);
      font-size: 0.85rem;
      margin-left: auto;
      width: 88%;
    }

    .status-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(52, 211, 153, 0.1);
      color: var(--brand4);
      padding: 0.4rem 1rem;
      border-radius: 99px;
      font-size: 0.82rem;
      font-weight: 600;
      margin-bottom: 1.2rem;
    }

    .status-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--brand4);
      box-shadow: 0 0 8px var(--brand4);
      flex-shrink: 0;
    }

    /* ── INTEGRATIONS GRID (4x3 CAPSULES) ── */
    .integrations-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      margin-top: 2.2rem;
    }

    .integration-capsule {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 9999px;
      padding: 0.8rem 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.85rem;
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s, box-shadow 0.25s, background 0.25s;
      cursor: default;
    }

    .integration-capsule:hover {
      transform: translateY(-3px);
      border-color: rgba(56, 189, 248, 0.45);
      background: var(--surface-light);
      box-shadow: 0 8px 24px rgba(56, 189, 248, 0.12);
    }

    .integration-logo {
      width: 26px;
      height: 26px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .integration-logo svg,
    .integration-logo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

    .integration-brand {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text);
      white-space: nowrap;
      letter-spacing: -0.01em;
    }

    /* ── STEPS GRID ── */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 1.5rem;
    }

    .step-card {
      grid-column: span 2;
      background: var(--bg);
      padding: clamp(2rem, 3vw, 3rem) clamp(1.5rem, 2.5vw, 2.5rem);
      border-radius: 24px;
      border: 1px solid var(--border);
      text-align: center;
      transition: transform 0.3s, border-color 0.3s;
    }

    .step-card:hover {
      transform: translateY(-4px);
      border-color: var(--brand1);
    }

    .step-number {
      width: 54px;
      height: 54px;
      background: var(--grad-primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      font-weight: 700;
      margin: 0 auto 1.2rem;
      color: #fff;
    }

    .step-card h3 {
      font-size: clamp(1.1rem, 1.5vw, 1.45rem);
      margin-bottom: 0.75rem;
    }

    .step-card p {
      color: var(--muted);
      font-size: clamp(0.88rem, 1vw, 1.05rem);
    }

    /* ── MANIFESTO ── */
    .manifesto-box {
      background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
      border: 1px solid var(--border);
      border-radius: 32px;
      padding: clamp(3rem, 6vw, 5.5rem) clamp(1.75rem, 6vw, 5rem);
      text-align: center;
    }

    .manifesto-box h2 {
      font-size: clamp(2rem, 4vw, 3rem);
      margin-bottom: 1.75rem;
    }

    .manifesto-box p {
      font-size: clamp(1rem, 1.3vw, 1.2rem);
      color: var(--muted);
      max-width: 800px;
      margin: 0 auto 1.5rem;
      line-height: 1.8;
    }

    .manifesto-box .highlight {
      color: var(--text);
      font-weight: 500;
    }

    /* ── WAITLIST & $10 PROMO SECTION ── */
    .waitlist-section {
      position: relative;
      padding: var(--space-xl) 0;
    }

    .waitlist-card {
      position: relative;
      border-radius: 24px;
      border: 1px solid var(--border);
      background: var(--surface);
      padding: clamp(2rem, 4vw, 3.5rem);
      max-width: 700px;
      margin: 0 auto;
      text-align: center;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    .waitlist-icon-box {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 54px;
      height: 54px;
      border-radius: 50%;
      background: var(--grad-primary);
      color: #ffffff;
      margin: 0 auto 1.25rem;
      font-size: 1.5rem;
    }

    .waitlist-card h2 {
      font-size: clamp(1.8rem, 3.5vw, 2.4rem);
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.6rem;
    }

    .waitlist-card p {
      font-size: clamp(0.95rem, 1.15vw, 1.05rem);
      color: var(--muted);
      max-width: 540px;
      margin: 0 auto 1.75rem;
      line-height: 1.65;
    }

    .waitlist-form {
      display: flex;
      flex-direction: row;
      gap: 0.75rem;
      max-width: 520px;
      margin: 0 auto;
    }

    .waitlist-input {
      flex: 1;
      padding: 0.95rem 1.2rem;
      border-radius: 99px;
      background: var(--bg);
      border: 1px solid var(--border);
      color: var(--text);
      font-family: var(--font-body);
      font-size: 0.95rem;
      transition: border-color 0.2s;
      outline: none;
    }

    .waitlist-input:focus {
      border-color: var(--brand1);
    }

    .waitlist-input::placeholder {
      color: var(--muted);
    }

    .waitlist-submit-btn {
      padding: 0.95rem 1.75rem;
      border-radius: 99px;
      background: var(--grad-primary);
      color: #ffffff;
      font-family: var(--font-display);
      font-weight: 600;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      border: none;
      cursor: pointer;
      box-shadow: 0 8px 25px rgba(129, 140, 248, 0.25);
      transition: transform 0.2s, box-shadow 0.2s;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .waitlist-submit-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 35px rgba(129, 140, 248, 0.4);
    }

    .waitlist-status {
      margin-top: 1rem;
      font-size: 0.85rem;
      min-height: 1.4rem;
    }

    /* ── FAQ ── */
    .faq-container {
      max-width: 820px;
      margin: 0 auto;
    }

    details {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 16px;
      margin-bottom: 1rem;
      transition: background 0.2s, border-color 0.2s;
    }

    details:hover {
      background: rgba(9, 9, 11, 0.9);
      border-color: var(--brand1);
    }

    summary {
      padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 2rem);
      font-family: var(--font-display);
      font-size: clamp(0.97rem, 1.2vw, 1.2rem);
      font-weight: 500;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      color: var(--text);
    }

    summary::-webkit-details-marker {
      display: none;
    }

    summary::after {
      content: '+';
      color: var(--brand3);
      font-size: 1.8rem;
      transition: transform 0.3s;
      font-weight: 300;
      flex-shrink: 0;
    }

    details[open] summary::after {
      transform: rotate(45deg);
    }

    .faq-content {
      padding: 0 clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2vw, 2rem);
      color: var(--muted);
      font-size: clamp(0.92rem, 1vw, 1.08rem);
      line-height: 1.75;
    }

    /* ── ANIMATIONS ── */
    @keyframes float {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-18px);
      }
    }

    @keyframes glow {
      0% {
        box-shadow: 0 0 50px rgba(192, 132, 252, 0.3);
      }

      100% {
        box-shadow: 0 0 100px rgba(56, 189, 248, 0.5);
      }
    }

    .reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }

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

    @media (prefers-reduced-motion: reduce) {
      .hero-orb {
        animation: none;
      }

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

    /* ── RESPONSIVE ── */
    @media (max-width: 1024px) {
      .features-grid-5 {
        grid-template-columns: repeat(2, 1fr);
      }

      .personas-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .roi-cards-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .calc-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
    }

    @media (max-width: 900px) {

      .split-section,
      .split-reverse {
        grid-template-columns: 1fr;
        gap: clamp(2.5rem, 5vw, 4rem);
      }

      .split-reverse .visual-slot {
        order: 0;
      }

      .nav-links {
        display: none;
      }

      .nav-toggle {
        display: flex;
      }

      .steps-grid {
        grid-template-columns: repeat(4, 1fr);
      }

      .step-card {
        grid-column: span 2;
      }

      .step-card:nth-child(5) {
        grid-column: 2 / 4;
      }
    }

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

    @media (max-width: 640px) {
      .features-grid-5 {
        grid-template-columns: 1fr;
      }

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

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

      .roi-cards-grid {
        grid-template-columns: 1fr;
      }

      .waitlist-form {
        flex-direction: column;
      }

      .waitlist-submit-btn {
        width: 100%;
      }

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

      .step-card,
      .step-card:nth-child(5) {
        grid-column: 1;
      }

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

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

      .chat-bubble,
      .chat-bubble.right,
      .chat-bubble.system {
        width: 96%;
      }

      .manifesto-box {
        border-radius: 20px;
      }
    }
