/* ==========================================================================
   Inventipreneur Solutions — Global Stylesheet
   ========================================================================== */

:root {
  --navy: #12173a;
  --text: #4b5066;
  --text-light: #6b7088;
  --blue: #2f5bff;
  --blue-dark: #1f3fd6;
  --teal: #14b3cf;
  --pink: #d6339a;
  --bg: #fbfaff;
  --bg-alt: #f3f1fb;
  --border: #e6e4f3;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow: 0 8px 30px rgba(28, 27, 74, 0.08);
  --shadow-sm: 0 4px 14px rgba(28, 27, 74, 0.06);
  --max-width: 1200px;
  --font-head: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: 2.6rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { color: var(--text); }

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

section { padding: 88px 0; }

.section-tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(47, 91, 255, 0.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p { margin-top: 14px; font-size: 1.05rem; }

.section-head.align-left { margin: 0 0 44px; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(47, 91, 255, 0.28);
}

.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.btn-outline:hover { background: rgba(47, 91, 255, 0.08); transform: translateY(-2px); }

.btn-outline.on-dark { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline.on-dark:hover { background: rgba(255,255,255,0.12); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(251, 250, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.1;
}

.logo span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: block;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  color: var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links > li > a:hover,
.nav-links > li.active > a { background: var(--bg-alt); color: var(--blue); }

.has-mega { display: flex; align-items: center; gap: 4px; }
.has-mega svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-links > li:hover .has-mega svg { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-links > li:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
}

.mega-menu a:hover { background: var(--bg-alt); color: var(--blue); }

.mega-menu a .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  margin-top: 6px;
  flex-shrink: 0;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 70px;
  background: linear-gradient(135deg, #f6e9fb 0%, #eef1fd 45%, #eaf1ff 100%);
  overflow: hidden;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
}

.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #f3a6e0, transparent 70%);
  top: -140px; right: -100px;
}

.hero::after {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #9db8ff, transparent 70%);
  bottom: -160px; left: -80px;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-grid.reverse { grid-template-columns: 0.9fr 1.1fr; }
.hero-grid.reverse .hero-visual { order: -1; }

.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.12rem; color: var(--text); max-width: 560px; }

.hero-visual {
  position: relative;
  height: 340px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #7f6ff0 0%, #4f8bf6 45%, #2fd0d8 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.35), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(255,255,255,0.25), transparent 50%);
}

.hero-visual .glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .glyph svg { width: 96px; height: 96px; opacity: 0.9; }

.hero-center { text-align: center; }
.hero-center .lead { max-width: 680px; margin: 0 auto; }
.hero-center .btn-row { justify-content: center; }

.hero.compact { padding: 60px 0; }
.hero.compact h1 { font-size: 2.1rem; }

/* breadcrumb-ish tag row inside hero */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(47,91,255,0.18);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

.card ul { margin-top: 4px; }
.card ul li {
  font-size: 0.92rem;
  color: var(--text);
  padding: 5px 0 5px 20px;
  position: relative;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.card-accent:nth-of-type(3n+1) { border-color: #b9c6ff; }
.card-accent:nth-of-type(3n+2) { border-color: #a9e6ee; }
.card-accent:nth-of-type(3n+3) { border-color: #f2c0e0; }

.card-accent:nth-of-type(3n+1) ul li::before { background: var(--blue); }
.card-accent:nth-of-type(3n+2) ul li::before { background: var(--teal); }
.card-accent:nth-of-type(3n+3) ul li::before { background: var(--pink); }

/* icon badge for value props */
.icon-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
}

.icon-badge svg { width: 24px; height: 24px; }

.icon-badge.b1 { background: linear-gradient(135deg, #3f6bff, #2338c9); }
.icon-badge.b2 { background: linear-gradient(135deg, #17c3d6, #0e8fac); }
.icon-badge.b3 { background: linear-gradient(135deg, #e14fc0, #ab2f95); }
.icon-badge.b4 { background: linear-gradient(135deg, #4f6bff, #1c2e9e); }

/* ---------- Stats ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
}

.stat .num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  background: linear-gradient(120deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .label { font-weight: 600; color: var(--navy); margin: 6px 0 6px; }
.stat p.desc { font-size: 0.88rem; color: var(--text-light); }

/* ---------- Testimonial ---------- */
.testimonial {
  border-left: 4px solid var(--blue);
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 32px 36px;
  font-size: 1.1rem;
  color: var(--navy);
  font-style: italic;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- Process steps (numbered 2x2 or 4-across) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}

.process-step .step-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.process-step .step-num {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.95rem;
}

.process-step .step-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.process-step:nth-child(4n+2) .step-line { background: linear-gradient(90deg, var(--teal), transparent); }
.process-step:nth-child(4n+3) .step-line { background: linear-gradient(90deg, var(--pink), transparent); }
.process-step:nth-child(4n+4) .step-line { background: linear-gradient(90deg, var(--blue-dark), transparent); }

/* ---------- Vertical timeline (Quality & Security) ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 26px 0;
  align-items: center;
}

.timeline-item .num-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  z-index: 1;
}

.timeline-item:nth-child(2) .num-dot { border-color: var(--teal); }
.timeline-item:nth-child(3) .num-dot { border-color: var(--pink); }
.timeline-item:nth-child(4) .num-dot { border-color: var(--blue-dark); }

.timeline-item .tl-content { text-align: right; padding-right: 20px; }
.timeline-item .tl-empty { padding-left: 20px; }
.timeline-item:nth-child(even) .tl-content { order: 2; text-align: left; padding-right: 0; padding-left: 20px; }
.timeline-item:nth-child(even) .tl-empty { order: 1; padding-left: 0; }

/* ---------- Split content block (icon/text two-col, image replaced with gradient panel) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.reverse .split-visual { order: 2; }

.split-visual {
  height: 300px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #6f8dfb, #8a5ff3 55%, #2fd0d8);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, #1c2560, #2f3fb0 55%, #3f6df0);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  top: -120px; right: -60px;
  border-radius: 50%;
}

.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 620px; margin: 14px auto 0; }
.cta-banner .btn-row { justify-content: center; }

/* three-step cta cards (Free Consultation / Proposal / Onboarding) */
.step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.step-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: left;
}

.step-card h4 { color: var(--white); margin-bottom: 8px; }
.step-card p { color: rgba(255,255,255,0.78); font-size: 0.9rem; }

/* ---------- Services grid page ---------- */
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.service-card .icon-badge { margin-bottom: 16px; }
.service-card p { flex: 1; font-size: 0.93rem; margin-bottom: 18px; }
.service-card .learn-more { font-weight: 600; color: var(--blue); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card .learn-more svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.service-card:hover .learn-more svg { transform: translateX(4px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid .logo { color: var(--white); }
.footer-grid .logo span { color: #7fa0ff; }

.footer-grid p.desc { font-size: 0.9rem; margin-top: 14px; max-width: 280px; }

.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.68); transition: color 0.15s ease; }
.footer-col ul li a:hover { color: #7fa0ff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.contact-info-card .row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-card .row:last-child { border-bottom: none; }

.contact-info-card .row .ic {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-info-card .row .ic svg { width: 20px; height: 20px; }

form.contact-form {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: grid;
  gap: 16px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-form label { font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; display: block; }

.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--navy);
  background: var(--bg);
  transition: border-color 0.15s ease;
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--blue);
}

.contact-form textarea { resize: vertical; min-height: 120px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 18px;
}

.breadcrumb a { color: var(--blue); font-weight: 500; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 56px; }
.mt-md { margin-top: 32px; }
.bg-alt { background: var(--bg-alt); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  h1 { font-size: 2.1rem; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid.reverse .hero-visual { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr; gap: 28px; }
  .step-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 22px; }
  .timeline-item, .timeline-item:nth-child(even) { grid-template-columns: 1fr; text-align: left; }
  .timeline-item .tl-content, .timeline-item:nth-child(even) .tl-content { text-align: left; padding: 0 0 0 56px; order: 1; }
  .timeline-item .tl-empty, .timeline-item:nth-child(even) .tl-empty { display: none; }
  .timeline-item .num-dot { left: 22px; }

  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    gap: 2px;
  }

  body.nav-open .mega-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    width: auto; grid-template-columns: 1fr;
    box-shadow: none; border: none; padding: 4px 0 4px 14px;
    display: none;
  }

  body.nav-open li.mega-open .mega-menu { display: grid; }

  body.nav-open .nav-cta { margin-top: 12px; }
  body.nav-open .nav-cta .btn-outline { display: inline-flex; }
}

/* ==========================================================================
   Utilities — anti-spam honeypot & 404 page
   ========================================================================== */

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 90px 24px;
}

.error-page .code {
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 14vw, 9rem);
  line-height: 1;
  font-weight: 700;
  background: linear-gradient(120deg, var(--blue), var(--teal) 55%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.error-page h1 { margin-bottom: 12px; }
.error-page p { max-width: 560px; margin: 0 auto 26px; }
.error-page .btn-row { justify-content: center; }

