/* ─────────────────────────────────────────
   MEKSOFT PAPERLESS — styles.css
   Design System v2
   ───────────────────────────────────────── */

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

:root {
  /* Colors */
  --primary:    #0f172a;
  --secondary:  #1e293b;
  --accent:     #0ea5e9;
  --accent-dark:#0284c7;
  --bg:         #ffffff;
  --surface:    #f8fafc;
  --surface-2:  #f1f5f9;
  --text:       #111827;
  --text-muted: #6b7280;
  --border:     #e5e7eb;
  --border-2:   #d1d5db;

  /* Radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  20px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.10);

  /* Transition */
  --t: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}
.btn--sm  { font-size: 0.8rem; padding: 0.4rem 0.9rem; }
.btn--lg  { font-size: 0.975rem; padding: 0.75rem 1.75rem; border-radius: var(--r-lg); }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(14,165,233,.25);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14,165,233,.35);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover {
  background: rgba(14,165,233,.06);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-1px);
}

.btn--white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn--white:hover { background: var(--surface); transform: translateY(-1px); }

/* ─────────────────────────────────────────
   SECTION COMMONS
   ───────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 0.875rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* Accent text */
.gradient-text {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

/* ─────────────────────────────────────────
   NAV
   ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  transition: color var(--t), text-shadow var(--t);
}
.nav.scrolled .nav__logo { color: var(--text) !important; text-shadow: none; }
.nav__logo-mark {
  width: 34px; height: 34px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.nav__logo-sub { color: #fff !important; font-weight: 400; }
.nav.scrolled .nav__logo-sub { color: var(--accent) !important; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,.9) !important;
  transition: color var(--t);
}
.nav__links a:hover { color: #fff !important; }
.nav.scrolled .nav__links a { color: var(--text-muted) !important; }
.nav.scrolled .nav__links a:hover { color: var(--text) !important; }

.nav:not(.scrolled) .nav__links .btn--outline {
  color: #fff !important;
  border-color: rgba(255,255,255,.5) !important;
  background: rgba(255,255,255,.08) !important;
}
.nav:not(.scrolled) .nav__links .btn--outline:hover {
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.8) !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
.nav.scrolled .nav__burger span { background: var(--text); }

/* ─────────────────────────────────────────
   HERO
   ───────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--primary);
  min-height: 100vh;
  padding-top: 100px;
  overflow: hidden;
  color: #fff;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .18;
}
.hero__blob--1 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -80px; right: -60px;
}
.hero__blob--2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: 80px; left: -100px;
}
.hero__inner {
  position: relative;
  text-align: center;
  padding-bottom: 3rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.6; transform:scale(1.25); }
}
.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero__sub {
  font-size: clamp(.975rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.6);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  padding: 1rem 2.5rem;
}
.stat { text-align: center; }
.stat__num { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat__label { font-size: 0.72rem; color: rgba(255,255,255,.45); margin-top: 2px; }
.stat__divider { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* Browser mockup */
.hero__mockup { padding: 4rem 0 0; position: relative; }
.browser {
  background: var(--secondary);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 -24px 64px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: rgba(0,0,0,.2);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.browser__dot { width: 11px; height: 11px; border-radius: 50%; }
.browser__dot:nth-child(1) { background: #ff5f57; }
.browser__dot:nth-child(2) { background: #febc2e; }
.browser__dot:nth-child(3) { background: #28c840; }
.browser__url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.05);
  padding: 3px 12px;
  border-radius: 5px;
  flex: 1;
  max-width: 280px;
}
.browser__screen { background: #0d1117; }

/* App UI */
.app-ui { display: flex; height: 300px; }
.app-ui__sidebar {
  width: 52px;
  background: rgba(0,0,0,.2);
  border-right: 1px solid rgba(255,255,255,.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 6px;
}
.app-ui__logo-sm {
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .8rem;
  color: #fff;
  margin-bottom: 10px;
}
.sidebar-item {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: rgba(255,255,255,.3);
  cursor: pointer;
  transition: all .2s;
}
.sidebar-item--active { background: var(--accent); color: #fff; }
.sidebar-item:not(.sidebar-item--active):hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); }
.app-ui__main { flex: 1; padding: 14px; overflow: hidden; }
.app-ui__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-md);
  padding: 7px 12px;
  color: rgba(255,255,255,.3);
  font-size: .78rem;
  margin-bottom: 12px;
}
.doc-list { display: flex; flex-direction: column; gap: 5px; }
.doc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  cursor: pointer;
  transition: all .2s;
}
.doc-item--active { background: rgba(14,165,233,.1); border-color: rgba(14,165,233,.25); }
.doc-item__icon {
  width: 30px; height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .55rem;
  font-weight: 700;
  flex-shrink: 0;
}
.doc-item__icon--pdf { background: rgba(239,68,68,.15); color: #f87171; }
.doc-item__icon--doc { background: rgba(14,165,233,.15); color: #38bdf8; }
.doc-item__icon--img { background: rgba(168,85,247,.15); color: #c084fc; }
.doc-item__info { flex: 1; min-width: 0; }
.doc-item__name { font-size: .75rem; color: rgba(255,255,255,.75); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-item__meta { font-size: .65rem; color: rgba(255,255,255,.3); margin-top: 1px; }
.doc-item__tag { font-size: .6rem; font-weight: 600; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.tag--green  { background: rgba(74,222,128,.12); color: #4ade80; }
.tag--blue   { background: rgba(14,165,233,.12); color: #38bdf8; }
.tag--orange { background: rgba(251,146,60,.12); color: #fb923c; }

/* ─────────────────────────────────────────
   LOGOS
   ───────────────────────────────────────── */
.logos {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.logos__label {
  text-align: center;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.logos__row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.logo-pill {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: .45rem 1.1rem;
  border-radius: 999px;
}

/* ─────────────────────────────────────────
   FEATURES
   ───────────────────────────────────────── */
.features {
  padding: 5.5rem 0;
  background: var(--bg);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: all var(--t);
}
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-card--large { grid-column: span 2; }
.feature-card--highlight {
  background: var(--primary);
  border-color: transparent;
  color: #fff;
}
.feature-card--highlight p { color: rgba(255,255,255,.65); }
.feature-card--highlight h3 { color: #fff; }

.feature-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-card__icon--blue   { background: rgba(14,165,233,.1);  color: var(--accent); }
.feature-card__icon--purple { background: rgba(124,58,237,.08); color: #7c3aed; }
.feature-card__icon--green  { background: rgba(34,197,94,.08);  color: #16a34a; }
.feature-card__icon--orange { background: rgba(234,88,12,.08);  color: #ea580c; }
.feature-card__icon--pink   { background: rgba(219,39,119,.08); color: #db2777; }
.feature-card__icon--teal   { background: rgba(13,148,136,.08); color: #0d9488; }
.feature-card__icon--white  { background: rgba(255,255,255,.1); color: #fff; }

.feature-card h3 {
  font-size: .975rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
  letter-spacing: -.01em;
}
.feature-card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Search demo */
.feature-card__demo { margin-top: 1.1rem; }
.search-demo__input {
  width: 100%;
  padding: .55rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: .82rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  margin-bottom: .6rem;
  font-family: inherit;
}
.search-demo__results { display: flex; flex-direction: column; gap: 5px; }
.search-result {
  font-size: .78rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: .45rem .75rem;
}
.search-result em { color: var(--accent); font-style: normal; font-weight: 600; }

/* ─────────────────────────────────────────
   HOW IT WORKS
   ───────────────────────────────────────── */
.how {
  padding: 5.5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 0;
}
.how__step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.how__step-num {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: #fff;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 999px;
}
.how__step-icon {
  width: 56px; height: 56px;
  background: rgba(14,165,233,.08);
  color: var(--accent);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: .5rem auto 1.1rem;
}
.how__step h3 {
  font-size: .975rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
  letter-spacing: -.01em;
}
.how__step p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.how__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  color: var(--border-2);
  flex-shrink: 0;
  width: 56px;
}
.how__connector-line { display: none; }

/* ─────────────────────────────────────────
   PRICING
   ───────────────────────────────────────── */
.pricing {
  padding: 5.5rem 0;
  background: var(--primary);
  color: #fff;
}
.pricing .section-tag { color: var(--accent); }
.pricing .section-title { color: #fff; }
.pricing .section-sub { color: rgba(255,255,255,.5); }

.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3rem;
}
.toggle-label { font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.35); transition: color .2s; }
.toggle-label--active { color: #fff; }
.toggle-save {
  font-size: .68rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74,222,128,.1);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
}
.toggle-btn {
  width: 42px; height: 22px;
  background: rgba(255,255,255,.12);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: background .2s;
}
.toggle-btn.active { background: var(--accent); }
.toggle-btn__knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: var(--shadow-sm);
}
.toggle-btn.active .toggle-btn__knob { transform: translateX(20px); }

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.pricing-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: relative;
  transition: all .2s;
}
.pricing-card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-2px); }
.pricing-card--featured {
  background: rgba(14,165,233,.08);
  border-color: var(--accent);
}
.pricing-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: var(--accent);
  padding: 3px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .2rem;
}
.pricing-card__desc {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.5rem;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 1.5rem;
}
.price-currency { font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,.5); margin-top: 4px; }
.price-amount   { font-size: 2.75rem; font-weight: 800; color: #fff; line-height: 1; }
.price-period   { font-size: .8rem; color: rgba(255,255,255,.35); margin-left: 2px; }

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 1.5rem;
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.pricing-card__features li svg { color: var(--accent); flex-shrink: 0; }
.pricing-card__features li.disabled { color: rgba(255,255,255,.2); }
.pricing-card__features li.disabled svg { color: rgba(255,255,255,.15); }
.pricing-card .btn--outline {
  color: rgba(255,255,255,.65);
  border-color: rgba(255,255,255,.18);
}
.pricing-card .btn--outline:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.35);
}
.pricing__note {
  text-align: center;
  margin-top: 2rem;
  font-size: .82rem;
  color: rgba(255,255,255,.3);
}

/* ─────────────────────────────────────────
   TESTIMONIALS
   ───────────────────────────────────────── */
.testimonials {
  padding: 5.5rem 0;
  background: var(--bg);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  transition: all .2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-2); }
.testimonial-card--featured {
  background: var(--primary);
  border-color: transparent;
}
.testimonial-card--featured p { color: rgba(255,255,255,.75); }
.testimonial-card--featured .testimonial-card__stars { color: #fbbf24; }
.testimonial-card--featured strong { color: #fff; }
.testimonial-card--featured span { color: rgba(255,255,255,.45); }
.testimonial-card__stars { color: #f59e0b; font-size: 1rem; margin-bottom: .875rem; }
.testimonial-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-card__author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-card strong { display: block; font-size: .85rem; color: var(--text); }
.testimonial-card span  { font-size: .75rem; color: var(--text-muted); }

/* ─────────────────────────────────────────
   FAQ
   ───────────────────────────────────────── */
.faq {
  padding: 5.5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.faq__list {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.faq-item__q:hover { background: var(--surface); }
.faq-item__q svg { flex-shrink: 0; color: var(--text-muted); transition: transform .25s; }
.faq-item.open .faq-item__q svg { transform: rotate(180deg); }
.faq-item.open .faq-item__q { color: var(--accent); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-item__a { max-height: 300px; }
.faq-item__a p {
  padding: 0 1.5rem 1.1rem;
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────── */
.contact {
  padding: 5.5rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.contact__info .section-title { text-align: left; }
.contact__info p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: .875rem 0 2rem;
}
.contact__details { display: flex; flex-direction: column; gap: 10px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-muted);
}
.contact-detail svg { color: var(--accent); flex-shrink: 0; }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: .875rem; }
.form-group:last-of-type { margin-bottom: 1.25rem; }
.form-group label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .6rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: .875rem;
  color: var(--text);
  font-family: inherit;
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,.1);
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-note {
  text-align: center;
  margin-top: .6rem;
  font-size: .75rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────── */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,.5);
  padding: 4rem 0 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand .nav__logo { color: #fff !important; margin-bottom: .875rem; }
.footer__brand p { font-size: .85rem; line-height: 1.7; max-width: 270px; }
.footer__contact { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; font-size: .85rem; }
.footer__contact a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer__contact a:hover { color: #fff; }
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__col h4 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.85);
  margin-bottom: .875rem;
}
.footer__col a {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  margin-bottom: .55rem;
  transition: color .2s;
  text-decoration: none;
}
.footer__col a:hover { color: rgba(255,255,255,.8); }
.footer__col span { display: block; font-size: .85rem; color: rgba(255,255,255,.4); margin-bottom: .55rem; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(255,255,255,.2);
  flex-wrap: wrap;
  gap: .5rem;
}

/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large { grid-column: span 2; }
  .pricing__cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1rem;
    z-index: 999;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: .95rem; color: var(--text-muted) !important; }
  .nav__links .btn--outline { color: var(--accent) !important; border-color: var(--accent) !important; background: transparent !important; }
  .nav__burger { display: flex; }

  .hero__stats { flex-direction: column; gap: 1rem; }
  .stat__divider { width: 60px; height: 1px; }

  .how__steps { flex-direction: column; align-items: center; gap: 2rem; }
  .how__connector { padding-top: 0; transform: rotate(90deg); width: auto; }

  .features__grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }

  .form-row { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.1rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .app-ui { height: 220px; }
}
