/* ═════════════════════════════════════════════════════════════════════════════
   CLIENT USER PORTAL DESIGN SYSTEM
   Modern, Ultra-clean AI Voice Bot & Inbound Telephony Automation
   Dynamic Whitelabel & Standalone Landing / Pricing / Legal
   ═════════════════════════════════════════════════════════════════════════════ */

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

:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-dark: #3730a3;
  --primary-light: #eef2ff;
  --primary-glow: rgba(79, 70, 229, 0.35);
  --accent: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --secondary: #0ea5e9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0b0f19;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px -4px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 8px 30px var(--primary-glow);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1280px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

button {
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.2s ease;
}

/* ── Container ────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation Bar ───────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 80px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.nav-logo-img {
  height: 42px;
  max-width: 160px;
  object-fit: contain;
}

.nav-logo-fallback {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.nav-brand-text {
  font-family: var(--font-main);
  color: var(--text-main);
}

.nav-brand-text span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-login-text {
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
}

.btn-login-text:hover {
  color: var(--primary);
}

.btn-nav-login {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px var(--primary-glow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-nav-login:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #4f46e5 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-trial {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px var(--primary-glow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
}

.btn-trial:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #4f46e5 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* ── Hero Section (AI Voice Bot Theme) ────────────────────────────────────── */
.hero-section {
  padding: 60px 0 90px;
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
  animation: pulseCyan 1.8s infinite;
}

@keyframes pulseCyan {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.14;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 36px;
  max-width: 550px;
}

.hero-cta-group {
  margin-bottom: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px var(--primary-glow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #4f46e5 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--primary-glow);
}

.hero-platforms {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.platforms-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-light);
  text-transform: uppercase;
}

.platform-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.platform-pill {
  padding: 7px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Hero Visual AI Voice Console Card ────────────────────────────────────── */
.hero-visual-card {
  position: relative;
  background: linear-gradient(145deg, #0b0f19 0%, #111827 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: 0 20px 48px rgba(11, 15, 25, 0.4);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.voice-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.call-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.call-timer {
  font-family: monospace;
  font-size: 1rem;
  color: #94a3b8;
  font-weight: 600;
}

/* Live Voice Waveform Equalizer Animation */
.voice-waveform-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.voice-equalizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 52px;
  width: 100%;
}

.eq-bar {
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  animation: eqAnimation 1.2s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { height: 25%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 60%; animation-delay: 0.25s; }
.eq-bar:nth-child(3) { height: 95%; animation-delay: 0.4s; }
.eq-bar:nth-child(4) { height: 40%; animation-delay: 0.15s; }
.eq-bar:nth-child(5) { height: 75%; animation-delay: 0.35s; }
.eq-bar:nth-child(6) { height: 100%; animation-delay: 0.5s; }
.eq-bar:nth-child(7) { height: 85%; animation-delay: 0.2s; }
.eq-bar:nth-child(8) { height: 50%; animation-delay: 0.45s; }
.eq-bar:nth-child(9) { height: 90%; animation-delay: 0.3s; }
.eq-bar:nth-child(10) { height: 35%; animation-delay: 0.6s; }
.eq-bar:nth-child(11) { height: 70%; animation-delay: 0.18s; }
.eq-bar:nth-child(12) { height: 100%; animation-delay: 0.52s; }
.eq-bar:nth-child(13) { height: 65%; animation-delay: 0.28s; }
.eq-bar:nth-child(14) { height: 30%; animation-delay: 0.42s; }
.eq-bar:nth-child(15) { height: 80%; animation-delay: 0.12s; }

@keyframes eqAnimation {
  0% { transform: scaleY(0.2); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0.35); }
}

.caller-info-bar {
  font-size: 0.84rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 12px;
}

.caller-info-bar strong {
  color: #ffffff;
}

/* Transcript Simulation Box */
.transcript-bubble-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transcript-bubble {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.45;
}

.transcript-bubble.caller {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.transcript-bubble.ai {
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

/* Floating AI Metrics */
.floating-telephony-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.metric-pill-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
}

.metric-pill-item .val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.metric-pill-item .lbl {
  font-size: 0.68rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Features Section ─────────────────────────────────────────────────────── */
.section-padding {
  padding: 90px 0;
}

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

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

.section-pill {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

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

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

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.4);
}

.feature-icon-box {
  width: 58px;
  height: 58px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Telephony Dual Grid (Cloud vs Local Telephony) ───────────────────────── */
.telephony-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

.telephony-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.telephony-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.4);
}

.telephony-card.highlight-card {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}

.telephony-card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.telephony-card-tag.cloud {
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}

.telephony-card-tag.local {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}

.telephony-card h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.telephony-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

/* Checklist items with icons */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.45;
}

.check-list li .badge-icon {
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 1rem;
}

/* ── Use Cases Grid ──────────────────────────────────────────────────────── */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.usecase-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 14px;
}

.usecase-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-sm);
}

.usecase-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.usecase-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

/* ── Why Choose Grid ─────────────────────────────────────────────────────── */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.why-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.why-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.why-card h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── Pricing Page (Matching Screenshot 2) ─────────────────────────────────── */
.pricing-header {
  text-align: center;
  padding: 60px 0 30px;
}

.pricing-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 12px 0 14px;
}

.pricing-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Monthly / Annual Toggle Switch */
.toggle-wrapper {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 50px;
  gap: 4px;
}

.toggle-btn {
  padding: 8px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  transition: all 0.2s ease;
}

.toggle-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.discount-tag {
  background: #fef08a;
  color: #854d0e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
}

/* Pricing Cards Layout (Screenshot 2: 4 cards top row, 3 cards bottom row) */
.pricing-grid-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}

.pricing-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 960px;
  margin: 0 auto 70px;
}

.plan-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.4);
}

.plan-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 26px var(--primary-glow);
}

.plan-badge {
  display: inline-block;
  align-self: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(79, 70, 229, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.plan-icon-wrapper {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.plan-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  min-height: 38px;
  margin-bottom: 18px;
  line-height: 1.35;
}

.plan-pricing-box {
  margin-bottom: 22px;
  padding: 14px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.plan-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-features-list {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features-list li {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.plan-features-list li .check-icon {
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
}

.btn-plan-action {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
  transition: all 0.2s ease;
}

.btn-plan-action:hover, .plan-card.featured .btn-plan-action {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.plan-card.featured .btn-plan-action:hover {
  background: var(--primary-hover);
}

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

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

.faq-chevron {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── Legal Pages Styling (Privacy, Terms, Refund) ────────────────────────── */
.legal-page-header {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--primary);
}

.legal-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

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

.legal-content-wrapper {
  padding: 60px 0 100px;
}

.legal-body {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
}

.legal-body h2 {
  font-size: 1.5rem;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

.legal-body h3 {
  font-size: 1.18rem;
  margin: 24px 0 10px;
  color: var(--text-main);
}

.legal-body p {
  margin-bottom: 16px;
}

.legal-body ul, .legal-body ol {
  margin: 12px 0 20px 24px;
}

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

.legal-contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 32px;
}

/* ── Contact Section ─────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-details p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: #0b0f19;
  color: #94a3b8;
  padding: 80px 0 36px;
  border-top: 1px solid #1e293b;
}

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

.footer-brand-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-heading {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
}

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

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-badge {
  display: inline-flex;
  gap: 16px;
}

/* ── Strict User Login Modal ─────────────────────────────────────────────── */
.login-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-modal-backdrop.active {
  display: flex;
}

.login-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 440px;
  padding: 38px 34px;
  position: relative;
  border: 1px solid var(--border);
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.login-header {
  text-align: center;
  margin-bottom: 28px;
}

.login-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.login-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.login-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.login-error-box {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  line-height: 1.45;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  outline: none;
  background: #f8fafc;
}

.form-input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.btn-submit-login {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px var(--primary-glow);
  margin-top: 6px;
}

.btn-submit-login:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, #4f46e5 100%);
}

.login-security-notice {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  background: #f8fafc;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

/* ── Login Modal Desktop / Mobile View Mode Switcher ─────────────────────── */
.view-mode-selector {
  margin: 16px 0 20px;
  text-align: left;
}

.view-mode-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.view-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f1f5f9;
  padding: 5px;
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--border);
}

.view-mode-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm, 8px);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.view-mode-btn.active {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.view-mode-btn:hover:not(.active) {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.5);
}

.view-mode-btn .icon {
  font-size: 1.15rem;
}

/* Direct view links row */
.direct-views-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.direct-views-row a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.direct-views-row a:hover {
  text-decoration: underline;
}

.login-security-notice strong {
  color: #b91c1c;
}

/* ── Responsive Queries ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title {
    font-size: 2.7rem;
  }
  .hero-subtitle {
    margin: 0 auto 32px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-platforms {
    align-items: center;
  }
  .pricing-grid-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid-top, .pricing-grid-bottom {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .login-card {
    padding: 30px 22px;
  }
}

@media (max-width: 480px) {
  .login-modal-backdrop {
    padding: 12px;
  }
  .login-card {
    padding: 26px 18px;
    border-radius: 18px;
    max-width: 100%;
  }
  .login-title {
    font-size: 1.35rem;
  }
  .form-input {
    font-size: 16px;
    height: 44px;
  }
  .btn-nav-login {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}
