/* Static marketing pages — header offset fix + unique themed heroes */

:root {
  --header-height: 110px;
  --static-radius: 20px;
}

/* Prevent content hiding under fixed header — hero handles its own top offset */
body.page-static .site-main {
  padding-top: 0;
}

body.page-home .site-main {
  padding-top: 0;
}

body.page-auth .site-main {
  padding-top: 0;
}

/* ========== Hero ========== */
.static-hero {
  position: relative;
  padding: calc(var(--header-height) + 20px) 0 44px;
  margin-top: 0;
  color: #fff;
  overflow: hidden;
  background: #0a1020;
}

.static-hero[style*="--hero-image"] .static-hero__mesh {
  background:
    linear-gradient(135deg, rgba(10, 15, 32, 0.88) 0%, rgba(10, 15, 32, 0.75) 100%),
    var(--hero-image) center top/cover no-repeat;
  opacity: 1;
}

.static-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.85;
  pointer-events: none;
}

.static-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.static-hero__orb--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
}

.static-hero__orb--2 {
  width: 320px;
  height: 320px;
  bottom: -80px;
  left: -60px;
}

.static-hero__inner {
  position: relative;
  z-index: 2;
}

.static-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.static-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.static-breadcrumb a:hover {
  color: #fff;
}

.static-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.static-hero__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.static-hero__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff !important;
  margin: 0 0 12px;
}

.static-hero__title span {
  background: linear-gradient(120deg, var(--hero-accent, #f15c1c), var(--hero-accent-2, #14a8a6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.static-hero__lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 0 0 16px;
}

.static-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.static-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  color: var(--body-bg, #f4f6fb);
  z-index: 3;
}

.static-hero__wave svg {
  width: 100%;
  height: 40px;
  display: block;
}

/* Per-page hero themes */
.static-hero--pricing { --hero-accent: #f15c1c; --hero-accent-2: #ff9a5a; }
.static-hero--pricing .static-hero__mesh {
  background: radial-gradient(ellipse at 20% 30%, rgba(241, 92, 28, 0.35), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(20, 168, 166, 0.2), transparent 45%),
    linear-gradient(135deg, #000f2e 0%, #1a2744 100%);
}
.static-hero--pricing .static-hero__orb--1 { background: rgba(241, 92, 28, 0.4); }
.static-hero--pricing .static-hero__orb--2 { background: rgba(20, 168, 166, 0.25); }

.static-hero--blog { --hero-accent: #a78bfa; --hero-accent-2: #2dd4bf; }
.static-hero--blog .static-hero__mesh {
  background: radial-gradient(ellipse at 70% 20%, rgba(167, 139, 250, 0.4), transparent 50%),
    linear-gradient(160deg, #0f0a1e 0%, #1e1b4b 50%, #0f172a 100%);
}
.static-hero--blog .static-hero__orb--1 { background: rgba(139, 92, 246, 0.45); }
.static-hero--blog .static-hero__orb--2 { background: rgba(45, 212, 191, 0.3); }

.static-hero--faq { --hero-accent: #38bdf8; --hero-accent-2: #818cf8; }
.static-hero--faq .static-hero__mesh {
  background: radial-gradient(circle at 30% 80%, rgba(56, 189, 248, 0.3), transparent 40%),
    linear-gradient(180deg, #05101f 0%, #0f2847 100%);
}

.static-hero--about { --hero-accent: #fb7185; --hero-accent-2: #fbbf24; }
.static-hero--about .static-hero__mesh {
  background: radial-gradient(ellipse at 50% 0%, rgba(251, 113, 133, 0.25), transparent 55%),
    linear-gradient(135deg, #12081a 0%, #1a1030 40%, #0b1528 100%);
}

.static-hero--contact { --hero-accent: #34d399; --hero-accent-2: #60a5fa; }
.static-hero--contact .static-hero__mesh {
  background: radial-gradient(ellipse at 80% 30%, rgba(52, 211, 153, 0.3), transparent 50%),
    linear-gradient(135deg, #041612 0%, #0c2a24 100%);
}

.static-hero--features { --hero-accent: #f97316; --hero-accent-2: #eab308; }
.static-hero--features .static-hero__mesh {
  background: radial-gradient(ellipse at 15% 50%, rgba(249, 115, 22, 0.35), transparent 50%),
    linear-gradient(135deg, #1a0f05 0%, #2d1810 50%, #0f172a 100%);
}

.static-hero--integrations { --hero-accent: #22d3ee; --hero-accent-2: #6366f1; }
.static-hero--integrations .static-hero__mesh {
  background: radial-gradient(ellipse at 60% 40%, rgba(34, 211, 238, 0.3), transparent 45%),
    linear-gradient(135deg, #030712 0%, #0c4a6e 100%);
}

.static-hero--changelog { --hero-accent: #94a3b8; --hero-accent-2: #f15c1c; }
.static-hero--changelog .static-hero__mesh {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.static-hero--support { --hero-accent: #60a5fa; --hero-accent-2: #34d399; }
.static-hero--support .static-hero__mesh {
  background: radial-gradient(ellipse at 40% 20%, rgba(96, 165, 250, 0.35), transparent 50%),
    linear-gradient(135deg, #0c1929 0%, #172554 100%);
}

.static-hero--sales { --hero-accent: #f472b6; --hero-accent-2: #fb923c; }
.static-hero--sales .static-hero__mesh {
  background: radial-gradient(ellipse at 70% 60%, rgba(244, 114, 182, 0.3), transparent 45%),
    linear-gradient(135deg, #1f0a14 0%, #2d1b69 100%);
}

.static-hero--hr { --hero-accent: #c084fc; --hero-accent-2: #38bdf8; }
.static-hero--hr .static-hero__mesh {
  background: radial-gradient(ellipse at 20% 70%, rgba(192, 132, 252, 0.35), transparent 50%),
    linear-gradient(135deg, #1a0b2e 0%, #312e81 100%);
}

.static-hero--commerce { --hero-accent: #4ade80; --hero-accent-2: #facc15; }
.static-hero--commerce .static-hero__mesh {
  background: radial-gradient(ellipse at 50% 50%, rgba(74, 222, 128, 0.25), transparent 55%),
    linear-gradient(135deg, #052e16 0%, #14532d 100%);
}

.static-hero--cases { --hero-accent: #f15c1c; --hero-accent-2: #a855f7; }
.static-hero--cases .static-hero__mesh {
  background: linear-gradient(135deg, #1c1917 0%, #431407 50%, #1e1b4b 100%);
}

.static-hero--docs { --hero-accent: #38bdf8; --hero-accent-2: #22c55e; }
.static-hero--docs .static-hero__mesh {
  background: linear-gradient(135deg, #020617 0%, #0f766e 100%);
}

.static-hero--help { --hero-accent: #2dd4bf; --hero-accent-2: #60a5fa; }
.static-hero--help .static-hero__mesh {
  background: radial-gradient(ellipse at 50% 0%, rgba(45, 212, 191, 0.3), transparent 50%),
    linear-gradient(180deg, #042f2e 0%, #0f172a 100%);
}

.static-hero--careers { --hero-accent: #fb923c; --hero-accent-2: #f472b6; }
.static-hero--careers .static-hero__mesh {
  background: linear-gradient(135deg, #431407 0%, #701a75 50%, #1e1b4b 100%);
}

.static-hero--partners { --hero-accent: #818cf8; --hero-accent-2: #fbbf24; }
.static-hero--partners .static-hero__mesh {
  background: linear-gradient(135deg, #312e81 0%, #713f12 100%);
}

.static-hero--legal,
.static-hero--security {
  --hero-accent: #94a3b8;
  --hero-accent-2: #64748b;
}
.static-hero--legal .static-hero__mesh,
.static-hero--security .static-hero__mesh {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
}

.static-hero--security { --hero-accent: #34d399; --hero-accent-2: #60a5fa; }

.static-hero--default .static-hero__mesh {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* ========== Body sections ========== */
.static-body {
  --body-bg: #f4f6fb;
  background: var(--body-bg);
  padding: 56px 0 100px;
}

.static-body--pricing,
.static-body--blog,
.static-body--faq {
  --body-bg: #f8fafc;
}

.static-alert {
  border-radius: 12px;
  margin-bottom: 24px;
}

.static-glass {
  background: #fff;
  border-radius: var(--static-radius);
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid #e8ecf3;
}

.static-prose {
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
}

.static-prose p {
  margin-bottom: 1rem;
  color: #334155;
}

.static-prose a {
  color: #f15c1c;
  font-weight: 600;
}

/* Cards grid */
.static-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.static-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.static-grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.static-feature-card {
  background: #fff;
  border-radius: var(--static-radius);
  padding: 28px;
  border: 1px solid #e8ecf3;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}

.static-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.static-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  color: #fff;
}

.static-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 10px;
}

.static-feature-card p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Pricing */
.static-pricing-card {
  background: #fff;
  border-radius: var(--static-radius);
  padding: 32px;
  border: 1px solid #e8ecf3;
  height: 100%;
  transition: box-shadow 0.25s;
}

.static-pricing-card.is-popular {
  border: 2px solid #f15c1c;
  box-shadow: 0 20px 50px rgba(241, 92, 28, 0.15);
}

.static-pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #f15c1c;
}

/* Blog */
.static-blog-card {
  background: #fff;
  border-radius: var(--static-radius);
  overflow: hidden;
  border: 1px solid #e8ecf3;
  height: 100%;
  transition: transform 0.25s;
}

.static-blog-card:hover {
  transform: translateY(-6px);
}

.static-blog-card__img {
  height: 200px;
  background: linear-gradient(135deg, #1e1b4b, #0f766e);
  object-fit: cover;
  width: 100%;
}

.static-blog-card__body {
  padding: 24px;
}

.static-blog-card__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a !important;
}

.static-blog-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.static-blog-card__body h3 a:hover {
  color: #f15c1c;
}

/* FAQ */
.static-faq-item {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.static-faq-item .accordion-button {
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  box-shadow: none;
}

.static-faq-item .accordion-button:not(.collapsed) {
  color: #f15c1c;
  background: #fff8f5;
}

.static-faq-item .accordion-body {
  color: #475569;
  line-height: 1.65;
}

/* Contact form on light panel */
.static-contact-form {
  background: #fff;
  border-radius: var(--static-radius);
  padding: 36px;
  border: 1px solid #e8ecf3;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.static-contact-form .form-label {
  font-weight: 600;
  color: #0f172a;
  font-size: 13px;
}

.static-contact-form .form-control {
  min-height: 50px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  color: #0f172a;
}

.static-contact-form .form-control:focus {
  border-color: #f15c1c;
  box-shadow: 0 0 0 4px rgba(241, 92, 28, 0.12);
  background: #fff;
}

.static-contact-sidebar {
  background: linear-gradient(145deg, #0f172a, #1e3a5f);
  color: #fff;
  border-radius: var(--static-radius);
  padding: 36px;
}

.static-contact-sidebar h4 {
  color: #fff !important;
}

.static-contact-sidebar p,
.static-contact-sidebar a {
  color: rgba(255, 255, 255, 0.8);
}

.static-contact-sidebar a {
  color: #5fd0ff;
}

/* Timeline changelog */
.static-timeline {
  margin-top: 32px;
}

.static-timeline__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding-bottom: 32px;
  border-left: 2px solid #e2e8f0;
  margin-left: 20px;
  padding-left: 32px;
  position: relative;
}

.static-timeline__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f15c1c;
}

.static-timeline__date {
  font-size: 13px;
  font-weight: 700;
  color: #f15c1c;
}

.static-timeline__card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  border: 1px solid #e8ecf3;
}

/* CTA strip */
.static-cta {
  margin-top: 48px;
  padding: 40px;
  border-radius: var(--static-radius);
  background: linear-gradient(135deg, #f15c1c, #1450d0);
  color: #fff;
  text-align: center;
}

.static-cta h3 {
  color: #fff !important;
  font-weight: 800;
  margin-bottom: 12px;
}

.static-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

/* Job cards */
.static-job-card {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

@media (max-width: 991.98px) {
  :root {
    --header-height: 95px;
  }

  .static-hero {
    padding: calc(var(--header-height) + 16px) 0 36px;
  }

  .static-hero__title {
    font-size: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-height: 80px;
  }

  .static-glass,
  .static-contact-form {
    padding: 24px 20px;
  }

  .static-timeline__item {
    grid-template-columns: 1fr;
    padding-left: 24px;
  }
}
