/* ==========================================================================
   BizX — Brand palette derived from logo.png (deep plum #30002C, deep teal #043126)
   ========================================================================== */
:root {
  --plum-900: #17001a;
  --plum-800: #30002C;
  --plum-600: #6c1a63;
  --plum-400: #b93aa3;
  --teal-900: #021d16;
  --teal-800: #043126;
  --teal-600: #0c7a5a;
  --teal-400: #1ed9a3;

  --bg: #0a0510;
  --bg-alt: #120a1a;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f1f6;
  --text-muted: #b6acc0;
  --text-dim: #8c7f98;

  --gradient-brand: linear-gradient(135deg, var(--teal-400) 0%, var(--plum-400) 100%);
  --gradient-radial-teal: radial-gradient(circle, rgba(30, 217, 163, 0.35) 0%, rgba(30, 217, 163, 0) 70%);
  --gradient-radial-plum: radial-gradient(circle, rgba(185, 58, 163, 0.35) 0%, rgba(185, 58, 163, 0) 70%);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Plus Jakarta Sans", "Manrope", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ---------- Background glow ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.6;
  animation: drift 22s ease-in-out infinite alternate;
}
.orb-teal {
  background: var(--gradient-radial-teal);
  top: -10%;
  left: -15%;
}
.orb-plum {
  background: var(--gradient-radial-plum);
  bottom: -20%;
  right: -15%;
  animation-delay: -8s;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 70%);
}
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(4%, 6%) scale(1.08); }
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 0.12s);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 18px;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 5, 16, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
  padding-block: 12px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 6px;
  border-radius: 12px;
  background: #f4f1f6;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav-link:hover { color: var(--text); }
.nav-cta-link {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text);
}
.nav-cta-link:hover { background: var(--surface); border-color: var(--teal-400); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #051309;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30, 217, 163, 0.28);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--teal-400); background: var(--surface-strong); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
  padding-block: 64px 100px;
  min-height: 92vh;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  margin-bottom: 22px;
}
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tag-pill {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tag-pill b { color: var(--teal-400); }
.dot-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(30, 217, 163, 0.2);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}

/* ---------- Hero visual / dashboard mock ---------- */
.hero-visual { position: relative; }
.floaty { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.dash-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  overflow: hidden;
}
.dash-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.dash-url {
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  padding: 4px 12px;
  border-radius: 999px;
}
.dash-card-body { padding: 26px; }
.dash-greeting { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.dash-subtext { font-size: 0.92rem; margin-bottom: 22px; }
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.dash-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-stat-accent { border-color: rgba(30, 217, 163, 0.35); background: rgba(30, 217, 163, 0.08); }
.dash-stat-label { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.dash-stat-value { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.dash-stat-accent .dash-stat-value { color: var(--teal-400); }

.dash-chart {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.chart-label { font-size: 0.78rem; color: var(--text-dim); }
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
  margin: 14px 0 10px;
}
.chart-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: var(--gradient-brand);
  opacity: 0.85;
  animation: growBar 1.2s var(--ease) both;
}
@keyframes growBar {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}
.chart-caption { font-size: 0.82rem; font-weight: 600; color: var(--text); }

.float-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  max-width: 230px;
  box-shadow: var(--shadow-soft);
  animation-delay: -3s;
}
.avatars { display: flex; margin-bottom: 10px; }
.avatars span {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  background: var(--gradient-brand);
  color: #051309;
  border: 2px solid var(--bg-alt);
  margin-left: -8px;
}
.avatars span:first-child { margin-left: 0; }
.float-badge p { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Sections ---------- */
.section { padding-block: 100px; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-top: 14px; }
.section-sub { margin-top: 16px; font-size: 1.05rem; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--teal-400);
  background: var(--surface-strong);
}
.feature-index {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.94rem; }

/* ---------- Banner section ---------- */
.banner-section {
  background: linear-gradient(135deg, rgba(4, 49, 38, 0.5), rgba(48, 0, 44, 0.5));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.banner-inner { max-width: 720px; text-align: center; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.banner-inner h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.banner-inner p { font-size: 1.05rem; margin-bottom: 8px; }

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.industry-card:hover {
  transform: translateY(-8px);
  border-color: var(--plum-400);
  background: var(--surface-strong);
}
.industry-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-brand);
  color: #051309;
  margin-bottom: 18px;
}
.industry-icon svg { width: 22px; height: 22px; }
.industry-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }
.industry-card p { font-size: 0.92rem; }
.industry-card-more {
  background: transparent;
  border-style: dashed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.link-arrow { font-weight: 700; color: var(--teal-400); font-size: 0.9rem; margin-top: 4px; }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 32px;
  padding-block: 32px;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-width: 70px;
}
.step-body h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--text); }
.step-body p { font-size: 1rem; max-width: 60ch; }

/* ---------- Contact ---------- */
.contact-section { padding-bottom: 130px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-copy h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.contact-copy p { margin-top: 18px; font-size: 1.05rem; max-width: 42ch; }
.contact-links { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact-link:hover { border-color: var(--teal-400); background: var(--surface-strong); transform: translateX(4px); }
.contact-link-label { font-weight: 600; color: var(--text-muted); font-size: 0.92rem; }
.contact-link-value { font-weight: 700; color: var(--text); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.form-row input, .form-row textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  background: rgba(255,255,255,0.05);
}
.form-note { font-size: 0.85rem; color: var(--teal-400); min-height: 1.2em; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand p { font-size: 0.85rem; margin-top: 8px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--text); }
.footer-contact { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-contact a { font-size: 0.88rem; color: var(--text-muted); }
.footer-contact a:hover { color: var(--teal-400); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-block: 48px 80px; min-height: unset; }
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 5, 16, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 6%;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-link { width: 100%; padding: 12px 0; }
  .nav-cta-link { margin-top: 8px; text-align: center; }

  .feature-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr; }
  .float-badge { position: static; margin-top: 20px; max-width: none; }
  .step { flex-direction: column; gap: 12px; }
  .step-num { min-width: unset; }
}
