/* Accrevia marketing — hub layout, purple brand (distinct from aisedpro teal) */

.mkt-page {
  --ink: #0b0714;
  --ink-soft: #231536;
  --mist: #efeaf6;
  --paper: #f6f3fa;
  --line: rgba(11, 7, 20, 0.1);
  --muted: #6b5f7a;
  --purple: #6d28d9;
  --purple-bright: #8b5cf6;
  --purple-deep: #4c1d95;
  --gold: #c4a35a;
  --gold-soft: #d4af6a;
  --white: #ffffff;
  --hero-fg: #f3eefc;
  --radius: 4px;
  --nav-h: 72px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 60px rgba(7, 19, 26, 0.12);

  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

.mkt-page *,
.mkt-page *::before,
.mkt-page *::after {
  box-sizing: border-box;
}

.mkt-page a {
  color: inherit;
}

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

.mkt-container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ——— Nav (company homepage style) ——— */
.mkt-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.mkt-header.is-scrolled {
  background: rgba(243, 247, 246, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.mkt-header.is-hero .mkt-brand span,
.mkt-header.is-hero .mkt-nav a,
.mkt-header.is-hero .btn-ghost {
  color: var(--hero-fg);
}

.mkt-header.is-hero .mkt-nav a:hover {
  color: var(--gold-soft);
}

.mkt-header.is-hero .btn-ghost {
  border-color: rgba(238, 248, 246, 0.35);
}

.mkt-header.is-hero .mkt-nav-toggle span {
  background: var(--hero-fg);
}

.mkt-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mkt-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.mkt-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}

.mkt-nav {
  display: none;
  gap: 1.5rem;
}

.mkt-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
}

.mkt-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--teal);
  transition: right 0.3s var(--ease);
}

.mkt-nav a:hover::after {
  right: 0;
}

.mkt-header-actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

.mkt-nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.mkt-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.mkt-nav-drawer {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.mkt-nav-drawer[hidden] {
  display: none;
}

.mkt-nav-drawer a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

@media (min-width: 880px) {
  .mkt-nav,
  .mkt-header-actions {
    display: flex;
  }

  .mkt-nav-toggle {
    display: none;
  }
}

/* ——— Buttons ——— */
.mkt-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: auto;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.mkt-page .btn:hover {
  transform: translateY(-1px);
}

.mkt-page .btn,
.mkt-page .btn-solid {
  background: var(--teal);
  color: var(--white);
}

.mkt-page .btn:hover,
.mkt-page .btn-solid:hover {
  background: var(--teal-deep);
}

.mkt-page .btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
}

.mkt-page .btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.mkt-page .btn-lg {
  padding: 0.9rem 1.4rem;
  font-size: 0.95rem;
}

.mkt-btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
}

/* ——— Hero ——— */
.mkt-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--hero-fg);
  background: var(--ink);
}

.mkt-hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 18% 30%, rgba(31, 166, 160, 0.28), transparent 60%),
    radial-gradient(ellipse 55% 45% at 88% 20%, rgba(196, 163, 90, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 50% at 70% 90%, rgba(11, 79, 90, 0.55), transparent 60%),
    linear-gradient(165deg, #061018 0%, #0a2230 45%, #07131a 100%);
  animation: mkt-atmosphere 14s ease-in-out infinite alternate;
}

.mkt-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(238, 248, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 248, 246, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
}

@keyframes mkt-atmosphere {
  from { filter: hue-rotate(0deg) saturate(1); }
  to { filter: hue-rotate(12deg) saturate(1.08); }
}

.mkt-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) 0 5rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .mkt-hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.mkt-hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1rem;
  animation: mkt-rise 0.9s var(--ease) both;
}

.mkt-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: rgba(238, 248, 246, 0.92);
  animation: mkt-rise 0.9s var(--ease) 0.08s both;
}

.mkt-hero-lead {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(238, 248, 246, 0.72);
  animation: mkt-rise 0.9s var(--ease) 0.16s both;
}

.mkt-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: mkt-rise 0.9s var(--ease) 0.24s both;
}

.mkt-hero .btn-solid {
  background: var(--teal-bright);
}

.mkt-hero .btn-solid:hover {
  background: var(--teal);
}

.mkt-hero .btn-ghost {
  border-color: rgba(238, 248, 246, 0.35);
  color: var(--hero-fg);
}

.mkt-hero .btn-ghost:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  background: transparent;
}

.mkt-hero-visual {
  justify-self: center;
  width: min(100%, 420px);
  animation: mkt-rise 1s var(--ease) 0.2s both;
}

.mkt-hero-visual svg {
  width: 100%;
  height: auto;
}

.mkt-orbit {
  animation: mkt-spin 48s linear infinite;
  transform-origin: 260px 260px;
}

.mkt-orbit-b {
  animation-duration: 72s;
  animation-direction: reverse;
}

@keyframes mkt-spin {
  to { transform: rotate(360deg); }
}

@keyframes mkt-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mkt-hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(238, 248, 246, 0.55);
}

.mkt-hero-scroll i {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(238, 248, 246, 0.6), transparent);
  animation: mkt-scroll-line 1.6s ease-in-out infinite;
}

@keyframes mkt-scroll-line {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ——— Sections ——— */
.mkt-section {
  padding: 4.5rem 0;
}

.mkt-section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.mkt-section-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.mkt-section-head h2,
.mkt-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.mkt-section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 40rem;
}

/* Promo slider */
.mkt-promo {
  padding: 2.5rem 0 0;
}

.mkt-promo .promo-slider-viewport {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.mkt-promo .promo-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  border-radius: 999px !important;
}

/* Metrics strip */
.mkt-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2.5rem;
}

@media (min-width: 800px) {
  .mkt-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mkt-metric {
  background: var(--white);
  padding: 1.35rem 1.2rem;
}

.mkt-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.mkt-metric span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Pillars / offers as product-row style */
.mkt-pillar-grid,
.mkt-offer-grid,
.mkt-mod-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .mkt-pillar-grid,
  .mkt-offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mkt-pillar-grid article,
.mkt-offer-card,
.mkt-mod-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.mkt-pillar-grid article span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
}

.mkt-pillar-grid h3,
.mkt-offer-card h3,
.mkt-mod-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0.45rem 0 0.5rem;
  color: var(--ink);
}

.mkt-pillar-grid p,
.mkt-offer-card p,
.mkt-mod-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.mkt-offer-card ul,
.mkt-mod-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.mkt-offer-card li,
.mkt-mod-card li {
  margin: 0.3rem 0;
}

/* Problem panel */
.mkt-problem-panel {
  background: var(--ink);
  color: var(--hero-fg);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.mkt-problem-panel h2 {
  color: var(--hero-fg);
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.mkt-problem-panel p {
  color: rgba(238, 248, 246, 0.75);
  margin: 0 0 1rem;
}

.mkt-problem-panel p:last-child {
  margin-bottom: 0;
}

/* Module tabs */
.mkt-mod-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 1.25rem;
}

.mkt-mod-tab {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
}

.mkt-mod-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.mkt-mod-panel {
  display: none;
}

.mkt-mod-panel.active {
  display: block;
}

.mkt-mod-group {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 1rem;
  color: var(--teal-deep);
}

@media (min-width: 900px) {
  .mkt-mod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Platform band */
.mkt-accred {
  background: linear-gradient(165deg, #061018 0%, #0a2230 50%, #07131a 100%);
  color: var(--hero-fg);
  padding: 4.5rem 0;
}

.mkt-accred-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .mkt-accred-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.mkt-accred h2 {
  color: var(--hero-fg);
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.mkt-accred p {
  color: rgba(238, 248, 246, 0.75);
}

.mkt-checklist {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.mkt-checklist li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  color: rgba(238, 248, 246, 0.82);
}

.mkt-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal-bright);
}

.mkt-stat-stack {
  display: grid;
  gap: 0.75rem;
}

.mkt-stat {
  border: 1px solid rgba(238, 248, 246, 0.12);
  background: rgba(238, 248, 246, 0.04);
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
}

.mkt-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-soft);
}

.mkt-stat span {
  color: rgba(238, 248, 246, 0.7);
  font-size: 0.9rem;
}

/* Demo */
.mkt-demo-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .mkt-demo-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.mkt-demo-form {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.mkt-demo-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.mkt-demo-form input,
.mkt-demo-form textarea {
  font: inherit;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  background: var(--paper);
  color: var(--ink);
}

.mkt-demo-form input:focus,
.mkt-demo-form textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.35);
  border-color: var(--teal);
}

.mkt-page .hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.mkt-page .hint a {
  color: var(--teal-deep);
}

.mkt-page .hidden {
  display: none !important;
}

.mkt-new a {
  color: var(--teal-deep);
  font-weight: 700;
}

/* Footer */
.mkt-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 2rem 0;
}

.mkt-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.mkt-footer strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.mkt-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.mkt-footer-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.mkt-footer-links a:hover {
  color: var(--teal-deep);
}

/* Reveal motion */
.mkt-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.mkt-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .mkt-hero-atmosphere,
  .mkt-orbit,
  .mkt-hero-brand,
  .mkt-hero-title,
  .mkt-hero-lead,
  .mkt-hero-cta,
  .mkt-hero-visual,
  .mkt-hero-scroll i {
    animation: none !important;
  }

  .mkt-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
