/* ============================================================
   Oletro About page (Products.html now serves "About Oletro")
   ============================================================ */

:root {
  --ab-navy: #012a46;
  --ab-navy-2: #06426e;
  --ab-ink: #0b1f31;
  --ab-accent: #ff8a2b;
  --ab-accent-2: #ffb463;
  --ab-bg: #f4f7fb;
  --ab-card: #ffffff;
  --ab-line: #e3eaf2;
  --ab-text: #24344a;
  --ab-muted: #6b7d95;
}

body {
  background: var(--ab-bg);
  color: var(--ab-text);
}

main {
  overflow-x: hidden;
}

/* Current nav highlight (shared with the marketplace) */
.nav-bar .nav-links.current a {
  color: var(--ab-accent-2);
  font-weight: 600;
}

/* ============ Hero ============ */
.ab-hero {
  position: relative;
  background: linear-gradient(120deg, #01304f, #06426e 55%, #0b5a8f);
  color: #fff;
  padding: clamp(56px, 9vw, 110px) clamp(16px, 5vw, 60px);
  text-align: center;
  overflow: hidden;
}

.ab-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 260px at 12% 18%, rgba(255, 138, 43, 0.28), transparent 65%),
    radial-gradient(420px 280px at 88% 80%, rgba(0, 198, 255, 0.22), transparent 65%);
  pointer-events: none;
}

.ab-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.ab-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ab-accent-2);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.ab-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 16px;
}

.ab-hero p {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* ============ Sections ============ */
.ab-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 40px);
}

.ab-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.ab-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--ab-ink);
  margin: 0 0 10px;
  position: relative;
  display: inline-block;
}

.ab-head h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ab-accent), var(--ab-accent-2));
}

.ab-head p {
  color: var(--ab-muted);
  line-height: 1.7;
  margin: 0;
}

/* Mission + stats */
.ab-mission {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

.ab-mission-text p {
  line-height: 1.75;
  color: var(--ab-text);
  margin: 0 0 14px;
}

.ab-mission-text strong {
  color: var(--ab-accent);
}

.ab-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ab-stat {
  background: var(--ab-card);
  border: 1px solid var(--ab-line);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(11, 31, 49, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ab-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 31, 49, 0.12);
}

.ab-stat b {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ab-accent);
}

.ab-stat span {
  font-size: 0.85rem;
  color: var(--ab-muted);
  font-weight: 500;
}

/* Value cards grid */
.ab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.ab-card {
  background: var(--ab-card);
  border: 1px solid var(--ab-line);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 8px 24px rgba(11, 31, 49, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ab-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(11, 31, 49, 0.13);
  border-color: var(--ab-accent-2);
}

.ab-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #eaf3fb, #d7e9f8);
  color: var(--ab-navy-2);
}

.ab-card h3 {
  font-size: 1.1rem;
  color: var(--ab-ink);
  margin: 0 0 8px;
}

.ab-card p {
  font-size: 0.92rem;
  color: var(--ab-muted);
  line-height: 1.65;
  margin: 0;
}

/* How it works steps */
.ab-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  counter-reset: step;
}

.ab-step {
  position: relative;
  background: var(--ab-card);
  border: 1px solid var(--ab-line);
  border-radius: 18px;
  padding: 28px 22px 24px;
  box-shadow: 0 8px 24px rgba(11, 31, 49, 0.06);
}

.ab-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255, 138, 43, 0.18);
  line-height: 1;
}

.ab-step h3 {
  font-size: 1.05rem;
  color: var(--ab-ink);
  margin: 0 0 8px;
}

.ab-step p {
  font-size: 0.92rem;
  color: var(--ab-muted);
  line-height: 1.65;
  margin: 0;
}

/* Trust banner */
.ab-trust {
  background: linear-gradient(135deg, #fff7ec, #ffeede);
  border: 1px solid #ffd9ac;
  border-radius: 20px;
  padding: 30px 26px;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.ab-trust-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd9ac, #ff8a2b);
  color: #fff;
}

.ab-trust h3 {
  color: var(--ab-ink);
  font-size: 1.15rem;
  margin: 0 0 6px;
}

.ab-trust p {
  color: #7a5b3c;
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
  max-width: 720px;
}

/* CTA */
.ab-cta {
  text-align: center;
  background: var(--ab-card);
  border: 1px solid var(--ab-line);
  border-radius: 22px;
  padding: clamp(30px, 5vw, 56px) clamp(20px, 4vw, 48px);
  box-shadow: 0 14px 40px rgba(11, 31, 49, 0.1);
}

.ab-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--ab-ink);
  margin: 0 0 10px;
}

.ab-cta p {
  color: var(--ab-muted);
  margin: 0 auto 24px;
  max-width: 520px;
  line-height: 1.7;
}

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

.ab-btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ab-btn:hover {
  transform: translateY(-2px);
}

.ab-btn-primary {
  background: linear-gradient(135deg, var(--ab-accent-2), var(--ab-accent));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 138, 43, 0.38);
}

.ab-btn-ghost {
  border: 1.5px solid var(--ab-line);
  color: var(--ab-navy-2);
  background: transparent;
}

.ab-btn-ghost:hover {
  border-color: var(--ab-accent);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .ab-mission {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ab-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ab-cta-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .ab-btn {
    text-align: center;
  }
}
