/* ═══════════════════════════════════════════
   ADRICHALON — MARKETING SITE — LIGHT THEME
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #ffffff;
  --bg2:       #f7f7fc;
  --bg3:       #f0f0f8;
  --bg4:       #e8e8f5;
  --border:    #e4e4f0;
  --border2:   #d4d4e8;
  --text:      #0f0f1e;
  --text2:     #52527a;
  --text3:     #9898be;
  --accent:    #5b4fe9;
  --accent2:   #7c6af7;
  --accentH:   #4a3fd6;
  --accent-bg: rgba(91,79,233,0.07);
  --accent-bd: rgba(91,79,233,0.2);
  --green:     #16a34a;
  --amber:     #d97706;
  --shadow-sm: 0 1px 4px rgba(15,15,30,0.06), 0 2px 8px rgba(15,15,30,0.04);
  --shadow:    0 4px 16px rgba(15,15,30,0.08), 0 1px 4px rgba(15,15,30,0.04);
  --shadow-lg: 0 12px 40px rgba(15,15,30,0.12), 0 4px 12px rgba(15,15,30,0.06);
  --grad:      linear-gradient(135deg, #5b4fe9, #7c6af7);
  --font-he: 'Heebo', sans-serif;
  --font-en: 'Inter', sans-serif;
  --font: var(--font-he);
  --nav-h: 66px;
  --r: 10px;
  --r2: 16px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-actions {
  justify-self: end;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px; height: 34px;
  background: var(--grad);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.logo-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}


.nav-links a {
  padding: 6px 14px;
  font-size: 14px;
  color: var(--text2);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-links a.active { color: var(--accent); background: var(--accent-bg); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
  border: none;
  outline: none;
  white-space: nowrap;
  letter-spacing: -0.1px;
}
.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { color: var(--text); background: var(--bg3); border-color: var(--border2); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(91,79,233,0.3);
}
.btn-primary:hover { background: var(--accentH); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(91,79,233,0.35); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent-bd);
}
.btn-outline:hover { background: var(--accent-bg); border-color: var(--accent); }
.btn-lg { padding: 12px 26px; font-size: 15px; border-radius: 12px; }
.btn-xl { padding: 15px 32px; font-size: 16px; border-radius: 14px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  margin-inline-start: auto;
}
.nav-hamburger span { display: block; width: 18px; height: 1.5px; background: var(--text2); border-radius: 2px; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
  padding: 24px;
  gap: 4px;
  border-top: var(--nav-h) solid transparent;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 18px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.2s;
}
.mobile-nav a:hover { background: var(--bg3); }
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: 1px solid var(--border2);
  border-radius: 8px;
  color: var(--text2);
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font);
  margin-bottom: 12px;
}

/* ── SECTIONS ── */
.section { padding: 96px 40px; position: relative; }
.section-sm { padding: 56px 40px; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }
.container-xs { max-width: 520px; margin: 0 auto; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-bd);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

h1.display {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--text);
}

h2.section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
}

h3.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text2);
  max-width: 560px;
}

.text-center { text-align: center; }
.text-center .subtitle { margin: 0 auto; }

/* ── CARDS ── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 28px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--accent-bd);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ── ICON (SVG wrapper) ── */
.feat-icon {
  width: 46px; height: 46px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-bd);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  color: var(--accent);
}
.feat-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.badge-green { background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.25); color: var(--green); }
.badge-purple { background: var(--accent-bg); border: 1px solid var(--accent-bd); color: var(--accent); }
.badge-amber { background: rgba(217,119,6,0.08); border: 1px solid rgba(217,119,6,0.25); color: var(--amber); }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 7px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border2);
  border-radius: var(--r);
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text3); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,79,233,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239898be' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
}
[dir="rtl"] .form-select {
  background-position: right 14px center;
  padding-left: 14px;
  padding-right: 36px;
}

/* ── DIVIDER ── */
hr.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 40px 28px;
  background: var(--bg2);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin-top: 14px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text3);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: 14px;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text3);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.55s ease both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 20px; }
  .nav { padding: 0 20px; }
  .footer { padding: 40px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
