:root {
  --primary: #6D28D9;
  --primary-light: #8B5CF6;
  --primary-dark: #4C1D95;
  --primary-glow: rgba(109, 40, 217, 0.15);
  --accent: #E85D04;
  --accent-glow: rgba(232, 93, 4, 0.15);
  --bg-main: #F8FAFC;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 28px -4px rgba(109,40,217,0.12), 0 8px 16px -6px rgba(0,0,0,0.04);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* ──────────────── Navbar ──────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  color: var(--primary);
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.2);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.38);
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  border-color: #CBD5E1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

/* ──────────────── Hero Section ──────────────── */
.hero {
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109, 40, 217, 0.08);
  color: var(--primary);
  border: 1px solid rgba(109, 40, 217, 0.18);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #1E293B;
}

.app-btn:hover {
  background: #1E293B;
  transform: translateY(-2px);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.app-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.app-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.app-btn-small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.app-btn-big {
  font-size: 0.98rem;
  font-weight: 700;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.highlight-item svg {
  color: var(--primary);
  width: 18px;
  height: 18px;
}

/* ──────────────── Mockup / Visual Card ──────────────── */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone-card {
  background: var(--surface);
  border-radius: 36px;
  padding: 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.05);
  position: relative;
  border: 1px solid var(--border);
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.phone-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.phone-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.phone-badge {
  font-size: 0.72rem;
  background: #ECFDF5;
  color: #059669;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.phone-search-preview {
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.phone-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.category-mini-card {
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.phone-listing-preview {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.provider-info-mini h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.provider-info-mini p {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.call-btn-mini {
  background: #10B981;
  color: white;
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ──────────────── Section Styles ──────────────── */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-tag {
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ──────────────── Services Grid ──────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(109, 40, 217, 0.3);
}

.category-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(109, 40, 217, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.category-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  text-align: center;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(109, 40, 217, 0.3);
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ──────────────── Provider Callout ──────────────── */
.provider-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.provider-banner-content {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.provider-banner h2 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.provider-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 28px;
}

.provider-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.perk-item svg {
  color: #34D399;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.provider-cta {
  background: #FFFFFF;
  color: var(--primary-dark);
  font-weight: 700;
}

.provider-cta:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  color: var(--primary-dark);
}

/* ──────────────── Legal / Documentation Pages ──────────────── */
.legal-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: 56px 0 40px;
}

.legal-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

.legal-content-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  font-size: 0.88rem;
}

.legal-toc h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.legal-toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-toc a {
  color: var(--text-secondary);
  display: block;
  line-height: 1.4;
  padding: 4px 0;
}

.legal-toc a:hover {
  color: var(--primary);
  font-weight: 600;
}

.legal-body {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.legal-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text-primary);
}

.legal-body p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-body ul, .legal-body ol {
  margin: 12px 0 20px 24px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}

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

.callout-box {
  background: rgba(109, 40, 217, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px;
  margin: 24px 0;
}

.callout-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.callout-box p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.callout-alert {
  background: #FEF3C7;
  border-left-color: #F59E0B;
}

.callout-alert h4 {
  color: #B45309;
}

/* ──────────────── Footer ──────────────── */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: auto;
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ──────────────── Responsive Queries ──────────────── */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-highlights {
    justify-content: center;
  }

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

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

  .legal-content-grid {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    display: none;
  }

  .provider-banner {
    padding: 36px 24px;
    text-align: center;
  }

  .provider-perks {
    grid-template-columns: 1fr;
    text-align: left;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .nav-links, .nav-actions .btn-secondary {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }

  .legal-body {
    padding: 28px 20px;
  }

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

