/* ============================================================
   anshelstore — Design System
   Professional, modern, mobile-first
   ============================================================ */
:root {
  /* Brand */
  --primary: #6d28d9;
  --primary-600: #7c3aed;
  --primary-500: #8b5cf6;
  --primary-50: #f5f3ff;
  --accent: #06b6d4;
  --grad: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #4f46e5 100%);
  --grad-soft: linear-gradient(135deg, #ede9fe, #e0f2fe);

  /* Neutrals (light, professional) */
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;
  --surface: #ffffff;
  --border: #e6e8ee;
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #94a3b8;

  /* Status */
  --green: #16a34a;
  --green-bg: #dcfce7;
  --amber: #d97706;
  --amber-bg: #fef3c7;
  --blue: #2563eb;
  --blue-bg: #dbeafe;
  --red: #dc2626;
  --red-bg: #fee2e2;

  /* Effects */
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, .08), 0 2px 4px -2px rgba(15, 23, 42, .05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, .1), 0 8px 10px -6px rgba(15, 23, 42, .05);
  --shadow-primary: 0 10px 30px -8px rgba(124, 58, 237, .45);
  --ring: 0 0 0 4px rgba(124, 58, 237, .15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 20px; height: 20px; stroke-width: 2; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap; font-family: inherit;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(124,58,237,.55); }
.btn-light { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-light:hover { border-color: var(--primary-500); color: var(--primary); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-soft); }
.btn-ghost:hover { background: var(--bg-muted); color: var(--text); }
.btn-wa { background: #25d366; color: #04130a; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(37,211,102,.6); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: var(--shadow-primary);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 9px 14px; border-radius: 10px; color: var(--text-soft); font-weight: 500; font-size: .95rem; transition: .2s; }
.nav-links a:hover { color: var(--text); background: var(--bg-muted); }
.nav-links a.active { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 0%, rgba(124,58,237,.10), transparent 60%),
              radial-gradient(50% 50% at 10% 10%, rgba(6,182,212,.08), transparent 60%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--primary-50); color: var(--primary); border: 1px solid #e9d5ff;
  font-size: .82rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { color: var(--text-soft); font-size: 1.12rem; margin: 20px 0 28px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust div strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.hero-trust div span { color: var(--text-muted); font-size: .85rem; }

/* Hero visual card */
.hero-visual { position: relative; }
.glass-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px;
}
.chat-preview { display: flex; flex-direction: column; gap: 12px; }
.chat-preview .cp-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.cp-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; }
.cp-bubble { padding: 10px 14px; border-radius: 14px; font-size: .9rem; max-width: 85%; }
.cp-in { background: var(--bg-muted); border-bottom-left-radius: 4px; align-self: flex-start; }
.cp-out { background: var(--grad); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.cp-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; color: var(--green); background: var(--green-bg); padding: 3px 10px; border-radius: 999px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.bg-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow { color: var(--primary); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin: 10px 0; letter-spacing: -.02em; font-weight: 800; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #e9d5ff; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 18px; }
.feature-icon .icon { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 8px; letter-spacing: -.01em; }
.feature-card p { color: var(--text-soft); font-size: .96rem; }
.price-pill { display: inline-block; margin-top: 16px; padding: 5px 12px; border-radius: 999px; background: var(--primary-50); color: var(--primary); font-weight: 700; font-size: .85rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { text-align: center; position: relative; }
.step-num { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: var(--shadow-primary); }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad); border-radius: var(--radius-lg); padding: 56px 40px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.cta-band p { opacity: .92; max-width: 520px; margin: 12px auto 26px; }
.cta-band .btn-light { background: #fff; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 48px 0 28px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-grid p { color: var(--text-soft); font-size: .92rem; margin-top: 12px; max-width: 320px; }
.footer h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--text-soft); font-size: .94rem; }
.footer ul a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; text-align: center; color: var(--text-muted); font-size: .88rem; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--text-soft); margin-bottom: 7px; }
.input, input.input, select.input, textarea.input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); font-size: .96rem; font-family: inherit; transition: .15s;
}
.input:focus { outline: none; border-color: var(--primary-500); box-shadow: var(--ring); }

/* ---------- Status badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-pending { color: var(--amber); background: var(--amber-bg); }
.badge-paid { color: var(--blue); background: var(--blue-bg); }
.badge-processing { color: var(--primary); background: var(--primary-50); }
.badge-done { color: var(--green); background: var(--green-bg); }
.badge-cancelled { color: var(--red); background: var(--red-bg); }
.badge-ai { color: var(--primary); background: var(--primary-50); }
.badge-human { color: var(--green); background: var(--green-bg); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 20px 20px;
    gap: 4px; box-shadow: var(--shadow-lg); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .nav-toggle { display: inline-flex; }
  .section { padding: 56px 0; }
  .cta-band { padding: 40px 22px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero { padding: 56px 0 48px; }
}
