/* =========================================================
   Orvion Digital LLC — Global Stylesheet
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fd;
  --bg-dark: #0b1020;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e6e9f2;

  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-soft: #eef0ff;
  --accent: #06b6d4;

  --gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 45%, #06b6d4 100%);
  --gradient-soft: linear-gradient(135deg, #eef0ff 0%, #e6fbff 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);

  --container: 1180px;
  --font-head: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: -.02em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-alt { background: var(--bg-alt); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-soft);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 18px; }

.lead { font-size: 19px; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(79, 70, 229, .42); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: #cdd3e6; box-shadow: var(--shadow); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; color: var(--ink); }
.brand-logo { width: 220px; max-height: 54px; object-fit: contain; }
.site-footer .brand {
  background: rgba(255,255,255,.98);
  border-radius: 14px;
  padding: 8px 12px;
  margin-bottom: 16px;
  width: fit-content;
}
.site-footer .brand-logo { width: 230px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 10px; transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-soft); }
.nav-links a.active { color: var(--primary); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); background: #fff; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 110px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(1100px 520px at 78% -8%, #e9ecff 0%, rgba(233,236,255,0) 60%),
              radial-gradient(900px 480px at 8% 8%, #e3fbff 0%, rgba(227,251,255,0) 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 58px); line-height: 1.06; margin-bottom: 22px; }
.hero h1 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 19px; color: var(--ink-soft); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
.hero-trust .dot { width: 5px; height: 5px; border-radius: 50%; background: #cbd5e1; }
.hero-trust strong { color: var(--ink); }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px; position: relative; z-index: 2;
}
.hero-card .bar { display: flex; gap: 7px; margin-bottom: 20px; }
.hero-card .bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.hero-card .bar i:nth-child(1){ background:#ff5f57; } .hero-card .bar i:nth-child(2){ background:#febc2e; } .hero-card .bar i:nth-child(3){ background:#28c840; }
.hero-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.hero-stat { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.hero-stat b { display: block; font-family: var(--font-head); font-size: 22px; color: var(--primary); }
.hero-stat span { font-size: 12px; color: var(--muted); }
.code-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #eef0ff, #f1f5f9); margin-bottom: 12px; }
.code-line.w-90{width:90%;} .code-line.w-70{width:70%;} .code-line.w-80{width:80%;} .code-line.w-60{width:60%;}
.code-line.accent { background: linear-gradient(90deg, #c7d2fe, #a5f3fc); }
.hero-badge {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 11px;
  font-size: 14px; font-weight: 600;
}
.hero-badge .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.hero-badge.one { top: 26px; right: -14px; }
.hero-badge.two { bottom: 30px; left: -18px; }
.hero-badge small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }

/* ---------- Logo strip ---------- */
.strip { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip p { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; }
.strip-row span { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #94a3b8; letter-spacing: -.02em; }

/* ---------- Cards / Services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7ddf0; }
.card .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gradient-soft); color: var(--primary); margin-bottom: 18px;
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.card .tags span { font-size: 12px; font-weight: 600; color: var(--ink-soft); background: var(--bg-alt); padding: 5px 11px; border-radius: 999px; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { display: grid; gap: 18px; margin-top: 26px; }
.feature-item { display: flex; gap: 15px; align-items: flex-start; }
.feature-item .check { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-top: 2px; }
.feature-item h4 { font-size: 17px; margin-bottom: 3px; }
.feature-item p { color: var(--muted); font-size: 15px; }

.media-card {
  border-radius: var(--radius-lg); padding: 40px; color: #fff; background: var(--gradient);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden; min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.media-card::after { content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.14); }
.media-card .big { font-family: var(--font-head); font-size: 52px; font-weight: 800; line-height: 1; }
.media-card .sub { opacity: .85; margin-top: 6px; }
.media-card .pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: auto; }
.media-card .pill { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.2); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(30px, 4vw, 44px); background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step .num { font-family: var(--font-head); font-weight: 800; font-size: 15px; width: 40px; height: 40px; border-radius: 12px; background: var(--gradient); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta-band { background: var(--bg-dark); border-radius: var(--radius-lg); padding: 64px 56px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 85% 10%, rgba(124,58,237,.5), transparent 60%), radial-gradient(600px 300px at 5% 90%, rgba(6,182,212,.35), transparent 55%); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); max-width: 620px; }
.cta-band p { color: #cbd5e1; margin-top: 10px; max-width: 540px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 72px 0 60px; position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gradient-soft); }
.page-hero .crumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.page-hero .crumb a:hover { color: var(--primary); }
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 14px; }
.page-hero p { font-size: 19px; color: var(--ink-soft); max-width: 640px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.info-row { display: flex; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--gradient-soft); color: var(--primary); display: grid; place-items: center; }
.info-row h4 { font-size: 15px; margin-bottom: 3px; }
.info-row a, .info-row p { color: var(--muted); font-size: 15px; }
.info-row a:hover { color: var(--primary); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fcfdff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 3px; flex: none; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 15px; margin-bottom: 22px; display: flex; gap: 10px; align-items: center; }
.alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 28px; }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; filter: saturate(1.05); }

/* ---------- Legal / Article ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal .toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px; }
.legal .toc h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.legal .toc ol { list-style: decimal; padding-left: 20px; columns: 2; gap: 18px; }
.legal .toc a { color: var(--ink-soft); font-size: 15px; }
.legal .toc a:hover { color: var(--primary); }
.legal h2 { font-size: 24px; margin: 40px 0 14px; scroll-margin-top: 100px; }
.legal h3 { font-size: 18px; margin: 24px 0 10px; }
.legal p { color: var(--ink-soft); margin-bottom: 14px; }
.legal ul.bullets { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal ul.bullets li { color: var(--ink-soft); margin-bottom: 8px; }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal .callout { background: var(--primary-soft); border-left: 3px solid var(--primary); border-radius: 8px; padding: 16px 20px; margin: 20px 0; color: var(--ink-soft); }

/* ---------- Values / About ---------- */
.value { display: flex; gap: 16px; }
.value .ic { flex: none; width: 48px; height: 48px; border-radius: 13px; background: var(--gradient-soft); color: var(--primary); display: grid; place-items: center; }
.value h4 { font-size: 18px; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #cbd5e1; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand small { color: #8aa0c4; }
.footer-about p { font-size: 15px; color: #94a3b8; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { color: #94a3b8; font-size: 15px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: 15px; color: #94a3b8; align-items: flex-start; }
.footer-contact .ic { flex: none; color: #7c8db0; margin-top: 2px; }
.footer-contact a { color: #cbd5e1; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 14px; color: #8aa0c4; }
.footer-bottom .legal-links { display: flex; gap: 22px; }
.footer-bottom .legal-links a { font-size: 14px; color: #8aa0c4; }
.footer-bottom .legal-links a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4, .stats, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px 22px;
    gap: 4px; box-shadow: var(--shadow); transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .legal .toc ol { columns: 1; }
  .cta-band { padding: 44px 28px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid-4, .stats, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 64px; }
  .container { padding: 0 18px; }
}
