/* ═══════════════════════════════════════════════════════
   HIDO.GE — Corporate Light Theme v3
   ═══════════════════════════════════════════════════════ */

:root {
  --bg:       #F8FAFC;
  --bg2:      #FFFFFF;
  --bg3:      #F1F5F9;
  --bg4:      #E9EEF4;
  --surface:  #FFFFFF;
  --border:   #E2E8F0;
  --border2:  #CBD5E1;
  --primary:  #0B3C5D;
  --primary2: #083352;
  --primary3: #0E4D78;
  --accent:   #2563EB;
  --accent2:  #1D4ED8;
  --sky:      #0EA5E9;
  --text:     #0F172A;
  --text2:    #475569;
  --text3:    #94A3B8;
  --green:    #059669;
  --amber:    #D97706;
  --red:      #DC2626;
  --radius:   8px;
  --radius2:  12px;
  --radius3:  18px;
  --shadow:   0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow2:  0 4px 24px rgba(15,23,42,.08);
  --shadow3:  0 16px 48px rgba(15,23,42,.12);
  --shadow4:  0 32px 80px rgba(15,23,42,.16);
  --trans:    .18s ease;
  --font:     'Inter', system-ui, -apple-system, sans-serif;
  --mono:     'JetBrains Mono', 'Fira Code', monospace;
}

/* RTL */
[dir="rtl"]                         { text-align: right; }
[dir="rtl"] .logo                   { flex-direction: row-reverse; }
[dir="rtl"] .main-nav               { flex-direction: row-reverse; }
[dir="rtl"] .hdr-right              { flex-direction: row-reverse; }
[dir="rtl"] .hero-btns              { flex-direction: row-reverse; }
[dir="rtl"] .footer-inner           { direction: rtl; }
[dir="rtl"] .eyebrow::before        { display: none; }
[dir="rtl"] .feature-item           { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .service-feature::before{ margin-left: 10px; margin-right: 0; }

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html                   { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body                   { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a                      { color: var(--accent); text-decoration: none; transition: color var(--trans); }
a:hover                { color: var(--accent2); }
img                    { max-width: 100%; display: block; }
ul                     { list-style: none; }
button                 { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select{ font-family: inherit; }

/* ── Layout ───────────────────────────────────────────── */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt{ background: var(--bg3); }
.section-dark{ background: var(--primary); }

/* ── Eyebrow / section labels ─────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; color: var(--accent);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; width: 24px; height: 2px;
  background: var(--accent); border-radius: 1px; flex-shrink: 0;
}
.section-header         { margin-bottom: 56px; }
.section-header.centered{ text-align: center; }
.section-title          { font-size: clamp(28px,3.5vw,42px); font-weight: 800; color: var(--text); line-height: 1.12; letter-spacing: -.6px; }
.section-title .hl      { color: var(--primary); }
.section-sub            { font-size: 17px; color: var(--text2); margin-top: 14px; line-height: 1.75; }
.centered .section-sub  { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; border-radius: var(--radius);
  padding: 11px 22px; transition: all var(--trans); cursor: pointer;
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn-primary  { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary2); color: #fff; box-shadow: 0 4px 16px rgba(11,60,93,.25); transform: translateY(-1px); }
.btn-accent   { background: var(--accent); color: #fff; }
.btn-accent:hover  { background: var(--accent2); color: #fff; transform: translateY(-1px); }
.btn-outline  { background: transparent; color: var(--primary); border-color: var(--border2); }
.btn-outline:hover { background: var(--bg3); border-color: var(--primary); }
.btn-white    { background: #fff; color: var(--primary); }
.btn-white:hover   { background: var(--bg3); color: var(--primary); }
.btn-ghost-white { background: transparent; color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.35); }
.btn-ghost-white:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-sm   { padding: 7px 16px; font-size: 13px; }
.btn-lg   { padding: 14px 30px; font-size: 16px; }
.btn-danger { background: #FEF2F2; color: #DC2626; border-color: #FECACA; }
.btn-danger:hover { background: #FEE2E2; }

/* ── Loader ───────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .35s ease, visibility .35s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner  { text-align: center; }
.loader-logo   { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: 1px; margin-bottom: 20px; }
.loader-logo span { opacity: .55; }
.loader-bar    { width: 160px; height: 2px; background: rgba(255,255,255,.18); border-radius: 2px; margin: 0 auto 8px; overflow: hidden; }
.loader-bar-fill { height: 100%; width: 0; background: #fff; border-radius: 2px; }
.loader-pct    { font-size: 11px; color: rgba(255,255,255,.4); font-family: var(--mono); }

/* ── Header ───────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 64px; background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--trans);
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(15,23,42,.08); border-bottom-color: transparent; }
.hdr-inner {
  display: flex; align-items: center; height: 64px; gap: 4px;
}
.logo {
  display: flex; align-items: center; gap: 9px;
  color: var(--primary); font-weight: 800; font-size: 17px;
  letter-spacing: -.3px; flex-shrink: 0; margin-right: 8px;
}
.logo:hover { color: var(--primary); }
.logo-mark {
  width: 32px; height: 32px; background: var(--primary); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: #fff; flex-shrink: 0;
}
.logo-text span { color: var(--sky); }

.main-nav { display: flex; gap: 1px; margin-left: auto; }
.main-nav a {
  font-size: 14px; font-weight: 500; color: var(--text2);
  padding: 6px 12px; border-radius: 6px; transition: all var(--trans); white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: var(--bg3); }

.hdr-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: 12px; }

/* Language switcher — JS controlled */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text2);
  padding: 6px 10px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg2);
  transition: all var(--trans); white-space: nowrap; cursor: pointer;
}
.lang-btn:hover { border-color: var(--border2); color: var(--text); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius2); box-shadow: var(--shadow3);
  min-width: 168px; overflow: hidden; z-index: 200;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; font-size: 14px; color: var(--text2);
  transition: background var(--trans);
}
.lang-option:hover  { background: var(--bg3); color: var(--text); }
.lang-option.active { color: var(--primary); font-weight: 600; background: rgba(37,99,235,.04); }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text2); font-size: 18px; width: 36px; height: 36px;
  border-radius: var(--radius); align-items: center; justify-content: center;
}

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 8px 20px 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 10px 4px; font-size: 15px; color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--primary); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 64px; position: relative; overflow: hidden;
  background: var(--bg2);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 55% 60% at 75% 30%, rgba(37,99,235,.07) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 15% 70%, rgba(11,60,93,.05) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .35;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

/* Two-column layout */
.hero-layout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding: 80px 0 60px;
}
.hero-content { max-width: 600px; }

/* Badge pill */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  background: rgba(37,99,235,.07); border: 1px solid rgba(37,99,235,.18);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 24px;
  letter-spacing: .3px;
}
.hero-badge-dot {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.5)} }

.hero-title {
  font-size: clamp(38px, 5.5vw, 64px); font-weight: 800;
  color: var(--text); line-height: 1.06; letter-spacing: -1.5px;
  margin-bottom: 4px;
}
.hero-title-accent {
  font-size: clamp(38px, 5.5vw, 64px); font-weight: 800;
  line-height: 1.06; letter-spacing: -1.5px; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--sky) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px; color: var(--text2); line-height: 1.75;
  margin-bottom: 32px; max-width: 520px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-divider {
  width: 100%; height: 1px; background: var(--border);
  margin-bottom: 28px;
}
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat  { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num {
  font-size: 30px; font-weight: 800; color: var(--primary);
  letter-spacing: -1px; line-height: 1;
}
.hero-stat-label { font-size: 12px; color: var(--text3); font-weight: 500; }

/* ── Right visual card ────────────────────────────────── */
.hero-visual {
  position: relative; display: flex;
  align-items: center; justify-content: center;
}

/* Main dashboard card */
.dashboard-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  box-shadow: var(--shadow4); width: 100%; max-width: 420px;
  position: relative; z-index: 2;
}
.dc-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.dc-dots { display: flex; gap: 6px; }
.dc-dot   { width: 10px; height: 10px; border-radius: 50%; }
.dc-dot-r { background: #FF5F57; }
.dc-dot-y { background: #FFBD2E; }
.dc-dot-g { background: #28CA40; }
.dc-title { font-size: 13px; font-weight: 600; color: var(--text2); margin-left: 4px; font-family: var(--mono); }

/* Score ring */
.score-ring-wrap {
  display: flex; align-items: center; gap: 20px; margin-bottom: 20px;
}
.score-ring-svg { width: 88px; height: 88px; flex-shrink: 0; }
.score-ring-svg circle { transition: stroke-dashoffset 1.5s ease; }
.score-ring-num {
  font-size: 26px; font-weight: 800; color: var(--primary);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--mono);
}
.score-ring-container { position: relative; width: 88px; height: 88px; flex-shrink: 0; }
.score-info-label { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.score-info-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  background: rgba(5,150,105,.1); color: var(--green);
  border: 1px solid rgba(5,150,105,.2);
}

/* Metrics */
.dc-metrics { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.dc-metric  { }
.dc-metric-row {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 5px;
}
.dc-metric-name { font-size: 12px; color: var(--text2); font-weight: 500; }
.dc-metric-pct  { font-size: 12px; color: var(--primary); font-weight: 700; font-family: var(--mono); }
.dc-bar-track   { height: 5px; background: var(--bg3); border-radius: 3px; overflow: hidden; }
.dc-bar-fill    { height: 100%; background: linear-gradient(90deg, var(--primary), var(--sky)); border-radius: 3px; transition: width 1.4s ease; }

/* Keyword tags */
.dc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.dc-tag  {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; background: var(--bg3); color: var(--text2);
  border: 1px solid var(--border);
}

/* Floating stat badges */
.hero-float {
  position: absolute; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--radius2);
  padding: 8px 14px; font-size: 13px; font-weight: 700;
  color: var(--primary); box-shadow: var(--shadow2);
  white-space: nowrap;
}
.hero-float-1 {
  top: -20px; left: -24px; color: var(--green);
  background: rgba(5,150,105,.06); border-color: rgba(5,150,105,.2);
}
.hero-float-2 { bottom: -16px; right: -20px; color: var(--amber); }

/* ── Trusted bar ──────────────────────────────────────── */
.trusted-bar {
  background: var(--bg3); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
.trusted-inner {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.trusted-label {
  font-size: 11px; font-weight: 700; color: var(--text3);
  letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap;
}
.trusted-list {
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
}
.trusted-name {
  font-size: 13px; font-weight: 700; color: var(--text3);
  letter-spacing: .3px; transition: color var(--trans);
}
.trusted-name:hover { color: var(--text2); }

/* ── Services ─────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 28px 24px;
  transition: all .22s ease; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--primary), var(--sky));
  opacity: 0; transition: opacity var(--trans);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow3); border-color: var(--border2); }
.service-card:hover::after { opacity: 1; }
.service-icon-wrap {
  width: 48px; height: 48px; background: var(--bg3); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px; transition: background var(--trans);
}
.service-card:hover .service-icon-wrap { background: rgba(11,60,93,.08); }
.service-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.service-desc { font-size: 14px; color: var(--text2); line-height: 1.65; margin-bottom: 18px; }
.service-link {
  font-size: 13px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 5px; transition: gap var(--trans);
}
.service-link:hover { gap: 8px; color: var(--accent2); }

/* ── Features ─────────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.features-list { display: flex; flex-direction: column; gap: 28px; }
.feature-item  { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon  {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(11,60,93,.07); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.feature-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.feature-desc  { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* Metric visual panel */
.metrics-panel {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; box-shadow: var(--shadow2);
}
.metrics-panel-title {
  font-size: 13px; font-weight: 700; color: var(--text);
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.mp-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; }
.metric-row { margin-bottom: 18px; }
.metric-row:last-child { margin-bottom: 0; }
.metric-row-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 8px;
}
.metric-row-name { font-size: 14px; color: var(--text2); font-weight: 500; }
.metric-row-val  {
  font-size: 15px; font-weight: 800; color: var(--primary);
  font-family: var(--mono);
}
.metric-track { height: 6px; background: var(--bg3); border-radius: 3px; overflow: hidden; }
.metric-fill  {
  height: 100%; background: linear-gradient(90deg, var(--primary), var(--sky));
  border-radius: 3px; transition: width 1.5s ease;
}
.metric-foot  { font-size: 11px; color: var(--text3); margin-top: 4px; }

/* ── Cities ───────────────────────────────────────────── */
.cities-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 14px;
}
.city-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 22px 14px;
  text-align: center; transition: all var(--trans);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.city-card:hover { border-color: var(--primary); box-shadow: var(--shadow2); transform: translateY(-2px); }
.city-flag { font-size: 26px; }
.city-name { font-size: 13px; font-weight: 700; color: var(--text); }
.city-svc  { font-size: 11px; color: var(--text3); }

/* ── Blog ─────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.article-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius2); overflow: hidden;
  display: flex; flex-direction: column; transition: all .22s ease;
}
.article-card:hover { box-shadow: var(--shadow3); transform: translateY(-3px); border-color: var(--border2); }
.article-img {
  height: 140px; background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; border-bottom: 1px solid var(--border);
}
.article-body  { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-meta  { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.tag           { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.tag-blue      { background: rgba(37,99,235,.08);  color: var(--accent);  border: 1px solid rgba(37,99,235,.18); }
.tag-green     { background: rgba(5,150,105,.08);  color: var(--green);   border: 1px solid rgba(5,150,105,.18); }
.tag-amber     { background: rgba(217,119,6,.08);  color: var(--amber);   border: 1px solid rgba(217,119,6,.18); }
.article-date  { font-size: 11px; color: var(--text3); font-family: var(--mono); }
.article-title { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 8px; }
.article-excerpt { font-size: 13px; color: var(--text2); line-height: 1.6; flex: 1; }
.article-footer {
  margin-top: 16px; display: flex; justify-content: space-between;
  align-items: center; padding-top: 14px; border-top: 1px solid var(--border);
}
.read-more {
  font-size: 13px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 4px; transition: gap var(--trans);
}
.read-more:hover { gap: 7px; }
.views-badge { font-size: 11px; color: var(--text3); font-family: var(--mono); }

/* Pagination */
.pagination  { display: flex; gap: 6px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.page-btn    {
  min-width: 38px; height: 38px; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 10px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; color: var(--text2); transition: all var(--trans);
  background: var(--bg2);
}
.page-btn:hover, .page-btn.active { border-color: var(--accent); color: var(--accent); background: rgba(37,99,235,.06); }

/* Blog page filters */
.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn   {
  padding: 6px 16px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 20px; font-size: 13px; font-weight: 500; color: var(--text2);
  transition: all var(--trans); cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent); color: var(--accent); background: rgba(37,99,235,.06);
}

/* ── Directory ────────────────────────────────────────── */
.dir-filters {
  display: flex; gap: 12px; flex-wrap: wrap;
  align-items: center; margin-bottom: 28px;
}
.dir-search {
  flex: 1; min-width: 200px; background: var(--bg2);
  border: 1px solid var(--border); color: var(--text);
  font-size: 14px; padding: 9px 14px; border-radius: var(--radius);
  outline: none; transition: border-color var(--trans);
}
.dir-search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.dir-select {
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); font-size: 13px; padding: 9px 12px;
  border-radius: var(--radius); outline: none; cursor: pointer;
}
.directory-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.biz-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 22px;
  transition: all .22s ease; display: flex; flex-direction: column; gap: 10px;
}
.biz-card:hover { box-shadow: var(--shadow3); transform: translateY(-2px); border-color: var(--border2); }
.biz-header { display: flex; align-items: flex-start; gap: 12px; }
.biz-logo   {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--bg3); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; border: 1px solid var(--border);
}
.biz-name     { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.biz-category { font-size: 12px; color: var(--text3); }
.biz-desc     { font-size: 13px; color: var(--text2); line-height: 1.6; }
.biz-meta     { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text3); }
.biz-footer   { display: flex; gap: 6px; padding-top: 10px; border-top: 1px solid var(--border); }
.biz-badge    {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px;
}
.biz-verified { background: rgba(5,150,105,.08);  color: var(--green); border: 1px solid rgba(5,150,105,.2); }
.biz-featured { background: rgba(217,119,6,.08);  color: var(--amber); border: 1px solid rgba(217,119,6,.2); }

/* ── Contact ──────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 64px; align-items: start;
}
.contact-info h2       { font-size: 32px; font-weight: 800; color: var(--text); margin-bottom: 14px; letter-spacing: -.5px; }
.contact-info p        { color: var(--text2); line-height: 1.75; margin-bottom: 32px; font-size: 16px; }
.contact-items         { display: flex; flex-direction: column; gap: 10px; }
.contact-item          {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius);
}
.contact-item-icon     {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(11,60,93,.08); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.contact-item-label    { font-size: 11px; color: var(--text3); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .5px; }
.contact-item-val      { font-size: 14px; color: var(--text); font-weight: 500; }
.contact-form          {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 30px; box-shadow: var(--shadow2);
  display: flex; flex-direction: column; gap: 16px;
}
.form-row              { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group            { display: flex; flex-direction: column; gap: 6px; }
.form-group label      { font-size: 13px; font-weight: 600; color: var(--text2); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg3); border: 1px solid var(--border); color: var(--text);
  font-size: 14px; padding: 10px 12px; border-radius: var(--radius);
  outline: none; transition: border-color var(--trans), box-shadow var(--trans); resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
.form-submit {
  width: 100%; padding: 12px; background: var(--primary); color: #fff;
  font-weight: 700; font-size: 15px; border: none; border-radius: var(--radius);
  transition: all var(--trans); cursor: pointer;
}
.form-submit:hover    { background: var(--primary2); box-shadow: var(--shadow2); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-msg             { padding: 11px 14px; border-radius: var(--radius); font-size: 14px; }
.form-msg.ok          { background: rgba(5,150,105,.08);  border: 1px solid rgba(5,150,105,.25);  color: var(--green); }
.form-msg.err         { background: rgba(220,38,38,.08);  border: 1px solid rgba(220,38,38,.25);  color: var(--red); }

/* ── CTA Banner ───────────────────────────────────────── */
.cta-banner {
  background: var(--primary); padding: 80px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -100px; right: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.04); pointer-events: none;
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -80px; left: -40px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.03); pointer-events: none;
}
.cta-banner h2 {
  position: relative; font-size: clamp(26px,4vw,42px); font-weight: 800;
  color: #fff; margin-bottom: 14px; letter-spacing: -.5px;
}
.cta-banner p  {
  position: relative; font-size: 17px; color: rgba(255,255,255,.72);
  margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.7;
}
.cta-btns      { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── About page ───────────────────────────────────────── */
.about-hero    { padding: 120px 0 64px; background: var(--primary); }
.about-hero h1 { color: #fff; font-size: clamp(30px,5vw,52px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.about-hero p  { color: rgba(255,255,255,.72); font-size: 17px; max-width: 560px; line-height: 1.75; }
.team-grid     { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.team-card     {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 28px; text-align: center;
}
.team-avatar   {
  width: 70px; height: 70px; background: var(--bg3); border-radius: 50%;
  margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.team-name     { font-size: 15px; font-weight: 700; color: var(--text); }
.team-role     { font-size: 13px; color: var(--text3); margin-top: 4px; }
.values-grid   { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.value-card    {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 22px; display: flex; gap: 14px;
}
.value-icon    { font-size: 22px; flex-shrink: 0; }
.value-title   { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.value-desc    { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ── Services page ────────────────────────────────────── */
.services-hero    { padding: 120px 0 64px; background: linear-gradient(145deg, var(--primary) 0%, #1a5280 100%); }
.services-hero h1 { color: #fff; font-size: clamp(30px,5vw,52px); font-weight: 800; letter-spacing: -1px; }
.services-hero p  { color: rgba(255,255,255,.72); font-size: 17px; max-width: 520px; margin-top: 14px; line-height: 1.75; }
.service-detail   {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail-icon  { font-size: 52px; margin-bottom: 18px; }
.service-detail h2    { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 14px; letter-spacing: -.4px; }
.service-detail p     { font-size: 16px; color: var(--text2); line-height: 1.75; margin-bottom: 22px; }
.service-features     { display: flex; flex-direction: column; gap: 10px; }
.service-feature      {
  display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text2);
}
.sf-check {
  width: 20px; height: 20px; flex-shrink: 0;
  background: rgba(11,60,93,.08); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 10px; font-weight: 800;
}
.service-visual {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 32px; min-height: 240px;
  display: flex; align-items: center; justify-content: center; font-size: 72px;
}
.pricing-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pricing-card  {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 28px;
}
.pricing-card.featured {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,60,93,.08);
}
.pricing-badge { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pricing-name  { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.pricing-price { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.pricing-price span { font-size: 14px; font-weight: 500; color: var(--text3); }
.pricing-desc  { font-size: 13px; color: var(--text2); margin-bottom: 20px; line-height: 1.6; }
.pricing-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.pricing-feature { font-size: 13px; color: var(--text2); display: flex; align-items: center; gap: 8px; }
.pricing-feature::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 12px; }

/* ── Landing (city/service) ────────────────────────────── */
.landing-hero     { padding: 120px 0 56px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.landing-hero h1  { font-size: clamp(26px,4vw,48px); font-weight: 800; color: var(--text); line-height: 1.1; letter-spacing: -.5px; margin-bottom: 14px; }
.landing-hero p   { font-size: 17px; color: var(--text2); max-width: 560px; margin-bottom: 28px; line-height: 1.75; }
.breadcrumb       { font-size: 12px; color: var(--text3); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a     { color: var(--text3); } .breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep   { color: var(--border2); }
.breadcrumb-cur   { color: var(--text2); font-weight: 500; }
.landing-content  { padding: 64px 0; }
.landing-article  { max-width: 820px; }
.landing-article h2 { font-size: 21px; font-weight: 700; color: var(--text); margin: 36px 0 10px; }
.landing-article h3 { font-size: 17px; font-weight: 600; color: var(--text); margin: 22px 0 8px; }
.landing-article p  { color: var(--text2); line-height: 1.85; margin-bottom: 14px; }
.landing-article ul { margin: 10px 0 16px 20px; }
.landing-article li { color: var(--text2); line-height: 1.8; list-style: disc; }
.landing-article strong { color: var(--primary); font-weight: 600; }

/* ── Article ───────────────────────────────────────────── */
.blog-hero        { padding: 120px 0 48px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.blog-hero h1     { font-size: clamp(28px,5vw,48px); font-weight: 800; color: var(--text); letter-spacing: -.5px; }
.article-hero     { padding: 120px 0 48px; background: var(--bg2); border-bottom: 1px solid var(--border); }
.article-hero h1  { font-size: clamp(22px,3.5vw,40px); font-weight: 800; color: var(--text); line-height: 1.2; margin-bottom: 16px; letter-spacing: -.5px; }
.article-layout   { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 56px 0; align-items: start; }
.article-content h2 { font-size: 20px; font-weight: 700; color: var(--text); margin: 36px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.article-content h3 { font-size: 17px; font-weight: 600; color: var(--text); margin: 22px 0 8px; }
.article-content p  { color: var(--text2); line-height: 1.85; margin-bottom: 16px; }
.article-content ul { margin: 10px 0 18px 22px; }
.article-content li { color: var(--text2); line-height: 1.8; list-style: disc; margin-bottom: 4px; }
.article-content strong { color: var(--text); font-weight: 600; }
.article-sidebar    { position: sticky; top: 82px; display: flex; flex-direction: column; gap: 18px; }
.sidebar-widget     { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius2); padding: 20px; }
.sidebar-widget-title { font-size: 12px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.sidebar-cta        { background: var(--primary); border-color: var(--primary); text-align: center; }
.sidebar-cta .sidebar-widget-title { color: rgba(255,255,255,.55); }
.sidebar-cta h3     { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.sidebar-cta p      { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 16px; line-height: 1.55; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer        { background: var(--primary); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer-inner       { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand .logo:hover { color: rgba(255,255,255,.9); }
.footer-brand .logo-mark  { background: rgba(255,255,255,.12); }
.footer-brand .logo-text span { color: rgba(255,255,255,.5); }
.footer-desc        { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.65; margin-bottom: 20px; max-width: 230px; }
.footer-socials     { display: flex; gap: 8px; }
.social-link        {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.55); transition: all var(--trans); letter-spacing: .3px;
}
.social-link:hover  { border-color: rgba(255,255,255,.4); color: #fff; }
.footer-col h4      { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: rgba(255,255,255,.9); text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul      { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a    { font-size: 13px; color: rgba(255,255,255,.5); transition: color var(--trans); }
.footer-col li a:hover { color: #fff; }
.footer-bar         { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 12px; color: rgba(255,255,255,.35); }
.footer-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bar a       { color: rgba(255,255,255,.35); }
.footer-bar a:hover { color: rgba(255,255,255,.7); }
.credit a           { color: rgba(255,255,255,.55); font-weight: 600; }
.credit a:hover     { color: #fff; }

/* ── Badges ───────────────────────────────────────────── */
.badge        { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-blue   { background: rgba(37,99,235,.08);  color: var(--accent); border: 1px solid rgba(37,99,235,.18); }
.badge-green  { background: rgba(5,150,105,.08);  color: var(--green);  border: 1px solid rgba(5,150,105,.18); }
.badge-amber  { background: rgba(217,119,6,.08);  color: var(--amber);  border: 1px solid rgba(217,119,6,.18); }

/* ── Animations ───────────────────────────────────────── */
.reveal       { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal-left  { opacity: 0; transform: translateX(-20px); transition: opacity .5s ease, transform .5s ease; }
.reveal-right { opacity: 0; transform: translateX(20px);  transition: opacity .5s ease, transform .5s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }
@keyframes pageFade { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
.page-fade    { animation: pageFade .4s ease forwards; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
.float { animation: float 4.5s ease-in-out infinite; }
.lift  { transition: transform .22s ease, box-shadow .22s ease; }
.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow2); }

/* ── Misc / utility ───────────────────────────────────── */
.text-center { text-align: center; }
.empty-state { padding: 64px 24px; text-align: center; color: var(--text3); font-size: 15px; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-layout    { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual    { display: none; }
  .hero-content   { max-width: 100%; }
  .services-grid  { grid-template-columns: repeat(2,1fr); }
  .cities-grid    { grid-template-columns: repeat(4,1fr); }
  .blog-grid      { grid-template-columns: repeat(2,1fr); }
  .directory-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar{ position: static; }
  .service-detail { grid-template-columns: 1fr; gap: 36px; }
  .features-grid  { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .main-nav     { display: none; }
  .menu-toggle  { display: flex; }
  .form-row     { grid-template-columns: 1fr; }
  .hero-stats   { gap: 24px; }
  .team-grid    { grid-template-columns: 1fr 1fr; }
  .values-grid  { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section         { padding: 64px 0; }
  .services-grid   { grid-template-columns: 1fr; }
  .cities-grid     { grid-template-columns: repeat(2,1fr); }
  .blog-grid       { grid-template-columns: 1fr; }
  .directory-grid  { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr; gap: 28px; }
  .team-grid       { grid-template-columns: 1fr; }
  .hero-title, .hero-title-accent { letter-spacing: -.5px; }
  .dashboard-card  { max-width: 100%; }
  .portfolio-grid  { grid-template-columns: 1fr; }
}

/* ── Portfolio / Projects Showcase ──────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.project-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius2); overflow: hidden;
  display: flex; flex-direction: column; transition: all .25s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow3); border-color: var(--border2); }
.project-banner {
  height: 140px; background: linear-gradient(135deg, var(--bg3) 0%, rgba(14,165,233,.12) 100%);
  position: relative; display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border); font-size: 40px;
}
.project-tag-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(15,23,42,.85); backdrop-filter: blur(8px);
  color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 20px; letter-spacing: .5px;
}
[dir="rtl"] .project-tag-badge { left: auto; right: 12px; }
.project-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.project-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.project-desc { font-size: 13px; color: var(--text2); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.project-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tech-pill {
  font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px;
  background: var(--bg3); color: var(--text2); border: 1px solid var(--border);
  font-family: var(--mono);
}
.project-metric {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text3); font-weight: 600;
}
.project-metric strong { color: var(--green); font-size: 14px; font-weight: 800; font-family: var(--mono); }

/* ── Interactive SEO Tools & Lead Magnets (Executive Bento UI) ─ */
.seo-tool-section {
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Bento Grid Container */
.seo-calculator-card {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 32px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.03);
  position: relative;
  margin-top: 36px;
}

@media (max-width: 980px) {
  .seo-calculator-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 28px;
  }
}

/* Left: Control Deck */
.calc-controls-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-deck-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.calc-deck-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.calc-deck-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.3;
}

.calc-deck-desc {
  font-size: 13px;
  color: var(--text2);
  margin: 0;
}

.calc-input-group {
  margin-bottom: 22px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-label-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.calc-label-text svg {
  color: var(--primary);
  opacity: 0.9;
}

.calc-sub-hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-val-badge {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 3px 12px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.calc-input-box {
  position: relative;
}

.calc-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.calc-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
  background: var(--bg2);
}

/* Sliders */
.calc-slider-wrapper {
  position: relative;
  padding-top: 4px;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: var(--bg4);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.calc-slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.4), var(--bg4));
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(37, 99, 235, 0.2);
  cursor: pointer;
  margin-top: -7px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45), 0 0 0 6px rgba(37, 99, 235, 0.25);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calc-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
}

.calc-slider-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--text3);
  font-family: var(--mono);
}

/* Quick Presets */
.calc-presets {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.calc-preset-lbl {
  font-size: 12px;
  color: var(--text3);
  font-weight: 600;
}

.calc-preset-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calc-preset-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.calc-preset-btn:hover {
  background: var(--bg4);
  color: var(--text);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* Data note */
.calc-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 14px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 10px;
}

.calc-note-icon {
  font-size: 15px;
  flex-shrink: 0;
  line-height: 1.3;
}

.calc-note-txt {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.5;
}

/* Right: Luxury Executive Cockpit */
.calc-dashboard-card {
  background: radial-gradient(circle at top right, #1e293b 0%, #0b132b 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.calc-dashboard-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.calc-dash-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

.calc-dash-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 6px;
}

.calc-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: calcPulse 2s infinite ease-in-out;
}

@keyframes calcPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #10b981; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.calc-dash-lead {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.calc-guarantee-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
}

/* Hero metric */
.calc-hero-metric {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 20px;
  position: relative;
}

.calc-hero-num {
  font-size: 42px;
  font-weight: 900;
  font-family: var(--mono);
  line-height: 1.1;
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 24px rgba(16, 185, 129, 0.25);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.calc-hero-sub {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.4;
}

/* Metric Tiles */
.calc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .calc-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.calc-metric-tile {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 12px;
  transition: transform 0.2s, border-color 0.2s;
}

.calc-metric-tile:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.calc-tile-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 8px;
}

.calc-tile-head svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.calc-tile-num {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--mono);
  color: #f8fafc;
  line-height: 1.2;
  margin-bottom: 3px;
}

.calc-tile-num.text-cyan {
  color: #38bdf8;
}

.calc-tile-unit {
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.3;
}

/* Cockpit CTAs */
.calc-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-wa-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  padding: 15px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.45);
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
}

.calc-wa-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.calc-secondary-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.calc-secondary-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.calc-privacy-note {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  margin-top: 14px;
  line-height: 1.4;
}

/* ── Quick SEO Audit Scanner Bar ────────────────────────── */
.seo-audit-banner {
  margin-top: 36px;
  background: radial-gradient(circle at 10% 50%, rgba(37, 99, 235, 0.15) 0%, rgba(16, 185, 129, 0.06) 100%),
              var(--bg2);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 18px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow2);
}

@media (max-width: 860px) {
  .seo-audit-banner {
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
  }
}

.audit-banner-copy {
  flex: 1;
  min-width: 280px;
}

.audit-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.audit-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.audit-banner-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.audit-banner-desc {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.5;
  margin: 0;
  max-width: 540px;
}

/* Scanner Bar Form */
.audit-scanner-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border2);
  padding: 8px;
  border-radius: 14px;
  flex: 1.2;
  min-width: 320px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

@media (max-width: 650px) {
  .audit-scanner-bar {
    flex-direction: column;
    align-items: stretch;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
  }
}

.audit-input-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 150px;
  padding: 8px 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.audit-input-field:focus-within {
  border-color: var(--primary);
}

.audit-field-icon {
  width: 17px;
  height: 17px;
  color: var(--text3);
  flex-shrink: 0;
}

.audit-input-field input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  outline: none;
}

.audit-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.audit-submit-btn:hover {
  background: var(--primary-hover, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* ── Comparison Matrix: HIDO vs Traditional ─────────────── */
.seo-compare-card {
  margin-top: 48px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow3);
}

.compare-card-top {
  padding: 32px 32px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}

.compare-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.compare-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.compare-desc {
  font-size: 13.5px;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto;
}

.compare-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th {
  padding: 18px 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.compare-table th.col-hido {
  background: rgba(37, 99, 235, 0.06);
  border-left: 1px solid rgba(37, 99, 235, 0.2);
  border-right: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--text);
}

.hido-head-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}

.hido-star {
  color: #f59e0b;
  font-size: 16px;
}

.hido-recommended-tag {
  background: var(--primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.feature-cell {
  width: 44%;
}

.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.feature-sub {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.4;
}

.hido-cell {
  width: 28%;
  background: rgba(37, 99, 235, 0.04);
  border-left: 1px solid rgba(37, 99, 235, 0.15);
  border-right: 1px solid rgba(37, 99, 235, 0.15);
}

.other-cell {
  width: 28%;
}

.badge-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
}

.badge-cross {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(148, 163, 184, 0.08);
  color: var(--text3);
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 8px;
}

/* ── 1. Fast City & Service Matrix Navigator ─────────────── */
.matrix-navigator-section {
  padding: 20px 0 40px;
  position: relative;
}

.matrix-nav-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.05) 100%), var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.2);
}

.matrix-nav-header {
  margin-bottom: 24px;
}

.matrix-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.matrix-nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.matrix-nav-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.matrix-nav-sub {
  font-size: 13.5px;
  color: var(--text2);
  margin: 0;
  max-width: 650px;
}

.matrix-nav-controls {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 16px;
  align-items: flex-end;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 14px;
  margin-bottom: 20px;
}

@media (max-width: 800px) {
  .matrix-nav-controls {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.matrix-select-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 8px;
}

.matrix-select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.matrix-select:focus {
  border-color: var(--primary);
}

.matrix-action-btn {
  width: 100%;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 700;
}

.matrix-popular-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.matrix-tag-label {
  font-size: 12px;
  color: var(--text3);
  font-weight: 600;
}

.matrix-tags-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.matrix-quick-chip {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.matrix-quick-chip:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ── 2. Client Testimonials & Social Proof ───────────────── */
.testimonials-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  padding: 80px 0;
}

.rating-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #f59e0b;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.rating-badge-pill .stars {
  letter-spacing: 2px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

@media (max-width: 960px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow3);
  border-color: rgba(37, 99, 235, 0.35);
}

.testi-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.testi-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

.testi-verified {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 9px;
  border-radius: 12px;
}

.testi-quote {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #38bdf8 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.testi-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.testi-role {
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 2px;
}

.testi-loc {
  font-size: 11.5px;
  color: var(--text3);
}

.testi-tag {
  color: var(--primary);
  font-weight: 600;
}

/* ── 3. Enterprise Tech Stack Grid ──────────────────────── */
.tech-stack-section {
  padding: 80px 0;
  background: var(--bg2);
  position: relative;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

.tech-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.tech-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tech-icon-box {
  font-size: 26px;
  margin-bottom: 12px;
}

.tech-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.tech-card-desc {
  font-size: 12.5px;
  color: var(--text2);
  line-height: 1.4;
}

/* ── 4. Interactive FAQ Accordion ────────────────────────── */
.faq-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  position: relative;
}

.faq-accordion-wrap {
  max-width: 860px;
  margin: 36px auto 0;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.active {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.15);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  outline: none;
}

.faq-q-title {
  flex: 1;
  line-height: 1.4;
}

.faq-q-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item.active .faq-q-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-answer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
  padding: 0 24px 22px 24px;
}

.faq-answer-inner p {
  margin: 0;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}

/* ── 5. Mobile Sticky Action Bar ─────────────────────────── */
.mobile-sticky-action-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 19, 43, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    animation: slideUpBar 0.25s ease-out;
  }

  @keyframes slideUpBar {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .mobile-sticky-action-bar.visible {
    display: flex;
  }

  .sticky-bar-call {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg3);
    border: 1px solid var(--border2);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s;
  }

  .sticky-bar-call:active {
    background: var(--bg4);
  }

  .sticky-bar-wa {
    flex: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  }

  /* Offset the desktop floating whatsapp icon so it never overlaps sticky bar */
  .wa-float {
    bottom: 78px !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   INTERACTION & CONVERSION ARCHITECTURE (V4)
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Reading Scroll Progress Bar ────────────────────────── */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, #2563EB 0%, #0EA5E9 50%, #059669 100%);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 10005;
  pointer-events: none;
  transition: transform 0.05s linear;
}
[dir="rtl"] .scroll-progress-bar {
  transform-origin: right;
}

/* ── 2. Hero Solution Selector & Deck ──────────────────────── */
.hero-selector-wrapper {
  margin: 28px 0 32px;
  padding: 16px 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}
.hero-selector-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.hero-selector-label-icon {
  font-size: 16px;
}
.hero-selector-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  background: var(--bg3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.hero-chip:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--bg4);
  transform: translateY(-1px);
}
.hero-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(11, 60, 93, 0.25);
}
.hero-chip-icon {
  font-size: 14px;
}

/* Hero Solution Card (Right Side) */
.hero-solution-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow4);
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 2;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.hero-solution-card.hsc-transition {
  opacity: 0.35;
  transform: scale(0.985);
}
.hsc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.hsc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.2);
}
.hsc-dots {
  display: flex;
  gap: 5px;
}
.hsc-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.hsc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.hsc-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}
.hsc-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px;
  background: var(--bg3);
  border-radius: 10px;
}
.hsc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hsc-meta-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.hsc-meta-val {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}
.hsc-deliverables-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.hsc-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.hsc-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.4;
}
.hsc-check-icon {
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.hsc-footer {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.hsc-action-btn {
  flex: 1.2;
  justify-content: center;
  padding: 10px 14px;
}
.hsc-wa-btn {
  flex: 1;
  justify-content: center;
  padding: 10px 14px;
  color: #059669;
  border-color: rgba(5, 150, 105, 0.3);
}
.hsc-wa-btn:hover {
  background: rgba(5, 150, 105, 0.08);
  border-color: #059669;
}

/* ── 3. Smart Project Finder ("Find My Solution" Wizard) ─────── */
.project-finder-section {
  padding: 72px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.finder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius3);
  padding: 40px;
  box-shadow: var(--shadow3);
  max-width: 920px;
  margin: 0 auto;
}
.finder-step-header {
  margin-bottom: 28px;
}
.finder-progress-track {
  width: 100%;
  height: 6px;
  background: var(--bg3);
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}
.finder-progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}
.finder-step-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.finder-step-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
}
.finder-step-indicator {
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
}
.finder-question {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.finder-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.finder-opt-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius2);
  padding: 18px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.18s ease;
  text-align: left;
}
[dir="rtl"] .finder-opt-card {
  text-align: right;
}
.finder-opt-card:hover {
  border-color: var(--accent);
  background: var(--bg3);
  transform: translateY(-2px);
}
.finder-opt-card.selected {
  border-color: var(--primary);
  background: rgba(11, 60, 93, 0.05);
  box-shadow: 0 0 0 1px var(--primary);
}
.finder-opt-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.finder-opt-info {
  display: flex;
  flex-direction: column;
}
.finder-opt-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.finder-opt-desc {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}
.finder-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.finder-result-box {
  background: linear-gradient(135deg, rgba(11, 60, 93, 0.04) 0%, rgba(37, 99, 235, 0.06) 100%);
  border: 1.5px solid rgba(11, 60, 93, 0.2);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}
.finder-result-badge {
  display: inline-block;
  background: var(--green);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.finder-result-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.25;
}
.finder-result-desc {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 20px;
}
.finder-result-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.finder-metric-item {
  background: var(--bg2);
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.finder-metric-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
}
.finder-metric-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-top: 3px;
}
.finder-result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── 4. Persistent Floating Interaction Drawer ───────────────── */
.hido-floating-drawer-wrap {
  position: fixed;
  bottom: 28px;
  left: 24px;
  right: auto;
  z-index: 9998;
}
[dir="rtl"] .hido-floating-drawer-wrap {
  left: auto;
  right: 24px;
}
.hido-drawer-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(11, 60, 93, 0.35);
  cursor: pointer;
  border: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.22s ease;
}
.hido-drawer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 60, 93, 0.45);
}
.hido-drawer-pulse {
  width: 9px;
  height: 9px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hido-drawer-modal {
  position: fixed;
  bottom: 90px;
  left: 24px;
  right: auto;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 18px;
  box-shadow: var(--shadow4);
  padding: 24px;
  z-index: 10002;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
[dir="rtl"] .hido-drawer-modal {
  left: auto;
  right: 24px;
}
.hido-drawer-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.hdm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.hdm-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.hdm-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--green);
  font-weight: 600;
}
.hdm-close-btn {
  font-size: 18px;
  color: var(--text3);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  line-height: 1;
}
.hdm-close-btn:hover {
  color: var(--text);
}
.hdm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.hdm-action-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.16s ease;
}
.hdm-action-item:hover {
  background: var(--bg4);
  border-color: var(--accent);
  color: var(--primary);
  transform: translateX(3px);
}
[dir="rtl"] .hdm-action-item:hover {
  transform: translateX(-3px);
}
.hdm-action-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.hdm-ai-box {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 12px;
  padding: 12px;
}
.hdm-ai-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hdm-ai-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hdm-ai-chip {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11.5px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
[dir="rtl"] .hdm-ai-chip {
  text-align: right;
}
.hdm-ai-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hdm-ai-answer {
  margin-top: 10px;
  padding: 10px;
  background: var(--bg2);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text2);
  line-height: 1.45;
  border-left: 3px solid var(--accent);
  display: none;
}
[dir="rtl"] .hdm-ai-answer {
  border-left: none;
  border-right: 3px solid var(--accent);
}

/* ── 5. Exit-Intent Recapture Modal ──────────────────────────── */
.exit-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10006;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.exit-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.exit-modal-box {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 36px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow4);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
  text-align: center;
}
.exit-modal-overlay.open .exit-modal-box {
  transform: scale(1);
}
.exit-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 22px;
  color: var(--text3);
  cursor: pointer;
  border: none;
  background: none;
  line-height: 1;
}
[dir="rtl"] .exit-modal-close {
  right: auto;
  left: 18px;
}
.exit-modal-close:hover {
  color: var(--text);
}
.exit-modal-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.exit-modal-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 12px;
}
.exit-modal-sub {
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.exit-modal-form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.exit-modal-input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius);
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
}
.exit-modal-input:focus {
  outline: none;
  border-color: var(--primary);
}
.exit-modal-dismiss {
  font-size: 12.5px;
  color: var(--text3);
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
}
.exit-modal-dismiss:hover {
  color: var(--text2);
}

/* ── 6. Engineering Standards & Trust Center ─────────────────── */
.trust-center-section {
  padding: 88px 0;
  background: var(--bg);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.trust-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 28px 24px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow3);
  border-color: var(--border2);
}
.trust-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.trust-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.trust-card-desc {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.6;
}
.trust-card-spec {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--mono);
  background: var(--bg3);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ── Responsive Rules for Mobile ─────────────────────────────── */
@media (max-width: 768px) {
  .hero-selector-wrapper {
    padding: 14px;
  }
  .hero-selector-chips {
    gap: 6px;
  }
  .hero-chip {
    padding: 6px 11px;
    font-size: 12px;
  }
  .hero-solution-card {
    max-width: 100%;
    padding: 20px;
  }
  .finder-card {
    padding: 22px 18px;
  }
  .finder-question {
    font-size: 18px;
  }
  .finder-options-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .exit-modal-box {
    padding: 26px 20px;
  }
  .exit-modal-form {
    flex-direction: column;
  }
  .hido-floating-drawer-wrap {
    bottom: 74px;
    left: 14px;
    right: auto;
  }
  [dir="rtl"] .hido-floating-drawer-wrap {
    right: 14px;
    left: auto;
  }
  .hido-drawer-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  .hido-drawer-modal {
    bottom: 130px;
    left: 14px;
    right: auto;
    width: calc(100vw - 28px);
  }
  [dir="rtl"] .hido-drawer-modal {
    right: 14px;
    left: auto;
  }
}
