@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ==========================================================================
   DESIGN TOKENS & CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Color Palette (Trust & Safety - Teal + Blue from Logo) */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F0FDFA;
  --bg-tertiary: #E6FFFA;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-glass-hover: rgba(255, 255, 255, 0.95);

  --color-primary: #2A9D9E;
  --color-primary-glow: rgba(42, 157, 158, 0.15);
  --color-accent: #2563EB;
  --color-accent-glow: rgba(37, 99, 235, 0.12);

  --color-danger: #DC2626;
  --color-danger-glow: rgba(220, 38, 38, 0.15);
  --color-success: #16A34A;

  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;

  --border-color: #A5D5D3;
  --border-color-active: rgba(42, 157, 158, 0.55);
  --border-accent: rgba(42, 157, 158, 0.3);
  --divider-color: rgba(42, 157, 158, 0.16); /* faded teal for full-width horizontal separators */

  /* Fonts - Plus Jakarta Sans for professional, legible UI */
  --font-headings: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadows — soft, layered, no neon glow */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
  --shadow-glow: var(--shadow-md);
  --shadow-accent-glow: var(--shadow-md);
  --shadow-danger-glow: var(--shadow-md);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-round: 9999px;

  /* Spacing scale */
  --space-section: 7rem;

  /* Layout Consts */
  --max-width: 1160px;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: clip; /* Prevents horizontal scroll without breaking position: sticky (unlike overflow: hidden) */
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden; /* Prevents absolutely positioned background decorations from causing horizontal scroll on mobile */
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--divider-color);
  border-bottom: 1px solid var(--divider-color);
}

/* Legal pages need visible overflow so the sidebar's position: sticky works
   (a clipping ancestor disables sticky positioning). */
.legal-page-section {
  overflow: visible;
}

/* ==========================================================================
   GLOWING BG ELEMENTS (MICRO-ANIMS)
   ========================================================================== */
.glow-orb {
  display: none; /* Decorative background orbs removed for a cleaner, more professional look */
}

.glow-orb-accent {
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
}

.glow-orb-danger {
  background: radial-gradient(circle, var(--color-danger-glow) 0%, transparent 70%);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--divider-color);
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  display: inline-block;
  animation: pulse-glow 2s infinite;
}

.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-name {
  height: 22px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-btn {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-round);
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-btn:hover {
  background: #23888a;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 0;
}

.mobile-cta-fixed {
  display: none; /* Hidden on desktop, shown on mobile via media query */
}

/* ==========================================================================
   BUTTONS & INTERACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 1rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #23888a;
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--color-accent);
  color: #ffffff;
}

.btn-accent:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-glass-hover);
  border-color: var(--border-color-active);
  transform: translateY(-2px);
}

.btn-icon {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   GLASSMORPHIC CARDS
   ========================================================================== */
.glass-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  z-index: 1;
}

.glass-card:hover {
  border-color: var(--border-color-active);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.glass-card-accent {
  border: 1px solid var(--border-accent);
}

.glass-card-accent:hover {
  border-color: var(--color-accent);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 11rem;
  padding-bottom: 7rem;
  overflow: hidden;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-round);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.badge-danger {
  background: hsla(354, 84%, 57%, 0.15);
  border-color: rgba(255, 59, 92, 0.25);
  color: var(--color-danger);
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.text-highlight {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.store-badge {
  display: inline-block;
  transition: var(--transition-fast);
}

.store-badge img {
  height: 46px;
  width: auto;
  display: block;
}

.store-badge:hover {
  transform: translateY(-2px);
}

/* Star rating */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #F59E0B;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

/* A premium mockup representation using pure CSS gradient layers */
.phone-mockup-wrapper {
  position: relative;
  width: 265px;
  aspect-ratio: 901 / 1827; /* matches the fitted screenshot exactly so no part is cropped */
  border-radius: 38px;
  padding: 9px;
  background: #0f172a;
  box-shadow:
    0 0 0 2px #1e293b,
    var(--shadow-lg);
  transition: var(--transition-slow);
}

.phone-mockup-wrapper:hover {
  transform: translateY(-6px);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background-color: #0a0e14;
  position: relative;
  display: block;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-camera {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 16px;
  border-radius: var(--radius-round);
  background: #000;
  z-index: 10;
}

.mockup-app-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 1rem;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mockup-pill {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-round);
  padding: 0.25rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-primary);
  font-weight: 600;
}

.mockup-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-success);
}

.mockup-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.mockup-ping-btn {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-danger) 0%, hsl(354, 90%, 42%) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-danger-glow);
  cursor: pointer;
  position: relative;
  animation: pulse-ping 2s infinite;
}

.mockup-ping-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.mockup-status-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
}

.mockup-status-bold {
  color: var(--text-primary);
  font-weight: 600;
}

.mockup-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  justify-content: space-around;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.mockup-footer-icon-active {
  color: var(--color-primary);
}

/* ==========================================================================
   PROBLEM & SOLUTION SECTION
   ========================================================================== */
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.problem-box {
  border-left: 4px solid var(--color-danger);
  padding-left: 2rem;
}

.problem-box h2 {
  color: var(--color-danger);
  margin-bottom: 1.5rem;
}

.solution-box {
  border-left: 4px solid var(--color-accent);
  padding-left: 2rem;
  background: linear-gradient(90deg, hsla(180, 58%, 39%, 0.04) 0%, transparent 100%);
}

.solution-box h2 {
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-size: 2.375rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition-normal);
}

.feature-card:hover {
  border-color: var(--border-color-active);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--bg-tertiary);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card-accent .feature-icon {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--color-accent);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* How it works — steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 4.5rem;
}

.step-card {
  position: relative;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.step-card-highlight {
  border-color: var(--border-color-active);
  background: linear-gradient(180deg, rgba(42, 157, 158, 0.04) 0%, var(--bg-primary) 100%);
}

.step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--border-color);
  font-family: var(--font-headings);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--bg-tertiary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.step-card-highlight .step-icon {
  background-color: var(--color-primary);
  color: #fff;
}

.step-icon svg {
  width: 26px;
  height: 26px;
}

.step-card h3 {
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Before / After comparison */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.compare-card {
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
}

.compare-after {
  border-color: rgba(22, 163, 74, 0.25);
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.04) 0%, var(--bg-primary) 100%);
}

.compare-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.compare-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.5;
}

.compare-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.compare-list-negative li::before {
  content: "\00d7";
  background: rgba(220, 38, 38, 0.1);
  color: var(--color-danger);
}

.compare-list-positive li::before {
  content: "\2713";
  background: rgba(22, 163, 74, 0.12);
  color: var(--color-success);
}

/* ==========================================================================
   LEGAL / GENERAL CONTENT PAGES (Privacy, Terms, Support, FAQ)
   ========================================================================== */
.page-hero {
  padding-top: 10rem;
  padding-bottom: 4rem;
  text-align: center;
  border-bottom: 1px solid var(--divider-color);
  position: relative;
  overflow: hidden;
}

.page-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 120px;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.legal-nav-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  font-weight: 700;
}

.legal-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-nav-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: block;
}

.legal-nav-link:hover, .legal-nav-link.active {
  color: var(--color-accent);
  transform: translateX(3px);
}

.legal-content {
  padding: 1rem 0;
}

.legal-section {
  margin-bottom: 4rem;
  scroll-margin-top: 120px;
}

.legal-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  color: var(--text-primary);
}

.legal-section h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem 0;
  color: var(--text-primary);
}

.legal-section p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.legal-section ul {
  list-style: initial;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.alert-box {
  background: rgba(255, 59, 92, 0.06);
  border: 1px solid rgba(255, 59, 92, 0.15);
  border-left: 4px solid var(--color-danger);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.alert-title {
  color: var(--color-danger);
  font-weight: 700;
  font-family: var(--font-headings);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.alert-box p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* ==========================================================================
   SUPPORT & CONTACT FORM
   ========================================================================== */
.support-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary-glow);
  background-color: var(--bg-glass-hover);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: none;
  font-weight: 500;
}

.form-status.success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--color-success);
  display: block;
}

.form-status.error {
  background-color: var(--color-danger-glow);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--color-danger);
  display: block;
}

.support-info-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.info-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.trouble-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.trouble-step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.trouble-step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-family: var(--font-headings);
  box-shadow: var(--shadow-accent-glow);
}

.trouble-step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.trouble-step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ==========================================================================
   FAQ SECTION (COLLAPSIBLE ACCORDION)
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.faq-item:hover, .faq-item.active {
  border-color: var(--border-color-active);
  background-color: var(--bg-tertiary);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-primary);
}

.faq-question {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

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

.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-answer {
  padding: 0 2rem 2.5rem 2rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--divider-color);
  padding: 5rem 0 2rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-about h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.footer-about p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 320px;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-primary);
  transform: translateX(2px);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--divider-color);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.trust-badge:hover {
  opacity: 1;
}

.trust-badge span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Government Portal Links */
.gov-portals-section {
  background: #f5f5f5;
  padding: 1.5rem 0;
  margin-top: 1.5rem;
}

.gov-portals-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.gov-portal-link {
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

.gov-portal-link:hover {
  transform: scale(1.05);
  opacity: 1;
}

.gov-portal-link img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .gov-portals-row {
    gap: 1rem;
  }

  .gov-portal-link img {
    height: 40px;
  }
}

.footer-bottom {
  border-top: 1px solid var(--divider-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-link {
  color: var(--text-muted);
}

.footer-legal-link:hover {
  color: var(--text-primary);
}


/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 3rem auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .phone-mockup-wrapper {
    transform: rotate(0deg);
    margin: 0 auto;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .problem-solution-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .legal-sidebar {
    position: static;
    top: 0;
  }
  .support-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
  }
  .nav-menu.is-open {
    display: flex;
  }
  .header-container .nav-link {
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
    width: 100%;
    display: block;
  }
  .header-container .nav-link::after {
    display: none; /* Hide desktop animated underlines */
  }
  .mobile-nav-toggle {
    display: block;
  }
  .section {
    padding: 4.5rem 0;
  }
  .hero-section {
    padding-top: 8rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .nav-btn {
    display: none; /* Rely on hamburger + in-page CTAs on small screens */
  }
}

@media (max-width: 576px) {
  .hero-ctas, .download-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }
  .cta-stats {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  h1, .page-title {
    font-size: 2.1rem !important;
    letter-spacing: -0.02em;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  h2, .section-title, .cta-title {
    font-size: 1.7rem !important;
  }
  h3 {
    font-size: 1.2rem !important;
  }
  .hero-subtitle, .page-subtitle, .section-subtitle {
    font-size: 1.0rem !important;
    margin-bottom: 2rem;
  }
  .section {
    padding: 4rem 0 !important;
  }
  .hero-section {
    padding-top: 7rem !important;
  }
  .glass-card, .feature-card, .step-card, .testimonial-card {
    padding: 1.75rem !important; /* Prevents text from being squeezed on narrow viewports */
  }
  .cta-panel {
    padding: 2.75rem 1.5rem !important;
  }
  .compare-card {
    padding: 1.75rem !important;
  }
  .phone-mockup-wrapper {
    width: 100% !important;
    max-width: 250px !important;
    height: auto !important;
    aspect-ratio: 901 / 1827 !important;
  }
  .problem-box, .solution-box {
    padding-left: 1.25rem !important;
  }
}

@media (max-width: 375px) {
  .hero-section {
    padding-top: 6.5rem !important;
  }
}

/* ==========================================================================
   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;
  }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 0;
}

.testimonial-card .star-rating {
  margin-bottom: 1.25rem;
}

.testimonial-card blockquote {
  margin: 0 0 1.5rem 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author span {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.testimonial-author strong {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   DOWNLOAD CTA PANEL
   ========================================================================== */
.cta-panel {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.cta-title {
  font-size: 2.375rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto 2.5rem auto;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cta-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cta-stat-value {
  font-family: var(--font-headings);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.cta-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-panel .hero-ctas {
  justify-content: center;
}

.cta-reassurance {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
}
