/* ============================================================
   VAAR Services Ltd — stylesheet
   ============================================================ */

:root {
  --bg: #0b1220;
  --bg-2: #0f1729;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --ink: #0b1220;
  --ink-2: #364152;
  --muted: #64748b;
  --line: #e3e9f2;
  --brand: #2563eb;
  --brand-2: #06b6d4;
  --brand-ink: #1d4ed8;
  --accent: #22d3ee;
  --ok: #34d399;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .25);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35);
  --container: 1140px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; color: var(--ink); margin: 0 0 .5rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 12px 24px -10px rgba(37, 99, 235, .7); }
.btn-primary:hover { box-shadow: 0 18px 30px -10px rgba(37, 99, 235, .8); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

.eyebrow {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: .78rem; color: var(--brand);
  margin: 0 0 .75rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800;
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .7);
}
.brand-text-light { color: var(--brand); }

.nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--ink-2); font-weight: 500; font-size: .96rem; }
.nav-menu a:hover { color: var(--brand); text-decoration: none; }
.nav-menu a.btn-primary { color: #fff; }

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

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg); color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 80% -10%, rgba(6, 182, 212, .35), transparent 60%),
    radial-gradient(50% 50% at 10% 10%, rgba(37, 99, 235, .45), transparent 60%),
    linear-gradient(180deg, #0b1220, #0f1729);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 42px 42px; mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 75%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero-copy h1 { color: #fff; }
.hero .eyebrow { color: var(--accent); }
.lede { font-size: 1.15rem; color: #c7d2e3; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.6rem 0 2.2rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 1.8rem; list-style: none; margin: 0; padding: 1.4rem 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--display); font-size: 1rem; }
.hero-trust span { color: #93a3bd; font-size: .85rem; }

/* Hero card */
.hero-card {
  background: rgba(13, 22, 41, .7); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px); font-family: 'Space Grotesk', monospace;
}
.hc-row-head { display: flex; align-items: center; gap: .4rem; padding-bottom: .9rem; border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: .9rem; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #f87171; } .dot-y { background: #fbbf24; } .dot-g { background: #34d399; }
.hc-title { margin-left: auto; color: #93a3bd; font-size: .8rem; }
.hc-line { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .92rem; color: #c7d2e3; }
.hc-key { color: #93a3bd; }
.hc-ok { color: var(--ok); }
.hc-val { color: #fff; }
.hc-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); margin: .8rem 0 .6rem; overflow: hidden; }
.hc-bar span { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 999px; animation: grow 1.6s ease both; }
@keyframes grow { from { width: 0; } }
.hc-foot { color: #93a3bd; font-size: .8rem; }

/* ---------- Strip ---------- */
.strip { background: var(--bg-2); border-top: 1px solid rgba(255, 255, 255, .06); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.1rem; padding: 1.1rem 0; color: #8ea2c2; font-family: var(--display); font-weight: 500; letter-spacing: .02em; font-size: .95rem; }
.strip-inner span:nth-child(even) { color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 640px; margin: 0 auto 2.8rem; text-align: center; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}

.service { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(37, 99, 235, .35); }
.service .ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.5rem; background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(6, 182, 212, .12));
  margin-bottom: 1rem;
}
.service p { color: var(--ink-2); margin: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; }
.step-num { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--brand); display: block; margin-bottom: .4rem; }
.step p { color: var(--ink-2); margin: 0; }

/* ---------- Pricing ---------- */
.btn-ghost-dark { background: transparent; color: var(--brand-ink); border-color: var(--line); }
.btn-ghost-dark:hover { background: var(--surface-alt); border-color: var(--brand); }

.pricing-group-title { font-family: var(--display); font-size: 1.15rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 1.2rem; }
.pricing-group-title-2 { margin-top: 2.6rem; }
.pricing-grid { align-items: stretch; }

.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; }
.price-featured { border-color: rgba(37, 99, 235, .55); box-shadow: var(--shadow-lg); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 16px -6px rgba(37, 99, 235, .6);
}
.price-head { padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.price-head h4 { font-family: var(--display); font-size: 1.15rem; font-weight: 600; margin: 0 0 .5rem; }
.price-tag { margin: 0 0 .5rem; display: flex; align-items: baseline; gap: .25rem; flex-wrap: wrap; }
.price-tag .per-pre { color: var(--muted); font-size: .85rem; }
.price-tag .amount { font-family: var(--display); font-weight: 700; font-size: 2.1rem; color: var(--ink); line-height: 1; }
.price-tag .per { color: var(--muted); font-size: .95rem; }
.price-desc { color: var(--muted); font-size: .9rem; margin: 0; }
.price-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.price-list li { position: relative; padding-left: 1.6rem; margin-bottom: .65rem; color: var(--ink-2); font-size: .95rem; }
.price-list li::before { content: "✓"; position: absolute; left: 0; top: .05rem; color: var(--brand); font-weight: 700; }
.pricing-note { text-align: center; color: var(--muted); margin: 2rem 0 0; }

/* ---------- Industries tags ---------- */
.tags-grid { gap: 1.1rem; }
.tag-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem 1.4rem; transition: border-color .2s, transform .2s; }
.tag-card:hover { border-color: rgba(37, 99, 235, .4); transform: translateY(-3px); }
.tag-card h3 { margin-bottom: .25rem; }
.tag-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 3rem 0; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num, .stat-suffix { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; }
.stat-suffix { display: inline; }
.stat > div, .stat p { margin: .5rem 0 0; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.stat .stat-num + .stat-suffix { margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: start; }
.about-copy p { color: var(--ink-2); }
.check-list { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; color: var(--ink-2); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem; background: var(--brand); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }

.about-facts h3 { margin-bottom: 1rem; }
.about-facts dl { margin: 0; }
.about-facts dl > div { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.about-facts dl > div:last-child { border-bottom: 0; }
.about-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.about-facts dd { margin: .2rem 0 0; font-weight: 500; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-copy p { color: var(--ink-2); }
.contact-list { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.contact-list li { display: flex; gap: .9rem; align-items: center; margin-bottom: 1.1rem; }
.ci { width: 44px; height: 44px; border-radius: 11px; background: var(--surface-alt); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-list strong { display: block; font-family: var(--display); font-size: .95rem; }
.contact-list a { color: var(--brand-ink); }

.contact-form .field { margin-bottom: 1rem; }
.contact-form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: .35rem; color: var(--ink-2); }
.opt { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.contact-form textarea { resize: vertical; }
.form-note { margin: .9rem 0 0; font-size: .9rem; min-height: 1.2em; }
.form-note.ok { color: #047857; }
.form-note.err { color: #b91c1c; }
.field input:invalid:not(:placeholder-shown) { border-color: #f87171; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); color: #c7d2e3; padding-top: 3.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand p { color: #93a3bd; margin-top: .9rem; max-width: 30ch; font-size: .95rem; }
.footer-brand .brand { color: #fff; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .6rem; font-size: .92rem; color: #93a3bd; }
.footer-col a { color: #c7d2e3; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.3rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom p { margin: 0; font-size: .85rem; color: #7e8eaa; }

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

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { max-width: 420px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem; gap: .25rem;
    box-shadow: var(--shadow); max-height: 0; overflow: hidden; padding-block: 0; transition: max-height .3s ease, padding .3s ease;
  }
  .nav-menu.open { max-height: 420px; padding-block: 1rem; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: .7rem .25rem; }
  .nav-menu a.btn-primary { text-align: center; margin-top: .4rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

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