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

:root {
  --black:    #222222;
  --grey:     #4C4C4C;
  --light:    #F9F9F9;
  --white:    #ffffff;
  --orange:   #FF8030;
  --orange-light: rgba(255,128,48,.10);
  --orange-mid:   rgba(255,128,48,.18);
  --border:   #E8E8E8;
  --border-dark: #D0D0D0;
  --max-w:    1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* ── LOGO ── */
.logo-img { display: block; height: 36px; width: auto; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--grey);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  transition: color .2s;
}
.nav-links a:hover { color: var(--orange); }
.btn-primary {
  background: var(--orange);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  background: var(--light);
  position: relative;
  overflow: hidden;
  padding: 96px 32px 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 480px; height: 480px;
  background-image: radial-gradient(circle, #CCCCCC 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: .55;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-light);
  border: 1px solid rgba(255,128,48,.3);
  color: var(--orange);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--black);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }
.hero-desc {
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 36px;
}
.btn-outline-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-weight: 700;
  font-size: .875rem;
  padding: 11px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline-orange:hover { background: var(--orange); color: #fff; }
.hero-visual { display: flex; justify-content: flex-end; align-items: center; }
.hero-card {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 60px; height: 3px;
  background: var(--orange);
  border-radius: 0 0 3px 3px;
}
.hero-card-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.hero-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}
.hero-stat-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--light);
  border-radius: 8px;
}
.hero-stat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.hero-stat span { font-size: .875rem; color: var(--grey); font-weight: 600; }

/* ── SECTION BASE ── */
section { padding: 96px 32px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
h2.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.18;
  color: var(--black);
  margin-bottom: 16px;
}
.section-lead {
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 640px;
}

/* ── SAFARI GRID FIX ── */
.hero-inner > *,
.stats-grid > *,
.problem-grid > *,
.goals-intro > *,
.solution-grid > *,
.func-grid > *,
.integ-grid > *,
.metrics-grid > *,
.footer-top > * {
  min-width: 0;
}

/* ── STATS ── */
#stats { background: var(--light); }
.stats-hook { text-align: center; margin-bottom: 56px; }
.stats-hook .section-eyebrow { justify-content: center; }
.stats-hook .section-eyebrow::before { display: none; }
.stats-lead {
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto;
}
.text-orange { color: var(--orange); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.stat-card:hover {
  border-color: var(--orange);
  box-shadow: 0 6px 28px rgba(255,128,48,.1);
  transform: translateY(-3px);
}
.stat-icon {
  width: 48px; height: 48px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.stat-desc {
  font-size: .85rem;
  color: var(--grey);
  line-height: 1.65;
}

mark.highlight {
  background: none;
  color: var(--black);
  font-weight: 700;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 1px;
}

/* ── PROBLEM ── */
#problem { background: var(--white); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem-illustration {
  display: flex;
  justify-content: center;
}
.illus-box {
  width: 320px;
  height: 320px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.illus-box::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 180px; height: 180px;
  background: var(--orange-light);
  border-radius: 50%;
}
.illus-box::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(circle, #CCCCCC 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: .5;
}
.illus-icon { position: relative; z-index: 1; }

/* ── GOALS ── */
#goals { background: var(--light); position: relative; overflow: hidden; }
#goals::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 360px; height: 360px;
  background-image: radial-gradient(circle, #CCCCCC 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: .4;
  pointer-events: none;
}
.goals-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.goals-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.goal-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  transition: box-shadow .2s, border-color .2s;
}
.goal-item:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(255,128,48,.08);
}
.goal-num {
  width: 32px; height: 32px;
  background: var(--orange);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  flex-shrink: 0;
}
.goal-text { color: var(--grey); font-size: .95rem; line-height: 1.6; padding-top: 5px; }

/* ── FLOW ── */
#flow { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
#flow::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 420px; height: 420px;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}
#flow .section-eyebrow { color: var(--orange); }
#flow .section-eyebrow::before { background: var(--orange); }
#flow h2.section-title { color: var(--white); }
.flow-intro-text {
  color: #aaaaaa;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 700px;
  margin-bottom: 60px;
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.flow-connector {
  position: absolute;
  top: 28px;
  left: calc(10% + 16px);
  right: calc(10% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(255,128,48,.2));
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 8px;
}
.flow-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange);
  position: relative;
  z-index: 1;
}
.flow-label { font-size: .875rem; font-weight: 700; color: var(--white); }
.flow-desc { font-size: .78rem; color: #888; line-height: 1.5; }

/* ── SOLUTION ── */
#solution { background: var(--white); }
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
.sol-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  transition: box-shadow .2s;
}
.sol-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,.07); }
.sol-card-icon {
  width: 52px; height: 52px;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.sol-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: var(--black); }
.sol-card p { color: var(--grey); font-size: .95rem; line-height: 1.7; }
.sol-footer {
  margin-top: 32px;
  background: var(--black);
  border-radius: 14px;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.sol-footer-text p:first-child {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.sol-footer-text p:last-child { font-size: .9rem; color: #aaa; margin-top: 4px; }
.sol-footer h3 { font-size: 1.3rem; font-weight: 800; color: #fff; }
.sol-tag {
  background: rgba(255,128,48,.15);
  border: 1px solid rgba(255,128,48,.3);
  color: var(--orange);
  font-size: .8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ── FUNCTIONALITIES ── */
#functionalities { background: var(--light); }
.func-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
.func-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
}
.func-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.func-card-icon {
  width: 46px; height: 46px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.func-card h3 { font-size: 1rem; font-weight: 700; color: var(--black); }
.func-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.func-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--grey);
  font-size: .9rem;
  line-height: 1.55;
}
.func-check { flex-shrink: 0; margin-top: 1px; }

/* ── INTEGRATIONS ── */
#integrations { background: var(--white); }
.integ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.integ-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.integ-card:hover {
  border-color: var(--orange);
  box-shadow: 0 6px 24px rgba(255,128,48,.1);
  transform: translateY(-3px);
}
.integ-logo {
  width: 56px; height: 56px;
  background: var(--orange-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.integ-name { font-size: .95rem; font-weight: 700; color: var(--black); }
.integ-desc { font-size: .78rem; color: var(--grey); line-height: 1.5; }

/* ── CHALLENGES ── */
#challenges { background: var(--light); position: relative; overflow: hidden; }
#challenges::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background-image: radial-gradient(circle, #CCCCCC 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: .5;
  pointer-events: none;
}
.challenge-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: 0 14px 14px 0;
  padding: 44px 52px;
  margin-top: 48px;
  position: relative;
}
.challenge-card p { color: var(--grey); font-size: 1rem; line-height: 1.8; }
.challenge-card strong { color: var(--black); }
.challenge-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.ctag {
  background: var(--orange-light);
  border: 1px solid rgba(255,128,48,.25);
  color: var(--orange);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ── METRICS ── */
#metrics { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
#metrics::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 400px; height: 400px;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}
#metrics .section-eyebrow { color: var(--orange); }
#metrics .section-eyebrow::before { background: var(--orange); }
#metrics h2.section-title { color: var(--white); }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 72px;
  position: relative;
}
.metric-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color .2s;
}
.metric-card:hover { border-color: var(--orange); }
.metric-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.metric-value { font-size: .95rem; font-weight: 600; color: #ddd; line-height: 1.6; }
.cta-block {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 72px;
  text-align: center;
  position: relative;
}
.cta-block h3 { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-block p { color: #888; margin-bottom: 36px; font-size: 1rem; }
.btn-cta-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.btn-cta-lg:hover { opacity: .88; transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: var(--light);
  border-top: 1px solid var(--border);
  padding: 64px 32px 32px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--grey);
  font-size: .875rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 260px;
}
.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--grey); text-decoration: none; font-size: .875rem; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { color: var(--grey); font-size: .8rem; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
}
.social-link:hover { border-color: var(--orange); background: var(--orange-light); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .integ-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .flow-connector { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 72px 20px; }
  .hero { padding: 72px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-illustration { display: none; }
  .goals-intro { grid-template-columns: 1fr; gap: 40px; }
  .solution-grid { grid-template-columns: 1fr; }
  .func-grid { grid-template-columns: 1fr; }
  .integ-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .flow-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .challenge-card { padding: 28px 24px; }
  .sol-footer { padding: 24px; }
  .nav-inner { padding: 0 20px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .integ-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero::before { display: none; }
}
