/* ===========================================================
   VeraScaleAI — Brand stylesheet
   Green / emerald primary, whites, soft greys
   =========================================================== */

:root {
  --vs-emerald: #10B981;
  --vs-emerald-600: #059669;
  --vs-emerald-700: #047857;
  --vs-emerald-800: #065F46;
  --vs-teal-deep: #0F5C57;
  --vs-ink: #0B1F1C;
  --vs-grey-900: #111827;
  --vs-grey-700: #374151;
  --vs-grey-600: #4B5563;
  --vs-grey-500: #6B7280;
  --vs-grey-200: #E5E7EB;
  --vs-grey-100: #F3F4F6;
  --vs-grey-50: #F9FAFB;
  --vs-white: #FFFFFF;
  --vs-shadow: 0 10px 30px -12px rgba(6, 95, 70, 0.18);
  --vs-shadow-lg: 0 25px 60px -20px rgba(6, 95, 70, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--vs-grey-700);
  background: var(--vs-white);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  color: var(--vs-grey-900);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 0;
}

a { color: var(--vs-emerald-600); text-decoration: none; }
a:hover { color: var(--vs-emerald-700); }

.vs-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-align: center;
}
.vs-btn-primary {
  background: linear-gradient(135deg, var(--vs-emerald) 0%, var(--vs-emerald-600) 100%);
  color: #fff;
  box-shadow: var(--vs-shadow);
}
.vs-btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--vs-shadow-lg);
}
.vs-btn-ghost {
  background: #fff;
  color: var(--vs-emerald-700);
  border-color: var(--vs-grey-200);
}
.vs-btn-ghost:hover { border-color: var(--vs-emerald); color: var(--vs-emerald-700); }
.vs-btn-white {
  background: #fff;
  color: var(--vs-emerald-700);
}
.vs-btn-white:hover { color: var(--vs-emerald-800); transform: translateY(-2px); }

/* ---------- Header ---------- */
.vs-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vs-grey-100);
}
.vs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.vs-logo { display: flex; align-items: center; gap: 10px; }
.vs-logo img { height: 38px; width: auto; display: block; }
.vs-nav-links { display: flex; align-items: center; gap: 28px; }
.vs-nav-links a {
  color: var(--vs-grey-700);
  font-weight: 600;
  font-size: .95rem;
}
.vs-nav-links a:hover { color: var(--vs-emerald-600); }
.vs-nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.vs-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--vs-grey-900);
  margin: 5px 0;
  transition: .2s;
}

/* dropdown */
.vs-dropdown { position: relative; }
.vs-dropdown-menu {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid var(--vs-grey-100);
  border-radius: 14px;
  box-shadow: var(--vs-shadow-lg);
  padding: 10px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transition: .18s ease;
}
.vs-dropdown:hover .vs-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.vs-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: .9rem;
  color: var(--vs-grey-700);
}
.vs-dropdown-menu a:hover { background: var(--vs-grey-50); color: var(--vs-emerald-700); }

/* ---------- Sections ---------- */
.vs-section { padding: 84px 0; }
.vs-section-sm { padding: 56px 0; }
.vs-bg-grey { background: var(--vs-grey-50); }
.vs-bg-ink {
  background: linear-gradient(160deg, #07332F 0%, #0F5C57 60%, #065F46 100%);
  color: #E6FBF4;
}
.vs-bg-ink h1, .vs-bg-ink h2, .vs-bg-ink h3 { color: #fff; }

.vs-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vs-emerald-600);
  background: rgba(16,185,129,.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.vs-bg-ink .vs-eyebrow { color: #6EE7B7; background: rgba(16,185,129,.18); }

.vs-h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.vs-h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.vs-lead { font-size: 1.15rem; color: var(--vs-grey-600); max-width: 680px; }
.vs-bg-ink .vs-lead { color: #C7F0E5; }

/* ---------- Hero ---------- */
.vs-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(16,185,129,.18), transparent 60%),
    linear-gradient(180deg, #F3FBF7 0%, #FFFFFF 70%);
  padding: 96px 0 88px;
}
.vs-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.vs-hero-visual {
  background: linear-gradient(155deg, #0F5C57 0%, #059669 100%);
  border-radius: 28px;
  padding: 48px;
  color: #fff;
  box-shadow: var(--vs-shadow-lg);
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.vs-hero-visual img { width: 84px; height: auto; filter: brightness(0) invert(1); opacity: .95; }
.vs-hero-stat { font-size: 2.4rem; font-weight: 800; color: #fff; }
.vs-hero-stat span { display: block; font-size: .95rem; font-weight: 600; color: #BBF7E0; }

/* ---------- Cards ---------- */
.vs-grid { display: grid; gap: 26px; }
.vs-grid-2 { grid-template-columns: repeat(2, 1fr); }
.vs-grid-3 { grid-template-columns: repeat(3, 1fr); }
.vs-grid-4 { grid-template-columns: repeat(4, 1fr); }

.vs-card {
  background: #fff;
  border: 1px solid var(--vs-grey-100);
  border-radius: 18px;
  padding: 30px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.vs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vs-shadow);
  border-color: rgba(16,185,129,.4);
}
.vs-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.vs-card p { margin: 0; color: var(--vs-grey-600); font-size: .98rem; }
.vs-card-link { display: block; color: inherit; }
.vs-card-link:hover { color: inherit; }

.vs-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16,185,129,.16), rgba(5,150,105,.16));
  color: var(--vs-emerald-700);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

/* ---------- Steps ---------- */
.vs-step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vs-emerald), var(--vs-emerald-600));
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* ---------- Stat band ---------- */
.vs-stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.vs-stat-num { font-size: 2.6rem; font-weight: 800; color: #fff; }
.vs-stat-label { color: #C7F0E5; font-weight: 600; font-size: .95rem; }

/* ---------- Testimonials ---------- */
.vs-quote {
  background: #fff;
  border: 1px solid var(--vs-grey-100);
  border-radius: 18px;
  padding: 30px;
}
.vs-quote p { font-size: 1.02rem; color: var(--vs-grey-700); font-style: italic; }
.vs-quote-name { font-weight: 700; color: var(--vs-grey-900); font-style: normal; margin-top: 14px; }
.vs-quote-role { color: var(--vs-grey-500); font-size: .9rem; font-style: normal; }

/* ---------- Prose (SEO content) ---------- */
.vs-prose { max-width: 820px; }
.vs-prose h2 { font-size: 1.7rem; margin: 48px 0 14px; }
.vs-prose h3 { font-size: 1.28rem; margin: 32px 0 10px; }
.vs-prose p { margin: 0 0 18px; color: var(--vs-grey-700); }
.vs-prose ul, .vs-prose ol { margin: 0 0 18px; padding-left: 22px; color: var(--vs-grey-700); }
.vs-prose li { margin-bottom: 9px; }
.vs-prose strong { color: var(--vs-grey-900); }
.vs-prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.vs-faq-item {
  border: 1px solid var(--vs-grey-100);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 14px;
  background: #fff;
}
.vs-faq-item h3 { font-size: 1.08rem; margin: 0 0 8px; }
.vs-faq-item p { margin: 0; color: var(--vs-grey-600); }

/* ---------- Forms ---------- */
.vs-form { display: grid; gap: 16px; }
.vs-form label { font-weight: 600; font-size: .9rem; color: var(--vs-grey-700); display: block; margin-bottom: 6px; }
.vs-form input, .vs-form select, .vs-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--vs-grey-200);
  border-radius: 11px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--vs-grey-900);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vs-form input:focus, .vs-form select:focus, .vs-form textarea:focus {
  outline: none;
  border-color: var(--vs-emerald);
  box-shadow: 0 0 0 4px rgba(16,185,129,.14);
}
.vs-form-card {
  background: #fff;
  border: 1px solid var(--vs-grey-100);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--vs-shadow);
}
.vs-form-msg { display: none; padding: 14px 16px; border-radius: 11px; font-weight: 600; margin-top: 4px; }
.vs-form-msg.ok { display: block; background: rgba(16,185,129,.12); color: var(--vs-emerald-800); }
.vs-form-msg.err { display: block; background: #FEF2F2; color: #B91C1C; }

.vs-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.vs-trust span {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .9rem; color: var(--vs-grey-600);
}
.vs-trust span::before { content: "✓"; color: var(--vs-emerald-600); font-weight: 900; }

/* ---------- CTA band ---------- */
.vs-cta {
  background: linear-gradient(135deg, #07332F 0%, #0F5C57 55%, #059669 100%);
  border-radius: 26px;
  padding: 60px;
  text-align: center;
  color: #fff;
}
.vs-cta h2 { color: #fff; margin-bottom: 12px; }
.vs-cta p { color: #C7F0E5; max-width: 620px; margin: 0 auto 28px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.vs-footer {
  background: #07332F;
  color: #BBF7E0;
  padding: 64px 0 28px;
}
.vs-footer a { color: #BBF7E0; font-size: .92rem; }
.vs-footer a:hover { color: #fff; }
.vs-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.vs-footer h4 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.vs-footer ul { list-style: none; padding: 0; margin: 0; }
.vs-footer li { margin-bottom: 10px; }
.vs-footer-logo img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.vs-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 44px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: #7DD3B8;
}

/* ---------- Breadcrumb ---------- */
.vs-breadcrumb { font-size: .85rem; color: var(--vs-grey-500); margin-bottom: 18px; }
.vs-breadcrumb a { color: var(--vs-grey-500); }
.vs-breadcrumb a:hover { color: var(--vs-emerald-600); }

/* ---------- Related links ---------- */
.vs-related a {
  display: inline-block;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--vs-grey-200);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  margin: 0 8px 10px 0;
  color: var(--vs-grey-700);
}
.vs-related a:hover { border-color: var(--vs-emerald); color: var(--vs-emerald-700); }

/* ---------- Utilities ---------- */
.vs-center { text-align: center; }
.vs-mt-0 { margin-top: 0; }
.vs-mb-0 { margin-bottom: 0; }
.vs-section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.vs-section-head.left { margin-left: 0; text-align: left; }

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  .vs-hero-grid { grid-template-columns: 1fr; }
  .vs-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .vs-stat-band { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .vs-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .vs-section { padding: 56px 0; }
  .vs-nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--vs-grey-100);
    box-shadow: var(--vs-shadow);
    display: none;
  }
  .vs-nav-links.open { display: flex; }
  .vs-nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--vs-grey-50); }
  .vs-nav-links .vs-btn { margin-top: 10px; width: 100%; }
  .vs-dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: auto;
  }
  .vs-nav-toggle { display: block; }
  .vs-grid-2, .vs-grid-3, .vs-grid-4 { grid-template-columns: 1fr; }
  .vs-stat-band { grid-template-columns: 1fr 1fr; }
  .vs-footer-grid { grid-template-columns: 1fr; }
  .vs-cta { padding: 40px 24px; }
  .vs-hero { padding: 60px 0 56px; }
  .vs-form-card { padding: 24px; }
}
