/* ============================================================
   Abundeo — brand styles
   Palette drawn from the logo: ink navy tile + teal bar accent
   ============================================================ */

:root {
  --ink: #14181f;          /* logo tile */
  --ink-soft: #1d232d;
  --ink-deep: #0d1117;
  --teal: #35d6cf;         /* logo accent bar */
  --teal-dark: #1fb3ad;
  --bg: #f5f7fa;           /* logo background */
  --surface: #ffffff;
  --text: #232a33;
  --text-muted: #5b6572;
  --text-on-dark: #e8edf3;
  --text-on-dark-muted: #98a4b3;
  --border: #e3e8ef;
  --border-dark: rgba(255, 255, 255, 0.09);
  --radius: 18px;
  --shadow: 0 10px 32px rgba(20, 24, 31, 0.08);
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.text-gradient {
  background: linear-gradient(100deg, var(--teal) 10%, #6ee7e1 50%, var(--teal-dark) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(120deg, var(--teal), var(--teal-dark));
  color: var(--ink-deep);
  box-shadow: 0 6px 20px rgba(53, 214, 207, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(53, 214, 207, 0.5);
}

.btn--ghost {
  border: 1px solid var(--border);
  color: inherit;
  background: transparent;
}

.section--dark .btn--ghost,
.cta .btn--ghost { border-color: var(--border-dark); color: var(--text-on-dark); }

.btn--ghost:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--teal-dark); }

.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0.9rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.is-scrolled {
  background: rgba(245, 247, 250, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.6rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.nav__logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav__links a:not(.btn) {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav__links a:not(.btn):hover { color: var(--ink); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 11rem 0 6rem;
  background: var(--bg);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 24, 31, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 24, 31, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 30%, transparent 75%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.hero__glow--1 {
  width: 560px; height: 560px;
  background: var(--teal);
  top: -220px; right: -140px;
  opacity: 0.22;
}

.hero__glow--2 {
  width: 420px; height: 420px;
  background: #8ab6ff;
  bottom: -240px; left: -160px;
  opacity: 0.18;
}

.hero__inner {
  position: relative;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  box-shadow: var(--shadow);
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(53, 214, 207, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(53, 214, 207, 0); }
}

.hero__title {
  margin: 1.6rem auto 0;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero__subtitle {
  max-width: 680px;
  margin: 1.4rem auto 0;
  font-size: 1.13rem;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.3rem;
}

/* ---------- Sections ---------- */

.section { padding: 6.5rem 0; }

.section--dark {
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(53, 214, 207, 0.08), transparent),
    var(--ink-deep);
  color: var(--text-on-dark);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.section--dark .section__eyebrow { color: var(--teal); }

.section__title {
  margin-top: 0.7rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section--dark .section__title { color: var(--text-on-dark); }

.section__lead {
  margin-top: 1.1rem;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.section--dark .section__lead { color: var(--text-on-dark-muted); }

/* ---------- Dual strength ---------- */

.dual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 1.4rem;
}

.dual__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dual__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(20, 24, 31, 0.12);
}

.dual__card--accent {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-soft) 100%);
  border-color: rgba(53, 214, 207, 0.3);
  color: var(--text-on-dark);
}

.dual__card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.dual__card p { color: var(--text-muted); margin-bottom: 1.3rem; }
.dual__card--accent p { color: var(--text-on-dark-muted); }

.dual__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1.4rem;
  background: rgba(53, 214, 207, 0.12);
  color: var(--teal-dark);
}

.dual__card--accent .dual__icon {
  background: rgba(53, 214, 207, 0.15);
  color: var(--teal);
}

.dual__icon svg { width: 26px; height: 26px; }

.dual__plus {
  align-self: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-dark);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.32em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230d1117" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4 10-10"/></svg>') center / 10px no-repeat,
    linear-gradient(120deg, var(--teal), var(--teal-dark));
}

/* ---------- Cards grid ---------- */

.grid {
  display: grid;
  gap: 1.4rem;
}

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

.card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 214, 207, 0.45);
  background: rgba(53, 214, 207, 0.05);
}

.card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(53, 214, 207, 0.12);
  color: var(--teal);
  margin-bottom: 1.2rem;
}

.card__icon svg { width: 23px; height: 23px; }

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
  color: var(--text-on-dark);
}

.card p {
  font-size: 0.93rem;
  color: var(--text-on-dark-muted);
}

/* ---------- Agents ---------- */

.agents {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.agents__panel {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-soft) 100%);
  border: 1px solid rgba(53, 214, 207, 0.25);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: grid;
  gap: 0.7rem;
  box-shadow: 0 24px 60px rgba(13, 17, 23, 0.35);
}

.agent-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.agent-row:hover {
  border-color: rgba(53, 214, 207, 0.5);
  background: rgba(53, 214, 207, 0.06);
}

.agent-row__status {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2.4s ease-in-out infinite;
}

.agent-row strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--text-on-dark);
}

.agent-row p {
  font-size: 0.84rem;
  color: var(--text-on-dark-muted);
  margin-top: 0.15rem;
}

.agent-row__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(53, 214, 207, 0.4);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
}

.agents__copy h3 {
  font-size: 1.65rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.agents__copy > p {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.agents__copy .check-list { margin-bottom: 2rem; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.step {
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.03);
}

.step__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.step h3 {
  margin: 0.8rem 0 0.5rem;
  font-size: 1.15rem;
  color: var(--text-on-dark);
}

.step p {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
}

.quote {
  max-width: 760px;
  margin: 4.5rem auto 0;
  text-align: center;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-on-dark);
}

.quote cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: 0.92rem;
  color: var(--teal);
}

/* ---------- CTA ---------- */

.cta { padding-bottom: 7rem; }

.cta__card {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-deep) 100%);
  border-radius: 28px;
  padding: 4.5rem 2rem 5rem;
  color: var(--text-on-dark);
  box-shadow: 0 30px 80px rgba(13, 17, 23, 0.35);
}

.cta__glow {
  position: absolute;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 214, 207, 0.22), transparent 65%);
  top: -320px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta__logo {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.6rem;
  border-radius: 16px;
  box-shadow: 0 0 0 6px rgba(53, 214, 207, 0.12), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.cta__card h2 {
  position: relative;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta__card p {
  position: relative;
  max-width: 560px;
  margin: 1.1rem auto 0;
  color: var(--text-on-dark-muted);
}

.cta__actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 2.4rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.footer__links {
  display: flex;
  gap: 1.8rem;
}

.footer__links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__links a:hover { color: var(--ink); }

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Reveal animation ---------- */

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

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

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .agents { grid-template-columns: 1fr; gap: 2.5rem; }

  .dual { grid-template-columns: 1fr; }
  .dual__plus { justify-self: center; margin: -0.4rem 0; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    right: 4%;
    left: 4%;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem;
    gap: 1.1rem;
    box-shadow: 0 24px 60px rgba(20, 24, 31, 0.16);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav__links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav.is-open-menu {
    background: rgba(245, 247, 250, 0.95);
    backdrop-filter: blur(14px);
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: 8.5rem; }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }

  .agent-row { grid-template-columns: auto 1fr; }
  .agent-row__tag { display: none; }

  .footer__inner { flex-direction: column; text-align: center; }
}
