/* ========================================================
   VOHN SYSTEMS — Shared Design System
   Light mode. Deep Purple + Soft White. Inter font.
   ======================================================== */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }

/* ────────────────────────────────────────────────────────
   COLOR TOKENS
   Psychology:
   - Deep purple (#7c3aed) = authority, creativity, premium confidence
   - Soft white (#ffffff) = clarity, openness, approachable
   - Light purple surface (#f9f7ff) = warm, intentional, not sterile
   - Muted text (#6b7280) = readable and calm on light bg
   ──────────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:        #ffffff;
  --bg-2:      #fafafa;
  --bg-3:      #f9f7ff;
  --bg-card:   #ffffff;
  --bg-input:  #f9f7ff;

  /* Borders */
  --border:    #e5e7eb;
  --border-2:  #ede9fe;

  /* Brand */
  --brand:     #7c3aed;
  --brand-dk:  #6d28d9;
  --brand-lt:  rgba(124, 58, 237, 0.10);
  --brand-glow: rgba(124, 58, 237, 0.18);

  /* Text */
  --ink:       #1a0533;
  --body:      #374151;
  --muted:     #6b7280;
  --faint:     #9ca3af;

  /* Utility */
  --r:         10px;
  --r-lg:      16px;
  --r-xl:      22px;

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(0,0,0,.35);
  --shadow-md: 0 6px 28px rgba(0,0,0,.45);
  --shadow-lg: 0 12px 52px rgba(0,0,0,.55);
}

/* ── BASE ── */
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section        { padding: 96px 0; }
.section-alt    { background: var(--bg-2); }
.section-deep   { background: var(--bg-3); }

/* ── TYPE SYSTEM ── */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }

h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); margin-bottom: 22px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
h3 { font-size: 1.1rem; margin-bottom: 8px; }

.lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.72;
  max-width: 580px;
  margin-bottom: 48px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}

.btn-solid {
  background: var(--brand);
  color: #fff;
}

.btn-solid:hover {
  background: var(--brand-dk);
  box-shadow: 0 0 22px var(--brand-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-2);
}

.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--muted);
}

.btn-text {
  background: transparent;
  color: var(--brand);
  padding-left: 0;
  padding-right: 0;
}

.btn-text:hover { color: var(--brand-dk); }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav .container {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--ink);
  text-decoration: none;
}

.nav-logo span { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 2px; }

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 7px;
  transition: color .15s, background .15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); background: var(--bg-card); }

.nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
  font-weight: 700 !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--brand-dk) !important;
  box-shadow: 0 0 18px var(--brand-glow);
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-brand-name span { color: var(--brand); }

.footer-tagline { font-size: 13px; color: var(--faint); line-height: 1.65; }

.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 14px; }

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 9px;
  transition: color .15s;
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 13px; color: var(--faint); }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--faint); text-decoration: none; }
.footer-legal a:hover { color: var(--muted); }

/* ── TRUST BAR ── */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 18px 0;
}

.trust .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}

.card-hover {
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-2);
}

/* ── CHECK LIST ── */
.check-list { display: flex; flex-direction: column; gap: 12px; }

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.45;
}

.check-dot {
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-lt);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  margin-bottom: 7px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 15px;
  font-family: inherit;
  font-size: 14px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--faint); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-lt);
}

.form-textarea { height: 112px; resize: vertical; }

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%235a6478'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-submit {
  width: 100%;
  padding: 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  transition: background .15s, box-shadow .15s;
  margin-top: 6px;
}

.form-submit:hover { background: var(--brand-dk); box-shadow: 0 0 22px var(--brand-glow); }
.form-submit:disabled { background: var(--faint); color: var(--bg); cursor: not-allowed; box-shadow: none; }

.form-note   { font-size: 12px; color: var(--faint); text-align: center; margin-top: 10px; }
.form-status { font-size: 13px; text-align: center; margin-top: 12px; }
.form-status.error   { color: #f87171; }
.form-status.success { color: var(--brand); font-weight: 500; }

/* ── PAGE HERO (shared across pages) ── */
.page-hero {
  background: linear-gradient(160deg, #f5f3ff 0%, var(--bg) 60%);
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 0;
  text-align: center;
}

.cta-inner { max-width: 620px; margin: 0 auto; padding: 0 40px; }

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--ink);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ── ICON BADGES ── */
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-badge svg { width: 22px; height: 22px; }

.ic-teal   { background: rgba(124, 58, 237, .10); color: var(--brand); }
.ic-amber  { background: rgba(245, 158, 11, .12);  color: #f59e0b; }
.ic-blue   { background: rgba(96, 165, 250, .12);  color: #60a5fa; }
.ic-red    { background: rgba(251, 113, 133, .12); color: #fb7185; }
.ic-purple { background: rgba(167, 139, 250, .12); color: #a78bfa; }
.ic-orange { background: rgba(251, 146, 60, .12);  color: #fb923c; }

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .container, .cta-inner { padding: 0 20px; }
  .section, .cta-section { padding: 64px 0; }
  h1 { font-size: 2.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav .container { padding: 0 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 40px 0 24px; }
}
