/* ============================================================
   CLARVIX — GLOBAL STYLESHEET
   Facts. Clarity. Action.
   ============================================================ */

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

:root {
  --bg:          #080d1a;
  --bg2:         #0d1526;
  --card:        #111d30;
  --card2:       #152039;
  --accent:      #1a6bff;
  --accent-d:    #1458d4;
  --accent-glow: rgba(26, 107, 255, 0.3);
  --text:        #f1f5f9;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;
  --success:     #10b981;
  --warn:        #f59e0b;
  --danger:      #ef4444;
  --purple:      #a855f7;
  --border:      rgba(30, 60, 110, 0.55);
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.45);
  --shadow-a:    0 8px 32px rgba(26,107,255,0.28);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { color: var(--text-muted); }
a  { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === LAYOUT === */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: none; transition: all 0.2s; text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-a); }
.btn-primary:hover { background: var(--accent-d); transform: translateY(-2px); opacity: 1; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }
.btn-full { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* === BADGE === */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 100px; font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
}
.badge-blue   { background: rgba(26,107,255,0.12);  color: #60a5fa; border: 1px solid rgba(26,107,255,0.25); }
.badge-green  { background: rgba(16,185,129,0.12);  color: #34d399; border: 1px solid rgba(16,185,129,0.25); }
.badge-purple { background: rgba(168,85,247,0.12);  color: #c084fc; border: 1px solid rgba(168,85,247,0.25); }
.badge-gold   { background: rgba(245,158,11,0.12);  color: #fbbf24; border: 1px solid rgba(245,158,11,0.25); }

/* === UTILITIES === */
.highlight { color: var(--accent); }
.grad-text {
  background: linear-gradient(130deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .badge { margin-bottom: 14px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(8,13,26,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 900; color: #fff;
  text-decoration: none; flex-shrink: 0;
}
.logo img { height: 44px; width: auto; }
.logo-text { color: #fff; }
.footer-brand .logo img { height: 52px; }

.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: #fff; opacity: 1; }

.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-switcher a {
  padding: 4px 9px; border-radius: 6px; font-size: 0.78rem; font-weight: 700;
  color: var(--text-dim); border: 1px solid transparent; transition: all 0.2s;
}
.lang-switcher a:hover, .lang-switcher a.active {
  color: var(--accent); border-color: rgba(26,107,255,0.4);
  background: rgba(26,107,255,0.08); opacity: 1;
}

.nav-right { display: flex; align-items: center; gap: 16px; }

/* Mobile hamburger */
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text-muted); padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 1.1rem;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 16px;
  padding: 20px 24px; border-top: 1px solid var(--border);
  background: rgba(8,13,26,0.98);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-muted); font-size: 1rem; font-weight: 600; }
.mobile-menu a:hover { color: #fff; opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 130px 0 90px; position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(26,107,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 90%, rgba(168,85,247,0.07) 0%, transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,107,255,0.1); border: 1px solid rgba(26,107,255,0.28);
  border-radius: 100px; padding: 6px 16px; font-size: 0.82rem;
  color: #60a5fa; font-weight: 700; margin-bottom: 24px;
  letter-spacing: 0.4px;
}
.hero-title { margin-bottom: 22px; }
.hero-sub { font-size: 1.12rem; max-width: 520px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-num { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* Score card visual */
.hero-visual { position: relative; }
.score-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 28px 24px;
  box-shadow: var(--shadow);
}
.score-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 8px;
}
.score-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.7px; color: var(--text-dim); font-weight: 700; }
.score-num { font-size: 3rem; font-weight: 900; line-height: 1; }
.score-num.critical { color: var(--danger); }
.score-status { font-size: 0.78rem; font-weight: 700; margin-bottom: 20px; }
.score-status.critical { color: var(--danger); }
.score-bars { display: flex; flex-direction: column; gap: 11px; }
.bar-item { }
.bar-meta { display: flex; justify-content: space-between; margin-bottom: 5px; }
.bar-name { font-size: 0.75rem; color: var(--text-muted); }
.bar-pts  { font-size: 0.75rem; font-weight: 700; }
.bar-track { height: 5px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }
.bar-fill  { height: 100%; border-radius: 3px; }
.fill-r { background: var(--danger); }
.fill-y { background: var(--warn); }
.fill-g { background: var(--success); }
.fill-b { background: var(--accent); }
.score-footer {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.score-domain { font-size: 0.75rem; color: var(--text-dim); }
.score-tag { font-size: 0.72rem; background: rgba(239,68,68,0.12); color: #fca5a5; padding: 3px 10px; border-radius: 6px; font-weight: 700; }

/* Floating elements */
.float-el {
  position: absolute; background: var(--card2);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow); animation: float 3s ease-in-out infinite;
}
.float-1 { top: -24px; right: -16px; animation-delay: 0s; }
.float-2 { bottom: -20px; left: -16px; animation-delay: 1.5s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ============================================================
   SERVICES OVERVIEW
   ============================================================ */
#services { background: var(--bg2); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.svc-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 30px; transition: all 0.3s; position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--c-accent); opacity: 0; transition: opacity 0.3s;
}
.svc-card:hover { transform: translateY(-6px); border-color: var(--c-border); }
.svc-card:hover::after { opacity: 1; }
.svc-1 { --c-accent: var(--accent); --c-border: rgba(26,107,255,0.5); }
.svc-2 { --c-accent: var(--success); --c-border: rgba(16,185,129,0.5); }
.svc-3 { --c-accent: var(--purple); --c-border: rgba(168,85,247,0.5); }

.svc-icon {
  width: 54px; height: 54px; border-radius: 14px; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.svc-icon-1 { background: rgba(26,107,255,0.12); }
.svc-icon-2 { background: rgba(16,185,129,0.12); }
.svc-icon-3 { background: rgba(168,85,247,0.12); }

.svc-card h3 { margin-bottom: 10px; }
.svc-card p  { font-size: 0.88rem; margin-bottom: 22px; }
.svc-tags    { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.svc-tag {
  padding: 3px 9px; border-radius: 6px; font-size: 0.72rem;
  color: var(--text-dim); border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.svc-link { font-size: 0.85rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.svc-1 .svc-link { color: var(--accent); }
.svc-2 .svc-link { color: var(--success); }
.svc-3 .svc-link { color: var(--purple); }

/* ============================================================
   SERVICE DETAIL
   ============================================================ */
.detail-section { padding: 100px 0; }
.detail-section.alt { background: var(--bg2); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.detail-grid.rev { direction: rtl; }
.detail-grid.rev > * { direction: ltr; }

.detail-content .badge { margin-bottom: 16px; }
.detail-content h2 { margin-bottom: 16px; }
.detail-content > p { margin-bottom: 32px; }
.detail-content .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

.feat-list { display: flex; flex-direction: column; gap: 14px; }
.feat-item { display: flex; align-items: flex-start; gap: 12px; }
.feat-ico {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; margin-top: 2px;
}
.feat-ico-b { background: rgba(26,107,255,0.15); color: #60a5fa; }
.feat-ico-g { background: rgba(16,185,129,0.15); color: #34d399; }
.feat-ico-p { background: rgba(168,85,247,0.15); color: #c084fc; }
.feat-ico-y { background: rgba(245,158,11,0.15); color: #fbbf24; }
.feat-txt strong { color: var(--text); display: block; font-size: 0.95rem; }
.feat-txt span   { color: var(--text-muted); font-size: 0.83rem; }

/* Detail panel (visual side) */
.detail-panel {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow);
}
.panel-header { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.panel-header h4 { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.panel-dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: var(--danger); } .dot-y { background: var(--warn); } .dot-g { background: var(--success); }

.deliverable-list { display: flex; flex-direction: column; gap: 12px; }
.deliverable-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
}
.deliv-icon { font-size: 1.1rem; }
.deliv-text strong { display: block; font-size: 0.88rem; color: var(--text); }
.deliv-text span   { font-size: 0.78rem; color: var(--text-muted); }

/* Lead stats panel */
.lead-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-stat-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 16px;
}
.lead-stat-num { font-size: 1.8rem; font-weight: 900; color: #fff; }
.lead-stat-lbl { font-size: 0.78rem; color: var(--text-muted); }
.lead-stat-badge { margin-top: 8px; }

/* Agent architecture panel */
.agent-panel { display: flex; flex-direction: column; gap: 10px; }
.agent-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px;
}
.agent-icon { font-size: 1.2rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; flex-shrink: 0; }
.a-ico-p { background: rgba(168,85,247,0.12); }
.a-ico-b { background: rgba(26,107,255,0.12); }
.a-ico-g { background: rgba(16,185,129,0.12); }
.agent-txt strong { display: block; font-size: 0.88rem; color: var(--text); }
.agent-txt span   { font-size: 0.78rem; color: var(--text-muted); }
.agent-arrow { margin-left: auto; color: var(--text-dim); font-size: 0.8rem; }

/* Stack tags */
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.stack-tag {
  padding: 4px 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 6px; font-size: 0.72rem; font-weight: 700; color: var(--text-dim);
  font-family: 'SF Mono', 'Consolas', monospace;
}

/* ============================================================
   PRICING
   ============================================================ */
#pricing { background: var(--bg2); }
/* Accordion pricing */
.pricing-accordion-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 20px; overflow: hidden;
}
.pricing-acc-header {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 20px 28px; background: transparent; border: none;
  color: var(--text); cursor: pointer; text-align: left;
  transition: background 0.2s; font-family: inherit;
}
.pricing-acc-header:hover { background: var(--bg3); }
.pricing-acc-header.active { background: rgba(99,102,241,0.08); border-bottom: 1px solid var(--border); }
.acc-icon { font-size: 1.4rem; }
.acc-title { font-size: 1.05rem; font-weight: 700; flex: 1; }
.acc-range { font-size: 1rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.acc-arrow {
  font-size: 0.75rem; color: var(--text-dim); transition: transform 0.3s;
  transform: rotate(-90deg);
}
.pricing-acc-header.active .acc-arrow { transform: rotate(0deg); }

.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 28px; }
.acc-panel.open { padding: 28px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.p-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 30px; position: relative;
  transition: all 0.3s;
}
.p-card.featured { border-color: var(--accent); box-shadow: var(--shadow-a); }
.p-card:hover { transform: translateY(-4px); }
.popular-pill {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 4px 18px;
  border-radius: 100px; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap;
}
.p-tier { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; color: var(--text-dim); margin-bottom: 10px; }
.p-name { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.p-desc { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 24px; }
.p-price { margin-bottom: 4px; }
.p-amount { font-size: 2.6rem; font-weight: 900; color: #fff; line-height: 1; }
.p-currency { font-size: 1.2rem; font-weight: 700; vertical-align: top; margin-top: 6px; display: inline-block; }
.p-period { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 28px; }
.p-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 22px; }
.p-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.p-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; }
.p-feat .ck { color: var(--success); font-weight: 800; flex-shrink: 0; }
.p-feat .cx { color: var(--text-dim); flex-shrink: 0; }
.p-feat span { color: var(--text-muted); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how { }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 32px; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}
.step { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900; color: var(--accent);
  background: rgba(26,107,255,0.1); border: 2px solid rgba(26,107,255,0.3);
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.88rem; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 40px; }
.contact-points { display: flex; flex-direction: column; gap: 22px; }
.c-point { display: flex; align-items: flex-start; gap: 14px; }
.c-ico {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: rgba(26,107,255,0.1); border: 1px solid rgba(26,107,255,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.c-txt strong { display: block; font-size: 0.9rem; color: #fff; margin-bottom: 3px; }
.c-txt span   { font-size: 0.83rem; color: var(--text-muted); }

.contact-form-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.form-group label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 14px; color: var(--text); font-size: 0.92rem;
  font-family: inherit; transition: border-color 0.2s; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select { cursor: pointer; appearance: none; }
.form-group select option { background: #131f35; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.78rem; color: var(--text-dim); text-align: center; margin-top: 10px; }

.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.form-success h3 { color: #fff; margin-bottom: 8px; }

/* ============================================================
   FAQ
   ============================================================ */
#faq { }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 22px;
  cursor: pointer; transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(26,107,255,0.4); }
.faq-q { font-size: 0.92rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.faq-a { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg); border-top: 1px solid var(--border); padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.83rem; margin-bottom: 22px; }
.footer-tagline { font-size: 0.78rem; font-weight: 700; color: var(--text-dim); letter-spacing: 0.5px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--text-muted); transition: all 0.2s;
}
.social-btn:hover { color: #fff; border-color: var(--accent); opacity: 1; }
.footer-col h4 { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.7px; color: #fff; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 0.83rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); opacity: 1; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--text-dim);
}

/* ============================================================
   RTL SUPPORT (Hebrew / Arabic)
   ============================================================ */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-right { flex-direction: row-reverse; }
[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
[dir="rtl"] .hero-stats { flex-direction: row-reverse; }
[dir="rtl"] .feat-item { flex-direction: row; }
[dir="rtl"] .p-feat { flex-direction: row; }
[dir="rtl"] .detail-grid.rev { direction: ltr; }
[dir="rtl"] .detail-grid.rev > * { direction: rtl; }
[dir="rtl"] .agent-arrow { margin-left: 0; margin-right: auto; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .footer-grid > * { direction: rtl; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .steps::before { left: 15%; right: 15%; }
[dir="rtl"] .float-1 { right: auto; left: -16px; }
[dir="rtl"] .float-2 { left: auto; right: -16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-grid.rev { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-