/* ==========================================================================
   IntelliBoost — Design System
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #070b14;
  --bg-alt: #0b1120;
  --surface: #111828;
  --surface-2: #161f35;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #eef1fb;
  --text-dim: #9aa4c4;
  --text-faint: #6b7494;

  /* Brand */
  --accent-1: #6366f1; /* indigo */
  --accent-2: #22d3ee; /* cyan */
  --accent-3: #a855f7; /* purple */
  --gradient: linear-gradient(120deg, var(--accent-1), var(--accent-3) 55%, var(--accent-2));
  --gradient-soft: linear-gradient(120deg, rgba(99, 102, 241, 0.15), rgba(34, 211, 238, 0.12));

  /* Feedback */
  --success: #34d399;
  --danger: #f87171;

  /* Layout */
  --max-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.06), 0 20px 60px -24px rgba(99, 102, 241, 0.45);

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 15% 0%, rgba(99, 102, 241, 0.12), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(34, 211, 238, 0.08), transparent 40%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--text-dim); }
button { font-family: inherit; }

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

section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

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

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }
.section-head.left { margin: 0 0 48px; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #06070d;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.75);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--text); background: rgba(255,255,255,0.07); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    display: none;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  max-width: 880px;
  margin: 0 auto 22px;
}
.hero .lead {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  color: var(--text-dim);
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hero-badges span {
  font-size: 0.8rem;
  color: var(--text-faint);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Cards / Grid ---------- */
.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); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent-2);
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.card ul li {
  font-size: 0.88rem;
  color: var(--text-dim);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.card ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  margin-top: 7px;
  flex-shrink: 0;
}
.card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-2);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats .stat-label {
  font-size: 0.85rem;
  color: var(--text-faint);
}
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Process / Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  background: var(--surface);
  position: relative;
}
.step .step-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.step h4 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; margin-bottom: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}
.split-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.split-visual::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 260px;
  height: 260px;
  background: var(--gradient);
  filter: blur(90px);
  opacity: 0.35;
}
.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.96rem;
}
.check-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Pricing ---------- */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--accent-1);
  background: linear-gradient(180deg, rgba(99,102,241,0.08), var(--surface) 40%);
  box-shadow: var(--shadow-glow);
}
.pricing-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gradient);
  color: #06070d;
  margin-bottom: 16px;
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pricing-card .price {
  font-size: 1rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.pricing-card ul { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 28px; flex-grow: 1; }
.pricing-card ul li {
  font-size: 0.9rem;
  color: var(--text-dim);
  display: flex;
  gap: 10px;
}
.pricing-card ul li::before { content: "✓"; color: var(--accent-2); font-weight: 700; }

/* ---------- Team ---------- */
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}
.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.6rem;
  color: #06070d;
}
.team-card h3 { margin-bottom: 2px; font-size: 1.15rem; }
.team-role { color: var(--accent-2); font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; }
.team-card p { font-size: 0.9rem; }
.team-links { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.team-links a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.team-links a:hover { color: var(--accent-2); border-color: var(--accent-2); }
.team-links svg { width: 15px; height: 15px; }

/* ---------- Blog ---------- */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-thumb {
  height: 160px;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
}
.blog-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 60%);
}
.blog-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-meta { font-size: 0.78rem; color: var(--text-faint); margin-bottom: 10px; }
.blog-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.blog-body p { font-size: 0.9rem; flex-grow: 1; }
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}
.article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.article .blog-meta { margin-bottom: 30px; }
.article h2 { font-size: 1.4rem; margin-top: 2em; }
.article h3 { font-size: 1.15rem; margin-top: 1.6em; }
.article p, .article li { color: var(--text-dim); font-size: 1.02rem; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 1em; }
.article li { margin-bottom: 0.5em; }
.article blockquote {
  border-left: 3px solid var(--accent-2);
  padding-left: 20px;
  margin: 1.6em 0;
  color: var(--text);
  font-style: italic;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field input,
.field select,
.field textarea {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 10px; }
.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 18px;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.35); color: var(--success); }
.form-status.error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.35); color: var(--danger); }

/* ---------- Contact info blocks ---------- */
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.contact-info-card .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--gradient-soft);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2);
  flex-shrink: 0;
}
.contact-info-card h4 { margin-bottom: 4px; font-size: 0.98rem; }
.contact-info-card p { margin-bottom: 0; font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 14px;
  background: var(--surface);
}
.faq-item h4 { font-size: 1rem; margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(34,211,238,0.08));
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 14px; }
.cta-band p { max-width: 520px; margin: 0 auto 30px; }
.cta-band .hero-actions { margin-bottom: 0; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 12px; }
.footer-grid a { color: var(--text-dim); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--text); }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-faint);
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
}
.footer-socials a:hover { color: var(--accent-2); border-color: var(--accent-2); }
.footer-socials svg { width: 15px; height: 15px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
html.has-js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.has-js .reveal.in { opacity: 1; transform: none; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge-row span {
  font-size: 0.78rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}

.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
@media (max-width: 640px) { .two-col-list { grid-template-columns: 1fr; } }
