/* ═══════════════════════════════════════════════
   SHIFTYFLOW — styles.css
   Brand: dark, bold, editorial. Syne + DM Sans.
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── TOKENS ───────────────────────────────────── */
:root {
  --black:        #0d0d0d;
  --surface:      #111110;
  --surface-2:    #161614;
  --white:        #f8f6f1;
  --cream:        #f2efe8;
  --orange:       #e85d2f;
  --orange-light: #f47c52;
  --orange-dim:   rgba(232,93,47,0.12);
  --orange-border:rgba(232,93,47,0.28);
  --green:        #1a7a4e;
  --green-light:  #d6f0e3;
  --ink:          #1c1a17;
  --muted:        #6b6760;
  --border:       rgba(255,255,255,0.07);
  --border-cream: rgba(28,26,23,0.1);

  --serif: 'Syne', sans-serif;
  --sans:  'DM Sans', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  20px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

/* ── TYPOGRAPHY ───────────────────────────────── */
h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
h1 em { font-style: normal; color: var(--orange); }

h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

/* ── LAYOUT HELPERS ───────────────────────────── */
.section-inner    { max-width: 1100px; margin: 0 auto; }
.section-eyebrow  {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.section-sub {
  font-size: 17px; font-weight: 300; color: rgba(248,246,241,0.52);
  margin-top: 14px; max-width: 560px; line-height: 1.7;
}

section { padding: 100px 48px; }

/* ── ANIMATIONS ───────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* stagger children */
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* ── NAV ──────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: padding 0.3s var(--ease-out);
}
.nav.scrolled { padding: 12px 48px; }

.nav__logo {
  font-family: var(--serif); font-weight: 800; font-size: 21px;
  letter-spacing: -0.5px; color: var(--white); text-decoration: none;
}
.nav__logo span { color: var(--orange); }

.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__links a {
  font-size: 14px; color: rgba(248,246,241,0.55); text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }

.nav__cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-weight: 500 !important; font-size: 14px !important;
  transition: background 0.2s !important;
}
.nav__cta:hover { background: var(--orange-light) !important; color: var(--white) !important; }

/* mobile burger */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; position: fixed; top: 62px; left: 0; right: 0; z-index: 199;
  background: rgba(13,13,13,0.97); backdrop-filter: blur(20px);
  padding: 32px 48px 40px; flex-direction: column; gap: 24px;
  border-bottom: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 18px; font-family: var(--serif); font-weight: 600;
  color: rgba(248,246,241,0.7); text-decoration: none;
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--white); }
.nav__mobile .mobile-cta {
  display: inline-flex; align-items: center;
  background: var(--orange); color: var(--white) !important;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 15px !important; font-weight: 500; width: fit-content;
}

/* ── BUTTONS ──────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--white);
  padding: 15px 30px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(248,246,241,0.6); font-size: 15px; font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid rgba(248,246,241,0.18); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--white); border-color: rgba(248,246,241,0.45); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--orange-border); color: var(--orange);
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--orange-dim); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 48px 80px; position: relative; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 68% 50%, rgba(232,93,47,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 80%,  rgba(26,122,78,0.07) 0%, transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero__inner {
  position: relative; z-index: 1; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-dim); border: 1px solid var(--orange-border);
  border-radius: 100px; padding: 5px 15px;
  font-size: 11px; font-weight: 600; color: var(--orange-light);
  letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: ''; width: 6px; height: 6px; background: var(--orange);
  border-radius: 50%; animation: pulse 2s ease-in-out infinite;
}
.hero__sub {
  font-size: 18px; font-weight: 300; color: rgba(248,246,241,0.65);
  line-height: 1.75; margin-bottom: 40px; max-width: 460px;
}
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* hero right panel */
.hero__panel { display: flex; flex-direction: column; gap: 16px; }

.gap-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px 30px;
  transition: border-color 0.2s;
}
.gap-card:hover { border-color: var(--orange-border); }
.gap-card__label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(248,246,241,0.3); margin-bottom: 16px;
}
.gap-card__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 6px;
}
.gap-card__scenario { font-size: 14px; color: rgba(248,246,241,0.5); flex: 1; }
.gap-card__time { font-family: var(--serif); font-size: 22px; font-weight: 700; white-space: nowrap; }
.gap-card__time--bad  { color: #f04f4f; }
.gap-card__time--good { color: #3fc98a; }
.gap-card__divider    { height: 1px; background: rgba(255,255,255,0.06); margin: 14px 0; }
.gap-card__footnote   { font-size: 12px; color: rgba(248,246,241,0.26); font-style: italic; margin-top: 14px; }

.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-stat {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 22px 26px;
  position: relative; overflow: hidden; transition: border-color 0.2s;
}
.mini-stat:hover { border-color: var(--orange-border); }
.mini-stat::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--orange);
}
.mini-stat__num {
  font-family: var(--serif); font-size: 34px; font-weight: 800;
  color: var(--orange); line-height: 1; margin-bottom: 6px;
}
.mini-stat__lbl { font-size: 12px; color: rgba(248,246,241,0.42); line-height: 1.4; }

/* ── INTEGRATIONS BAR ─────────────────────────── */
.integrations {
  background: #0a0a0a; padding: 52px 48px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.integrations__label {
  text-align: center; font-size: 11px; color: rgba(248,246,241,0.22);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 28px;
}
.integrations__row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.logo-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 18px; font-size: 13px; color: rgba(248,246,241,0.35);
}

/* ── WHO SECTION ──────────────────────────────── */
.who { background: var(--cream); color: var(--ink); padding: 80px 48px; }
.who h2 { color: var(--ink); }
.who .section-eyebrow { color: var(--orange); }

.who__grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
  margin-top: 56px; border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg); overflow: hidden;
}
.who__item {
  padding: 40px 34px; border-right: 1px solid var(--border-cream);
}
.who__item:last-child { border-right: none; }
.who__share {
  font-family: var(--serif); font-size: 52px; font-weight: 800;
  color: var(--orange); line-height: 1; margin-bottom: 4px;
}
.who__tag {
  display: inline-block; background: rgba(232,93,47,0.1); color: var(--orange);
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px; margin-bottom: 14px;
}
.who__item h3 { color: var(--ink); font-size: 19px; margin-bottom: 10px; }
.who__item p  { font-size: 14px; color: var(--muted); line-height: 1.68; }

/* ── PROBLEM SECTION ──────────────────────────── */
.problem { background: var(--surface); padding: 80px 48px; }
.problem h2 { color: var(--white); }

.problem__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 56px; }
.problem__item { border-top: 1px solid var(--border); padding-top: 28px; }
.problem__icon { font-size: 26px; margin-bottom: 14px; display: block; }
.problem__item h3 { font-size: 18px; margin-bottom: 10px; }
.problem__item p  { font-size: 14px; color: rgba(248,246,241,0.42); line-height: 1.72; }

/* ── SERVICES ─────────────────────────────────── */
.services { background: var(--black); }

.offer-stack { display: flex; flex-direction: column; gap: 14px; margin-top: 60px; }
.offer {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px 50px;
  display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start;
  transition: background 0.25s, border-color 0.25s;
}
.offer:hover { background: rgba(232,93,47,0.04); border-color: var(--orange-border); }

.offer__tag {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.offer h3 { font-size: 24px; margin-bottom: 10px; }
.offer__promise { font-size: 14px; color: rgba(248,246,241,0.38); font-style: italic; line-height: 1.6; margin-bottom: 18px; }
.offer__audience {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px 14px; font-size: 12px; color: rgba(248,246,241,0.42);
}

.offer__features { list-style: none; margin-bottom: 28px; }
.offer__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(248,246,241,0.6); line-height: 1.65;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.offer__features li:last-child { border-bottom: none; }
.offer__features li::before { content: '→'; color: var(--orange); font-size: 13px; margin-top: 3px; flex-shrink: 0; }

/* ── RECOVEROS SECTION ────────────────────────── */
.recoveros {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 48px;
}

.recoveros__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.recoveros__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,93,47,0.08); border: 1px solid rgba(232,93,47,0.2);
  border-radius: 100px; padding: 5px 14px;
  font-size: 10px; font-weight: 700; color: var(--orange-light);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px;
}
.recoveros__badge .dot {
  width: 5px; height: 5px; background: var(--orange); border-radius: 50%;
}

.recoveros h2 { margin-bottom: 10px; }
.recoveros__tagline {
  font-size: 16px; color: var(--orange-light); font-weight: 500; margin-bottom: 16px;
}
.recoveros__desc {
  font-size: 15px; color: rgba(248,246,241,0.52); line-height: 1.75; margin-bottom: 28px;
}

.recoveros__features { list-style: none; margin-bottom: 32px; }
.recoveros__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(248,246,241,0.6); padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05); line-height: 1.6;
}
.recoveros__features li:last-child { border-bottom: none; }
.recoveros__features li .check {
  color: #3fc98a; font-weight: 700; font-size: 13px; margin-top: 2px; flex-shrink: 0;
}

.recoveros__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Right: engine diagram */
.recoveros__diagram {
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; position: relative; overflow: hidden;
}
.recoveros__diagram::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}
.diagram__title {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(248,246,241,0.3); margin-bottom: 20px;
}
.diagram__step {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 6px; position: relative;
}
.diagram__step:not(:last-child)::after {
  content: ''; position: absolute; left: 15px; top: 32px;
  width: 1px; height: calc(100% + 6px);
  background: rgba(232,93,47,0.25);
}
.diagram__icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange-dim); border: 1px solid var(--orange-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0; z-index: 1;
}
.diagram__body { padding-top: 4px; }
.diagram__step-title { font-size: 13px; font-weight: 500; color: var(--white); margin-bottom: 2px; }
.diagram__step-desc  { font-size: 12px; color: rgba(248,246,241,0.38); line-height: 1.5; }

.diagram__note {
  margin-top: 20px; padding: 12px 14px;
  background: rgba(232,93,47,0.07); border: 1px solid rgba(232,93,47,0.15);
  border-radius: var(--radius-sm);
  font-size: 12px; color: rgba(248,246,241,0.45); line-height: 1.55;
}
.diagram__note strong { color: var(--orange-light); }

/* ── RESULTS ──────────────────────────────────── */
.results { background: var(--surface); }
.results__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 60px; }
.result-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 36px 30px;
  transition: border-color 0.2s;
}
.result-card:hover { border-color: var(--orange-border); }
.result-card__metric {
  font-family: var(--serif); font-size: 50px; font-weight: 800;
  color: var(--orange); line-height: 1; margin-bottom: 8px;
}
.result-card__title { font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.result-card__desc  { font-size: 13px; color: rgba(248,246,241,0.38); line-height: 1.7; }

/* ── CTA SECTION ──────────────────────────────── */
.cta-section { background: var(--orange); padding: 100px 48px; text-align: center; }
.cta-section h2 { color: var(--white); letter-spacing: -2px; margin-bottom: 16px; }
.cta-section p  {
  font-size: 17px; color: rgba(255,255,255,0.75); font-weight: 300;
  margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto;
}
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--orange);
  padding: 18px 38px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 700; text-decoration: none;
  font-family: var(--serif); letter-spacing: -0.3px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.22); }
.cta-sub {
  display: block; margin-top: 22px; color: rgba(255,255,255,0.55);
  font-size: 13px; text-decoration: none; transition: color 0.2s;
}
.cta-sub:hover { color: var(--white); }

/* ── FOOTER ───────────────────────────────────── */
.footer {
  background: var(--black); border-top: 1px solid var(--border);
  padding: 48px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer__logo { font-family: var(--serif); font-size: 17px; font-weight: 800; color: var(--white); text-decoration: none; }
.footer__logo span { color: var(--orange); }
.footer__links { display: flex; gap: 28px; list-style: none; }
.footer__links a { font-size: 13px; color: rgba(248,246,241,0.32); text-decoration: none; transition: color 0.2s; }
.footer__links a:hover { color: var(--white); }
.footer__copy  { font-size: 12px; color: rgba(248,246,241,0.18); }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 960px) {
  .nav { padding: 16px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { padding: 28px 24px 36px; }

  section,
  .who, .problem, .integrations, .cta-section, .recoveros { padding-left: 24px; padding-right: 24px; }

  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__panel  { display: none; }

  .who__grid    { grid-template-columns: 1fr; }
  .who__item    { border-right: none; border-bottom: 1px solid var(--border-cream); }
  .who__item:last-child { border-bottom: none; }

  .problem__grid { grid-template-columns: 1fr; }

  .offer { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }

  .recoveros__inner { grid-template-columns: 1fr; gap: 48px; }

  .results__grid { grid-template-columns: 1fr; }

  .footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .footer__links { gap: 18px; flex-wrap: wrap; }
}
