/* ==============================================================
   HOME PAGE
   Minimal hero · problem box · offerings grid · five-step
   pipeline · plans · comparison table · FAQ · trusted-by strip.
   ============================================================== */

/* ==============================================================
   HERO — minimal: logo + slogan
   ============================================================== */
.hero {
  position: relative;
  min-height: 65vh;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3rem;
  padding-inline: clamp(1rem, 5vw, 3rem);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 75% 60% at 82% 18%, rgba(213, 165, 204, 0.32), transparent 65%),
    radial-gradient(ellipse 65% 75% at 15% 85%, rgba(199, 144, 188, 0.22), transparent 65%),
    radial-gradient(ellipse 85% 70% at 50% 55%, rgba(105, 195, 196, 0.15), transparent 75%),
    radial-gradient(ellipse 60% 50% at 50% 10%, rgba(80, 57, 128, 0.3), transparent 70%),
    linear-gradient(180deg, #0d0a1d 0%, #120c20 50%, #0a0714 100%);
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, transparent 0%, black 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 0%, black 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__copy {
  text-align: center;
}

.hero__logo {
  max-width: 360px;
  width: 80%;
  height: auto;
  margin-bottom: 2rem;
}

.hero__slogan {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  font-style: italic;
}

/* ==============================================================
   PROBLEM STATEMENT
   ============================================================== */
.problem-section {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: #05040a;
}

.problem-box {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(105, 195, 196, 0.06), rgba(80, 57, 128, 0.08));
  border: 1px solid rgba(105, 195, 196, 0.25);
  text-align: center;
}

.problem-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(90deg, var(--color-accent), rgba(213, 165, 204, 0.6), transparent);
}

.problem-box p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--color-heading);
  line-height: 1.65;
  max-width: 56ch;
  margin-inline: auto;
}

/* ==============================================================
   VALUE PROPOSITION TEXT
   ============================================================== */
.value-prop-section {
  padding-block: clamp(3rem, 5vw, 4rem);
  background: #05040a;
}

.value-prop-text p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--color-muted);
  line-height: 1.8;
  text-align: center;
}

/* ==============================================================
   OFFERINGS — 3×2 grid of cards
   ============================================================== */
.offerings-section {
  padding-block: clamp(5rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(168, 216, 215, 0.08), transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(199, 144, 188, 0.08), transparent 70%),
    linear-gradient(180deg, #07060f, #05040a);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offering-card {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 300ms ease;
}

.offering-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
}

.offering-card:hover {
  border-color: rgba(105, 195, 196, 0.3);
  transform: translateY(-3px);
}
.offering-card:hover::before { opacity: 1; }

.offering-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(105, 195, 196, 0.15), rgba(80, 57, 128, 0.2));
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
  border: 1px solid rgba(105, 195, 196, 0.25);
}
.offering-card__icon svg {
  width: 22px; height: 22px;
}

.offering-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.offering-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.65;
}

@media (max-width: 980px) { .offerings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .offerings-grid { grid-template-columns: 1fr; } }

/* ==============================================================
   FIVE STEPS — horizontal numbered cards
   ============================================================== */
.steps-section {
  padding-block: clamp(5rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse 40% 60% at 90% 30%, rgba(213, 165, 204, 0.1), transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(105, 195, 196, 0.06), transparent 70%),
    linear-gradient(180deg, #05040a, #07060f);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  position: relative;
}

.step-card {
  position: relative;
  padding: 1.75rem 1.25rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(105, 195, 196, 0.03), rgba(80, 57, 128, 0.04)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: all 300ms ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(105, 195, 196, 0.4);
  box-shadow: 0 16px 40px rgba(105, 195, 196, 0.12);
}

.step-card__num {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 1.5px rgba(105, 195, 196, 0.5);
  color: transparent;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.35;
}

/* Connector arrows */
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -0.375rem;
  width: 12px; height: 1px;
  background: linear-gradient(90deg, rgba(105,195,196,0.6), transparent);
  z-index: 2;
}

@media (max-width: 980px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .step-card:nth-child(3)::after { display: none; }
}
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card:nth-child(2)::after,
  .step-card:nth-child(4)::after { display: none; }
}
@media (max-width: 420px) {
  .steps-grid { grid-template-columns: 1fr; }
  .step-card::after { display: none; }
}

/* ==============================================================
   PLANS SECTION
   ============================================================== */
.plans-section {
  padding-block: clamp(5rem, 8vw, 7rem);
  background: #05040a;
}

.pricing-card--enterprise { --accent: #C5E8E7; }

/* ==============================================================
   COMPARISON TABLE
   ============================================================== */
.comparison-section {
  padding-block: clamp(5rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(80, 57, 128, 0.12), transparent 70%),
    linear-gradient(180deg, #07060f, #05040a);
}

.comparison-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
}

.comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.comparison-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 1.25rem 1rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(10, 7, 20, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  white-space: nowrap;
}

.comparison-table thead th:first-child {
  text-align: left;
  min-width: 200px;
}

.comparison-table tbody td {
  padding: 0.75rem 1rem;
  color: var(--color-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  vertical-align: middle;
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--color-body);
}

.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Group header rows */
.cmp-group td {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 1.25rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(105, 195, 196, 0.15);
  background: rgba(105, 195, 196, 0.03);
}

/* Cell states */
.cmp-yes {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.cmp-no {
  color: rgba(255, 255, 255, 0.2);
}

.cmp-warn {
  color: rgba(255, 180, 120, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
}

.comparison-note {
  max-width: 720px;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ==============================================================
   FAQ ON HOMEPAGE
   ============================================================== */
.faq-home-section {
  padding-block: clamp(5rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse 40% 60% at 90% 30%, rgba(213, 165, 204, 0.08), transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(105, 195, 196, 0.06), transparent 70%),
    linear-gradient(180deg, #05040a, #07060f);
}

/* ==============================================================
   TRUSTED BY — text placeholder logos
   ============================================================== */
.trusted-section {
  padding-block: clamp(4rem, 6vw, 5rem);
  background: #05040a;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.trusted-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: all 250ms ease;
}

.trusted-logo:hover {
  border-color: rgba(105, 195, 196, 0.2);
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
}

/* ==============================================================
   RESPONSIVE
   ============================================================== */
@media (max-width: 767px) {
  .hero { min-height: 50vh; }
  .hero__logo { max-width: 260px; }
  .offerings-grid { grid-template-columns: 1fr; }
}

/* ==============================================================
   LIGHT THEME OVERRIDES
   ============================================================== */
html[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 70% 60% at 80% 15%, rgba(105, 195, 196, 0.22), transparent 65%),
    radial-gradient(ellipse 60% 70% at 15% 85%, rgba(168, 216, 215, 0.18), transparent 65%),
    linear-gradient(180deg, #dff2f2 0%, #eaf5f5 50%, #f4f9f9 100%);
}

html[data-theme="light"] .hero::before {
  background-image:
    linear-gradient(rgba(13, 10, 31, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 10, 31, 0.04) 1px, transparent 1px);
}

html[data-theme="light"] .hero__logo {
  filter: brightness(0) saturate(100%);
}

html[data-theme="light"] .problem-section,
html[data-theme="light"] .value-prop-section,
html[data-theme="light"] .plans-section,
html[data-theme="light"] .trusted-section { background: #eef7f7; }

html[data-theme="light"] .offerings-section,
html[data-theme="light"] .steps-section,
html[data-theme="light"] .faq-home-section { background: #e6f2f2; }

html[data-theme="light"] .comparison-section { background: #eef7f7; }

html[data-theme="light"] .problem-box {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(105, 195, 196, 0.3);
}

html[data-theme="light"] .offering-card {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(13, 10, 31, 0.08);
}

html[data-theme="light"] .step-card {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(13, 10, 31, 0.08);
}

html[data-theme="light"] .comparison-wrap {
  border-color: rgba(13, 10, 31, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .comparison-table thead th {
  background: rgba(244, 249, 249, 0.98);
  border-bottom-color: rgba(13, 10, 31, 0.08);
}

html[data-theme="light"] .comparison-table tbody td {
  border-bottom-color: rgba(13, 10, 31, 0.06);
}

html[data-theme="light"] .comparison-table tbody td:first-child {
  color: rgba(13, 10, 31, 0.85);
}

html[data-theme="light"] .cmp-group td {
  background: rgba(105, 195, 196, 0.06);
  border-bottom-color: rgba(105, 195, 196, 0.2);
}

html[data-theme="light"] .cmp-no {
  color: rgba(13, 10, 31, 0.2);
}

html[data-theme="light"] .trusted-logo {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(13, 10, 31, 0.08);
  color: rgba(13, 10, 31, 0.45);
}

html[data-theme="light"] .trusted-logo:hover {
  border-color: rgba(105, 195, 196, 0.3);
  color: rgba(13, 10, 31, 0.65);
}
