/* Hive Vendor Solutions — site styles */
:root {
  --bg: #0E0B1A;
  --bg-2: #120E22;
  --card: #16112A;
  --card-2: #1C1633;
  --line: #231E38;
  --line-2: #2A2442;
  --line-3: #3A3356;
  --text: #F4F2FA;
  --text-2: #D9D5E6;
  --muted: #9C94BA;
  --mint: #1FD4A0;
  --pink: #FF4FA3;
  --purple: #7C5CFF;
  --purple-2: #9B82FF;
  --dark-slot: #3B3163;
  --radius: 22px;
  --pad-x: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img, svg { display: block; }
a { color: var(--mint); }
section[id], article[id] { scroll-margin-top: 90px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ---------- type ---------- */
.display {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.98;
  color: #fff;
  margin: 0;
}
.display .hl { color: var(--mint); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pink);
}
.eyebrow::before, .eyebrow.both::after { content: ""; width: 36px; height: 2px; background: var(--pink); }
.lead { font-size: 18px; font-weight: 300; line-height: 1.6; color: var(--text-2); margin: 0; }
.h3 { font-family: 'Archivo', sans-serif; font-stretch: 115%; font-weight: 800; font-size: 30px; letter-spacing: -0.01em; color: #fff; margin: 0; }
.mono { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 30px; border-radius: 999px;
  font-size: 17px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--mint); color: var(--bg); }
.btn-primary:hover { background: #45E0B4; color: var(--bg); }
.btn-ghost { border: 1.5px solid var(--line-3); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-sm { height: 46px; padding: 0 24px; font-size: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 11, 26, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: 'Archivo', sans-serif; font-stretch: 110%; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.logo-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 16px; font-weight: 500; }
.nav a { color: var(--text-2); text-decoration: none; }
.nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.signin { color: #fff; font-weight: 600; text-decoration: none; padding: 0 14px; height: 44px; display: flex; align-items: center; }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line-3); background: transparent; color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { padding-top: 120px; padding-bottom: 128px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(40px, 4.6vw, 66px); margin-top: 26px; }
.hero .lead { font-size: 20px; margin-top: 30px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-note { margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.float-hex { position: absolute; pointer-events: none; }

.hero-visual {
  position: relative; height: 470px; border-radius: 24px;
  border: 1px solid var(--line-2); background: var(--card); overflow: hidden;
}
.streak { position: absolute; height: 3px; transform-origin: left center; pointer-events: none; }
.streak.purple { background: linear-gradient(90deg, rgba(124,92,255,0), var(--purple) 40%, var(--purple-2)); box-shadow: 0 0 16px 2px rgba(124,92,255,.7); }
.streak.pink { background: linear-gradient(90deg, rgba(255,79,163,0), var(--pink) 40%, #FF7ABD); box-shadow: 0 0 16px 2px rgba(255,79,163,.7); }
.pill-tag {
  position: absolute; left: 26px; top: 26px; height: 28px; padding: 0 12px;
  display: flex; align-items: center; border-radius: 999px; background: var(--mint); color: var(--bg);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.mock-window { position: absolute; left: 26px; top: 70px; width: 330px; border-radius: 14px; background: #F4F2FA; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.mock-bar { height: 34px; padding: 0 12px; display: flex; align-items: center; gap: 6px; background: #E6E2F2; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.mock-url { margin-left: 8px; flex: 1; height: 20px; padding: 0 8px; display: flex; align-items: center; border-radius: 6px; background: #fff; font-size: 11px; color: #5A5378; overflow: hidden; white-space: nowrap; }
.mock-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.mock-headline { position: relative; padding: 6px 8px; margin: 0 -8px; border: 1.5px dashed var(--purple); border-radius: 6px; font-family: 'Archivo', sans-serif; font-stretch: 110%; font-weight: 800; font-size: 20px; color: var(--bg); }
.mock-headline span { position: absolute; top: -10px; right: 8px; height: 16px; padding: 0 6px; display: flex; align-items: center; background: var(--purple); color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 500; border-radius: 4px; }
.bar { height: 7px; border-radius: 4px; background: #DCD7EA; }
.mock-form { margin-top: 8px; padding: 14px; border: 1.5px dashed #C9C2DE; border-radius: 8px; display: flex; flex-direction: column; gap: 9px; }
.mock-form small { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: #5A5378; }
.mini-card { position: absolute; right: 22px; width: 172px; padding: 14px 16px; border-radius: 14px; border: 1px solid #2E2848; background: var(--bg-2); }
.mini-label { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--text-2); }
.chart { margin-top: 10px; height: 52px; display: flex; align-items: flex-end; gap: 6px; }
.chart span { flex: 1; border-radius: 3px; background: var(--dark-slot); }
.hexgrid { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.hex { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hexgrid .hex { height: 34px; }
.lead-card { position: absolute; right: 22px; bottom: 26px; width: 238px; padding: 14px 16px; border-radius: 14px; border: 1px solid #2E2848; background: var(--bg-2); display: flex; gap: 12px; align-items: center; }
.lead-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: var(--pink); display: flex; align-items: center; justify-content: center; color: #fff; }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.section-head h2 { font-size: clamp(32px, 3.3vw, 46px); line-height: 1; margin-top: 20px; }
.section-head .lead { max-width: 440px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.section-head.center .lead { max-width: 640px; margin-top: 20px; }

.card { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.mt-56 { margin-top: 56px; }
.mt-64 { margin-top: 64px; }

.product { display: flex; flex-direction: column; }
.product-visual { height: 220px; background: var(--card-2); position: relative; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.product-body { padding: 40px; display: flex; flex-direction: column; flex: 1; }
.product-title { display: flex; align-items: center; gap: 14px; }
.product-body .mono { margin-top: 10px; }
.product-body .lead { margin-top: 18px; }
.checks { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--text); }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex-shrink: 0; margin-top: 2px; }

/* builder visual */
.bv-page { position: absolute; left: 48px; top: 40px; width: 250px; height: 200px; background: #F4F2FA; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.bv-form { position: absolute; left: 318px; top: 64px; width: 210px; padding: 16px; background: var(--bg-2); border: 1px solid #2E2848; border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.bv-form div.f { height: 26px; border-radius: 6px; border: 1px solid #2E2848; }

/* studio visual */
.sv-hex { position: absolute; width: 88px; height: 102px; }

/* automation */
.automation { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flow { position: relative; background: var(--card-2); border-right: 1px solid var(--line-2); padding: 40px 48px; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; }
.flow-node { position: relative; display: flex; align-items: center; gap: 12px; height: 50px; width: 300px; max-width: 100%; padding: 0 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid #2E2848; font-size: 15px; font-weight: 500; color: #fff; }
.flow-node.wait { border-style: dashed; border-color: var(--line-3); color: var(--muted); }
.flow-link { margin-left: 32px; width: 2px; height: 22px; background: var(--line-3); }
.automation .product-body { padding: 48px; justify-content: center; }
.kicker { margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* steps */
.step { padding: 36px; }
.step-num { width: 56px; height: 64px; display: flex; align-items: center; justify-content: center; font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 900; font-size: 22px; }
.step h3 { margin: 26px 0 0; font-family: 'Archivo', sans-serif; font-stretch: 110%; font-weight: 800; font-size: 22px; color: #fff; }
.step p { margin: 12px 0 0; font-size: 17px; font-weight: 300; line-height: 1.6; color: var(--text-2); }

/* pricing */
.plans { align-items: stretch; gap: 28px; }
.plan { padding: 40px; display: flex; flex-direction: column; position: relative; overflow: visible; }
.plan.featured { background: var(--card-2); border: 1.5px solid var(--mint); box-shadow: 0 0 60px -20px var(--mint); }
.plan-name { font-family: 'Archivo', sans-serif; font-stretch: 110%; font-weight: 800; font-size: 24px; color: #fff; }
.plan-sub { margin-top: 6px; font-size: 16px; color: var(--muted); }
.price { margin-top: 26px; display: flex; align-items: baseline; gap: 8px; }
.price strong { font-family: 'Archivo', sans-serif; font-stretch: 115%; font-weight: 900; font-size: 50px; line-height: 1; color: #fff; }
.price span { font-size: 16px; color: var(--muted); }
.plan-extra { margin-top: 26px; padding: 14px 16px; border-radius: 12px; background: var(--card-2); border: 1px solid #2E2848; font-size: 16px; font-weight: 500; color: #fff; }
.plan.featured .plan-extra { background: var(--mint); color: var(--bg); border-color: var(--mint); font-weight: 600; }
.plan .checks { flex: 1; }
.plan .btn { margin-top: 32px; width: 100%; }
.badge { position: absolute; top: 24px; right: 24px; height: 28px; padding: 0 12px; display: flex; align-items: center; border-radius: 999px; background: var(--pink); color: var(--bg); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.fineprint { margin: 36px 0 0; text-align: center; font-size: 15px; color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 150px 0 170px; text-align: center; }
.cta .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(38px, 4.4vw, 62px); margin-top: 22px; }
.cta .lead { max-width: 560px; margin-top: 24px; font-size: 19px; }
.cta .hero-ctas { justify-content: center; }

/* footer */
.site-footer { background: #0A0814; color: var(--muted); border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col strong { color: #fff; font-weight: 600; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-brand p { margin: 0; max-width: 340px; font-size: 15px; line-height: 1.6; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  :root { --pad-x: 48px; }
  .nav { gap: 24px; }
}

@media (max-width: 1024px) {
  .nav, .signin { display: none; }
  .menu-btn { display: flex; }
  .mobile-nav.open { display: flex; flex-direction: column; padding: 8px var(--pad-x) 20px; border-top: 1px solid var(--line); }
  .mobile-nav a { color: var(--text-2); text-decoration: none; font-size: 18px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: 0; }

  .hero .wrap { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 88px; gap: 56px; }
  .hero-visual { max-width: 620px; width: 100%; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-head.center { align-items: center; }
  .grid-2, .grid-3, .automation { grid-template-columns: 1fr; }
  .flow { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; --radius: 18px; }
  .site-header .wrap { height: 68px; }
  .logo-name { font-size: 20px; }
  .header-actions .btn-sm { height: 42px; padding: 0 16px; font-size: 15px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero .lead { font-size: 18px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .float-hex { display: none; }
  .hero-visual { height: 430px; }
  .mock-window { left: 16px; top: 64px; width: calc(100% - 32px); }
  .mini-card.chart-card, .mini-card.studio-card { display: none; }
  .lead-card { right: 16px; bottom: 16px; }
  .pill-tag { left: 16px; top: 18px; }
  .section { padding: 72px 0; }
  .product-body, .automation .product-body, .plan, .step { padding: 28px; }
  .flow { padding: 28px; }
  .bv-page { left: 20px; }
  .bv-form { left: auto; right: -40px; }
  .h3 { font-size: 26px; }
  .cta { padding: 96px 0 120px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
