/* ===== Sales Sync — styles.css ===== */
:root {
  --bg: #070a1f;
  --bg-2: #0b1030;
  --surface: #11173d;
  --surface-2: #161d4d;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef1ff;
  --muted: #9aa3cc;
  --brand: #5e7cff;
  --brand-2: #22d3a6;
  --grad: linear-gradient(115deg, #5e7cff 0%, #22d3a6 100%);
  --radius: 18px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.12; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-2);
  margin-bottom: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad);
  color: #06122b;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 10px 30px -10px rgba(94, 124, 255, 0.6);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(34, 211, 166, 0.55); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); box-shadow: none; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 10, 31, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: grid; place-items: center; }
.brand-name { font-size: 1.3rem; font-weight: 800; }
.brand-name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.18s; }
.nav a:hover { color: var(--text); }
.nav a.btn { color: #06122b; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

/* ===== Hero ===== */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute;
  top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(circle at 50% 30%, rgba(94,124,255,0.30), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(34,211,166,0.22), transparent 55%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 820px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); font-weight: 800; margin-bottom: 22px; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 640px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-trust span { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; }
.logos { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 14px; }
.logos span {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.02em;
}

/* ===== Stats ===== */
.stats { padding: 10px 0 40px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.stat-num { font-family: 'Sora', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 1.08rem; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(94,124,255,0.5); box-shadow: var(--shadow); }
.card-icon { font-size: 1.9rem; margin-bottom: 16px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ===== Channels ===== */
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.channel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.96rem;
  transition: 0.2s;
}
.channel:hover { border-color: var(--brand-2); color: #fff; background: var(--surface-2); }

/* Geos */
.geo-grid { grid-template-columns: repeat(3, 1fr); max-width: 760px; margin: 0 auto; }
.geo-grid .channel { text-align: center; }

/* ===== Process ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ===== Cases ===== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-tag {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-2);
  border: 1px solid rgba(34,211,166,0.4);
  padding: 4px 12px;
  border-radius: 999px;
}
.case-quote { font-size: 1.05rem; color: var(--text); }
.case-metric { font-size: 0.95rem; color: var(--muted); }
.case-metric strong { color: var(--brand); font-family: 'Sora', sans-serif; }
.case-by { font-size: 0.85rem; color: var(--muted); margin-top: auto; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.contact-copy p { color: var(--muted); margin-bottom: 24px; }
.contact-points { list-style: none; display: grid; gap: 12px; }
.contact-points li { position: relative; padding-left: 30px; color: var(--text); }
.contact-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #06122b;
  border-radius: 50%;
  font-size: 0.7rem; font-weight: 800;
}

.contact-form {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(94,124,255,0.18);
}
.field textarea { resize: vertical; }
.contact-form .btn { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; font-size: 0.9rem; color: var(--brand-2); min-height: 1.2em; }
.form-note.error { color: #ff8a8a; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand { max-width: 340px; }
.footer-brand p { color: var(--muted); font-size: 0.94rem; margin-top: 12px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h4 { font-size: 0.9rem; margin-bottom: 14px; color: var(--text); }
.footer-cols a { display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 9px; transition: color 0.18s; }
.footer-cols a:hover { color: var(--brand-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards, .steps, .cases { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    gap: 6px;
    background: rgba(7,10,31,0.97);
    backdrop-filter: blur(14px);
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open a { padding: 10px 0; }
  .nav-toggle { display: flex; }
  .cards, .steps, .cases, .stats-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .section { padding: 70px 0; }
  .hero { padding: 140px 0 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
