/* ===========================================
   I'm OnCall — Main Stylesheet
   =========================================== */

/* --- CSS Custom Properties --- */
:root {
  --primary: #1B6B6D;
  --primary-light: #E8F4F4;
  --primary-dark: #145354;
  --accent: #E8943A;
  --accent-hover: #D4822E;
  --accent-light: #FFF3E6;
  --navy: #0F2027;
  --navy-light: #1A3040;
  --white: #FAF7F2;
  --pure-white: #FFFFFF;
  --text: #2D3436;
  --text-muted: #6B7B8D;
  --text-light: #9EAAB6;
  --success: #27AE60;
  --border: #E2E8EC;
  --shadow-sm: 0 1px 3px rgba(15,32,39,0.08);
  --shadow-md: 0 4px 12px rgba(15,32,39,0.1);
  --shadow-lg: 0 8px 30px rgba(15,32,39,0.12);
  --shadow-xl: 0 20px 60px rgba(15,32,39,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--primary-dark);
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 16px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 72px; }
h2 { font-size: 48px; margin-bottom: 16px; }
h3 { font-size: 32px; }
h4 { font-size: 24px; }

p { margin-bottom: 16px; }

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }

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

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  gap: 8px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--pure-white);
  box-shadow: 0 4px 14px rgba(232,148,58,0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--pure-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,148,58,0.45);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: var(--pure-white);
}

.btn-ghost {
  color: var(--primary);
  font-weight: 600;
  padding: 8px 0;
}

.btn-ghost:hover {
  color: var(--accent);
}

.btn-ghost::after {
  content: ' →';
  transition: transform var(--transition);
  display: inline-block;
}

.btn-ghost:hover::after {
  transform: translateX(4px);
}

.btn-large {
  padding: 20px 48px;
  font-size: 19px;
  border-radius: var(--radius-md);
}

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

.btn-white:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

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

.navbar-logo {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  text-decoration: none;
}

.navbar-logo .im {
  color: var(--accent);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.navbar-links a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
}

.navbar-links a:hover {
  color: var(--primary);
}

.navbar-cta {
  padding: 10px 24px;
  font-size: 15px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--pure-white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
}

/* --- Hero --- */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--white) 0%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-light);
}

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

/* Phone SVG Animation */
.phone-mockup {
  width: 300px;
  height: 420px;
  background: var(--navy);
  border-radius: 36px;
  position: relative;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  flex: 1;
  background: var(--pure-white);
  border-radius: 24px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-notch {
  width: 100px;
  height: 6px;
  background: var(--text);
  border-radius: 3px;
  margin: 0 auto 12px;
  opacity: 0.3;
}

.phone-header {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--success);
  margin-bottom: 12px;
}

.phone-status .pulse {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.4;
  max-width: 85%;
  animation: fadeInUp 0.5s ease-out both;
}

.chat-bubble.agent {
  background: var(--primary-light);
  color: var(--primary-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.caller {
  background: var(--accent-light);
  color: var(--text);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble:nth-child(2) { animation-delay: 0.8s; }
.chat-bubble:nth-child(3) { animation-delay: 1.6s; }
.chat-bubble:nth-child(4) { animation-delay: 2.4s; }
.chat-bubble:nth-child(5) { animation-delay: 3.2s; }

/* Sound waves around phone */
.sound-wave {
  position: absolute;
  border: 2px solid var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: soundWave 3s ease-out infinite;
}

.sound-wave:nth-child(1) { width: 340px; height: 460px; animation-delay: 0s; }
.sound-wave:nth-child(2) { width: 380px; height: 500px; animation-delay: 1s; }
.sound-wave:nth-child(3) { width: 420px; height: 540px; animation-delay: 2s; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--navy);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-item p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-bottom: 4px;
}

.stat-item .stat-source {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* --- How It Works --- */
.steps-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}

.steps-flow::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary), var(--border));
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step-number span {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--primary);
}

.step-card h4 {
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 16px;
}

/* --- Audio Demo --- */
.audio-demo {
  background: var(--primary-dark);
  color: var(--pure-white);
}

.audio-demo h2 {
  color: var(--pure-white);
}

.audio-player-wrap {
  max-width: 600px;
  margin: 40px auto;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.audio-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 60px;
  margin-bottom: 20px;
  justify-content: center;
}

.audio-waveform .bar {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  transition: height 0.1s;
  opacity: 0.6;
}

.audio-waveform .bar.active {
  opacity: 1;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-size: 22px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(232,148,58,0.4);
}

.audio-time {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-variant-numeric: tabular-nums;
}

.audio-progress-wrap {
  margin-top: 16px;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.transcript-toggle {
  text-align: center;
  margin-top: 24px;
}

.transcript-toggle button {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  cursor: pointer;
  transition: color var(--transition);
}

.transcript-toggle button:hover {
  color: var(--pure-white);
}

.transcript-content {
  display: none;
  margin-top: 20px;
  padding: 24px;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
}

.transcript-content.show {
  display: block;
}

/* --- Industry Cards --- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  background: var(--pure-white);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.industry-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.industry-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.industry-card h4 {
  margin-bottom: 8px;
  font-size: 20px;
}

.industry-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.industry-savings {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* --- Features --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-text h3 {
  margin-bottom: 16px;
}

.feature-text p {
  color: var(--text-muted);
}

.feature-visual {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.feature-visual.dark {
  background: var(--navy);
}

/* Integration logos */
.integration-logos {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
}

.integration-logo {
  background: var(--pure-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* --- ROI Calculator --- */
.roi-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--pure-white);
}

.roi-section h2 {
  color: var(--pure-white);
}

.roi-calculator {
  max-width: 580px;
  margin: 40px auto 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.15);
}

.roi-input-group {
  margin-bottom: 32px;
}

.roi-input-group label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.9);
}

.roi-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
  outline: none;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.roi-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}

.roi-slider-value {
  text-align: center;
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  margin-top: 8px;
}

.roi-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--pure-white);
  cursor: pointer;
}

.roi-select option {
  background: var(--navy);
  color: var(--pure-white);
}

.roi-result {
  text-align: center;
  padding: 32px;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-md);
  margin-top: 8px;
}

.roi-result-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.roi-result-value {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent);
}

.roi-result-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 2px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--pure-white);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 20px;
  border-radius: 20px;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.pricing-tier {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-price sup {
  font-size: 24px;
  vertical-align: super;
}

.pricing-period {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-minutes {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  background: var(--primary-light);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--pure-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--primary-light);
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}

.testimonial-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-top: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

.testimonial-info {
  font-size: 14px;
}

.testimonial-name {
  font-weight: 600;
  color: var(--navy);
}

.testimonial-company {
  color: var(--text-muted);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 14px;
  margin-top: 2px;
  letter-spacing: 2px;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 24px;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
  padding: 0 0 24px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--pure-white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-trust {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
}

/* --- Signup Form --- */
.signup-form {
  max-width: 600px;
  margin: 32px auto 0;
}

.signup-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.signup-input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: var(--pure-white);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color var(--transition);
}

.signup-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.signup-input:focus {
  outline: none;
  border-color: var(--accent);
}

.signup-full {
  width: 100%;
  margin-bottom: 16px;
}

.signup-btn {
  width: 100%;
}

.signup-success {
  max-width: 600px;
  margin: 32px auto 0;
  background: rgba(39,174,96,0.2);
  border: 2px solid var(--success);
  border-radius: var(--radius-md);
  padding: 20px;
  color: var(--pure-white);
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .signup-row {
    flex-direction: column;
  }
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--pure-white);
  margin-bottom: 12px;
}

.footer-brand .im {
  color: var(--accent);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--pure-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-location {
  color: rgba(255,255,255,0.4);
}

/* --- Legal Pages --- */
.legal-page {
  padding: 140px 0 80px;
}

.legal-page h1 {
  font-size: 48px;
  margin-bottom: 8px;
}

.legal-page .last-updated {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 28px;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

/* --- Page Hero (non-home) --- */
.page-hero {
  padding: 160px 0 60px;
  background: var(--primary-light);
  text-align: center;
}

.page-hero h1 {
  font-size: 56px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Comparison Table (Pricing page) --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 48px 0;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.comparison-table th {
  background: var(--primary-light);
  font-weight: 600;
  color: var(--navy);
}

.comparison-table td {
  color: var(--text);
}

.comparison-table .check {
  color: var(--success);
  font-weight: 700;
}

.comparison-table .dash {
  color: var(--text-light);
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
