/* ========================================================
   CarryOver — Editorial Visual Design System
   Visual Direction: Sharp, Clean, Editorial
   Strict Square Corners (border-radius: 0)
   Colours:
     Navy: #121A5C (Text & Borders)
     Blue-Violet: #4B5CF2 (Main Accent)
     Hot Pink: #FF2DAA (Primary CTA & Highlights)
     White: #FFFFFF (Base Background)
     Pale Blue Tint: #EEF0FF (Alternate Sections)
   ======================================================== */

:root {
  --navy: #121A5C;
  --blue-violet: #4B5CF2;
  --pink: #FF2DAA;
  --white: #FFFFFF;
  --pale-blue: #EEF0FF;
  
  --text-primary: #121A5C;
  --text-muted: #3D4877;
  --border-color: #121A5C;
  --border-width: 1.5px;
  --border-solid: 1.5px solid #121A5C;
  
  --shadow-sm: 3px 3px 0 #121A5C;
  --shadow-md: 5px 5px 0 #121A5C;
  --shadow-lg: 7px 7px 0 #121A5C;
  --shadow-hover: 1px 1px 0 #121A5C;

  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* 8px Spacing Scale */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;

  --max-width: 1200px;
}

/* ========================================================
   GLOBAL RESETS & STRICT SQUARE CORNERS
   ======================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Square corners everywhere */
}

/* STRICT EXCEPTION: The only round element allowed is the spin wheel itself */
.spin-wheel-canvas,
.wheel-canvas-container {
  border-radius: 50% !important;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  min-height: 100vh;
  position: relative;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-violet);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--pink);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2.5px solid var(--pink) !important;
  outline-offset: 3px !important;
}

/* Grid & Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}

@media (min-width: 640px) {
  .container {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
}

.section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }
}

.alt-bg {
  background-color: var(--pale-blue);
  border-top: var(--border-solid);
  border-bottom: var(--border-solid);
}

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

.hidden {
  display: none !important;
}

/* ========================================================
   TYPOGRAPHY
   ======================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.section-header {
  margin-bottom: var(--space-5);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.section-subhead {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================================
   BADGES & LABELS
   ======================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: var(--border-solid);
  background-color: var(--white);
  color: var(--navy);
  box-shadow: 2px 2px 0 var(--navy);
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
}

.badge-accent {
  background-color: var(--pale-blue);
  color: var(--navy);
  border-color: var(--navy);
}

.badge-persona {
  background-color: var(--pink);
  color: var(--white);
  border-color: var(--navy);
}

.badge-sample {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.badge-free {
  background-color: var(--pale-blue);
  color: var(--navy);
  border-color: var(--navy);
}

.badge-planned {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--navy);
  border-style: dashed;
}

.badge-tip {
  background-color: var(--blue-violet);
  color: var(--white);
  border-color: var(--navy);
}

/* ========================================================
   BUTTONS (Strict square corners, hard shadows)
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 20px;
  border: var(--border-solid);
  cursor: pointer;
  text-decoration: none;
  background-color: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  user-select: none;
  line-height: 1.2;
  text-align: center;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
  color: var(--navy);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hover);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: var(--shadow-md) !important;
}

.btn-primary {
  background-color: var(--pink);
  color: var(--white);
  border-color: var(--navy);
}

.btn-primary:hover {
  background-color: #ff129f;
  color: var(--white);
}

.btn-outline {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background-color: var(--pale-blue);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.btn-sm:hover {
  box-shadow: var(--shadow-md);
}

.btn-block {
  width: 100%;
}

/* ========================================================
   1. TOP BANNER
   ======================================================== */
.top-banner {
  background-color: var(--navy);
  color: var(--white);
  padding: 6px 0;
  border-bottom: var(--border-solid);
  font-size: 0.78rem;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  flex-wrap: wrap;
  text-align: center;
}

.banner-badge {
  background-color: var(--pink);
  color: var(--white);
  font-weight: 700;
  font-size: 0.65rem;
  padding: 1px 6px;
  border: 1px solid var(--white);
}

.banner-text {
  margin: 0;
  font-weight: 500;
  line-height: 1.35;
}

/* ========================================================
   2. STICKY NAV
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: var(--white);
  border-bottom: var(--border-solid);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  width: 100%;
  position: relative;
}

.brand-link {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 42px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
}

/* Mobile Toggle Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: var(--white);
  border: var(--border-solid);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  padding: 7px;
  flex-shrink: 0;
}

.nav-toggle-bar {
  width: 100%;
  height: 2px;
  background-color: var(--navy);
  transition: all 0.2s ease;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--blue-violet);
  border-bottom-color: var(--pink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--white);
  white-space: nowrap;
}

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

/* User profile avatar & menu */
.user-profile-menu {
  position: relative;
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background-color: var(--pale-blue);
  border: var(--border-solid);
  box-shadow: 2px 2px 0 var(--navy);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}

.user-avatar {
  width: 26px;
  height: 26px;
  object-fit: cover;
  border: 1px solid var(--navy);
}

.dropdown-caret {
  font-size: 0.65rem;
}

.user-dropdown-panel {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background-color: var(--white);
  border: var(--border-solid);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  z-index: 1000;
  padding: var(--space-1);
}

.user-dropdown-info {
  padding: var(--space-1) var(--space-2);
  border-bottom: 1px solid var(--navy);
  margin-bottom: var(--space-1);
}

.user-email-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  word-break: break-all;
}

.user-dropdown-item {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 8px 12px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.user-dropdown-item:hover {
  background-color: var(--pale-blue);
  color: var(--pink);
}

/* ========================================================
   3. HERO SECTION
   ======================================================== */
.hero-section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-8);
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-8);
  }
}

.hero-badge-wrap {
  margin-bottom: var(--space-2);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: var(--space-3);
  letter-spacing: -0.03em;
}

.hero-subheadline {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

@media (min-width: 520px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero-attribution {
  border-left: 3px solid var(--blue-violet);
  padding-left: var(--space-2);
  margin-top: var(--space-3);
}

.attribution-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mockup Window Container */
.hero-mockup-wrapper {
  width: 100%;
  max-width: 100%;
}

.mockup-window {
  background-color: var(--white);
  border: var(--border-solid);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  overflow: hidden;
}

.mockup-header {
  background-color: var(--navy);
  color: var(--white);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--border-solid);
  flex-wrap: wrap;
  gap: 6px;
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.mockup-title {
  font-family: monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: #C3CCFF;
}

.mockup-status {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--pink);
  color: var(--white);
  padding: 1px 6px;
}

.mockup-body {
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

@media (min-width: 600px) {
  .mockup-body {
    padding: var(--space-3);
    gap: var(--space-3);
  }
}

.mockup-role-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

@media (min-width: 480px) {
  .mockup-role-header {
    flex-direction: row;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.85rem;
  }
}

.role-pill-origin {
  background-color: var(--pale-blue);
  padding: 4px 8px;
  border: var(--border-solid);
}

.role-arrow {
  color: var(--blue-violet);
  font-weight: 900;
}

.role-pill-target {
  background-color: var(--navy);
  color: var(--white);
  padding: 4px 8px;
  border: var(--border-solid);
}

.mockup-match-card {
  background-color: var(--pale-blue);
  border: var(--border-solid);
  padding: var(--space-2);
}

.match-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-1);
}

.match-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
}

.match-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pink);
}

.match-bar-track {
  width: 100%;
  height: 12px;
  background-color: var(--white);
  border: var(--border-solid);
  position: relative;
  overflow: hidden;
}

.match-bar-fill {
  height: 100%;
  background-color: var(--pink);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.match-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-1);
  line-height: 1.4;
}

.mockup-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

@media (min-width: 600px) {
  .mockup-breakdown-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.breakdown-col {
  border: var(--border-solid);
  padding: var(--space-2);
  background-color: var(--white);
}

.breakdown-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: var(--space-1);
  display: flex;
  align-items: center;
  gap: 4px;
}

.breakdown-have .breakdown-title {
  color: var(--navy);
}

.breakdown-gap .breakdown-title {
  color: var(--pink);
}

.breakdown-list {
  list-style: none;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--navy);
}

.breakdown-list li {
  padding: 2px 0;
  border-bottom: 1px dashed #D6DAFB;
}

.breakdown-list li:last-child {
  border-bottom: none;
}

.mockup-plan-preview {
  margin-top: var(--space-2);
  padding: 6px 8px;
  background-color: var(--pale-blue);
  border: 1px solid var(--navy);
}

.plan-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--white);
  padding: 1px 4px;
  margin-bottom: 3px;
}

.plan-desc {
  font-size: 0.72rem;
  color: var(--navy);
  line-height: 1.3;
}

/* ========================================================
   4. THE PROBLEM SECTION (RAJESH PERSONA)
   ======================================================== */
.problem-card {
  background-color: var(--white);
  border: var(--border-solid);
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
}

.problem-meta-bar {
  background-color: var(--navy);
  color: var(--white);
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-bottom: var(--border-solid);
}

@media (min-width: 640px) {
  .problem-meta-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) var(--space-3);
  }
}

.persona-identity {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.persona-avatar-box {
  width: 40px;
  height: 40px;
  background-color: var(--pink);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--white);
  flex-shrink: 0;
}

.persona-name {
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.persona-sub {
  color: #C3CCFF;
  font-size: 0.78rem;
}

.persona-status-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  background-color: #24083E;
  color: #FFB3DE;
  border: 1px solid #FF2DAA;
  padding: 4px 8px;
  align-self: flex-start;
}

.problem-body-grid {
  display: grid;
  grid-template-columns: 1fr;
  padding: var(--space-3);
  gap: var(--space-3);
}

@media (min-width: 860px) {
  .problem-body-grid {
    grid-template-columns: 1.1fr 0.9fr;
    padding: var(--space-5);
    gap: var(--space-4);
  }
}

.narrative-heading {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: var(--space-2);
  border-bottom: 2px solid var(--navy);
  padding-bottom: var(--space-1);
}

.problem-narrative p {
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: var(--space-2);
  line-height: 1.55;
}

.trap-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.trap-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-1);
  font-size: 0.85rem;
  background-color: var(--pale-blue);
  border: var(--border-solid);
  padding: var(--space-1) var(--space-2);
}

.trap-icon {
  color: var(--pink);
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1.2;
}

.trap-content {
  color: var(--navy);
}

.carryover-solution-callout {
  background-color: var(--navy);
  color: var(--white);
  border: var(--border-solid);
  padding: var(--space-2);
  font-size: 0.85rem;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

.carryover-solution-callout strong {
  color: var(--pink);
}

/* ========================================================
   5. HOW IT WORKS IN 3 STEPS
   ======================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

.step-card {
  background-color: var(--white);
  border: var(--border-solid);
  padding: var(--space-3);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 640px) {
  .step-card {
    padding: var(--space-4);
  }
}

.step-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: var(--space-2);
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-2);
  flex-grow: 1;
}

.step-detail-tag {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--pale-blue);
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 3px 6px;
}

/* ========================================================
   6. INTERACTIVE DEMO ("See it in action")
   ======================================================== */
.demo-selector-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

@media (min-width: 520px) {
  .demo-selector-wrap {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
  }
}

.demo-tab-btn {
  background-color: var(--white);
  color: var(--navy);
  border: var(--border-solid);
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

@media (min-width: 520px) {
  .demo-tab-btn {
    width: auto;
  }
}

.demo-tab-btn.active {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.demo-display-panel {
  background-color: var(--white);
  border: var(--border-solid);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  max-width: 1024px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .demo-display-panel {
    padding: var(--space-4);
  }
}

.demo-panel-header {
  border-bottom: var(--border-solid);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-3);
}

.demo-panel-meta {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-1);
  flex-wrap: wrap;
}

.demo-live-indicator {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

.demo-transition-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.demo-match-box {
  background-color: var(--pale-blue);
  border: var(--border-solid);
  padding: var(--space-2);
  margin-bottom: var(--space-3);
}

@media (min-width: 640px) {
  .demo-match-box {
    padding: var(--space-3);
    margin-bottom: var(--space-4);
  }
}

.demo-match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-1);
}

.demo-match-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
}

.demo-match-note {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.demo-match-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
}

.demo-match-track {
  width: 100%;
  height: 14px;
  background-color: var(--white);
  border: var(--border-solid);
  position: relative;
  overflow: hidden;
}

.demo-match-fill {
  height: 100%;
  background-color: var(--pink);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

@media (min-width: 768px) {
  .demo-skills-grid {
    grid-template-columns: 1fr 1fr;
    margin-bottom: var(--space-4);
  }
}

.demo-card {
  border: var(--border-solid);
  padding: var(--space-2);
  background-color: var(--white);
}

@media (min-width: 640px) {
  .demo-card {
    padding: var(--space-3);
  }
}

.demo-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  border-bottom: var(--border-solid);
  padding-bottom: var(--space-1);
  margin-bottom: var(--space-2);
}

.demo-card-icon {
  font-weight: 900;
  font-size: 1.1rem;
}

.demo-have-card .demo-card-icon {
  color: var(--blue-violet);
}

.demo-missing-card .demo-card-icon {
  color: var(--pink);
}

.demo-card-title {
  font-size: 0.95rem;
  color: var(--navy);
}

.demo-skill-list {
  list-style: none;
}

.demo-skill-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px dashed #D6DAFB;
  line-height: 1.4;
}

.demo-skill-item:last-child {
  border-bottom: none;
}

.skill-bullet {
  font-weight: 700;
  flex-shrink: 0;
}

.have-bullet {
  color: var(--blue-violet);
}

.missing-bullet {
  color: var(--pink);
}

/* 14-Day Roadmap Area */
.demo-roadmap-card {
  background-color: var(--white);
  border: var(--border-solid);
  padding: var(--space-2);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .demo-roadmap-card {
    padding: var(--space-3);
  }
}

.roadmap-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-bottom: var(--border-solid);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-3);
}

@media (min-width: 640px) {
  .roadmap-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.roadmap-title {
  font-size: 1.05rem;
  margin-top: 4px;
  margin-bottom: 2px;
}

.roadmap-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.roadmap-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

@media (min-width: 600px) {
  .roadmap-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .roadmap-timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

.roadmap-phase {
  border: var(--border-solid);
  background-color: var(--pale-blue);
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
}

.phase-days {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  background-color: var(--navy);
  padding: 2px 6px;
  align-self: flex-start;
  margin-bottom: var(--space-1);
}

.phase-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.phase-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ========================================================
   7. FEATURES WITH SIMPLE LINE ICONS
   ======================================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--white);
  border: var(--border-solid);
  padding: var(--space-3);
  box-shadow: var(--shadow-md);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

@media (min-width: 640px) {
  .feature-card {
    padding: var(--space-4);
  }
}

.feature-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.feature-icon-box {
  width: 40px;
  height: 40px;
  border: var(--border-solid);
  background-color: var(--pale-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.line-icon {
  width: 22px;
  height: 22px;
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-1);
}

.feature-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================================
   8. ONE FACT STRIP (STRICT RULE: ONLY STATISTIC ON SITE)
   ======================================================== */
.fact-strip-section {
  padding: var(--space-5) 0;
  background-color: var(--white);
}

.fact-strip-card {
  background-color: var(--pale-blue);
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) var(--space-2);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .fact-strip-card {
    padding: var(--space-5) var(--space-4);
  }
}

.fact-strip-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  background-color: var(--navy);
  padding: 3px 8px;
  margin-bottom: var(--space-2);
}

.fact-strip-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.2vw, 1.95rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: var(--space-2);
  word-break: break-word;
}

.fact-strip-caption {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========================================================
   9. "SPIN FOR A CAREER TIP" (Canvas Wheel, Square result)
   ======================================================== */
.spin-wheel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .spin-wheel-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}

.wheel-stage-card {
  background-color: var(--white);
  border: var(--border-solid);
  padding: var(--space-3);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.wheel-pointer-arrow {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 20px solid var(--pink);
  z-index: 10;
  filter: drop-shadow(0 2px 0 var(--navy));
}

.wheel-canvas-container {
  width: 250px;
  height: 250px;
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--navy) !important;
  box-shadow: var(--shadow-md);
  background-color: var(--white);
  overflow: hidden;
  max-width: 100%;
}

@media (min-width: 400px) {
  .wheel-canvas-container {
    width: 290px;
    height: 290px;
  }
}

.spin-wheel-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.wheel-spin-btn {
  width: 100%;
  max-width: 240px;
}

.wheel-result-card {
  background-color: var(--white);
  border: var(--border-solid);
  padding: var(--space-3);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
}

@media (min-width: 640px) {
  .wheel-result-card {
    padding: var(--space-4);
  }
}

.result-badge-wrap {
  margin-bottom: var(--space-2);
}

.wheel-result-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.wheel-result-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-3);
}

.wheel-result-action {
  align-self: flex-start;
}

/* ========================================================
   10. PRICING SECTION
   ======================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-card {
  background-color: var(--white);
  border: var(--border-solid);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 640px) {
  .pricing-card {
    padding: var(--space-5);
  }
}

.pricing-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.free-card {
  border: 2px solid var(--navy);
}

.pass-card {
  border: 2px solid var(--navy);
  background-color: var(--pale-blue);
}

.pricing-badge-wrap {
  margin-bottom: var(--space-2);
}

.pricing-tier-name {
  font-size: 1.35rem;
  margin-bottom: var(--space-1);
}

.pricing-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--space-2);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.pricing-period {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pricing-tier-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  line-height: 1.5;
}

.pricing-feature-list {
  list-style: none;
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.pricing-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(18, 26, 92, 0.15);
  line-height: 1.4;
}

.check-mark {
  color: var(--pink);
  font-weight: 900;
}

.pricing-btn {
  margin-top: auto;
}

/* ========================================================
   11. FAQ ACCORDION (6 Questions)
   ======================================================== */
.faq-accordion-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  border: var(--border-solid);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  gap: var(--space-2);
}

.faq-trigger:hover {
  background-color: var(--pale-blue);
}

.faq-question {
  word-break: break-word;
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
  padding: 0 var(--space-3);
}

.faq-item.active .faq-content {
  max-height: 500px;
  padding-bottom: var(--space-3);
}

.faq-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px dashed #D6DAFB;
  padding-top: var(--space-2);
}

/* ========================================================
   12. WAITLIST SECTION
   ======================================================== */
.waitlist-container {
  max-width: 680px;
}

.waitlist-card {
  background-color: var(--white);
  border: var(--border-solid);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
}

@media (min-width: 640px) {
  .waitlist-card {
    padding: var(--space-5);
  }
}

.waitlist-google-wrap {
  margin-bottom: var(--space-3);
}

.waitlist-google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.or-divider {
  display: flex;
  align-items: center;
  margin: var(--space-3) 0;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

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

.or-divider span {
  padding: 0 var(--space-2);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.form-input {
  border: var(--border-solid);
  background-color: var(--white);
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--navy);
  box-shadow: 2px 2px 0 var(--navy);
  width: 100%;
  transition: box-shadow 0.12s ease;
}

.form-input:focus {
  outline: none;
  box-shadow: 3px 3px 0 var(--pink);
  border-color: var(--navy);
}

.form-textarea {
  resize: vertical;
}

.waitlist-guarantee {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-3);
}

.status-banner {
  padding: var(--space-2);
  margin-bottom: var(--space-3);
  border: var(--border-solid);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.status-banner.success {
  background-color: #D1F7C4;
  color: #125C1A;
}

.status-banner.error {
  background-color: #FFD2D2;
  color: #8C0B0B;
}

/* ========================================================
   13. FEEDBACK SECTION (SIGNED-IN ONLY)
   ======================================================== */
.feedback-disclaimer-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pink);
  background: var(--white);
  border: var(--border-solid);
  padding: 3px 8px;
  margin-top: var(--space-1);
}

.feedback-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 1024px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .feedback-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.feedback-form-card {
  background-color: var(--white);
  border: var(--border-solid);
  box-shadow: var(--shadow-md);
  padding: var(--space-3);
  height: fit-content;
}

@media (min-width: 640px) {
  .feedback-form-card {
    padding: var(--space-4);
  }
}

.feedback-card-heading {
  font-size: 1.15rem;
  margin-bottom: var(--space-2);
  border-bottom: var(--border-solid);
  padding-bottom: var(--space-1);
}

.feedback-auth-box {
  background-color: var(--pale-blue);
  border: var(--border-solid);
  padding: var(--space-3);
  text-align: center;
}

.feedback-prompt-text {
  font-size: 0.86rem;
  color: var(--navy);
  margin-bottom: var(--space-2);
  line-height: 1.5;
}

.feedback-input-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.star-rating-selector {
  display: flex;
  gap: 6px;
}

.star-btn {
  background: var(--white);
  border: var(--border-solid);
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  color: #D6DAFB;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0 var(--navy);
  transition: all 0.1s ease;
}

.star-btn.active, .star-btn.hover {
  color: #FFB800;
  background-color: var(--navy);
}

.feedback-display-card {
  background-color: var(--white);
  border: var(--border-solid);
  box-shadow: var(--shadow-md);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .feedback-display-card {
    padding: var(--space-4);
  }
}

.feedback-summary-bar {
  border-bottom: var(--border-solid);
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-3);
}

.feedback-stats {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.average-stars {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.rating-count {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  display: block;
}

.rating-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.feedback-state-box {
  padding: var(--space-5) var(--space-2);
  text-align: center;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #D6DAFB;
  border-top-color: var(--pink);
  margin: 0 auto var(--space-2);
  animation: spin 0.8s linear infinite;
}

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

.empty-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.empty-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.feedback-items-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.feedback-item {
  border: var(--border-solid);
  background-color: var(--pale-blue);
  padding: var(--space-2);
}

@media (min-width: 640px) {
  .feedback-item {
    padding: var(--space-3);
  }
}

.feedback-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.feedback-user-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.feedback-stars-display {
  color: #E59800;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.feedback-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.feedback-item-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feedback-item-comment {
  font-size: 0.82rem;
  color: var(--navy);
  line-height: 1.45;
}

/* ========================================================
   14. CONTACT US SECTION
   ======================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-detail-card, .contact-form-card {
  background-color: var(--white);
  border: var(--border-solid);
  box-shadow: var(--shadow-md);
  padding: var(--space-3);
}

@media (min-width: 640px) {
  .contact-detail-card, .contact-form-card {
    padding: var(--space-4);
  }
}

.contact-card-title {
  font-size: 1.18rem;
  margin-bottom: 4px;
}

.contact-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  line-height: 1.45;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border: var(--border-solid);
  padding: var(--space-2);
  background-color: var(--pale-blue);
  color: var(--navy);
  box-shadow: 2px 2px 0 var(--navy);
  transition: transform 0.12s ease;
}

.contact-channel-item:hover {
  transform: translate(-2px, -2px);
  color: var(--navy);
}

.channel-icon {
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  background-color: var(--white);
  border: var(--border-solid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.channel-val {
  font-size: 0.88rem;
  font-weight: 600;
  word-break: break-all;
}

.whatsapp-direct-btn {
  background-color: var(--white);
  border-color: var(--navy);
}

.whatsapp-direct-btn:hover {
  background-color: #DCF8C6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ========================================================
   15. FOOTER
   ======================================================== */
.site-footer {
  background-color: var(--navy);
  color: var(--white);
  border-top: 3px solid var(--pink);
  padding-top: var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  background-color: var(--white);
  padding: 6px 12px;
  border: 1.5px solid var(--white);
  box-shadow: 3px 3px 0 var(--pink);
  margin-bottom: var(--space-2);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.footer-logo-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--pink);
}

.footer-logo {
  height: 38px;
  width: auto;
  max-width: 170px;
  display: block;
  object-fit: contain;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pink);
}

.footer-attribution {
  font-size: 0.82rem;
  color: #C3CCFF;
  line-height: 1.45;
}

.footer-col-title {
  font-size: 0.98rem;
  color: var(--white);
  margin-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 4px;
}

.footer-links-list, .footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.footer-links-list a, .footer-contact-list a {
  color: #E2E6FF;
}

.footer-links-list a:hover, .footer-contact-list a:hover {
  color: var(--pink);
  text-decoration: underline;
}

.footer-notice {
  font-size: 0.72rem;
  color: #9AA7E8;
  margin-top: var(--space-2);
  line-height: 1.4;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-2);
  padding-bottom: var(--space-4);
  font-size: 0.76rem;
  color: #A5B2EE;
  text-align: center;
}

/* ========================================================
   16. FLOATING WHATSAPP BUTTON (Square, Bottom-Right)
   ======================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 998;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  border: var(--border-solid);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.floating-whatsapp-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
  background-color: #20BA5A;
}

.floating-whatsapp-btn:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hover);
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--navy);
  color: var(--white);
  padding: 4px 8px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--white);
  box-shadow: 2px 2px 0 var(--navy);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
  opacity: 1;
}

/* ========================================================
   17. ELFSiGHT CHATBOT CONTAINER SLOT
   ======================================================== */
.elfsight-chatbot-container {
  position: fixed;
  bottom: 84px; /* Sits cleanly above the floating WhatsApp button */
  right: 20px;
  z-index: 997;
  max-width: 340px;
  pointer-events: auto;
}

/* ========================================================
   MOBILE & RESPONSIVE ADJUSTMENTS (390px Viewport)
   ======================================================== */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: var(--border-solid);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-3);
    gap: var(--space-2);
    display: none;
    z-index: 999;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
    width: 100%;
  }

  .nav-link {
    font-size: 1rem;
    width: 100%;
    padding: 6px 0;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    width: 100%;
    padding-top: var(--space-2);
    border-top: 1px solid var(--navy);
  }

  .auth-wrapper {
    width: 100%;
  }

  .auth-btn {
    width: 100%;
    justify-content: center;
  }

  .nav-cta-btn {
    width: 100%;
    text-align: center;
  }

  .user-profile-btn {
    width: 100%;
    justify-content: space-between;
  }

  .user-dropdown-panel {
    position: static;
    box-shadow: none;
    border-top: none;
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .floating-whatsapp-btn {
    bottom: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
  }

  .elfsight-chatbot-container {
    bottom: 72px;
    right: 16px;
  }

  .floating-whatsapp-tooltip {
    display: none; /* Hide hover tooltip on touch devices */
  }
}

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