/* INNOVV TECH INC. — site styles */
:root {
  --ink: #0b1526;
  --ink-2: #13223a;
  --text: #1c2636;
  --muted: #5a6577;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --brand: #1f6feb;
  --brand-2: #14b8a6;
  --accent: #f5a524;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11,21,38,.06), 0 8px 24px rgba(11,21,38,.06);
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff; font-size: .95rem;
}
.brand small { display: block; font-family: var(--font); font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--text); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--bg-soft); text-decoration: none; }
.nav a.active { color: var(--brand); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--ink); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 18px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff !important; box-shadow: 0 6px 18px rgba(31,111,235,.3); }
.btn-primary:hover { background: #1a5fd0; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #dbe4f3;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(20,184,166,.35), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(31,111,235,.45), transparent 60%),
    var(--ink);
  padding: 110px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(90deg, #6fb1ff, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; max-width: 40rem; color: #b9c6db; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.hero .eyebrow { color: #5eead4; background: rgba(94,234,212,.1); border: 1px solid rgba(94,234,212,.25); padding: 6px 12px; border-radius: 999px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 26px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.stack { display: grid; gap: 10px; }
.stack-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: .92rem; color: #dbe4f3; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-2); flex: none; box-shadow: 0 0 0 4px rgba(20,184,166,.18); }
.dot.blue { background: #6fb1ff; box-shadow: 0 0 0 4px rgba(111,177,255,.18); }
.dot.amber { background: var(--accent); box-shadow: 0 0 0 4px rgba(245,165,36,.18); }
@media (max-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
}

/* Page hero (inner pages) */
.page-hero {
  background: radial-gradient(700px 300px at 90% 0%, rgba(20,184,166,.28), transparent 60%), var(--ink);
  color: #b9c6db; padding: 72px 0 64px;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .eyebrow { color: #5eead4; }
.page-hero p { max-width: 46rem; font-size: 1.08rem; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 600px) { section { padding: 60px 0; } }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11,21,38,.06), 0 16px 36px rgba(11,21,38,.1); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(31,111,235,.12), rgba(20,184,166,.14)); color: var(--brand); margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }
.card.feature-ai { border-color: rgba(20,184,166,.45); background: linear-gradient(180deg, rgba(20,184,166,.06), #fff 60%); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #0f766e; background: rgba(20,184,166,.12); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 28px 24px; }
.stat strong { display: block; font-family: var(--display); font-size: 2rem; color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(20,184,166,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Philosophy venn */
.venn { position: relative; width: 100%; aspect-ratio: 1 / 0.92; max-width: 460px; margin: 0 auto; }
@media (max-width: 480px) { .venn .circle { font-size: .74rem; } .venn .core { font-size: .85rem; } }
.venn .circle {
  position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 8%;
  font-size: .9rem; color: var(--ink); mix-blend-mode: multiply;
}
.venn .c1 { left: 21%; top: 0; background: rgba(31,111,235,.16); }
.venn .c2 { left: 0; bottom: 0; background: rgba(20,184,166,.18); }
.venn .c3 { right: 0; bottom: 0; background: rgba(245,165,36,.2); }
.venn .c1 { align-items: start; padding-top: 14%; }
.venn .c2 { justify-items: start; text-align: left; padding-left: 12%; padding-top: 18%; }
.venn .c3 { justify-items: end; text-align: right; padding-right: 12%; padding-top: 18%; }
.venn .circle b { display: block; font-family: var(--display); }
.venn .core { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); font-family: var(--display); font-weight: 700; color: var(--brand); text-align: center; line-height: 1.1; font-size: 1.05rem; }
.venn-text { max-width: 9.5em; }

/* CTA band */
.cta {
  background: linear-gradient(120deg, var(--brand), #0e8f88);
  color: #e8f1ff; border-radius: 22px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; opacity: .9; }
.cta .btn { background: #fff; color: var(--ink) !important; }
@media (max-width: 600px) { .cta { padding: 32px 24px; } }

/* White papers */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.search { flex: 1 1 260px; position: relative; }
.search input {
  width: 100%; padding: 12px 14px 12px 40px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff;
}
.search input:focus { outline: 2px solid rgba(31,111,235,.35); border-color: var(--brand); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.chip { border: 1px solid var(--line); background: #fff; padding: 9px 14px; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; color: var(--text); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.paper-group { margin-bottom: 44px; }
.paper-group h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; }
.paper-group h2 .count { font-family: var(--font); font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.papers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 760px) { .papers { grid-template-columns: 1fr; } }
.paper {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
a.paper:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow); }
.paper .pdf { flex: none; width: 40px; height: 48px; border-radius: 6px; background: #fdecec; color: #c2312f; font-size: .66rem; font-weight: 700; display: grid; place-items: center; letter-spacing: .04em; }
.paper.soon .pdf { background: var(--bg-soft); color: var(--muted); }
.paper .title { font-weight: 600; color: var(--ink); line-height: 1.35; }
.paper .meta { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.badge-new { font-size: .68rem; font-weight: 700; color: #fff; background: var(--brand-2); border-radius: 4px; padding: 1px 6px; margin-right: 6px; vertical-align: 2px; }
.empty { display: none; color: var(--muted); padding: 24px 0; }

/* Contact */
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon { margin: 0; flex: none; }
.contact-item strong { display: block; color: var(--ink); }
.contact-item span, .contact-item a { color: var(--muted); }

.quote { border-left: 4px solid var(--brand-2); padding: 6px 0 6px 20px; font-size: 1.1rem; color: var(--ink); font-style: italic; }
.quote cite { display: block; font-style: normal; font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #94a3b8; padding: 64px 0 28px; font-size: .93rem; }
.site-footer a { color: #cbd5e1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; font-family: var(--font); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .card, .btn { transition: none; } }
