/* ============================================================
   Impacting Global Ventures — Global Stylesheet
   IGV brand theme · deep navy + orange (per brand kit)
   ============================================================ */

:root {
  --bg: #070b21;
  --bg-2: #0a1130;
  --surface: #0f1839;
  --surface-2: #15214c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef2f8;
  --muted: #9fa9c7;
  --accent: #f6921e;
  --accent-2: #fcb045;
  --accent-glow: rgba(246, 146, 30, 0.35);
  --gradient: linear-gradient(92deg, #f6921e 0%, #fcb045 100%);
  --blue: #3d63ff;
  --radius: 18px;
  --radius-sm: 12px;
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  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; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.display {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
}

.h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.h3 { font-size: 1.35rem; }

.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 640px;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #1c1002;
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px var(--accent-glow); }

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 11px 22px; font-size: .92rem; }

/* ---------- Badge / eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 11, 33, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #1c1002;
  font-size: .95rem;
  font-weight: 800;
  box-shadow: 0 4px 18px var(--accent-glow);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-sub {
  color: var(--accent);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: .95rem;
  font-weight: 500;
}
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 44px; height: 44px;
  place-items: center;
  color: var(--text);
}
.hamburger svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 99;
  background: rgba(7,11,33,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px 30px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a.active { color: var(--accent); }
.mobile-menu .btn { margin-top: 18px; width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 190px 0 110px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero .display { margin-bottom: 26px; }
.hero .lead { margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .92rem;
}
.hero-note svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* background glows */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 { width: 560px; height: 560px; background: rgba(246,146,30,0.13); top: -160px; right: -120px; }
.glow-2 { width: 480px; height: 480px; background: rgba(61,99,255,0.10); bottom: -200px; left: -140px; }

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  z-index: 0;
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 100px 0; }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .h2 { margin-bottom: 18px; }

.alt-bg { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Stats ---------- */
.stats-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 44px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { color: var(--muted); font-size: .95rem; margin-top: 6px; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(246,146,30,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.card h3 { margin: 20px 0 12px; font-size: 1.25rem; }
.card p { color: var(--muted); font-size: .98rem; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(246,146,30,0.1);
  border: 1px solid rgba(246,146,30,0.25);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.card-icon svg { width: 26px; height: 26px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 600;
  font-size: .93rem;
  color: var(--accent);
}
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Problem section ---------- */
.problem-list { display: grid; gap: 18px; margin-top: 34px; }
.problem-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.problem-item .x {
  color: #f4726b;
  font-weight: 800;
  font-family: var(--font-head);
  flex-shrink: 0;
  margin-top: 2px;
}
.problem-item p { color: var(--muted); }
.problem-item strong { color: var(--text); }

.solution-panel {
  background: linear-gradient(160deg, rgba(246,146,30,0.08), rgba(61,99,255,0.04));
  border: 1px solid rgba(246,146,30,0.3);
  border-radius: var(--radius);
  padding: 42px 38px;
}
.solution-panel h3 { font-size: 1.5rem; margin-bottom: 14px; }
.solution-panel p { color: var(--muted); margin-bottom: 22px; }
.check-list { display: grid; gap: 13px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .98rem;
}
.check-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.process-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
}
.step-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(246,146,30,0.55);
  line-height: 1;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { color: var(--muted); font-size: .95rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.price-card.featured {
  background: linear-gradient(170deg, rgba(246,146,30,0.09), var(--surface) 55%);
  border-color: rgba(246,146,30,0.45);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(246,146,30,0.15);
}
.popular-tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #1c1002;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card .tier { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price-card .amount {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 800;
  margin: 14px 0 4px;
}
.price-card .amount span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card .tagline { color: var(--muted); font-size: .95rem; margin-bottom: 26px; min-height: 3em; }
.price-card .check-list { margin-bottom: 32px; flex: 1; }
.price-card .btn { justify-content: center; }

/* ---------- Testimonials ---------- */
.testi-card { display: flex; flex-direction: column; height: 100%; }
.testi-stars { color: #ffc94d; letter-spacing: 3px; font-size: 1rem; margin-bottom: 16px; }
.testi-quote { color: var(--text); font-size: 1rem; flex: 1; }
.testi-author { margin-top: 22px; display: flex; align-items: center; gap: 13px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #1c1002;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: .95rem;
}
.testi-author .name { font-weight: 600; font-size: .95rem; }
.testi-author .role { color: var(--muted); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: rgba(246,146,30,0.4); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 22px 26px;
  font-size: 1.02rem;
  font-weight: 600;
  font-family: var(--font-body);
}
.faq-q svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a p { padding: 0 26px 22px; color: var(--muted); font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band { padding: 110px 0; }
.cta-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(246,146,30,0.12), rgba(61,99,255,0.05) 60%), var(--surface);
  border: 1px solid rgba(246,146,30,0.35);
  border-radius: 26px;
  padding: clamp(48px, 7vw, 84px);
  text-align: center;
}
.cta-box .h2 { margin-bottom: 18px; }
.cta-box .lead { margin: 0 auto 36px; }
.cta-box .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 70px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  margin-bottom: 54px;
}
.footer-grid h4 { font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.footer-grid ul { display: grid; gap: 11px; }
.footer-grid a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { color: var(--muted); font-size: .95rem; margin-top: 16px; max-width: 300px; }
.footer-contact li { color: var(--muted); font-size: .95rem; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .88rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 170px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.page-hero .display { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 20px; }

/* ---------- Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block .h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 16px 0 14px; }
.service-block > div > p { color: var(--muted); margin-bottom: 24px; }
.service-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  gap: 14px;
}
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  font-size: .88rem;
  color: var(--muted);
}
.pill.hot { border-color: rgba(246,146,30,0.4); color: var(--accent); background: rgba(246,146,30,0.07); }

/* ---------- Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform .25s ease, border-color .25s ease;
}
.work-card:hover { transform: translateY(-6px); border-color: rgba(246,146,30,0.4); }
.work-thumb {
  height: 210px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.work-body { padding: 24px 26px 28px; }
.work-body .tag { color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.work-body h3 { font-size: 1.15rem; margin: 10px 0 8px; }
.work-body p { color: var(--muted); font-size: .93rem; }

/* thumb color variants */
.t1 { background: linear-gradient(135deg, #14532d, #052e16); color: #86efac; }
.t2 { background: linear-gradient(135deg, #1e3a8a, #172554); color: #93c5fd; }
.t3 { background: linear-gradient(135deg, #713f12, #422006); color: #fde68a; }
.t4 { background: linear-gradient(135deg, #4c1d95, #2e1065); color: #c4b5fd; }
.t5 { background: linear-gradient(135deg, #9f1239, #4c0519); color: #fda4af; }
.t6 { background: linear-gradient(135deg, #134e4a, #042f2e); color: #5eead4; }

/* ---------- Values / About ---------- */
.value-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  text-align: center;
}
.value-item h3 { font-size: 1.05rem; margin-top: 12px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: grid;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { font-size: .9rem; font-weight: 600; display: grid; gap: 8px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: .97rem;
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-info-card h3 { font-size: 1.1rem; }
.contact-info-card li { display: flex; gap: 12px; color: var(--muted); font-size: .96rem; align-items: flex-start; }
.contact-info-card svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }

/* ---------- Reveal animations ---------- */
.reveal { transition: opacity .7s ease, transform .7s ease; }
/* Only hide content once we know JS is alive to bring it back.
   Without this guard a failed script would leave the page blank. */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-3, .cards-4, .work-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .pricing-grid { gap: 34px; }
  .split, .service-block, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: grid; }
}

@media (max-width: 720px) {
  .cards-3, .cards-4, .cards-2, .work-grid, .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 80px; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .nav-cta .btn-primary { padding: 11px 20px; font-size: .9rem; }
}

/* ============================================================
   3D VISUAL LAYER — floating dashboard cards, 3D bars, tilt
   (matches IGV brand creative: glassy navy cards + orange/blue)
   ============================================================ */

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

/* floating glass cards */
.hero-visual {
  position: relative;
  height: 520px;
  perspective: 1400px;
  z-index: 2;
}
.dash-card {
  position: absolute;
  background: linear-gradient(160deg, rgba(21,33,76,.92), rgba(13,21,52,.88));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  transform: rotateY(-14deg) rotateX(7deg);
  transform-style: preserve-3d;
  animation: floaty 6s ease-in-out infinite;
  will-change: transform;
}
.dash-card .dc-label { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.dash-card .dc-value { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; margin: 2px 0; }
.dash-card .dc-delta { font-size: .78rem; font-weight: 700; color: #4ade80; }
.dash-card .dc-delta.blue { color: #7c9aff; }
.dash-card svg { display: block; margin-top: 10px; }

.dc-1 { top: 8%; left: 0; width: 220px; animation-delay: 0s; }
.dc-2 { top: 0; right: 4%; width: 200px; animation-delay: 1.2s; }
.dc-3 { top: 44%; left: 10%; width: 235px; animation-delay: .6s; z-index: 3; }
.dc-4 { bottom: 4%; right: 0; width: 210px; animation-delay: 1.8s; }

.like-pill {
  position: absolute;
  top: 34%; right: 0;
  background: linear-gradient(135deg, #ff5e7a, #e42b52);
  color: #fff;
  font-weight: 800;
  font-family: var(--font-head);
  padding: 10px 18px;
  border-radius: 999px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 16px 40px rgba(228,43,82,.4);
  transform: rotateY(-10deg);
  animation: floaty 5s ease-in-out infinite;
  animation-delay: .9s;
  font-size: .95rem;
}

/* 3D bars */
.bars3d {
  position: absolute;
  bottom: 0; left: 0;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  transform: rotateY(-16deg) rotateX(8deg);
  transform-style: preserve-3d;
  animation: floaty 7s ease-in-out infinite;
  animation-delay: .3s;
}
.bar3d {
  width: 40px;
  position: relative;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #5d84ff, #2646c8);
  box-shadow: 0 24px 50px rgba(38,70,200,.45), inset 0 0 18px rgba(255,255,255,.18);
}
.bar3d::before {
  content: "";
  position: absolute;
  top: -9px; left: 0; right: 0;
  height: 10px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #a9c0ff, #6f92ff);
}
.bar3d.hot { background: linear-gradient(180deg, var(--accent-2), #d97507); box-shadow: 0 24px 50px rgba(246,146,30,.4), inset 0 0 18px rgba(255,255,255,.2); }
.bar3d.hot::before { background: linear-gradient(180deg, #ffd9a8, #ffb054); }

@keyframes floaty {
  0%, 100% { transform: rotateY(-14deg) rotateX(7deg) translateY(0); }
  50% { transform: rotateY(-14deg) rotateX(7deg) translateY(-14px); }
}

/* pain chips — scannable in seconds */
.pain-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 44px 0 34px;
}
.pain-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid #f4726b;
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  transition: transform .25s ease, border-color .25s ease;
}
.pain-chip:hover { transform: translateY(-5px) scale(1.02); }
.pain-chip .pc-icon { font-size: 1.6rem; margin-bottom: 10px; display: block; }
.pain-chip h3 { font-size: 1.02rem; margin-bottom: 5px; }
.pain-chip p { color: var(--muted); font-size: .86rem; line-height: 1.45; }

/* tilt-on-hover for cards */
.tilt3d { transform-style: preserve-3d; transition: transform .18s ease; }

/* photo collage with 3D frames */
.photo-stack { position: relative; height: 430px; perspective: 1200px; }
.photo-frame {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  transform: rotateY(-10deg) rotateX(4deg);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-1 { width: 62%; height: 300px; top: 0; left: 0; z-index: 1; }
.pf-2 { width: 52%; height: 240px; bottom: 0; right: 0; z-index: 2; animation: floaty 7s ease-in-out infinite; }
.badge-float {
  position: absolute;
  z-index: 3;
  bottom: 26%; left: 6%;
  background: var(--gradient);
  color: #1c1002;
  font-family: var(--font-head);
  font-weight: 800;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 18px 45px var(--accent-glow);
  animation: floaty 6s ease-in-out infinite;
  animation-delay: 1s;
}
.badge-float small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .78rem; }

/* compact one-line service cards */
.card.compact { padding: 26px 24px; }
.card.compact p { font-size: .95rem; }
.card.compact h3 { margin: 14px 0 6px; font-size: 1.1rem; }

/* quick-trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  margin-top: 34px;
  color: var(--muted);
  font-size: .95rem;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip svg { width: 17px; height: 17px; color: var(--accent); }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pain-chips { grid-template-columns: repeat(2, 1fr); }

  /* Absolute 3D placement collides once the column narrows —
     lay the cards out in normal flow instead. */
  .hero-visual {
    height: auto;
    max-width: 560px;
    margin: 26px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    perspective: none;
  }
  .hero-visual .dash-card {
    position: static;
    width: auto;
    top: auto; left: auto; right: auto; bottom: auto;
    transform: none;
    animation: none;
  }
  .hero-visual .bars3d,
  .hero-visual .like-pill { display: none; }
  .visual-note { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  /* Keep the visual compact — it is decoration, not a reason to scroll. */
  .hero-visual { grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; margin-top: 22px; }
  .hero-visual .dash-card { padding: 14px 14px 16px; }
  .hero-visual .dash-card .dc-label { font-size: .7rem; }
  .hero-visual .dash-card .dc-value { font-size: 1.35rem; }
  .hero-visual .dash-card .dc-delta { font-size: .68rem; }
  .hero-visual .dash-card svg { display: none; }
  .pain-chips { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pain-chip { padding: 16px 14px; }
  .photo-stack { height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .dash-card, .bars3d, .like-pill, .pf-2, .badge-float { animation: none; }
}

/* mobile header + sticky conversion bar */
@media (max-width: 720px) {
  .nav-cta .btn-primary { display: none; }
  .logo { font-size: 1.05rem; }
  .eyebrow { font-size: .7rem; letter-spacing: .1em; }
  body { padding-bottom: 78px; }
}
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7,11,33,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-strong);
}
.mobile-bar .btn { flex: 1; justify-content: center; padding: 14px 18px; font-size: .95rem; }
.mobile-bar .btn-ghost { flex: 0 0 auto; }
@media (max-width: 720px) { .mobile-bar { display: flex; } }

/* honest labelling for the illustrative hero dashboard */
.visual-note {
  position: absolute;
  top: -6px; left: 0;
  z-index: 5;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
}
@media (max-width: 1024px) { .visual-note { position: static; display: inline-block; margin-bottom: 10px; } }


/* ---------- Skip link (keyboard users) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #07090f;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Visible focus for keyboard navigation */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Contact links ---------- */
.contact-link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); }
.contact-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Form submission feedback ---------- */
.form-status {
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: .95rem;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.03);
}
.form-status p { color: var(--muted); margin: 8px 0 14px; font-size: .92rem; }
.form-status strong { display: block; margin-bottom: 2px; }
.form-status .btn { margin: 4px 6px 0 0; }
.form-status.ok { border-color: rgba(53,224,126,.45); background: rgba(53,224,126,.08); }
.form-status.warn { border-color: rgba(246,146,30,.45); background: rgba(246,146,30,.08); }

/* ---------- Mobile: comfortable tap targets ---------- */
@media (max-width: 720px) {
  .footer-grid a, .footer-bottom a { display: inline-block; padding: 7px 0; }
  .footer-grid ul { gap: 4px; }
  .card-link { padding: 6px 0; }
}

/* Sticky mobile CTA hides over the contact form so it can't cover its buttons */
.mobile-bar { transition: transform .3s ease, opacity .3s ease; }
.mobile-bar.hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }

/* Keep feedback clear of the sticky bar when it is showing */
.form-status { scroll-margin-bottom: 100px; scroll-margin-top: 90px; }

/* Long strings (emails, URLs) must never set a min-content floor that
   widens the grid past the viewport — this caused horizontal scroll on phones. */
.contact-grid > *, .split > *, .footer-grid > *, .hero-grid > * { min-width: 0; }
.contact-info-card, .contact-info-card li, .form-status, .footer-contact li {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.form-status .btn { max-width: 100%; }
.status-email {
  margin-top: 10px !important;
  font-size: .88rem !important;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* Anchor jumps must clear the fixed header, or the top of the
   target section lands underneath it. */
:target,
#contact, #main,
#marketing, #web, #logo, #social, #apps, #ecommerce {
  scroll-margin-top: 96px;
}

/* ============================================================
   IGVentures platform section + platform-connected contact form
   ============================================================ */
.platform-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.platform-panel .pl-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted);
  padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px;
}
.platform-panel .pl-head strong { color: var(--text); display: flex; align-items: center; gap: 8px; font-family: var(--font-head); }
.pl-live { display: inline-flex; align-items: center; gap: 7px; color: #35e07e; font-weight: 600; font-size: .75rem; }
.pl-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #35e07e; box-shadow: 0 0 0 4px rgba(53, 224, 126, .18); }
.pl-steps { display: grid; gap: 12px; }
.pl-step {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px;
  background: rgba(255, 255, 255, .02);
}
.pl-step .pl-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(93, 132, 255, .15); color: #8fa8ff; }
.pl-step .pl-ico.hot { background: rgba(246, 146, 30, .15); color: var(--accent); }
.pl-step .pl-ico svg { width: 18px; height: 18px; }
.pl-step strong { display: block; font-size: .92rem; color: var(--text); }
.pl-step span { font-size: .8rem; color: var(--muted); }
.pl-step time { font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 640px) {
  .platform-panel { padding: 20px 16px; }
  .pl-step { grid-template-columns: 32px 1fr; }
  .pl-step time { grid-column: 2; }
}

/* consent checkbox row (required by the platform's TCPA capture) */
.contact-form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .85rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.contact-form .consent input[type="checkbox"] { width: 18px; height: 18px; padding: 0; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--accent); cursor: pointer; }
.contact-form .consent a { color: var(--accent); text-decoration: underline; }
.contact-form .hp { display: none; }
.form-status.err { border-color: rgba(255, 99, 99, .5); background: rgba(255, 99, 99, .08); }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px)  { .footer-grid { grid-template-columns: 1fr; } }
/* platform section: never let the panel widen the page on small screens */
#platform .split > * { min-width: 0; }
#platform .hero-ctas { flex-wrap: wrap; }
.platform-panel { max-width: 100%; }
.platform-panel .pl-head { min-width: 0; }
.pl-live { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .pl-domain { display: none; } }
