/* Custom Design System & Luxury Theme - Edition Finder (Apple/Stripe/Linear Inspired) */

/* --- Variables & Core System --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7; /* Apple/Stripe light grey */
  --bg-tertiary: #fafafa;
  
  --border-primary: #e5e5ea; /* Apple light border */
  --border-secondary: #f0f0f3;
  --border-focus: #000000; /* Dark charcoal/black focus */
  --accent-blue: #0066cc; /* Apple link blue */
  
  --text-primary: #1d1d1f; /* Apple charcoal */
  --text-secondary: #6e6e73; /* Apple secondary grey */
  --text-muted: #86868b;
  --text-white: #000000; /* Pure black for primary copy */
  
  --accent-color: #000000;
  --accent-glow: rgba(0, 0, 0, 0.02);
  --success-color: #2ea44f;
  --warning-color: #b16e00;
  
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  --container-max-width: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-luxury: 0 8px 30px rgba(0, 0, 0, 0.025), inset 0 1px 0 rgba(255, 255, 255, 1);
  --shadow-dark-card: 0 30px 60px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-primary);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* --- Typographical System --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

p {
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 400;
}

strong {
  color: var(--text-white);
  font-weight: 600;
}

.text-gradient {
  background: linear-gradient(135deg, #000000 40%, #86868b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Layout Grid --- */
.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* --- Utilities & Tags --- */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.section-tag.text-center {
  display: block;
  text-align: center;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 5rem;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-white);
}

.section-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  outline: none;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.2rem 2.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background-color: var(--text-white); /* Solid Black */
  color: var(--bg-primary); /* White Text */
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-muted);
}

/* --- Sticky Header / Navigation Bar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  transition: background var(--transition-fast);
}

.header-container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--text-white);
  border-radius: 50%;
  margin-right: 10px;
  display: inline-block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-family);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-white);
  margin: 4px 0;
  transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.section-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 6rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  overflow: hidden;
}

/* Repeating Stripe/Linear Grid lines */
.hero-bg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: linear-gradient(rgba(0, 0, 0, 0.012) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.012) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-bg-gradients {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.orb-1 {
  width: 45vw;
  height: 45vw;
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, rgba(0,0,0,0) 70%);
}

.orb-2 {
  width: 50vw;
  height: 50vw;
  bottom: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.015) 0%, rgba(0,0,0,0) 70%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-content-wrapper {
  max-width: 650px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: 100px;
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-blue);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 8px var(--accent-blue);
}

.hero-headline {
  font-size: 4.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 2rem;
}

.hero-subheadline {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.trust-text {
  font-family: var(--font-family);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.trust-divider {
  width: 1px;
  height: 12px;
  background-color: var(--border-primary);
}

/* Hero Visual Block Layout (Mock Blueprint Frame) */
.hero-visual-wrapper {
  position: relative;
  z-index: 2;
}

.blueprint-card-frame {
  background-color: #ffffff;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.blueprint-card-header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-secondary);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-controls .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.window-controls .dot.red { background-color: #ff5f56; }
.window-controls .dot.yellow { background-color: #ffbd2e; }
.window-controls .dot.green { background-color: #27c93f; }

.window-title {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.window-status {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.blueprint-card-body {
  padding: 1.5rem;
}

/* --- Business Health Dashboard (Hero Visual) --- */
.dashboard-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-top-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1rem;
}

@media (max-width: 500px) {
  .dashboard-top-row {
    grid-template-columns: 1fr;
  }
}

.dashboard-panel {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.panel-overall {
  align-items: center;
  justify-content: center;
  text-align: center;
  border-color: var(--border-primary);
}

.panel-overall .panel-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  display: block;
}

.panel-overall .panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  font-family: var(--font-family);
}

.large-gauge-container {
  width: 110px;
  height: 110px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (max-width: 500px) {
  .dashboard-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.panel-metric {
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: var(--bg-secondary);
  flex-direction: column;
}

.metric-label {
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-align: center;
  display: block;
}

.metric-gauge-wrapper {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gauge SVG Styling */
.circular-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.circle-bg {
  stroke: var(--border-secondary);
}

.panel-overall .circle-bg {
  stroke: var(--border-primary);
}

.circle {
  stroke: var(--text-white);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge-overall-fill { animation: fill-overall 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.gauge-health-fill { animation: fill-health 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.gauge-web-fill { animation: fill-web 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.gauge-trust-fill { animation: fill-trust 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.gauge-growth-fill { animation: fill-growth 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes fill-overall { to { stroke-dashoffset: 22; } } /* 78% */
@keyframes fill-health { to { stroke-dashoffset: 18; } } /* 82% */
@keyframes fill-web { to { stroke-dashoffset: 26; } } /* 74% */
@keyframes fill-trust { to { stroke-dashoffset: 12; } } /* 88% */
@keyframes fill-growth { to { stroke-dashoffset: 9; } } /* 91% */

.percentage-value {
  fill: var(--text-white);
}

.percentage-label {
  fill: var(--text-muted);
  letter-spacing: 0.05em;
}

.percentage {
  fill: var(--text-white);
}

.overall-status-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
}

.status-indicator-dot.green {
  background-color: var(--success-color);
  box-shadow: 0 0 8px var(--success-color);
}

/* Bottom Row */
.dashboard-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1rem;
}

@media (max-width: 500px) {
  .dashboard-bottom-row {
    grid-template-columns: 1fr;
  }
}

.panel-automation {
  justify-content: center;
  padding: 1.25rem;
  background-color: var(--bg-secondary);
}

.automation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.automation-header .metric-label {
  margin-bottom: 0;
  text-align: left;
}

.automation-val {
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background-color: var(--border-primary);
  border-radius: 100px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--text-white);
  border-radius: 100px;
  animation: fill-bar 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fill-bar {
  from { width: 0; }
}

.panel-trend {
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-color: var(--border-primary);
}

.trend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.trend-header .metric-label {
  margin-bottom: 0;
}

.trend-chart-container {
  width: 100%;
  height: 45px;
}

.trend-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.blueprint-item-check.warning .icon {
  background-color: #fff3cd;
  color: var(--warning-color);
}

.blueprint-item-check.success .icon {
  background-color: #d4edda;
  color: var(--success-color);
}

.block-title {
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  display: block;
}

.block-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
  margin-top: 0.1rem;
}

/* --- 3. Trusted Business Experience --- */
.section-experience {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

@media (max-width: 991px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.experience-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-md);
  padding: 3rem 2.2rem;
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.experience-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.exp-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--text-white);
}

.exp-stat {
  font-family: var(--font-family);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.exp-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* --- Trust Pill above Pricing --- */
.pricing-trust-statement {
  text-align: center;
  margin-bottom: 3.5rem;
  margin-top: -1.5rem;
}

.pricing-trust-inner {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: 100px;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
}

.trust-highlight {
  color: var(--text-white);
  font-weight: 600;
}

.trust-divider-dot {
  color: var(--border-primary);
  margin: 0 0.5rem;
}

@media (max-width: 768px) {
  .pricing-trust-inner {
    border-radius: var(--radius-sm);
    padding: 1rem;
    display: block;
    text-align: center;
  }
  .trust-divider-dot {
    display: none;
  }
  .pricing-trust-inner span {
    display: block;
    text-align: center;
  }
}

/* --- Footer Capabilities --- */
.footer-capabilities {
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.footer-capabilities .cap-sep {
  color: var(--border-primary);
  margin: 0 0.2rem;
}

@media (max-width: 768px) {
  .footer-capabilities {
    justify-content: center;
  }
}

/* --- 4. Why Businesses Stop Growing Section --- */
.section-problem {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.problem-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  transition: all var(--transition-medium);
}

.problem-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.card-num {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.problem-card-title {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.problem-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.problem-bottom-statement {
  margin-top: 6rem;
  text-align: center;
}

.problem-bottom-statement .statement-text {
  font-family: var(--font-family);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
}

.problem-bottom-statement .highlight-black {
  color: var(--text-white);
}

/* --- 5. Introducing Section --- */
.section-solution {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.solution-body-lead {
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.solution-body-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.solution-actions {
  margin-top: 2rem;
}

/* Visual schematic flow diagram */
.solution-visual-box {
  width: 100%;
}

.glass-container-luxury {
  background-color: #ffffff;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
  position: relative;
}

.blueprint-schematic {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.node {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  position: relative;
}

.node-label {
  font-family: var(--font-family);
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

.node-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.flow-line {
  width: 2px;
  height: 40px;
  background-color: var(--border-primary);
  position: relative;
}

.flow-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--border-primary);
}

.warning-border {
  border-color: rgba(177, 110, 0, 0.25);
}

.blocker-pill {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(4deg);
  background-color: #e03131;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(224, 49, 49, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.success-border {
  border-color: rgba(46, 164, 79, 0.4);
  box-shadow: 0 0 15px rgba(46, 164, 79, 0.05);
}

.success-pill {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  background-color: var(--success-color);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(46, 164, 79, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.arrow-down-anim::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1), transparent);
  animation: flow-arrow-animation 2s linear infinite;
}

.arrow-down-anim.next-edition-flow::before {
  background: linear-gradient(to bottom, transparent, var(--text-white), transparent);
}

@keyframes flow-arrow-animation {
  0% { top: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 80%; opacity: 0; }
}

/* --- 6. Inside Your Business Blueprint Section --- */
.section-deliverables {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.deliv-grid-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: all var(--transition-medium);
}

.deliv-grid-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
}

.deliv-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.deliv-card-num {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.deliv-card-title {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.deliv-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --- 6.5. Preview Your Business Blueprint Section --- */
.section-preview {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-secondary);
  border-bottom: 1px solid var(--border-secondary);
  position: relative;
  overflow: hidden;
}

.preview-mockup-wrapper {
  position: relative;
  z-index: 2;
}

.preview-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.preview-card {
  background-color: #ffffff;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-luxury);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
}

.preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  border-color: var(--text-muted);
}

.preview-card.roadmap-card {
  grid-column: span 2;
}

.preview-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.preview-badge {
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border-secondary);
}

.preview-card-title {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.preview-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.abstract-visual {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}

.line-skeleton {
  height: 8px;
  background-color: var(--border-primary);
  border-radius: 4px;
}
.line-skeleton.width-80 { width: 80%; }
.line-skeleton.width-60 { width: 60%; }
.line-skeleton.width-90 { width: 90%; }

.summary-bullets {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bullet-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
}
.dot-green {
  width: 6px;
  height: 6px;
  background-color: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-blue);
}

.health-visual {
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
}
.health-score-container {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.score-ring {
  transform: rotate(-90deg);
  width: 80px;
  height: 80px;
}
.ring-bg {
  stroke: var(--border-primary);
}
.ring-fill {
  stroke: var(--text-white);
  transition: stroke-dasharray 1s ease-in-out;
}
.health-score-num {
  position: absolute;
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
}
.health-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}
.metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  border-bottom: 1px dashed var(--border-primary);
  padding-bottom: 0.25rem;
}
.metric-label {
  color: var(--text-secondary);
}
.metric-val {
  font-weight: 600;
  color: var(--text-white);
}

.growth-visual {
  align-items: center;
  justify-content: center;
}
.growth-funnel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 180px;
}
.funnel-tier {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 4px;
  padding: 0.4rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.funnel-tier.tier-1 { width: 100%; color: var(--text-white); border-color: var(--text-muted); }
.funnel-tier.tier-2 { width: 80%; margin: 0 auto; }
.funnel-tier.tier-3 { width: 60%; margin: 0 auto; background-color: var(--text-white); color: var(--bg-primary); border-color: var(--text-white); }

.competitor-visual {
  padding: 1rem;
}
.comp-matrix {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.matrix-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  padding: 0.4rem 0;
  font-size: 0.75rem;
  border-bottom: 1px solid var(--border-primary);
  align-items: center;
}
.matrix-row:last-child {
  border-bottom: none;
}
.matrix-row.header-row {
  font-weight: 700;
  color: var(--text-white);
  border-bottom-color: var(--text-muted);
}
.matrix-row span {
  text-align: center;
}
.matrix-row span:first-child {
  text-align: left;
  color: var(--text-secondary);
  font-weight: 500;
}
.circle-empty {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.circle-fill {
  color: var(--text-white);
  font-size: 0.85rem;
}

.roadmap-visual {
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 1.5rem 2rem;
  gap: 1.5rem;
}
.roadmap-timeline {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
}
.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--border-primary) 50%, transparent 50%);
  background-size: 8px 2px;
  z-index: 1;
}
.roadmap-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 2;
  flex: 1;
}
.step-tag {
  font-family: var(--font-family);
  font-size: 0.7rem;
  font-weight: 600;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-primary);
  color: var(--text-white);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}
.roadmap-step:last-child .step-tag {
  background-color: var(--text-white);
  border-color: var(--text-white);
  color: var(--bg-primary);
}
.step-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
}

.preview-personal-note {
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 4rem;
  letter-spacing: -0.01em;
}

/* --- 7. Pricing Section --- */
.section-packages {
  padding: 6.5rem 0;
  position: relative;
  background-color: var(--bg-primary);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.package-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-medium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.package-card:hover {
  border-color: var(--text-white);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

/* Featured Card (Edition Plus) styled solid black */
.package-card-featured {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
  box-shadow: var(--shadow-dark-card);
}

.package-card-featured h3,
.package-card-featured .package-price,
.package-card-featured strong {
  color: #ffffff;
}

.package-card-featured p,
.package-card-featured .package-subtitle {
  color: #a1a1a6;
}

.package-card-featured .package-divider {
  background-color: #222225;
}

.badge-featured {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-blue);
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.25);
}

.package-card-featured .package-features li.included {
  color: #ffffff;
}
.package-card-featured .package-features li.included::before {
  color: #ffffff;
}
.package-card-featured .package-features li.excluded {
  color: #515154;
}

.package-header {
  margin-bottom: 2.25rem;
}

.package-name {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.package-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.75rem;
  min-height: 40px;
}

.package-price {
  display: flex;
  align-items: flex-start;
  color: var(--text-white);
  font-weight: 700;
}

.package-price .currency {
  font-size: 1.5rem;
  margin-top: 0.4rem;
  margin-right: 2px;
}

.package-price .amount {
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.package-divider {
  height: 1px;
  background-color: var(--border-secondary);
  margin-bottom: 2.25rem;
}

.package-features {
  margin-bottom: 3.5rem;
  flex-grow: 1;
}

.package-features ul {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.package-features li {
  font-size: 0.875rem;
  position: relative;
  padding-left: 1.75rem;
}

.package-features li.included {
  color: var(--text-primary);
}

.package-features li.included::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--text-white);
  font-weight: 700;
}

.package-card-featured .package-features li.included::before {
  color: #ffffff;
}

.package-features li.excluded {
  color: var(--text-muted);
  text-decoration: line-through;
}

.package-features li.excluded::before {
  content: '×';
  position: absolute;
  left: 2px;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}

.package-footer {
  margin-top: auto;
}

.package-card-featured .btn-primary {
  background-color: #ffffff;
  color: #000000;
}

.package-card-featured .btn-primary:hover {
  background-color: #f5f5f7;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* --- 8. How It Works Section --- */
.section-how-it-works {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-secondary);
  border-bottom: 1px solid var(--border-secondary);
  overflow: hidden;
}

.steps-timeline {
  position: relative;
  margin-top: 5rem;
}

.timeline-bar-bg {
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--border-primary);
  z-index: 1;
}

.timeline-bar-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--text-white);
  transition: width var(--transition-slow);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.step-card {
  display: flex;
  flex-direction: column;
}

.step-number-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 2.25rem;
  transition: all var(--transition-medium);
}

.step-card.active .step-number-badge {
  border-color: var(--text-white);
  background-color: var(--text-white);
  color: var(--bg-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.step-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.step-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- 9. The Edition Finder Difference Section --- */
.section-difference {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.difference-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.difference-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.diff-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--text-white);
}

.diff-card-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.diff-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --- 10. Built by Ahmed Section --- */
.section-built-by-ahmed {
  padding: 5.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-secondary);
  border-bottom: 1px solid var(--border-secondary);
}

.built-by-wrapper {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.built-by-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.built-by-text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.built-by-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.built-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-secondary);
  border-radius: 100px;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.badge-check-icon {
  color: var(--text-white);
  font-weight: 700;
  margin-right: 6px;
}

/* --- 11. FAQ Section --- */
.section-faq {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-secondary);
  border-bottom: 1px solid var(--border-secondary);
}

.faq-accordion-container {
  max-width: 820px;
  margin: 0 auto;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border-primary);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  cursor: pointer;
  outline: none;
  text-align: left;
}

.faq-question {
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-white);
  transition: color var(--transition-fast);
  padding-right: 2rem;
}

.faq-trigger:hover .faq-question {
  color: var(--text-secondary);
}

.faq-icon {
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform var(--transition-medium);
}

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

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.faq-answer {
  padding-bottom: 2rem;
  font-size: 1.025rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* --- 12. Form & Success Section --- */
.section-form {
  padding: 6.5rem 0;
  position: relative;
  background-color: var(--bg-primary);
}

.form-max-container {
  max-width: 780px;
}

.form-card-wrapper {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-lg);
  padding: 5rem 4.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
  position: relative;
  transition: all var(--transition-medium);
}

.form-header {
  text-align: center;
  margin-bottom: 4rem;
}

.form-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.form-subtitle {
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

.blueprint-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.span-full {
  grid-column: span 2;
}

.form-group label {
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.form-group label .required {
  color: var(--warning-color);
}

.form-group label .optional {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  background-color: #ffffff;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 1.25rem) center;
  padding-right: 3rem;
}

.form-group select option {
  background-color: #ffffff;
  color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--text-white);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Inline Validation Errors */
.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
  border-color: rgba(224, 49, 49, 0.6);
  background-color: rgba(224, 49, 49, 0.01);
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #c92a2a;
  margin-top: 0.5rem;
}

.form-group.invalid .error-msg {
  display: block;
}

.payment-note-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: #ffffff;
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.note-icon {
  color: var(--text-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.payment-note-text {
  font-size: 0.85rem;
  line-height: 1.5;
}

.loader-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-left-color: #ffffff;
  border-radius: 50%;
  animation: spinner-rotation 0.8s linear infinite;
  display: inline-block;
}

@keyframes spinner-rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form Success State */
.form-state-success {
  animation: fade-scale-in var(--transition-medium) forwards;
}

@keyframes fade-scale-in {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.success-header {
  text-align: center;
  margin-bottom: 4rem;
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.5rem auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.success-checkmark path {
  stroke: #ffffff;
}

.payment-container-box {
  margin-bottom: 4rem;
}

.payment-box-title {
  font-family: var(--font-family);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  text-align: center;
}

.payment-methods-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.payment-methods-tabs .span-full {
  grid-column: span 2;
}

.payment-card-method {
  background-color: #ffffff;
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.method-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.method-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
}

.method-badge {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.method-desc {
  font-size: 0.85rem;
  margin-bottom: 1.75rem;
  min-height: 40px;
}

.copy-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.copy-field:last-child {
  margin-bottom: 0;
}

.copy-label {
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.copy-input-group {
  display: flex;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.copy-input-text {
  font-family: monospace;
  font-size: 0.85rem;
  flex-grow: 1;
  background: none;
  border: none;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  outline: none;
}

.btn-copy {
  background-color: var(--border-secondary);
  border: none;
  border-left: 1px solid var(--border-secondary);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background-color: var(--border-primary);
  color: var(--text-white);
}

.btn-copy.copied {
  background-color: var(--text-white);
  color: var(--bg-primary);
}

.bank-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.success-next-steps {
  background-color: #ffffff;
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
}

.steps-title {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.steps-list-success {
  list-style: decimal;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.steps-list-success li {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.steps-list-success li a {
  color: var(--text-white);
  text-decoration: underline;
}

#btn-reset-form {
  margin-top: 1rem;
}

/* --- 13. Final CTA Section --- */
.section-final-cta {
  padding: 7.5rem 0;
  background-color: var(--bg-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.02) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
}

.final-cta-wrapper {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.final-cta-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.final-cta-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- 14. Footer Section --- */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-secondary);
  padding: 6rem 0 4rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-slogan {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col .col-title {
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.footer-links-group a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links-group a:hover {
  color: var(--text-white);
}

.footer-bottom {
  grid-column: span 2;
  border-top: 1px solid var(--border-secondary);
  padding-top: 3rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright,
.hosting-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Animation Utilities (Scroll Reveal) --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* --- Responsive Breakpoints --- */

@media (max-width: 1100px) {
  .hero-headline {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .final-cta-title {
    font-size: 3rem;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }
  
  .section-problem,
  .section-solution,
  .section-deliverables,
  .section-packages,
  .section-how-it-works,
  .section-difference,
  .section-built-by-ahmed,
  .section-faq,
  .section-form,
  .section-final-cta {
    padding: 4.5rem 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero-content-wrapper {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-trust {
    justify-content: center;
  }
  
  .hero-visual-wrapper {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .problem-bottom-statement .statement-text {
    font-size: 1.4rem;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .solution-content {
    max-width: 100%;
    text-align: center;
  }

  .deliverables-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .package-card-featured {
    order: -1;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .timeline-bar-bg {
    display: none;
  }
  
  .step-card {
    align-items: center;
    text-align: center;
  }
  
  .step-number-badge {
    margin-bottom: 1.5rem;
  }

  .difference-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-links-group {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    grid-column: span 1;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .preview-dashboard {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .preview-card.roadmap-card {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .section-hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 6rem;
  }

  .hero-headline {
    font-size: 2.75rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

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

  .form-card-wrapper {
    padding: 3.5rem 2rem;
  }

  .blueprint-form .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-group.span-full {
    grid-column: span 1;
  }
  
  .payment-methods-tabs {
    grid-template-columns: 1fr;
  }
  
  .payment-methods-tabs .span-full {
    grid-column: span 1;
  }

  .bank-details-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .mobile-toggle {
    display: block;
    z-index: 110;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-primary);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transition: right var(--transition-medium);
    z-index: 105;
  }

  .nav-menu.active {
    right: 0;
  }
  
  .header-cta {
    display: none;
  }

  .mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .mobile-toggle.active .bar:nth-child(2) {
    transform: translateY(-6px) rotate(-45deg);
  }
  
  .preview-dashboard {
    grid-template-columns: 1fr;
  }
  
  .preview-card.roadmap-card {
    grid-column: span 1;
  }
  
  .roadmap-visual {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
  }
  
  .roadmap-timeline {
    flex-direction: column;
    gap: 1.25rem;
  }
  
  .roadmap-timeline::before {
    display: none;
  }
  
  .roadmap-step {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    align-items: center;
  }
  
  .roadmap-step .step-desc {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.25rem;
  }
  
  .hero-trust {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .trust-divider {
    display: none;
  }

  .section-title {
    font-size: 1.85rem;
  }
  
  .final-cta-title {
    font-size: 2.1rem;
  }
  
  .form-title {
    font-size: 1.85rem;
  }
  
  /* Responsive additions */
  .stages-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .why-split-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .why-stats-grid {
    grid-template-columns: 1fr;
  }
  .one-partner-wrapper {
    padding: 3rem 1.5rem;
  }
  .one-partner-title {
    font-size: 1.85rem;
  }
  .consultation-card {
    padding: 3rem 1.5rem;
  }
  .consultation-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .subpage-title {
    font-size: 2.5rem;
  }
  .pillar-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .subpage-cta-card {
    padding: 3rem 1.5rem;
  }
  .subpage-cta-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .subpage-cta-actions .btn {
    width: 100%;
  }
}

/* ==========================================
   New Grid, Section & Subpage Layouts
   ========================================== */

/* --- Business Stages --- */
.section-stages {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
}
.stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}
.stage-card {
  background-color: var(--bg-primary);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  transition: all var(--transition-medium);
}
.stage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
}
.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.stage-number {
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}
.stage-card-title {
  font-family: var(--font-family);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
}
.stage-card-text {
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.stages-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-primary);
}
.ticker-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.stages-ticker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-white);
}
.dot-sep {
  color: var(--border-primary);
}

/* --- Services Overview --- */
.section-services-overview {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}
.service-card {
  background-color: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
}
.service-card-title {
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}
.service-card-text {
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex-grow: 1;
}
.service-link {
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}
.service-link:hover {
  color: var(--text-muted);
}
.services-cta-banner {
  margin-top: 4rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.banner-title {
  font-family: var(--font-family);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}
.banner-desc {
  font-family: var(--font-family-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2rem;
}

/* --- Why Edition Finder --- */
.section-why-finder {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
}
.why-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 3.5rem;
}
.why-subtitle {
  font-family: var(--font-family);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.why-text {
  font-family: var(--font-family-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.why-quotes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 2px solid var(--text-white);
  padding-left: 1.5rem;
}
.why-quote-item {
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text-white);
}
.why-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.why-stat-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-primary);
  padding: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-num {
  font-family: var(--font-family);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-family-sans);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* --- One Partner Section --- */
.section-one-partner {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
}
.one-partner-wrapper {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 4.5rem;
  text-align: center;
}
.one-partner-title {
  font-family: var(--font-family);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-white);
  margin-top: 1rem;
  margin-bottom: 3rem;
  line-height: 1.2;
}
.one-partner-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.partner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.partner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-white);
}
.partner-text {
  font-family: var(--font-family-sans);
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.one-partner-conclusion {
  font-family: var(--font-family-sans);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}
.one-partner-conclusion strong {
  color: var(--text-white);
}

/* --- Free Consultation --- */
.section-free-consultation {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
}
.consultation-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 4.5rem;
}
.consultation-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.consultation-title {
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.consultation-subtitle {
  font-family: var(--font-family);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-muted);
}
.consultation-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}
.column-header {
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}
.consultation-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.consultation-list li {
  position: relative;
  padding-left: 1.75rem;
  font-family: var(--font-family-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.consultation-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-weight: bold;
}
.consultation-list.checklist li::before {
  content: "✓";
  color: var(--text-white);
}
.consultation-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--border-primary);
  padding-top: 3.5rem;
}
.consultation-note {
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- Case Studies --- */
.section-work {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.work-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.work-tag {
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.work-card-title {
  font-family: var(--font-family);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}
.work-card-desc {
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex-grow: 1;
}
.work-metric {
  border-top: 1px solid var(--border-primary);
  padding-top: 1rem;
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.metric-num {
  font-family: var(--font-family);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-white);
}
.metric-label {
  font-family: var(--font-family-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
}

/* --- Subpage Layouts --- */
.section-subpage-header {
  position: relative;
  padding: 10rem 0 5rem 0;
  background-color: var(--bg-primary);
  text-align: center;
  border-bottom: 1px solid var(--border-primary);
}
.subpage-header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.subpage-title {
  font-family: var(--font-family);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.subpage-desc {
  font-family: var(--font-family-sans);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.section-services-details {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
}
.services-detail-list {
  display: flex;
  flex-direction: column;
  gap: 6.5rem;
}
.service-detail-item {
  border-bottom: 1px solid var(--border-primary);
  padding-bottom: 6.5rem;
}
.service-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.service-detail-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.pillar-number {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-muted);
}
.pillar-title {
  font-family: var(--font-family);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-white);
}
.pillar-desc-lead {
  font-family: var(--font-family-sans);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 900px;
}
.pillar-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4.5rem;
}
.pillar-left p {
  font-family: var(--font-family-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.pillar-list-title {
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.2rem;
}
.pillar-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.pillar-bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.pillar-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-weight: bold;
}

.section-subpage-cta {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
}
.subpage-cta-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-primary);
  padding: 4.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
}
.subpage-cta-title {
  font-family: var(--font-family);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1rem;
}
.subpage-cta-desc {
  font-family: var(--font-family-sans);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem auto;
}
.subpage-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Median Layout Adjustments */
@media (max-width: 1024px) {
  .stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-split-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .why-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .consultation-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Trust Section --- */
.section-trust {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
}
.trust-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 4.5rem;
  text-align: center;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  text-align: left;
}
.trust-bullet {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.bullet-check {
  font-weight: bold;
  color: var(--text-white);
  font-size: 1.15rem;
}
.trust-bullet-text {
  font-family: var(--font-family-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.trust-conclusion {
  max-width: 600px;
  margin: 0 auto;
  font-family: var(--font-family-sans);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.trust-conclusion-note {
  margin-top: 0.75rem;
  font-family: var(--font-family);
  color: var(--text-white);
  font-size: 1.25rem;
}

/* --- Split Process & Why Us Layout --- */
.why-process-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5rem;
  margin-top: 2rem;
}
.vertical-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  padding-left: 0.5rem;
  margin-top: 1rem;
}
.vertical-timeline::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background-color: var(--border-primary);
}
.timeline-step-item {
  display: flex;
  gap: 2rem;
  position: relative;
  z-index: 2;
}
.timeline-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
  flex-shrink: 0;
  transition: all var(--transition-medium);
}
.timeline-step-item:hover .timeline-badge {
  background-color: var(--text-white);
  color: var(--bg-primary);
  border-color: var(--text-white);
}
.timeline-step-content {
  flex-grow: 1;
}
.timeline-step-title {
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}
.timeline-step-text {
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.stats-compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .why-process-split {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }
}
@media (max-width: 768px) {
  .stats-compact-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .vertical-timeline::before {
    left: 1rem;
  }
  .timeline-badge {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }
  .timeline-step-item {
    gap: 1.25rem;
  }
}

/* Vertical Timeline Active Highlight States */
.timeline-step-item .timeline-step-title,
.timeline-step-item .timeline-step-text {
  transition: color var(--transition-medium) ease;
}
.timeline-step-item.active .timeline-badge {
  background-color: var(--text-white);
  color: var(--bg-primary);
  border-color: var(--text-white);
}
.timeline-step-item.active .timeline-step-title {
  color: var(--text-white);
}
.timeline-step-item.active .timeline-step-text {
  color: var(--text-secondary);
}

/* Global Section Spacing Flow Optimizations */
.section-problem,
.section-services-overview,
.section-how-it-works,
.section-work,
.section-free-consultation,
.section-final-cta,
.section-form,
.section-why-finder,
.section-one-partner,
.section-trust,
.section-subpage-header,
.section-subpage-cta {
  padding: 4rem 0 !important;
}

/* Reduce Hero bottom margin to pull next section closer */
.hero {
  padding-bottom: 4rem !important;
}

@media (max-width: 768px) {
  .section-problem,
  .section-services-overview,
  .section-how-it-works,
  .section-work,
  .section-free-consultation,
  .section-final-cta,
  .section-form,
  .section-why-finder,
  .section-one-partner,
  .section-trust,
  .section-subpage-header,
  .section-subpage-cta {
    padding: 2.5rem 0 !important;
  }
  .hero {
    padding-bottom: 2.5rem !important;
  }
}

/* --- Language Selector in Navigation Bar --- */
.lang-selector-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1rem;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 700;
}
.lang-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast) ease;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}
.lang-nav-link:hover {
  color: var(--text-white);
}
.lang-nav-link.active {
  color: var(--text-white);
  background-color: var(--border-primary);
}
.lang-nav-divider {
  color: var(--border-primary);
  font-size: 0.8rem;
}

@media (max-width: 1024px) {
  .lang-selector-nav {
    margin-right: 0;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
  }
}

/* --- Phone Input with Country Code Selector --- */
.phone-input-container {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}
.country-code-select {
  flex: 0 0 135px;
  width: 135px;
  padding: 0.8rem 0.4rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: var(--font-family);
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}
.country-code-select option {
  background-color: var(--bg-card);
  color: var(--text-white);
}
.country-code-select:focus {
  border-color: var(--text-white);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
.phone-input-container input[type="tel"] {
  flex: 1;
  margin-top: 0 !important;
}

/* --- RTL Support (Arabic) --- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

[dir="rtl"],
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] a,
[dir="rtl"] span,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] label {
  font-family: 'Alilato', 'Cairo', sans-serif !important;
}

[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] body {
  text-align: right;
}

/* Force centered sections to stay centered */
[dir="rtl"] .text-center,
[dir="rtl"] .text-center *,
[dir="rtl"] .consultation-header,
[dir="rtl"] .consultation-header *,
[dir="rtl"] .form-header,
[dir="rtl"] .form-header *,
[dir="rtl"] .trust-card,
[dir="rtl"] .trust-card *,
[dir="rtl"] .final-cta-wrapper,
[dir="rtl"] .final-cta-wrapper *,
[dir="rtl"] .success-header,
[dir="rtl"] .success-header *,
[dir="rtl"] .subpage-header-content,
[dir="rtl"] .subpage-header-content *,
[dir="rtl"] .subpage-cta-card,
[dir="rtl"] .subpage-cta-card *,
[dir="rtl"] .problem-bottom-statement,
[dir="rtl"] .problem-bottom-statement *,
[dir="rtl"] .services-cta-banner,
[dir="rtl"] .services-cta-banner * {
  text-align: center !important;
}

/* Specific text alignment overrides (right-aligned to mirror left-aligned LTR) */
[dir="rtl"] .section-intro,
[dir="rtl"] .section-intro * {
  text-align: right !important;
}

[dir="rtl"] .hero-content,
[dir="rtl"] .hero-content * {
  text-align: right !important;
}

[dir="rtl"] .process-column,
[dir="rtl"] .process-column *,
[dir="rtl"] .why-us-column,
[dir="rtl"] .why-us-column * {
  text-align: right !important;
}

[dir="rtl"] .problem-card {
  text-align: right !important;
}

[dir="rtl"] .service-card {
  text-align: right !important;
}

[dir="rtl"] .why-text-block {
  text-align: right !important;
}

[dir="rtl"] .why-quote-item {
  text-align: right !important;
}

[dir="rtl"] .why-stat-card {
  text-align: right !important;
}

[dir="rtl"] .work-card {
  text-align: right !important;
}

[dir="rtl"] .work-metric {
  text-align: right !important;
}

[dir="rtl"] .consultation-info-col,
[dir="rtl"] .consultation-trust-col {
  text-align: right !important;
}

[dir="rtl"] .form-group {
  text-align: right !important;
}

[dir="rtl"] .form-group label {
  text-align: right !important;
  display: block;
}

/* Sticky Navigation Bar RTL margins (let flex-direction run natively) */



[dir="rtl"] .lang-selector-nav {
  margin-right: 0 !important;
  margin-left: 1.5rem !important;
}

/* Split Timeline Alignment */
[dir="rtl"] .why-process-split {
  grid-template-columns: 1fr 1.15fr;
}
[dir="rtl"] .vertical-timeline {
  padding-left: 0;
  padding-right: 0.5rem;
}
[dir="rtl"] .vertical-timeline::before {
  left: auto;
  right: 1.5rem;
}
[dir="rtl"] .timeline-step-content {
  text-align: right;
}
[dir="rtl"] .timeline-badge {
  margin-left: 0;
  margin-right: 0.5rem;
}

/* Philosophy/Stats */
[dir="rtl"] .why-quotes {
  border-left: none;
  border-right: 2px solid var(--border-primary);
  padding-left: 0;
  padding-right: 1.5rem;
  text-align: right;
}

/* Checklists & Lists alignments (fixing overlapping checks) */
[dir="rtl"] .consultation-list li {
  padding-left: 0 !important;
  padding-right: 1.75rem !important;
  text-align: right !important;
}
[dir="rtl"] .consultation-list li::before {
  left: auto !important;
  right: 0 !important;
}
[dir="rtl"] .consultation-quote-box {
  border-left: none;
  border-right: 2px solid var(--text-white);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  text-align: right;
}

[dir="rtl"] .pillar-bullet-list li {
  padding-left: 0 !important;
  padding-right: 1.5rem !important;
  text-align: right !important;
}
[dir="rtl"] .pillar-bullet-list li::before {
  left: auto !important;
  right: 0 !important;
}

/* Forms check inputs */
[dir="rtl"] .checkbox-group label {
  margin-left: 0 !important;
  margin-right: 0.75rem !important;
  display: inline !important;
}

/* Footer styling */
[dir="rtl"] .footer-brand {
  text-align: right;
}
[dir="rtl"] .footer-col {
  text-align: right;
}


  [dir="rtl"] .nav-menu a {
    margin-right: 0 !important;
    margin-bottom: 1.25rem;
  }
  [dir="rtl"] .nav-menu .btn {
    margin-right: 0 !important;
  }
  [dir="rtl"] .lang-selector-nav {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 768px) {
  [dir="rtl"] .hero-content,
  [dir="rtl"] .hero-content * {
    text-align: center !important;
  }
}


/* ==========================================================================
   MASTER UNIFIED NAVIGATION & RESPONSIVE SYSTEM (AIRTIGHT Z-INDEX LAYER)
   ========================================================================== */

/* Universal Box-Sizing & Viewport Boundary Lock */
*, *::before, *::after {
  box-sizing: border-box !important;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

main, section, footer, .container, .hero-container {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

.header, .header-container {
  overflow: visible !important;
}

/* Nav Overlay Backdrop (Sits UNDER Header & Drawer) */
.nav-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 900 !important; /* Low layer under header & drawer */
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.nav-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Header Navbar Styling (Layer 1000) */
.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: var(--header-height, 70px) !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  align-items: center !important;
}

.header-container {
  width: 92% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
}

/* --------------------------------------------------
   DESKTOP VIEWPORT (> 1024px) - APPLE MINIMALIST HEADER
   -------------------------------------------------- */
@media (min-width: 1025px) {
  .mobile-toggle {
    display: none !important;
  }

  .header-cta {
    display: block !important;
    margin: 0 !important;
  }

  .nav-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    height: auto !important;
    width: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.35rem !important;
    padding: 0 !important;
    z-index: 1005 !important;
    overflow: visible !important;
    margin: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: auto !important;
  }

  .nav-menu a.nav-link {
    color: #475569 !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: color 0.2s ease !important;
    margin: 0 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  .nav-menu a.nav-link:hover {
    color: #0f172a !important;
  }

  .lang-selector-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    margin-left: 0.75rem !important;
    padding-left: 0.75rem !important;
    border-left: 1px solid rgba(0, 0, 0, 0.12) !important;
    pointer-events: auto !important;
  }

  [dir="rtl"] .lang-selector-nav {
    margin-left: 0 !important;
    margin-right: 0.75rem !important;
    padding-left: 0 !important;
    padding-right: 0.75rem !important;
    border-left: none !important;
    border-right: 1px solid rgba(0, 0, 0, 0.12) !important;
    transform: translateY(1.5px) !important;
  }

  .lang-selector-nav .lang-nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #475569 !important;
    text-decoration: none !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  .lang-selector-nav .lang-nav-link.active {
    color: #0f172a !important;
    font-weight: 700 !important;
    background-color: rgba(15, 23, 42, 0.08) !important;
  }

  .lang-selector-nav .lang-nav-divider {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    color: #475569 !important;
    font-size: 0.75rem !important;
    opacity: 0.6 !important;
    margin: 0 !important;
  }
}

/* --------------------------------------------------
   TABLET & MOBILE VIEWPORTS (<= 1024px) - DRAWER LAYER 1005
   -------------------------------------------------- */
@media (max-width: 1024px) {
  .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .header-cta {
    display: none !important;
  }

  /* Mobile Hamburger Button (Layer 1010) */
  .mobile-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    z-index: 1010 !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: auto !important;
  }

  .mobile-toggle .bar {
    display: block !important;
    width: 24px !important;
    height: 2.5px !important;
    background-color: #0f172a !important;
    margin: 3px 0 !important;
    border-radius: 2px !important;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease !important;
  }

  .mobile-toggle.active .bar {
    background-color: #ffffff !important;
  }

  .mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg) !important;
  }
  .mobile-toggle.active .bar:nth-child(2) {
    opacity: 0 !important;
  }
  .mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg) !important;
  }

  /* Mobile Drawer Menu (Layer 1005 - HIGHER THAN OVERLAY 900) */
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    left: auto !important;
    width: 85% !important;
    max-width: 300px !important;
    height: 100vh !important;
    background-color: #0b0c10 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 5.5rem 1.75rem 2.5rem !important;
    gap: 1.25rem !important;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 1005 !important; /* Higher than nav-overlay (900) */
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9) !important;
    overflow-y: auto !important;
    margin: 0 !important;
    pointer-events: auto !important;
  }

  .nav-menu.active {
    right: 0 !important;
    left: auto !important;
    pointer-events: auto !important;
  }

  /* PURE SHARP WHITE TEXT (LAYER 1006) */
  .nav-menu a.nav-link,
  .nav-menu .nav-link {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    width: 100% !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    text-align: left !important;
    display: block !important;
    text-decoration: none !important;
    margin: 0 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1006 !important;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2) !important;
  }

  .nav-menu a.nav-link:hover,
  .nav-menu .nav-link:hover {
    color: #38bdf8 !important;
  }

  .nav-menu .lang-selector-nav {
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: none !important;
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .nav-menu .lang-selector-nav .lang-nav-link {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    opacity: 1 !important;
    text-decoration: none !important;
    background: transparent !important;
    padding: 2px 6px !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1006 !important;
  }

  .nav-menu .lang-selector-nav .lang-nav-link.active {
    color: #ffffff !important;
    opacity: 1 !important;
    text-decoration: underline !important;
    background: transparent !important;
  }

  .nav-menu .lang-selector-nav .lang-nav-divider {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.85rem !important;
  }

  /* RTL Mobile Drawer Overrides */
  [dir="rtl"] .nav-menu {
    right: auto !important;
    left: -100% !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: none !important;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.9) !important;
    text-align: right !important;
  }

  [dir="rtl"] .nav-menu.active {
    left: 0 !important;
    right: auto !important;
  }

  [dir="rtl"] .nav-menu a.nav-link {
    text-align: right !important;
    margin: 0 !important;
  }

  /* Force Card Grids to Single Column on Mobile */
  .services-grid,
  .deliverables-grid,
  .problem-grid,
  .solution-grid,
  .packages-grid,
  .steps-grid,
  .difference-grid,
  .stages-grid,
  .why-split-container,
  .why-stats-grid,
  .consultation-split,
  .work-grid,
  .preview-dashboard,
  .footer-container {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .form-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1.25rem !important;
  }

  .form-group, .span-full {
    grid-column: span 1 !important;
    width: 100% !important;
  }

  .form-card-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 2.5rem 1.25rem !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  /* Typography fluid sizing */
  .hero-headline {
    font-size: clamp(2rem, 6.5vw, 3.25rem) !important;
    line-height: 1.2 !important;
  }

  .section-title,
  .subpage-title,
  .final-cta-title,
  .one-partner-title,
  .form-title {
    font-size: clamp(1.65rem, 5vw, 2.35rem) !important;
    line-height: 1.25 !important;
  }
}

/* Breakpoint 480px: Small Mobile Phones */
@media (max-width: 480px) {
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    width: 100% !important;
  }

  .form-card-wrapper,
  .one-partner-wrapper,
  .consultation-card {
    padding: 2rem 1rem !important;
    border-radius: 16px !important;
    width: 100% !important;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
  }

  .phone-input-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .country-code-select {
    width: 100% !important;
    min-width: 100% !important;
    flex: none !important;
  }

  .phone-input {
    width: 100% !important;
    flex: none !important;
  }

  .footer-links-group {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}
