/* ── MontyCRM Design System Tokens ── */
:root {
  /* Brand — deep violet-blue */
  --brand-50:  #F3F0FF;
  --brand-100: #E9E2FF;
  --brand-200: #D4C7FF;
  --brand-400: #9171FF;
  --brand-500: #6C47FF;
  --brand-600: #5A2EF5;
  --brand-700: #4B1FE1;
  --brand-950: #1E0B68;

  /* Warm neutrals */
  --neutral-50:  #FAFAF9;
  --neutral-100: #F5F4F2;
  --neutral-200: #E8E6E3;
  --neutral-400: #A8A29E;
  --neutral-500: #78716C;
  --neutral-600: #57534E;
  --neutral-700: #44403C;
  --neutral-800: #292524;
  --neutral-900: #1C1917;

  /* Surfaces */
  --page-bg: #F2F1EE;
  --surface: #FFFFFF;
  --surface-sunken: #F7F6F4;
  --border-default: #E8E6E3;
  --border-subtle: #F0EEEB;

  /* Sidebar / dark panel */
  --sidebar-bg: #14112A;
  --sidebar-hover: #1E1A3A;
  --sidebar-active: #2A2550;
  --sidebar-text: #A09DBF;
  --sidebar-text-active: #FFFFFF;

  /* Shadows — warm tinted */
  --shadow-xs: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06), 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 4px 12px rgba(28, 25, 23, 0.07), 0 2px 4px rgba(28, 25, 23, 0.04);
  --shadow-lg: 0 12px 28px rgba(28, 25, 23, 0.08), 0 4px 10px rgba(28, 25, 23, 0.05);
  --shadow-xl: 0 24px 48px rgba(28, 25, 23, 0.12), 0 8px 16px rgba(28, 25, 23, 0.06);

  /* Easings */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 8px;   
  --radius-lg: 12px;  
  --radius-xl: 16px;
  --radius-xl-contact: 20px; /* Specific to contact card */
}

/* ── Global Styles ── */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  color: var(--neutral-900);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body { padding-top: 64px; }

/* ── Navigation ── */
.ds-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 64px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-default);
  display: flex; align-items: center;
  padding: 0 32px;
  gap: 14px;
  z-index: 100;
}

.ds-brand {
  display: flex; align-items: center; gap: 10px;
  padding-right: 18px;
  border-right: 1px solid var(--border-default);
  flex-shrink: 0;
}

.ds-brand img {
  height: 28px;
  object-fit: contain;
}

.wordmark {
  font-size: 15px; font-weight: 800; letter-spacing: -0.02em;
  text-decoration: none; color: var(--neutral-900);
}
.wordmark .accent { color: var(--brand-600); }

.ds-nav .navtab {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-600);
  text-decoration: none;
  transition: background 150ms, color 150ms;
}
.ds-nav .navtab:hover { background: var(--neutral-100); color: var(--neutral-900); }
.ds-nav .navtab.active { background: var(--brand-50); color: var(--brand-700); }
.ds-nav .spacer { flex: 1; min-width: 12px; }

/* ── Components ── */
.btn {
  font-family: inherit;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 200ms var(--ease-out-expo), box-shadow 200ms var(--ease-out-expo), background 200ms var(--ease-out-expo);
  white-space: nowrap;
  text-decoration: none;
}
.btn-md { font-size: 13px; padding: 9px 14px; border-radius: var(--radius-md); }
.btn-lg { font-size: 14px; padding: 11px 18px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 14px rgba(108,71,255,0.32), 0 1px 2px rgba(28,25,23,0.08);
}
.btn-primary:hover { 
  transform: translateY(-1px); 
  box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 10px 22px rgba(108,71,255,0.38); 
}

.btn-outline {
  background: var(--surface);
  color: var(--neutral-900);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  background: var(--neutral-50);
  box-shadow: var(--shadow-sm);
}

.btn-white {
  background: #ffffff;
  color: var(--neutral-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--neutral-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge .b-dot { width: 6px; height: 6px; border-radius: 99px; }
.b-brand { background: var(--brand-50); color: var(--brand-700); }
.b-brand .b-dot { background: var(--brand-500); }

.b-ai { background: var(--sidebar-bg); color: var(--brand-400); }
.b-ai .b-dot { background: var(--brand-400); box-shadow: 0 0 6px var(--brand-400); }

/* ── Main Layout ── */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 56px 96px;
  flex-grow: 1;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin: 80px 0 40px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-header p {
  color: var(--neutral-600);
  font-size: 16px;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Elements */
.hero {
  text-align: center;
  padding-bottom: 24px;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--brand-600); margin-bottom: 18px;
}
.hero h1 {
  margin: 0 auto;
  font-size: 56px; font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.05; max-width: 850px;
}
.hero h1 .ac { color: var(--brand-600); }
.hero p {
  margin: 22px auto 32px;
  font-size: 18px; line-height: 1.55;
  color: var(--neutral-600); max-width: 640px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* ── Shared Grid Cards ── */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  margin-bottom: 56px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 200ms var(--ease-out-expo), box-shadow 200ms var(--ease-out-expo);
  position: relative;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card h3 {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.card .desc {
  font-size: 14px;
  color: var(--neutral-600);
  line-height: 1.55;
  margin: 0;
  flex-grow: 1;
}
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 8px 0 16px;
}

/* ── Page Specific Layout Elements ── */

/* Index: Product Screenshot */
.screenshot-container {
  background: var(--surface-sunken);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-400);
  font-weight: 600;
  margin: 56px 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.screenshot-container::after {
  content: "App Dashboard Screenshot Placeholder";
  position: absolute;
}
.screenshot-container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
}

/* Index: Audience Grid */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.audience-card {
  background: linear-gradient(145deg, var(--surface), var(--surface-sunken));
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.audience-icon {
  background: var(--brand-50);
  color: var(--brand-600);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.audience-content h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
}
.audience-content p {
  margin: 0;
  font-size: 14px;
  color: var(--neutral-600);
  line-height: 1.5;
}

/* Index: Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.stars {
  color: #F59E0B;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.quote {
  font-size: 15px;
  color: var(--neutral-800);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}
.author {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
}
.author span {
  display: block;
  font-weight: 500;
  color: var(--neutral-500);
  margin-top: 2px;
}

/* Index: Pricing Preview Banner */
.pricing-preview {
  background: var(--brand-950);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  margin-top: 96px;
  box-shadow: var(--shadow-lg);
  background-image: radial-gradient(circle at top right, var(--brand-700), transparent 50%);
}
.pricing-text h2 {
  font-size: 28px;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}
.pricing-text p {
  margin: 0;
  color: var(--sidebar-text);
  font-size: 15px;
}
.pricing-cost {
  text-align: right;
}
.pricing-cost .amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.pricing-cost .term {
  font-size: 14px;
  color: var(--sidebar-text);
}

/* Features: Core Grids & Wide Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 96px;
}
.card.feature-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--sidebar-bg), var(--brand-950));
  border: none;
  color: #fff;
}
.card.feature-wide h3 { color: #fff; }
.card.feature-wide .desc { color: var(--sidebar-text); font-size: 16px; }

/* Features: Comparison Table Layout */
.table-container {
  background: var(--surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin-bottom: 72px;
}
.comp-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
  text-align: left;
}
.comp-table th, .comp-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--neutral-700);
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-table th {
  font-weight: 700;
  color: var(--neutral-900);
  background: var(--neutral-50);
  font-size: 15px;
  letter-spacing: -0.01em;
  position: relative;
}
.comp-table th.highlight, .comp-table td.highlight {
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 600;
}
.comp-table th.highlight {
  border-top: 3px solid var(--brand-500);
  font-size: 16px;
}
.comp-table td:first-child {
  font-weight: 600;
  color: var(--neutral-900);
  background: var(--surface);
  width: 25%;
}

/* Small Business: Wide Benefit Callout */
.benefit-wide {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 72px;
}
.benefit-wide h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-950);
  margin: 0 0 16px 0;
}
.benefit-wide p {
  font-size: 16px;
  color: var(--brand-700);
  line-height: 1.6;
  max-width: 700px;
  margin: 0;
}

/* Why Switch: Comparison Blocks */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.comparison-grid .card h3 { font-size: 22px; }
.solution-block {
  background: var(--surface-sunken);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--neutral-800);
}
.solution-block strong { color: var(--brand-700); }

/* Pricing Layout Custom Tiers */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
  align-items: start;
}
.card.popular {
  border: 2px solid var(--brand-500);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.card.popular:hover { transform: scale(1.02) translateY(-2px); }
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-600);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 99px;
  box-shadow: var(--shadow-sm);
}
.card .price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--neutral-900);
  margin: 8px 0 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.card .price span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--neutral-500);
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.features-list li {
  font-size: 14px;
  color: var(--neutral-700);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}
.features-list li::before {
  content: "✓";
  color: var(--brand-600);
  font-weight: 800;
  font-size: 13px;
}

/* About Us: Founder Story Elements */
.story-block {
  display: flex;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.story-block:nth-child(even) { flex-direction: row-reverse; }
.story-content { flex: 1; }
.story-content h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
}
.story-content p {
  font-size: 16px;
  color: var(--neutral-600);
  line-height: 1.6;
  margin: 0 0 16px 0;
}
.story-visual {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.visual-bg-1 { background: radial-gradient(circle at top right, var(--brand-50), transparent 70%), var(--surface); }
.visual-bg-2 { background: radial-gradient(circle at bottom left, var(--surface-sunken), transparent 70%), var(--surface); }
.story-quote {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-950);
  line-height: 1.4;
  font-style: italic;
  border-left: 4px solid var(--brand-500);
  padding-left: 24px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 96px;
  gap: 24px;
}
.values-grid .card { padding: 40px 32px; }

/* Contact Page Core Architecture */
.contact-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-intro h1 { margin: 0; font-size: 42px; font-weight: 800; letter-spacing: -0.04em; }
.contact-intro p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--neutral-600); }
.contact-intro a { color: var(--brand-600); font-weight: 600; text-decoration: none; transition: color 150ms; }
.contact-intro a:hover { color: var(--brand-700); text-decoration: underline; }

.contact-card {
  display: flex;
  background: var(--surface);
  border-radius: var(--radius-xl-contact);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.contact-sidebar {
  background: linear-gradient(145deg, var(--brand-950), var(--sidebar-bg));
  color: #ffffff;
  width: 38%;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.contact-sidebar::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(108,71,255,0.25) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.sidebar-header { margin-bottom: 40px; position: relative; z-index: 1; }
.sidebar-header h3 { margin: 0 0 8px 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.sidebar-header p { margin: 0; font-size: 14px; color: var(--sidebar-text); line-height: 1.5; }

.info-list { display: flex; flex-direction: column; gap: 32px; position: relative; z-index: 1; }
.info-box { display: flex; align-items: flex-start; gap: 16px; }
.icon-wrapper {
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 200ms var(--ease-out-expo), transform 200ms;
}
.info-box:hover .icon-wrapper { background: var(--brand-600); border-color: var(--brand-500); transform: translateY(-2px); }
.info-box svg { width: 18px; height: 18px; fill: #fff; }
.info-content { padding-top: 2px; }
.info-content strong { display: block; font-size: 12px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 4px; color: var(--sidebar-text); }
.info-content span { font-size: 15px; color: #fff; font-weight: 500; line-height: 1.4; }

/* Contact Form Mechanics */
.contact-form-area { width: 62%; padding: 64px 64px; }
.form-group.full { grid-column: 1 / -1; }
.inquiry-type { display: flex; background: var(--neutral-100); padding: 6px; border-radius: var(--radius-lg); margin-bottom: 40px; }
.inquiry-type label { flex: 1; text-align: center; padding: 10px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--neutral-600); cursor: pointer; transition: all 200ms var(--ease-out-expo); }
.inquiry-type label:hover { color: var(--neutral-900); }
.inquiry-type input[type="radio"] { display: none; }
.inquiry-type input[type="radio"]:checked + label { background: var(--surface); color: var(--brand-700); box-shadow: var(--shadow-sm); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--neutral-500); padding-left: 2px; }
.form-group input, .form-group textarea { width: 100%; background: var(--neutral-50); border: 1px solid var(--border-default); padding: 14px 16px; border-radius: var(--radius-md); font-family: inherit; font-size: 14px; color: var(--neutral-900); transition: border-color 200ms, box-shadow 200ms, background 200ms; }
.form-group input:hover, .form-group textarea:hover { background: var(--surface); border-color: var(--neutral-400); }
.form-group input:focus, .form-group textarea:focus { outline: none; background: var(--surface); border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-50); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--neutral-400); }
.form-group textarea { resize: vertical; min-height: 120px; }
.submit-row { margin-top: 40px; }

/* ── Footers & Callout Banners ── */
.migration-banner {
  background: linear-gradient(135deg, var(--sidebar-bg), var(--brand-950));
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: none;
  margin-top: 24px; /* Restores the clean separation gap shown in the layout specification */
}

/* Subtle glowing gradient accent to match the AI block style */
.migration-banner::before {
  content: "";
  position: absolute; 
  inset: 0;
  background: radial-gradient(circle at 85% 0%, rgba(108, 71, 255, 0.25), transparent 65%);
  pointer-events: none;
}

.banner-content { 
  position: relative; 
  max-width: 620px; 
  z-index: 1;
}

.banner-content h2 { 
  font-size: 24px; 
  font-weight: 700; 
  letter-spacing: -0.02em; 
  margin: 0 0 10px; 
  color: #ffffff;
}

.banner-content p { 
  font-size: 14px; 
  color: var(--sidebar-text); 
  line-height: 1.6; 
  margin: 0; 
}

/* Forces buttons inside dark banners to pop cleanly */
.migration-banner .btn {
  position: relative;
  z-index: 1;
}

.migration-banner .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.migration-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
/* Banner variant for dark theme integration */
.sidebar-bg .migration-banner, 
#sidebar-bg-banner,
.wrap + .migration-banner,
body:has(.navtab.active[href="Why-switch.html"]) .migration-banner,
body:has(.navtab.active[href="pricing-page.html"]) .migration-banner {
  background: var(--sidebar-bg);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: none;
}
body:has(.navtab.active[href="Why-switch.html"]) .migration-banner::before,
body:has(.navtab.active[href="pricing-page.html"]) .migration-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 0%, rgba(108,71,255,0.35), transparent 55%);
  pointer-events: none;
}
body:has(.navtab.active[href="Why-switch.html"]) .banner-content p,
body:has(.navtab.active[href="pricing-page.html"]) .banner-content p {
  color: var(--sidebar-text);
}

.banner-content { position: relative; max-width: 620px; }
.banner-content h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 10px; }
.banner-content p { font-size: 14px; color: var(--neutral-600); line-height: 1.6; margin: 0; }

.site-footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 13px;
  line-height: 1.8;
  width: 100%;
  color: var(--neutral-500);
  border-top: 1px solid var(--border-default);
}
.site-footer .copyright { font-weight: 500; }
.site-footer .brand-name { font-weight: 800; color: var(--neutral-900); letter-spacing: 0.02em; }
.site-footer .dev-credit { font-weight: 500; }
.site-footer .dev-credit span { color: var(--brand-600); font-weight: 600; }

/* ── Register Interest Modal (Shared Component) ── */
.interest-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 60, 0.72);
  backdrop-filter: blur(12px);
  display: none;
  place-items: center;
  padding: 24px;
  z-index: 200;
}
.interest-modal-backdrop.active { display: grid; }
.interest-modal-card {
  width: min(100%, 460px);
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 32px 70px rgba(29, 17, 90, 0.16);
  padding: 32px 30px 28px;
  position: relative;
}
.interest-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  border: 1px solid rgba(108, 71, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-700);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.interest-modal-close:hover { background: rgba(108, 71, 255, 0.08); transform: scale(1.04); }
.interest-modal-header { margin-bottom: 24px; }
.interest-modal-header h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--neutral-900); }
.interest-modal-form { display: grid; gap: 16px; }
.interest-field { display: flex; flex-direction: column; gap: 8px; }
.interest-field label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--neutral-500); }
.interest-field input { width: 100%; min-height: 46px; border: 1px solid #E4DFFF; border-radius: 14px; padding: 12px 14px; font-family: inherit; font-size: 14px; color: var(--neutral-900); background: #F8F6FF; transition: border-color 180ms ease, box-shadow 180ms ease; }
.interest-field input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(108, 71, 255, 0.12); background: #fff; }
.interest-field input::placeholder { color: var(--neutral-400); }
.interest-submit { margin-top: 4px; }
.interest-submit .btn { width: 100%; justify-content: center; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Responsive Viewports ── */
@media (max-width: 960px) {
  .wrap { padding: 40px 24px 64px; }
  .content-grid, .features-grid, .audience-grid, .testimonial-grid, .comparison-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .card.popular { transform: none; }
  .card.popular:hover { transform: translateY(-2px); }
  .card.feature-wide { grid-column: 1 / -1; }
  .migration-banner, .pricing-preview { flex-direction: column; align-items: flex-start; padding: 36px; }
  .pricing-cost { text-align: left; margin-top: 24px; }
  .benefit-wide { padding: 36px 24px; }
  .hero h1 { font-size: 42px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .screenshot-container { height: 300px; }
  .story-block, .story-block:nth-child(even) { flex-direction: column; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-card { flex-direction: column; }
  .contact-sidebar { width: 100%; padding: 48px 32px; }
  .contact-form-area { width: 100%; padding: 48px 32px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .interest-modal-card { padding: 24px 20px 20px; }
}

/* ── Splash / Coming Soon Visual Engine (image_298003.png) ── */
body.splash-body {
  margin: 0;
  padding: 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Striking brand-focused purple layout gradient */
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Big ambient circular overlay layers from the image design */
body.splash-body::before,
body.splash-body::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

/* Center-left large circle background artifact */
body.splash-body::before {
  width: min(85vw, 680px);
  height: min(85vw, 680px);
  bottom: -20%;
  left: 10%;
}

/* Top-right scaling corner circle background artifact */
body.splash-body::after {
  width: min(60vw, 500px);
  height: min(60vw, 500px);
  top: -10%;
  right: -10%;
}

.splash-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 600px;
  width: 100%;
}

.splash-logo {
  height: min(20vw, 140px);
  object-fit: contain;
  filter: brightness(0) invert(1); /* Forces logo assets to pure white syntax */
  margin-bottom: 8px;
}

.splash-title {
  margin: 0;
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.splash-subtitle {
  margin: -12px 0 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* The upper capsule text design element */
.splash-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 24px;
  background: #ffffff;
  color: var(--brand-600);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* The prominent lower white button container */
.btn-splash-action {
  background: #ffffff;
  color: var(--brand-700);
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 200ms var(--ease-out-expo), box-shadow 200ms var(--ease-out-expo);
}

.btn-splash-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}