/* ── Universal marketing page ── */

.page-marketing {
  background: var(--void);
}

/* Hero */
.mkt-hero {
  position: relative;
  padding: 72px 0 80px;
  text-align: center;
  overflow: hidden;
}

.mkt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(107, 63, 207, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(255, 43, 214, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.mkt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 24px;
  background: rgba(107, 63, 207, 0.15);
  border: 1px solid rgba(0, 245, 255, 0.25);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 24px;
}

.mkt-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 45%, var(--magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mkt-hero .mkt-subtitle {
  font-size: 1.15rem;
  color: var(--dim);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.mkt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.mkt-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--nebula);
  border: 1px solid var(--border);
  color: var(--cyan);
}

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

/* Sections */
.mkt-section {
  padding: 72px 0;
  position: relative;
}

.mkt-section-alt {
  background: rgba(15, 8, 40, 0.35);
  border-top: 1px solid rgba(74, 47, 158, 0.25);
  border-bottom: 1px solid rgba(74, 47, 158, 0.25);
}

.mkt-section-hdr {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.mkt-section-hdr h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text);
}

.mkt-section-hdr p {
  color: var(--dim);
  font-size: 1.05rem;
  line-height: 1.6;
}

.mkt-section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Value prop */
.mkt-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.mkt-value-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.mkt-value-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 245, 255, 0.08);
}

.mkt-value-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.mkt-value-card h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.mkt-value-card p {
  color: var(--dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Feature grid */
.mkt-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.mkt-feature {
  background: linear-gradient(145deg, var(--panel), rgba(20, 10, 50, 0.6));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.mkt-feature::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.12), transparent 70%);
  pointer-events: none;
}

.mkt-feature h3 {
  font-size: 1.05rem;
  color: var(--cyan);
  margin-bottom: 10px;
}

.mkt-feature p {
  color: var(--dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

.mkt-feature ul {
  list-style: none;
  margin-top: 14px;
}

.mkt-feature li {
  font-size: 0.85rem;
  color: var(--dim);
  padding: 6px 0;
  border-bottom: 1px solid rgba(74, 47, 158, 0.2);
}

.mkt-feature li::before {
  content: '✦ ';
  color: var(--success);
}

/* Use cases */
.mkt-usecases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.mkt-usecase {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.25s;
}

.mkt-usecase:hover {
  border-color: var(--magenta);
}

.mkt-usecase-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 43, 214, 0.12);
  border: 1px solid rgba(255, 43, 214, 0.3);
  color: var(--magenta);
  font-weight: 800;
  font-size: 0.85rem;
}

.mkt-usecase h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.mkt-usecase p {
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.5;
}

/* Workflows */
.mkt-workflows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.mkt-workflow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.mkt-workflow-step {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--glow), var(--cyan));
  color: var(--void);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.mkt-workflow h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.mkt-workflow p {
  font-size: 0.82rem;
  color: var(--dim);
}

.mkt-workflow-arrow {
  color: var(--cyan);
  font-size: 1.2rem;
  opacity: 0.5;
}

/* Setup steps */
.mkt-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.mkt-step {
  counter-increment: step;
  padding: 28px 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  position: relative;
}

.mkt-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--nebula);
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-weight: 800;
  font-size: 1rem;
}

.mkt-step h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--gold);
}

.mkt-step p {
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.5;
}

/* Visual placeholder */
.mkt-visual {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.mkt-visual-copy h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.mkt-visual-copy p {
  color: var(--dim);
  line-height: 1.65;
  margin-bottom: 20px;
}

.mkt-visual-frame {
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  background: var(--console-bg);
  border: 2px solid var(--border);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(107, 63, 207, 0.15);
}

.mkt-visual-bar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: var(--deep);
  border-bottom: 1px solid var(--border);
}

.mkt-visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mkt-visual-dot.r { background: #ff5f57; }
.mkt-visual-dot.y { background: #febc2e; }
.mkt-visual-dot.g { background: #28c840; }

.mkt-visual-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100% - 44px);
  text-align: center;
}

.mkt-visual-placeholder {
  font-size: 3rem;
  opacity: 0.3;
  margin-bottom: 12px;
}

.mkt-visual-label {
  color: var(--dim);
  font-size: 0.9rem;
}

/* FAQ accordion */
.mkt-faq {
  max-width: 760px;
  margin: 0 auto;
}

.mkt-faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--panel);
  transition: border-color 0.25s;
}

.mkt-faq-item.is-open {
  border-color: var(--cyan);
}

.mkt-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.mkt-faq-trigger:hover {
  color: var(--cyan);
}

.mkt-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--nebula);
  color: var(--cyan);
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.mkt-faq-item.is-open .mkt-faq-icon {
  transform: rotate(45deg);
}

.mkt-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mkt-faq-item.is-open .mkt-faq-panel {
  max-height: 400px;
}

.mkt-faq-answer {
  padding: 0 22px 20px;
  color: var(--dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Related pages */
.mkt-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.mkt-related-card {
  display: block;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s;
}

.mkt-related-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 245, 255, 0.1);
}

.mkt-related-card h4 {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.mkt-related-card p {
  color: var(--dim);
  font-size: 0.82rem;
  line-height: 1.5;
}

.mkt-related-card .mkt-related-arrow {
  display: inline-block;
  margin-top: 12px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Footer CTA */
.mkt-footer-cta {
  text-align: center;
  padding: 80px 0;
  position: relative;
}

.mkt-footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(107, 63, 207, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.mkt-footer-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
}

.mkt-footer-cta p {
  color: var(--dim);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 32px;
  position: relative;
}

.mkt-footer-cta .mkt-cta-row {
  position: relative;
}

/* Inline CTA band */
.mkt-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(107, 63, 207, 0.15), rgba(0, 245, 255, 0.06));
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: 18px;
}

.mkt-cta-band h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.mkt-cta-band p {
  color: var(--dim);
  font-size: 0.9rem;
}

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

  .mkt-workflow {
    grid-template-columns: auto 1fr;
  }

  .mkt-workflow-arrow {
    display: none;
  }
}

@media (max-width: 600px) {
  .mkt-hero {
    padding: 48px 0 60px;
  }

  .mkt-section {
    padding: 52px 0;
  }

  .mkt-cta-band {
    flex-direction: column;
    text-align: center;
  }
}