/* ==========================================================================
   aBilling Software (abill.ing) - Core Stylesheet
   Design System: Modern Enterprise SaaS / High Performance / Responsive
   ========================================================================== */

:root {
  --primary: #0025cc;
  --primary-hover: #001bb3;
  --primary-dark: #001594;
  --primary-light: #eff3ff;
  --brand-teal: #083335;
  --accent: #0025cc;
  --accent-light: #eff3ff;
  --success: #10b981;
  --warning: #f59e0b;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--slate-600);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Top Banner Announcement (Global vs India cross-link)
   ========================================================================== */
.top-banner {
  background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 100%);
  color: #e2e8f0;
  font-size: 0.84rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.banner-badge {
  background: rgba(0, 37, 204, 0.35);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.banner-text {
  color: #cbd5e1;
  margin: 0;
}

.banner-text strong {
  color: #ffffff;
}

.banner-link {
  color: #67e8f9;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 0.25rem;
}

.banner-link:hover {
  color: #a5f3fc;
}

/* ==========================================================================
   Navigation Bar (Header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 37, 204, 0.25);
  border-radius: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tld-dot {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-600);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--slate-100);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-fast);
}

.region-pill:hover {
  background: #e0f2fe;
  color: var(--primary-hover);
  border-color: #bae6fd;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--slate-800);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-800);
  display: block;
  padding: 0.35rem 0;
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-divider {
  height: 1px;
  background: var(--slate-200);
  margin: 0.5rem 0;
}

.text-highlight {
  color: #0284c7;
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #001bb3 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 37, 204, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #001bb3 0%, #001594 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 37, 204, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--slate-100);
  color: var(--slate-800);
  border-color: var(--slate-200);
}

.btn-secondary:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary-light);
  color: var(--primary-hover);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.btn-md {
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
}

.badge-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.badge-accent {
  background: #f5f3ff;
  color: var(--accent);
  border: 1px solid #ddd6fe;
}

.badge-light {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4.5rem 0;
  background: radial-gradient(circle at 50% 0%, #f0f7ff 0%, #ffffff 70%);
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 37, 204, 0.15) 0%, rgba(124, 58, 237, 0.08) 50%, transparent 80%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3rem auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-700);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--slate-950);
}

.hero-gradient-text {
  background: linear-gradient(135deg, #001594 0%, #0025cc 45%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--slate-600);
  margin-bottom: 2.25rem;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--slate-900);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-500);
}

/* Hero Showcase Card / Mockup */
.hero-mockup-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  perspective: 1000px;
}

.mockup-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.mockup-header {
  background: var(--slate-900);
  color: var(--white);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #475569;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-title {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--slate-400);
}

.mockup-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #34d399;
}

.mockup-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.mockup-body {
  padding: 1.75rem;
  background: #fafafa;
}

/* Dashboard Mockup Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.dash-card {
  background: var(--white);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.dash-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 0.35rem;
}

.dash-value {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--slate-900);
}

.dash-delta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
  margin-top: 0.25rem;
}

/* Interactive Currency & Invoicing Preview Bar */
.invoice-preview-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
}

.invoice-preview-card, .gateway-list-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.preview-table th {
  text-align: left;
  padding: 0.6rem 0.5rem;
  color: var(--slate-500);
  border-bottom: 1px solid var(--slate-200);
  font-weight: 600;
}

.preview-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
}

.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.status-paid {
  background: #ecfdf5;
  color: #047857;
}

.status-recurring {
  background: #eff6ff;
  color: #001bb3;
}

/* ==========================================================================
   AI Overview & Brand Authority Section (GEO/AEO Highlight)
   ========================================================================== */
.authority-section {
  padding: 4.5rem 0;
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.authority-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid #bfdbfe;
  padding: 2.5rem;
  box-shadow: 0 10px 30px -10px rgba(0, 37, 204, 0.1);
  position: relative;
}

.authority-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #dbeafe;
  color: #001594;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.authority-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--slate-950);
}

.authority-summary {
  font-size: 1.12rem;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.authority-col {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.authority-col h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--slate-900);
}

.authority-col p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Dual Ecosystem Card (abill.ing vs abill.in) */
.ecosystem-section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--slate-600);
}

.dual-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.eco-card {
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.eco-card:hover {
  transform: translateY(-4px);
}

.eco-global {
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
  border: 2px solid #0025cc;
  box-shadow: 0 15px 35px -5px rgba(0, 37, 204, 0.15);
}

.eco-india {
  background: linear-gradient(145deg, #ffffff 0%, #fffbeb 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 15px 35px -5px rgba(245, 158, 11, 0.15);
}

.eco-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.eco-global .eco-tag {
  background: #0025cc;
  color: #ffffff;
}

.eco-india .eco-tag {
  background: #d97706;
  color: #ffffff;
}

.eco-title {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.eco-domain {
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-800);
  background: rgba(0, 0, 0, 0.04);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 1rem;
}

.eco-desc {
  font-size: 1rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.eco-features-list {
  list-style: none;
  margin-bottom: 2rem;
}

.eco-features-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-700);
}

.eco-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}

.eco-india .eco-features-list li::before {
  color: #d97706;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.feature-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}

.feature-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Calculator Section
   ========================================================================== */
.calc-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, var(--slate-50) 0%, #ffffff 100%);
}

.calc-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.range-slider {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
}

.calc-results {
  background: linear-gradient(145deg, var(--slate-900) 0%, #1e1b4b 100%);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.calc-results-val {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: #38bdf8;
  margin: 0.5rem 0;
}

.calc-results-sub {
  font-size: 0.85rem;
  color: var(--slate-300);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
  padding: 5rem 0;
  background-color: var(--slate-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 40px -10px rgba(0, 37, 204, 0.2);
  transform: scale(1.03);
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-plan-name {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.pricing-plan-desc {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-100);
}

.price-currency {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--slate-800);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--slate-950);
}

.price-period {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--slate-700);
  margin-bottom: 0.65rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--slate-50);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: var(--slate-50);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--slate-200);
}

.faq-answer p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--slate-700);
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner-section {
  padding: 4.5rem 0 2rem 0;
  background-color: var(--white);
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #172554 100%);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4);
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  filter: blur(50px);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.cta-title {
  color: var(--white);
  font-size: 2.5rem;
  margin: 1.25rem 0 1rem 0;
}

.cta-desc {
  color: #cbd5e1;
  font-size: 1.15rem;
  margin-bottom: 2.25rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #0b1120;
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col .brand-name {
  color: var(--white);
}

.footer-bio {
  color: #94a3b8;
  font-size: 0.92rem;
  margin: 1.25rem 0 1.5rem 0;
  line-height: 1.6;
}

.footer-bio strong {
  color: #ffffff;
}

.regional-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.regional-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #cbd5e1;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.regional-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.regional-tag {
  font-size: 0.82rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.regional-tag.active {
  background: rgba(0, 37, 204, 0.25);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.regional-tag.link-tag {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.regional-tag.link-tag:hover {
  background: rgba(245, 158, 11, 0.3);
  color: #fde68a;
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38bdf8;
}

.text-muted-link {
  font-size: 0.88rem;
  color: #64748b;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy code {
  color: #60a5fa;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #64748b;
}

.footer-legal a:hover {
  color: #cbd5e1;
}

/* ==========================================================================
   Modal (Waitlist / Early Access)
   ========================================================================== */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--white);
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-2xl);
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--slate-400);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--slate-800);
}

.modal-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background-color: var(--white);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 37, 204, 0.15);
}

.form-footnote {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 0.75rem;
  text-align: center;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  text-align: center;
}

.form-feedback.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.85rem;
  }
  .features-grid, .pricing-grid, .authority-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .dual-cards-grid, .invoice-preview-row, .calc-grid {
    grid-template-columns: 1fr;
  }
  .features-grid, .pricing-grid, .authority-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .cta-title {
    font-size: 2rem;
  }
  .pricing-card.featured {
    transform: none;
  }
}

.site-header-logo {
  height: 46px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.site-header-logo:hover {
  transform: scale(1.02);
}

.footer-logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
}
