:root {
  --bg: #060606;
  --bg-soft: #101010;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 215, 130, 0.2);
  --text: #f4efe3;
  --muted: rgba(244, 239, 227, 0.72);
  --gold: #f4c76a;
  --gold-strong: #ffdd91;
  --cyan: #45d7ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(69, 215, 255, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(244, 199, 106, 0.16), transparent 30%),
    linear-gradient(180deg, #070707 0%, #0d0d0d 52%, #070707 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  opacity: 0.18;
}

body::after {
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 199, 106, 0.12), transparent 20%),
    radial-gradient(circle at 80% 12%, rgba(69, 215, 255, 0.1), transparent 16%);
  filter: blur(24px);
  opacity: 0.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(4, 4, 4, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand img,
.footer-logo {
  width: clamp(140px, 18vw, 210px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.main-nav a,
.footer-nav a {
  color: var(--muted);
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.footer-nav a:hover {
  color: var(--gold-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 221, 145, 0.45);
  color: #130f05;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  font-weight: 700;
  box-shadow: 0 0 0 rgba(255, 215, 130, 0), 0 14px 30px rgba(244, 199, 106, 0.18);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255, 215, 130, 0.28), 0 16px 36px rgba(244, 199, 106, 0.2);
}

.button-outline {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.button-outline:hover {
  border-color: rgba(255, 221, 145, 0.45);
}

.button-small {
  min-height: 42px;
  padding: 0 1rem;
}

.hero-section,
.page-hero {
  position: relative;
  padding: 7rem 0 4rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(69, 215, 255, 0.16), transparent 20%),
    radial-gradient(circle at 28% 18%, rgba(244, 199, 106, 0.14), transparent 24%);
  pointer-events: none;
}

.hero-grid,
.lead-layout,
.recommendation-layout,
.split-section {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.lead-layout,
.recommendation-layout,
.split-section.about-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-copy h1,
.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 6vw, 5.3rem);
  max-width: 12ch;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  max-width: 14ch;
}

.section-heading.centered {
  text-align: center;
  align-items: center;
}

.section-heading.centered h1,
.section-heading.centered h2,
.section-heading.centered p {
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-text,
.section-heading p,
.feature-card p,
.glass p,
.solution-card p,
.lead-form-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 36rem;
  font-size: 1.08rem;
}

.hero-actions,
.microcopy-row,
.lead-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.microcopy-row span,
.lead-points span {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.glass {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(15, 15, 15, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.glass::before {
  content: "";
  position: absolute;
  inset: auto -40% 60% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 221, 145, 0.16), transparent 68%);
  pointer-events: none;
}

.panel-header,
.recommendation-head,
.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-strong), var(--cyan));
  box-shadow: 0 0 20px rgba(69, 215, 255, 0.7);
}

.signal-grid,
.card-grid,
.metrics-grid,
.principles-grid,
.solutions-grid {
  display: grid;
  gap: 1.25rem;
}

.signal-grid article,
.metrics-grid article,
.principles-grid article,
.problems-grid article {
  min-height: 100%;
}

.signal-grid {
  grid-template-columns: 1fr;
}

.card-grid,
.metrics-grid,
.principles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section {
  padding: 1.2rem 0 4.2rem;
}

.section-alt {
  position: relative;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.feature-card,
.solution-card,
.story-panel {
  min-height: 100%;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.site-footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.45);
}

.solutions-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.solution-card .button {
  margin-top: auto;
}

.solution-top {
  display: grid;
  gap: 0.4rem;
}

.plan-label {
  display: inline-flex;
  width: fit-content;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.solution-card h2 {
  margin: 0;
  font-size: 1.5rem;
  font-family: "Sora", sans-serif;
}

.price {
  margin: 0;
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 800;
}

.price small {
  font-size: 0.9rem;
  color: var(--muted);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  color: var(--muted);
}

.feature-list li {
  position: relative;
  padding-left: 1.25rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
}

.featured {
  border-color: rgba(255, 221, 145, 0.44);
  box-shadow:
    0 0 0 1px rgba(255, 221, 145, 0.18),
    0 24px 80px rgba(0, 0, 0, 0.45);
}

.recommendation-assistant {
  padding-bottom: 1.2rem;
}

.recommendation-chat,
.chatbot-body {
  display: grid;
  gap: 0.9rem;
  min-height: 160px;
  margin-bottom: 1rem;
}

.message {
  width: fit-content;
  max-width: min(100%, 28rem);
  padding: 0.9rem 1rem;
  border-radius: 18px;
  line-height: 1.6;
}

.message.bot {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.message.user {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(244, 199, 106, 0.9), rgba(255, 221, 145, 0.95));
  color: #1d1301;
}

.recommendation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.recommendation-options button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.recommendation-options button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 221, 145, 0.45);
  box-shadow: 0 0 24px rgba(255, 215, 130, 0.16);
}

.recommendation-cta {
  margin-top: 1rem;
}

.lead-form {
  display: grid;
  gap: 1rem;
}

.lead-form label {
  display: grid;
  gap: 0.55rem;
}

.lead-form span {
  font-size: 0.94rem;
  color: var(--text);
  font-weight: 600;
}

.lead-form input,
.lead-form select,
.chatbot-input input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
}

.lead-form input::placeholder,
.chatbot-input input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid rgba(255, 221, 145, 0.5);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.form-success {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(95, 255, 174, 0.12);
  border: 1px solid rgba(95, 255, 174, 0.22);
  color: #bbffd9;
}

.hidden-field {
  display: none;
}

.future-chatbot {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 0.8rem;
}

.future-chatbot-toggle {
  border: 1px solid rgba(255, 221, 145, 0.38);
  background: rgba(10, 10, 10, 0.85);
  color: var(--text);
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.future-chatbot-panel {
  width: min(360px, calc(100vw - 2rem));
  padding: 1rem;
}

.chatbot-input {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.chatbot-input button {
  min-width: 78px;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .lead-layout,
  .recommendation-layout,
  .split-section,
  .footer-grid,
  .solutions-grid,
  .card-grid,
  .metrics-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    text-align: center;
    justify-items: center;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 800px) {
  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 24px;
  }

  .hero-section,
  .page-hero {
    padding-top: 5.8rem;
  }

  .hero-copy h1,
  .section-heading h1,
  .section-heading h2 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .glass,
  .lead-form-card,
  .solution-card {
    padding: 1.2rem;
  }

  .hero-actions,
  .recommendation-options,
  .chatbot-input {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .future-chatbot-toggle,
  .recommendation-options button,
  .chatbot-input button {
    width: 100%;
  }
}
