/* ============================================================
   PyBlox Marketing — private AI / code-to-cloud
   Brand: cyan #00B4D8 · green #2ECC71 · orange #e67e22 · deep space
   ============================================================ */
:root {
  --bg: #0b1220;
  --bg-elevated: #111827;
  --card: #0f172a;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #e8eef7;
  --muted: #94a3b8;
  --faint: #64748b;
  --cyan: #00b4d8;
  --cyan-bright: #22d3ee;
  --green: #2ecc71;
  --mint: #00ff9d;
  --orange: #e67e22;
  --purple: #9b59b6;
  --gradient: linear-gradient(135deg, #00b4d8 0%, #2ecc71 100%);
  --gradient-warm: linear-gradient(135deg, #e67e22 0%, #f1c40f 100%);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1120px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 90% 55% at 80% -10%, rgba(0, 180, 216, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(46, 204, 113, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

/* Top brand bar */
.branding-header {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
}
.branding-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}
.main-logo { max-height: 48px; width: auto; }
.brand-lockup { display: flex; align-items: center; gap: 0.75rem; }
.brand-lockup .tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}
.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  align-items: center;
}
.nav-link {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none !important;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(34, 211, 238, 0.08);
}
.nav-item.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.4rem;
  list-style: none;
  box-shadow: var(--shadow);
  z-index: 60;
}
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--muted);
  border-radius: 8px;
  font-size: 0.88rem;
  text-decoration: none !important;
}
.dropdown-menu a:hover { background: rgba(34, 211, 238, 0.1); color: #fff; }
.nav-cta { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: 0.15s;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #041016 !important;
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.25);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text) !important;
}
.btn-ghost:hover { border-color: var(--cyan); color: #fff !important; }
.btn-orange {
  background: var(--gradient-warm);
  color: #1a0f00 !important;
}
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
.btn-lg { padding: 0.9rem 1.4rem; font-size: 1rem; }

/* Hero */
.hero {
  padding: 3.5rem 0 2.75rem;
  text-align: center;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 auto 1rem;
}
.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.trust-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.7);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.trust-pill strong { color: var(--green); font-weight: 800; }

/* Sections */
.section { padding: 3rem 0; }
.section.alt {
  background: rgba(15, 23, 42, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { text-align: center; margin-bottom: 1.75rem; }
.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.section-head p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.98rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  height: 100%;
  transition: 0.15s;
}
.card:hover { border-color: rgba(0, 180, 216, 0.35); }
.card .icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 180, 216, 0.12);
  color: var(--cyan-bright);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; font-weight: 800; }
.card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.card ul { margin: 0.5rem 0 0 1.1rem; color: var(--muted); font-size: 0.88rem; }
.card li { margin: 0.25rem 0; }

/* Tier cards */
.tier {
  border-left: 3px solid var(--cyan);
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left-width: 3px;
  padding: 1rem 1.1rem;
}
.tier.t1 { border-left-color: var(--purple); }
.tier.t2 { border-left-color: #3498db; }
.tier.t3 { border-left-color: #0db7ed; }
.tier.t4 { border-left-color: var(--orange); }
.tier.t5 { border-left-color: #40e0d0; }
.tier .num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.25rem;
}
.tier h3 { font-size: 0.98rem; margin-bottom: 0.25rem; }
.tier p { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: rgba(0, 180, 216, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 180, 216, 0.12), var(--shadow);
}
.price-card .badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--cyan);
  color: #041016;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.price-card h3 { margin: 0 0 0.25rem; }
.price-card .price {
  font-size: 2rem;
  font-weight: 900;
  margin: 0.4rem 0;
}
.price-card .price small { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.2rem;
  flex: 1;
}
.price-card li {
  padding: 0.28rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.price-card li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.price-card .btn { width: 100%; margin-top: auto; }

/* Trust / compliance */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.comp-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.comp-card h3 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.comp-card .badge-soft {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--orange);
  background: rgba(230, 126, 34, 0.12);
  border: 1px solid rgba(230, 126, 34, 0.35);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}
.disclaimer {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(230, 126, 34, 0.08);
  border: 1px solid rgba(230, 126, 34, 0.3);
  color: var(--muted);
  font-size: 0.88rem;
}
.disclaimer strong { color: var(--orange); }

/* Model chips */
.model-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.model {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.model code {
  display: block;
  font-size: 0.82rem;
  color: var(--cyan-bright);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.model p { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* Page header (inner) */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 0.4rem;
}
.page-hero p { color: var(--muted); max-width: 640px; }

/* Contact form look */
.form-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.form-card label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 800;
  margin: 0 0 0.35rem;
}
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: #fff;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
}
.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--cyan);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
  color: var(--faint);
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.site-footer h4 {
  color: var(--text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.site-footer a { color: var(--muted); text-decoration: none; display: block; margin: 0.3rem 0; }
.site-footer a:hover { color: var(--cyan-bright); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

/* Utilities */
.center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 0;
}
.pipeline span {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.pipeline .arrow { border: none; background: none; color: var(--faint); padding: 0 0.1rem; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 2.25rem 0 2rem; }
  .main-logo { max-height: 40px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-list { width: 100%; }
}

/* ===== Enterprise refresh (topbar, contact, pricing) ===== */
.topbar {
  background: #070b14;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.8rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
  align-items: center;
}
.topbar-left, .topbar-right { display: flex; flex-wrap: wrap; gap: 0.85rem 1.1rem; align-items: center; }
.topbar-item { color: var(--muted); text-decoration: none !important; font-weight: 600; }
.topbar-item i { margin-right: 0.35rem; color: var(--cyan); }
.topbar-phone { color: #fff !important; }
.topbar-phone:hover { color: var(--mint) !important; }
.brand-copy { display: flex; flex-direction: column; gap: 0.2rem; }
.brand-name { font-size: 1.15rem; color: #fff; letter-spacing: -0.02em; }
.brand-cta-phone { margin-left: auto; }
.phone-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(0, 255, 157, 0.1); border: 1px solid rgba(0, 255, 157, 0.35);
  color: #fff !important; text-decoration: none !important;
  font-weight: 800; font-size: 0.85rem; padding: 0.45rem 0.85rem; border-radius: 999px;
}
.phone-pill:hover { background: rgba(0, 255, 157, 0.18); }
.phone-lg { font-size: 1.35rem; font-weight: 900; color: #fff !important; }
.enterprise-hero { padding-top: 2.5rem; padding-bottom: 2rem; }
.ent-card { border: 1px solid var(--line-strong); box-shadow: var(--shadow); min-height: 100%; }
.ent-pricing .price-card { min-height: 100%; display: flex; flex-direction: column; }
.ent-pricing .price-card .btn { margin-top: auto; }
.plan-points { list-style: none; margin: 0.75rem 0 1rem; padding: 0; color: var(--muted); font-size: 0.88rem; }
.plan-points li { padding: 0.28rem 0 0.28rem 1.1rem; position: relative; }
.plan-points li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 900; }
.price-inline { font-size: 1.75rem; font-weight: 900; color: #fff; margin: 0.35rem 0 0.75rem; }
.price-inline small { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.chip {
  display: inline-block; background: rgba(34,211,238,.12); color: #67e8f9;
  border: 1px solid rgba(34,211,238,.35); border-radius: 999px;
  padding: .2rem .7rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}
.page-hero { padding: 2.25rem 0 1.25rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; margin: 0.5rem 0; color: #fff; }
.page-hero p { color: var(--muted); max-width: 46rem; }
.hero-contact { margin-top: 0.75rem !important; font-weight: 700; }
.hero-contact a { color: #fff !important; margin-right: 0.25rem; }
.cta-band { background: linear-gradient(180deg, rgba(34,211,238,.08), transparent); border-top: 1px solid var(--line); }
.enterprise-footer .footer-phone { margin: 0.75rem 0; }
.enterprise-footer .footer-phone a { color: #fff !important; font-weight: 900; font-size: 1.05rem; text-decoration: none !important; }
.contact-list { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.contact-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.contact-list strong { color: #fff; display: block; margin-bottom: 0.15rem; }
.form-card label { display: block; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0.75rem 0 0.3rem; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; background: #0b1220; border: 1px solid var(--line-strong); color: #fff;
  border-radius: 10px; padding: 0.7rem 0.85rem; font: inherit;
}
.disclaimer {
  background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.28);
  border-radius: 12px; padding: 0.9rem 1rem; color: var(--muted); font-size: 0.9rem;
}
.mt-3 { margin-top: 1.25rem; }
.mb-2 { margin-bottom: 0.75rem; }
.center { text-align: center; }
@media (max-width: 800px) {
  .muted-hide-sm { display: none !important; }
  .brand-cta-phone { width: 100%; margin-left: 0; }
  .phone-pill { width: 100%; justify-content: center; }
}
