/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --navy: #0f172a;
  --tint: #eff6ff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ==========================================================================
   Typography utilities
   ========================================================================== */
.section-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 4px;
}

.section-tag-sm {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-tag-md {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-tag-md-mt {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
  margin-top: 16px;
}

.feature-list {
  list-style: none;
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-bg-light {
  background: #f8fafc;
}

.section-bg-navy {
  background: var(--navy);
}

.section-bg-white {
  background: #fff;
}

.section-bg-tint {
  background: var(--tint);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-logo {
  font-family: "Quicksand", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo svg {
  width: 26px;
  height: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-cta-outline {
  color: var(--navy) !important;
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta-outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--primary-dark);
}

.nav-hamburger { display:none; background:none; border:none; cursor:pointer; color:var(--navy); padding:4px; }
.nav-mobile { display:none; flex-direction:column; gap:0; background:#fff; border-top:1px solid var(--border); }
.nav-mobile-open { display:flex; }
.nav-mobile a { padding:12px 24px; font-size:14px; color:var(--text); text-decoration:none; border-bottom:1px solid var(--border); }
.nav-mobile a:hover { background:var(--tint); }
.nav-mobile .nav-cta { background:var(--primary); color:#fff !important; margin:12px 24px; border-radius:8px; text-align:center; border:none; }
.nav-mobile .nav-cta-outline { color:var(--navy) !important; border:1px solid var(--border); margin:0 24px 12px; border-radius:8px; text-align:center; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 120px 0 60px;
  background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(37, 99, 235, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  color: var(--navy);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #16a34a;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 5px;
  height: 5px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  color: var(--navy);
}

.hero h1 .accent {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-sub {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

.hero-sub-link {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: none;
}

.hero-mockup {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-mockup-header {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.hero-mockup-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.hero-mockup-header span:first-child {
  background: #ef4444;
}

.hero-mockup-header span:nth-child(2) {
  background: #f59e0b;
}

.hero-mockup-header span:nth-child(3) {
  background: #22c55e;
}

.hero-mockup-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
}

.hero-mockup-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-mockup-nav div {
  height: 8px;
  border-radius: 4px;
  background: #f1f5f9;
}

.hero-mockup-nav div:first-child {
  background: rgba(37, 99, 235, 0.2);
}

.hero-mockup-nav-active {
  background: rgba(37, 99, 235, 0.3) !important;
}

.hero-mockup-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-mockup-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hm-kpi {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.hm-kpi-val {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.hm-kpi-lab {
  font-size: 9px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.hero-mockup-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.hm-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #f0f0f0;
  font-size: 11px;
  color: #475569;
}

.hm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hm-dot-green { background: #22c55e; }
.hm-dot-red { background: #ef4444; }
.hm-dot-blue { background: #3b82f6; }
.hm-dot-amber { background: #f59e0b; }

.hm-row span:nth-child(2) {
  flex: 1;
}

.hm-badge {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.hm-badge-red {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.hm-badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.hm-badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.hero-float {
  position: absolute;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
  top: -10px;
  right: -20px;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 20px;
  left: -30px;
  animation-delay: 2s;
}

.hero-float .hf-label {
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.hero-float .hf-value {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.hero-float .hf-value.green {
  color: #22c55e;
}

.hero-float .hf-value.blue {
  color: #2563eb;
}

/* ==========================================================================
   USP Strip
   ========================================================================== */
.usp-strip {
  padding: 14px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.usp-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.usp-item {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.usp-item svg {
  width: 15px;
  height: 15px;
  color: #22c55e;
  flex-shrink: 0;
}

.usp-item strong {
  color: var(--navy);
  font-weight: 700;
}

.usp-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}

/* ==========================================================================
   Pain Slider
   ========================================================================== */
.pain-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--navy) 0%, #0c1425 100%);
  position: relative;
  overflow: hidden;
}

.pain-section-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
}

.pain-section-inner {
  position: relative;
  z-index: 2;
}

.pain-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.pain-tag {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pain-heading {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.pain-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 12px;
}

.pain-text-last {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 28px;
}

.pain-slider-wrap {
  position: relative;
  min-height: 280px;
}

.pain-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}

.pain-slide-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pain-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pain-bubble {
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 85%;
  animation: bubbleIn 0.3s ease-out both;
}

.pain-bubble-left {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  backdrop-filter: blur(8px);
}

.pain-bubble-right {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.pain-label {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.pain-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.pain-dot {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.pain-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.2s;
}

.pain-dot-active::after {
  background: #fff;
}

.pain-slide-active .pain-bubble:nth-child(1) { animation-delay: 0s; }
.pain-slide-active .pain-bubble:nth-child(2) { animation-delay: 0.12s; }
.pain-slide-active .pain-bubble:nth-child(3) { animation-delay: 0.24s; }
.pain-slide-active .pain-bubble:nth-child(4) { animation-delay: 0.36s; }
.pain-slide-active .pain-bubble:nth-child(5) { animation-delay: 0.48s; }

/* ==========================================================================
   Section Titles
   ========================================================================== */
.stitle {
  text-align: center;
  margin-bottom: 48px;
}

.stitle h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.stitle p {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ==========================================================================
   Features & Branches
   ========================================================================== */
.features {
  padding: 80px 0;
}

.feat-branch-tabs {
  margin-bottom: 48px;
}

.feat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

.feat-row:nth-child(even) {
  direction: rtl;
}

.feat-row:nth-child(even) > * {
  direction: ltr;
}

.feat-row:last-child {
  margin-bottom: 0;
}

.feat-text .feat-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.feat-text h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--navy);
}

.feat-text p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
}

.feat-text ul {
  list-style: none;
}

.feat-text li {
  font-size: 14px;
  padding: 3px 0;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feat-text li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.feat-visual {
  background: linear-gradient(135deg, var(--tint), #dbeafe);
  border-radius: 16px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feat-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(37, 99, 235, 0.05) 100%);
}

.feat-visual-inner {
  position: relative;
  z-index: 1;
  padding: 32px;
  width: 100%;
}

.feat-mini-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 8px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feat-mini-card .badge {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.badge-green { background: #22c55e; }
.badge-blue { background: #3b82f6; }
.badge-amber { background: #f59e0b; }
.badge-red { background: #ef4444; }

/* Portal mockup cards */
.portal-mockup {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.portal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.portal-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.portal-subtitle {
  font-size: 10px;
  color: var(--muted);
  margin-left: auto;
}

.portal-section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.portal-section-label-mt {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 12px 0 6px;
}

.portal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #f8f8f8;
  font-size: 12px;
}

.portal-row:last-child {
  border-bottom: none;
}

.portal-row-name {
  color: var(--navy);
}

.portal-row-status-green {
  color: #22c55e;
  font-size: 10px;
  font-weight: 600;
}

.portal-row-status-blue {
  color: var(--primary);
  font-size: 10px;
  font-weight: 600;
}

/* Branch selector */
.branch-selector {
  max-width: 960px;
  margin: 0 auto;
}

.branch-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.branch-tab {
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.branch-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.branch-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.branch-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.branch-detail-header {
  margin-bottom: 12px;
}

.branch-detail-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
}

.branch-detail-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 4px;
}

.branch-detail-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.branch-detail-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.branch-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.branch-detail-tags span {
  padding: 4px 12px;
  background: var(--tint);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
}

.branch-detail-section {
  margin-bottom: 16px;
}

.bds-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.branch-detail-right ul {
  list-style: none;
}

.branch-detail-right li {
  font-size: 13px;
  padding: 3px 0;
}

.branch-detail-right li::before {
  content: "\2713 ";
  color: var(--primary);
  font-weight: 700;
  margin-right: 6px;
}

.bds-base li {
  color: var(--muted);
}

.bds-base li::before {
  color: #94a3b8;
}

/* ==========================================================================
   Fundament
   ========================================================================== */
.fundament-section {
  padding: 80px 0;
  background: #f8fafc;
}

.fundament-group {
  margin-bottom: 40px;
}

.base-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.base-card {
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s;
}

.base-card:hover {
  border-color: var(--primary);
}

.base-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.base-card-head svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.base-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.base-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Feature details toggle */
.fundament-details {
  margin-top: 32px;
  text-align: center;
}

.fundament-details-summary {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fundament-details-summary::-webkit-details-marker {
  display: none;
}

.feature-list-grid {
  margin-top: 24px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Fundament bottom branding */
.fundament-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 0px solid var(--border);
}

.fundament-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.fundament-brand-name {
  font-family: "Quicksand", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

.fundament-tagline {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   AI Section
   ========================================================================== */
.ai {
  padding: 80px 0;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ai::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
}

.ai .container {
  position: relative;
  z-index: 2;
}

.ai .stitle h2 {
  color: #fff;
}

.ai .stitle p {
  color: rgba(255, 255, 255, 0.5);
}

.ai-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}

.ai-cards-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.ai-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.ai-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.ai-card-active {
  border-color: rgba(37, 99, 235, 0.5) !important;
  background: rgba(37, 99, 235, 0.08) !important;
}

.ai-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-card h3 svg {
  width: 16px;
  height: 16px;
  color: #60a5fa;
}

.ai-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* AI Chat Mockup */
.ai-mockup {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ai-mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}

.ai-mockup-avatar {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-mockup-brand {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  font-family: "Quicksand", sans-serif;
}

.ai-mockup-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-left: auto;
}

.ai-chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow-y: auto;
  justify-content: flex-end;
}

.ai-mockup-input-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 8px;
}

.ai-mockup-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.ai-mockup-send {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-bubble {
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn 0.3s ease-out forwards;
}

.ai-bubble:nth-child(1) { animation-delay: 0s; }
.ai-bubble:nth-child(2) { animation-delay: 0.12s; }
.ai-bubble:nth-child(3) { animation-delay: 0.24s; }
.ai-bubble:nth-child(4) { animation-delay: 0.36s; }
.ai-bubble:nth-child(5) { animation-delay: 0.48s; }
.ai-bubble:nth-child(6) { animation-delay: 0.6s; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing {
  padding: 80px 0;
  background: #f8fafc;
}

.branch-price-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 40px;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08);
}

.bpc-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.bpc-price {
  font-size: 44px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.bpc-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

.bpc-annual {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.bpc-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 16px;
  line-height: 1.5;
}

.bpc-cta {
  margin-top: 24px;
}

.bpc-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.bpc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bpc-tags span {
  padding: 4px 12px;
  background: var(--tint);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
}

.bpc-section {
  margin-bottom: 16px;
}

.bpc-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.bpc-right ul {
  list-style: none;
}

.bpc-right li {
  font-size: 13px;
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.bpc-right li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.bpc-base li {
  color: var(--text);
}

.pricing-branch-select {
  margin-top: 32px;
  text-align: center;
}

.pricing-branch-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.pricing-branch-tabs {
  margin-bottom: 16px;
}

.pricing-branch-tags {
  justify-content: center;
}

.price-note {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* Pricing: toolstack (inline in card) */
.pricing-stack-label { font-size:11px; font-weight:600; color:var(--muted); margin-top:16px; margin-bottom:4px; }
.pricing-stack-inline { padding:8px 0 12px; border-bottom:0px solid var(--border); }
.pricing-stack-row { padding:3px 0; font-size:12px; color:var(--text); display:flex; align-items:center; gap:6px; }
.pricing-stack-row::before { content:''; width:14px; height:14px; flex-shrink:0; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size:contain; background-repeat:no-repeat; }

/* Pricing: single card */
.pricing-single { max-width:800px; margin:0 auto 40px; background:#fff; border:2px solid var(--primary); border-radius:16px; padding:32px; box-shadow:0 8px 32px rgba(37,99,235,.08); display:grid; grid-template-columns:1fr; gap:24px; }
.pricing-single-right { display:flex; flex-direction:column; justify-content:center; }
.pricing-single-price { font-size:48px; font-weight:800; color:var(--navy); line-height:1; }
.pricing-single-price span { font-size:16px; font-weight:400; color:var(--muted); }
.pricing-single-annual { font-size:12px; color:var(--muted); margin-top:4px; margin-bottom:20px; }
.pricing-single-bonus { margin:16px 0; padding:14px; background:var(--tint); border-radius:10px; }
.pricing-single-bonus-tag { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--primary); margin-bottom:8px; }
.pricing-single-bonus-note { font-size:12px; color:var(--text); margin-top:8px; }
.pricing-single-bonus-note s { color:#475569; }
.pricing-col-btn { width:100%; justify-content:center; }
.pricing-single-sub { font-size:12px; color:var(--muted); margin-top:10px; }

/* Pricing: branche in left column */
.pricing-col-branche { margin-top:20px; padding-top:20px; border-top:1px solid var(--border); }
.pricing-col-tabs { margin-bottom:12px; justify-content:flex-start; }
.pricing-col-tabs .branch-tab { padding:5px 10px; font-size:11px; }
.pricing-col-branche-list { list-style:none; margin-bottom:12px; }
.pricing-col-branche-list li { font-size:12px; padding:2px 0; display:flex; align-items:flex-start; gap:6px; color:var(--text); }
.pricing-col-branche-list li::before { content:''; display:inline-block; width:14px; height:14px; flex-shrink:0; margin-top:2px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E"); background-size:contain; background-repeat:no-repeat; }

/* Pricing: 3 steps */
.pricing-steps { display:flex; flex-direction:column; gap:16px; max-width:720px; margin:48px auto 40px; padding-top:40px; border-top:1px solid var(--border); }
.pricing-step { display:flex; align-items:center; gap:16px; background:#fff; border:1px solid var(--border); border-radius:12px; padding:20px; }
.pricing-step-num { width:40px; height:40px; background:var(--primary); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:16px; font-weight:700; color:#fff; flex-shrink:0; }
.pricing-step-text { font-size:14px; color:var(--text); line-height:1.5; }

/* Steps in CTA (dark bg) */
.cta-steps { margin:32px auto; border-top:none; padding-top:0; }
.cta-steps .pricing-step { background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.1); }
.cta-steps .pricing-step-num { background:#fff; color:var(--primary); }
.cta-steps .pricing-step-text { color:rgba(255,255,255,.8); }
.cta-sub { font-size:14px; color:rgba(255,255,255,.4); margin-top:16px; }

/* Pricing: branche features */
.pricing-branche-features { text-align:left; max-width:480px; margin:16px auto; background:#fff; border:1px solid var(--border); border-radius:12px; padding:20px; }
.pricing-branche-features ul { list-style:none; }
.pricing-branche-features li { font-size:13px; padding:3px 0; display:flex; align-items:flex-start; gap:8px; }
.pricing-branche-features li::before { content:''; display:inline-block; width:16px; height:16px; flex-shrink:0; margin-top:2px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E"); background-size:contain; background-repeat:no-repeat; }

/* Pricing: value statement */
.pricing-value { text-align:center; max-width:580px; margin:40px auto 0; padding-top:32px; border-top:1px solid var(--border); font-size:14px; color:var(--muted); line-height:1.6; }
.pricing-value:last-child { font-style:italic; margin-top:12px; }
.pricing-value-link { color:var(--primary); text-decoration:underline; font-weight:500; font-style:normal; }

/* Pricing: branche check */
.pricing-branche-check { text-align:center; margin-top:32px; }
.pricing-branche-check-label { font-size:14px; font-weight:600; color:var(--navy); margin-bottom:12px; }
.pricing-branche-check-tabs { margin-bottom:12px; }
.pricing-branche-check-tabs .branch-tab { padding:5px 12px; font-size:11px; }
.pricing-branche-check-list { list-style:none; display:flex; flex-wrap:wrap; justify-content:center; gap:6px; }
.pricing-branche-check-list li { font-size:12px; padding:4px 12px; background:var(--tint); border-radius:12px; color:var(--primary); font-weight:500; }
.pricing-branche-check-list li::before { display:none; }

/* Quick Scan */
.scan-section { padding:80px 0; background:var(--tint); position:relative; overflow:hidden; }
.scan-layout { display:grid; grid-template-columns:1fr; gap:40px; align-items:center; }
.scan-left { color:var(--navy); }
.scan-badge { display:inline-block; padding:4px 12px; background:rgba(37,99,235,.12); border:1px solid rgba(37,99,235,.2); color:#1d4ed8; border-radius:20px; font-size:11px; font-weight:600; margin-bottom:16px; }
.scan-title { font-size:28px; font-weight:800; color:var(--navy); margin-bottom:12px; }
.scan-desc { font-size:15px; color:#475569; line-height:1.6; margin-bottom:20px; }
.scan-reasons { list-style:none; display:flex; flex-direction:column; gap:8px; }
.scan-reasons li { display:flex; align-items:center; gap:8px; font-size:14px; color:var(--text); }
.scan-reasons svg { color:#22c55e; flex-shrink:0; }
.scan-right { background:#fff; border:1px solid var(--border); border-radius:16px; padding:28px; min-height:400px; max-height:500px; position:relative; box-shadow:0 4px 20px rgba(0,0,0,.04); overflow-y:auto; }
.scan-screen-active { display:flex; flex-direction:column; }
.scan-options { display:flex; flex-direction:column; gap:6px; overflow-y:auto; flex:1; min-height:0; }
.scan-options-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; align-content:start; }
.scan-progress { height:3px; background:var(--border); border-radius:2px; margin-bottom:8px; }
.scan-progress-fill { height:100%; background:var(--primary); border-radius:2px; transition:width .3s; width:0; }
.scan-step-indicator { font-size:11px; color:var(--muted); text-align:right; margin-bottom:16px; min-height:16px; }
.scan-screen { display:none; }
.scan-screen-active { display:block; }
.scan-intro-icon { text-align:center; margin-bottom:16px; }
.scan-q-number { font-size:11px; color:var(--muted); margin-bottom:8px; }
.scan-q-title { font-size:18px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.scan-q-desc { font-size:13px; color:var(--muted); margin-bottom:16px; }
.scan-option { display:block; width:100%; text-align:left; padding:8px 12px; background:#f8fafc; border:1px solid var(--border); border-radius:8px; color:var(--text); font-size:12px; cursor:pointer; transition:all .2s; font-family:inherit; flex-shrink:0; }
.scan-option:hover { border-color:var(--primary); background:rgba(37,99,235,.04); }
.scan-option.selected { border-color:var(--primary); background:rgba(37,99,235,.08); color:var(--navy); font-weight:500; }
.scan-back { background:none; border:none; color:var(--muted); font-size:13px; cursor:pointer; margin-top:12px; font-family:inherit; }
.scan-back:hover { color:var(--navy); }
.scan-result-score { text-align:center; margin-bottom:16px; }
.scan-score-circle { width:52px; height:52px; border-radius:50%; border:2px solid var(--primary); display:inline-flex; align-items:center; justify-content:center; }
.scan-score-circle span { font-size:16px; font-weight:800; color:var(--navy); }
.scan-result-title { font-size:18px; font-weight:700; color:var(--navy); text-align:center; margin-bottom:8px; }
.scan-result-sub { font-size:14px; color:var(--muted); text-align:center; margin-bottom:20px; line-height:1.5; }
.scan-recs { display:flex; flex-direction:column; gap:10px; margin-bottom:20px; }
.scan-rec { display:flex; align-items:flex-start; gap:8px; font-size:13px; color:var(--text); line-height:1.5; }
.scan-rec svg { flex-shrink:0; margin-top:2px; }
.scan-result-cta { text-align:center; }
.scan-demo-link { display:block; margin-top:10px; font-size:13px; color:var(--muted); text-decoration:underline; }
.scan-demo-link:hover { color:var(--navy); }
.scan-email-box { margin-top:20px; padding-top:16px; border-top:1px solid var(--border); }
.scan-email-label { font-size:13px; font-weight:600; color:var(--navy); margin-bottom:8px; }
.scan-email-form { display:flex; flex-wrap:wrap; gap:8px; }
.scan-email-input { flex:1; padding:10px 14px; border:1px solid var(--border); border-radius:8px; font-size:14px; font-family:inherit; }
.scan-email-input:focus { outline:none; border-color:var(--primary); }
.scan-email-btn { white-space:nowrap; }
.scan-email-skip { font-size:12px; color:var(--muted); margin-top:8px; text-align:center; }
.scan-email-skip a { color:var(--muted); text-decoration:underline; }
.scan-email-sent { font-size:14px; font-weight:600; color:#22c55e; text-align:center; padding:8px 0; }

/* ==========================================================================
   Quote
   ========================================================================== */
.quote-section {
  padding: 60px 0;
  background: var(--tint);
}

.quote-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.quote-icon {
  opacity: 0.2;
  margin-bottom: 16px;
}

.quote-text {
  font-size: 18px;
  color: var(--navy);
  line-height: 1.6;
  font-weight: 500;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.quote-author-info {
  text-align: left;
}

.quote-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.quote-author-role {
  font-size: 13px;
  color: #475569;
}

/* ==========================================================================
   Connectors
   ========================================================================== */
.conn-section {
  padding: 80px 0;
  background: #fff;
}

.connector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.conn-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  text-align: center;
  transition: border-color 0.2s;
}

.conn-card:hover {
  border-color: var(--primary);
}

.conn-icon {
  width: 36px;
  height: 36px;
  background: var(--tint);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  color: var(--primary);
}

.conn-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.conn-desc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.conn-tools {
  font-size: 10px;
  color: var(--primary);
  margin-top: 6px;
  opacity: 1;
}

.conn-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  background: #f8fafc;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-item summary {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
}

/* ==========================================================================
   Inline CTA
   ========================================================================== */
.inline-cta { text-align:center; padding:24px 0; font-size:14px; color:var(--muted); }
.inline-cta-link { color:var(--primary); font-weight:600; text-decoration:none; }
.inline-cta-link:hover { text-decoration:underline; }
.inline-cta-divider { margin:0 4px; }

/* ==========================================================================
   Quote authority
   ========================================================================== */
.quote-authority { font-size:12px; color:#475569; margin-top:16px; text-align:center; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  padding: 80px 0;
  background: var(--navy);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 60%);
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
}

.cta-btn {
  font-size: 16px;
  padding: 16px 36px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  padding: 40px 0;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: "Quicksand", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo svg {
  width: 18px;
  height: 18px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-meta {
  max-width: 1120px;
  margin: 12px auto 0;
  padding: 12px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-meta-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-privacy {
  text-align: center;
  padding: 12px 0 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-privacy a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

/* Logo bar */
.logo-bar {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.logo-bar p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  max-width: 440px;
  width: calc(100% - 48px);
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 20px;
}

.modal-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
  font-family: inherit;
}

.modal-input:focus {
  outline: none;
  border-color: var(--primary);
}

.modal-input-select {
  color: var(--text);
  background: #fff;
}

.modal-input-textarea {
  resize: vertical;
}

.modal-tab {
  padding: 8px 16px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.modal-tab-active {
  background: var(--tint);
  color: var(--primary);
}

.modal-heading {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.modal-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.modal-hint {
  font-size: 11px;
  color: var(--muted);
  margin: -6px 0 10px 2px;
}

.modal-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.modal-form-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.modal-success-icon {
  margin-bottom: 12px;
}

.modal-success-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.modal-success-text {
  font-size: 14px;
  color: var(--muted);
}

.modal-success-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bubbleIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Tablet (min-width: 768px)
   ========================================================================== */
@media (min-width: 768px) {
  .hero {
    padding: 160px 0 120px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-visual {
    display: block;
  }

  .pain-section {
    padding: 100px 0;
  }

  .pain-heading {
    font-size: 32px;
  }

  .pain-bubble {
    font-size: 15px;
  }

  .pain-section-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
  }

  .stitle h2 {
    font-size: 36px;
  }

  .feat-row {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .feat-row:nth-child(even) {
    direction: rtl;
  }

  .base-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ai-layout {
    grid-template-columns: 1fr 1fr;
  }

  .ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branch-detail {
    grid-template-columns: 1fr 1.3fr;
  }

  .branch-tab {
    padding: 10px 20px;
    font-size: 13px;
  }

  .branch-price-card {
    grid-template-columns: 1fr 1.2fr;
  }


  .pricing-single {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px;
  }

  .pricing-steps {
    flex-direction: row;
    gap: 16px;
  }

  .pricing-step {
    flex:1;
    flex-direction:column;
    text-align:center;
    gap:12px;
  }

  .scan-layout {
    grid-template-columns: 1fr 1.2fr;
  }

  .feature-list-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .connector-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .quote-text {
    font-size: 20px;
  }

  .cta h2 {
    font-size: 40px;
  }
}

/* ==========================================================================
   Desktop (min-width: 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .hero {
    padding: 220px 0 170px;
  }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .pain-section {
    padding: 120px 0;
  }

  .features {
    padding: 100px 0;
  }

  .ai {
    padding: 100px 0;
  }

  .cta {
    padding: 100px 0;
  }

  .nav-links a:not(.nav-cta):not(.nav-cta-outline) {
    display: inline;
  }

  .nav-cta-outline {
    display: inline !important;
  }
}

/* ==========================================================================
   Mobile overrides (hidden on mobile, show on tablet+)
   ========================================================================== */
.nav-links { display:none; }
.nav-hamburger { display:block; }

@media (min-width: 768px) {
  .nav-links { display:flex; }
  .nav-hamburger { display:none; }
  .nav-mobile { display:none !important; }
}

/* Stats grid (used in potential sections) */
.stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
