/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 48px) 0 56px;
  background: var(--bg);
  overflow: hidden;
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__circle {
  position: absolute;
  border-radius: 50%;
  background: var(--sulnet-orange);
  opacity: 0.85;
  box-shadow: var(--shadow-orange);
}

.hero__circle--1 {
  width: 18px;
  height: 18px;
  top: 28%;
  right: 12%;
}

.hero__circle--2 {
  width: 42px;
  height: 42px;
  top: 18%;
  right: 22%;
  opacity: 0.35;
}

.hero__circle--3 {
  width: 28px;
  height: 28px;
  bottom: 32%;
  right: 8%;
  opacity: 0.5;
}

.hero__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.hero__visual {
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--shadow);
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--sulnet-orange);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 0 28px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero__checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

.hero__checks li {
  font-size: 0.9rem;
  color: var(--text-body);
  padding-left: 22px;
  position: relative;
}

.hero__checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sulnet-orange);
  font-weight: 700;
}

/* Resources */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.resource-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.resource-card__toggle {
  width: 100%;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--sulnet-orange);
  text-align: left;
}

.resource-card__toggle::after {
  content: "+";
  font-size: 1.3rem;
}

.resource-card.is-open .resource-card__toggle::after {
  content: "−";
}

.resource-card__body {
  padding: 24px;
}

.resource-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text);
}

.resource-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-body);
}

.resource-card li:last-child {
  border-bottom: none;
}

.resource-card li::before {
  content: "• ";
  color: var(--sulnet-orange);
  font-weight: 700;
}

/* Differentials */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.diff {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.diff h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sulnet-orange);
}

.diff p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-body);
}

/* Platform note */
.platform-note {
  margin-top: 36px;
  padding: 24px 28px;
  border: 1px dashed var(--sulnet-orange);
  border-radius: var(--radius);
  background: rgba(232, 78, 15, 0.04);
}

.platform-note p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.92rem;
}

/* Datacenter */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.infra-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.infra-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sulnet-orange);
}

.infra-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-body);
}

.infra-highlight {
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.infra-highlight p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.95rem;
  max-width: 820px;
  margin-inline: auto;
}

/* CTA final */
.cta-final {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-final h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--sulnet-orange);
  margin: 0 0 16px;
}

.cta-final p {
  margin: 0 0 28px;
  color: var(--text-body);
  font-size: 1.05rem;
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

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

  .resources-grid,
  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

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

  .diff-grid,
  .resources-grid,
  .infra-grid {
    grid-template-columns: 1fr;
  }

  .resource-card__toggle {
    display: flex;
  }

  .resource-card__body {
    display: none;
    padding-top: 0;
  }

  .resource-card.is-open .resource-card__body {
    display: block;
  }

  .resource-card h3 {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero__actions,
  .cta-final__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* FAQ preview on home */
.faq-preview__cta {
  margin-top: 28px;
  text-align: center;
}

/* Documentation page */
.docs-hero {
  padding: calc(var(--header-height) + 48px) 0 32px;
  background: var(--bg);
}

.docs-hero__inner {
  max-width: 720px;
}

.docs-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--sulnet-orange);
  margin: 0 0 14px;
  line-height: 1.15;
}

.docs-hero p {
  margin: 0;
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.7;
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.docs-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.docs-nav__title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sulnet-orange);
}

.docs-nav__link {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}

.docs-nav__link:hover,
.docs-nav__link:focus-visible {
  background: rgba(232, 78, 15, 0.08);
  color: var(--sulnet-orange);
}

.docs-nav__link--muted {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.docs-section {
  margin-bottom: 48px;
}

.docs-section__header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sulnet-orange);
  margin: 0 0 10px;
}

.docs-section__header p {
  margin: 0 0 20px;
  color: var(--text-body);
}

.docs-support {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.docs-support h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  color: var(--text);
}

.docs-support p {
  margin: 0 0 20px;
  color: var(--text-body);
}

.docs-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
  }

  .docs-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .docs-nav__title {
    width: 100%;
  }

  .docs-nav__link--muted {
    border-top: none;
    margin-top: 0;
    padding-top: 10px;
  }
}
