/* ============================================================
   FODEK — Landing page styles
   Palette from logo: teal #2BAEDF · gold #F2AF1F · green #0B5132
   ============================================================ */

:root {
  --teal: #2BAEDF;
  --teal-soft: #E3F4FB;
  --gold: #F2AF1F;
  --gold-soft: #FCF1D8;
  --green: #0B5132;
  --green-deep: #07331F;
  --green-soft: #E7F0EB;
  --bg: #FAFBFA;
  --surface: #FFFFFF;
  --ink: #122B1D;
  --ink-soft: #3D5247;
  --muted: #6B7F74;
  --line: #E2E9E4;
  --accent: var(--teal);
  --flod-red: #971933;
  --flod-teal: #0E95AC;
  --radius: 16px;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 250, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 0;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  gap: 30px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--green); }
.nav-cta-group { display: flex; align-items: center; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #FDFDF8;
}
.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(11, 81, 50, 0.55);
}
.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--green); }
.btn-gold {
  background: var(--gold);
  color: var(--green-deep);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(242, 175, 31, 0.6); }
.btn-sm { padding: 10px 20px; font-size: 14.5px; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 8px 18px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 26px 0 22px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  position: relative;
}
.hero h1 .tealmark { color: var(--accent); }
.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Hero product mock ---------- */
.hero-visual { position: relative; }
.mock-dash {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 40px 80px -40px rgba(11, 81, 50, 0.28);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.mock-bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.mock-bar i:nth-child(1) { background: #F2AF1F; }
.mock-bar .mock-title {
  margin-left: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.mock-body { padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kpi {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.kpi .k-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kpi .k-value { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.kpi .k-delta { font-size: 12.5px; font-weight: 700; color: var(--green); }
.kpi .k-delta.up::before { content: "▲ "; font-size: 9px; }

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 88px;
  padding: 0 4px;
}
.mock-chart i {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: var(--green-soft);
}
.mock-chart i.hi { background: var(--accent); }

.mock-orders { display: flex; flex-direction: column; gap: 10px; }
.m-order {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
}
.m-order .o-id { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: 12.5px; }
.m-order .o-name { flex: 1; }
.pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
.pill-prep { background: var(--gold-soft); color: #8A6210; }
.pill-ready { background: var(--green-soft); color: var(--green); }
.pill-out { background: var(--teal-soft); color: #156A8C; }

.float-card {
  position: absolute;
  right: -26px;
  bottom: -30px;
  background: var(--green);
  color: #FDFDF8;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 30px 60px -25px rgba(7, 51, 31, 0.6);
  display: flex;
  align-items: center;
  gap: 16px;
}
.float-card .fc-num { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.float-card .fc-label { font-size: 12.5px; opacity: 0.75; line-height: 1.35; }
.float-card .fc-ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 17px;
}

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 14px 0 16px;
  text-wrap: balance;
}
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 0; text-wrap: pretty; }

/* ---------- Apps suite ---------- */
.apps { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.app-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 24px 48px -28px rgba(11, 81, 50, 0.25);
}
.app-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
}
.app-icon.teal { background: var(--teal-soft); }
.app-icon.gold { background: var(--gold-soft); }
.app-icon.green { background: var(--green-soft); }
.app-icon span {
  width: 18px; height: 18px;
  border-radius: 5px;
  display: block;
}
.app-icon.teal span { background: var(--teal); }
.app-icon.gold span { background: var(--gold); border-radius: 50%; }
.app-icon.green span { background: var(--green); transform: rotate(45deg); border-radius: 4px; }
.app-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.app-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.app-card .app-tier {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- FLOD showcase ---------- */
.showcase {
  background: #F1F8FA;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.showcase .section-kicker { color: var(--flod-teal); }
.showcase .section-head h2 { color: var(--ink); }
.showcase .section-head p { color: var(--ink-soft); }
.show-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.flod-wordmark {
  display: inline-flex;
  align-items: center;
  margin-bottom: 26px;
}
.flod-wordmark .flod-logo { height: 46px; width: auto; }
.show-quote {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-wrap: pretty;
}
.show-quote em { color: var(--flod-red); font-style: normal; }
.show-attr { font-size: 15px; color: var(--muted); margin: 0 0 40px; }
.show-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid #D8E5EA;
  padding-top: 32px;
}
.show-stat .s-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.show-stat .s-num b { color: var(--flod-teal); font-weight: 700; }
.show-stat .s-label { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

.show-shots {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
.show-shots .shot-tall { margin-top: 48px; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.price-card.featured {
  background: var(--green);
  color: #F2F6F0;
  border-color: var(--green);
  box-shadow: 0 40px 80px -45px rgba(7, 51, 31, 0.75);
}
.price-ribbon {
  position: absolute;
  top: 26px; right: 26px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--green-deep);
  padding: 6px 13px;
  border-radius: 999px;
}
.price-name {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-card.featured .price-name { color: var(--gold); }
.price-for { font-size: 15.5px; color: var(--muted); min-height: 48px; }
.price-card.featured .price-for { color: rgba(242, 246, 240, 0.7); }
.price-amount { display: flex; align-items: baseline; gap: 8px; }
.price-amount .cur { font-size: 16px; font-weight: 700; color: var(--muted); }
.price-card.featured .price-amount .cur { color: rgba(242, 246, 240, 0.7); }
.price-amount .amt {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-amount .per { font-size: 14px; color: var(--muted); }
.price-card.featured .price-amount .per { color: rgba(242, 246, 240, 0.6); }
.price-rule { height: 1px; background: var(--line); }
.price-card.featured .price-rule { background: rgba(242, 246, 240, 0.2); }
.price-feats { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.price-feats li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-soft);
}
.price-card.featured .price-feats li { color: rgba(242, 246, 240, 0.88); }
.price-feats li::before {
  content: "✓";
  font-weight: 800;
  color: var(--green);
  flex: none;
}
.price-card.featured .price-feats li::before { color: var(--gold); }
.price-card .btn { margin-top: auto; }
.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14.5px;
  color: var(--muted);
}
.wa-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wa-link:hover { color: var(--green-deep); }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.cta-box {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  border-radius: 28px;
  padding: 72px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  color: #F2F6F0;
  position: relative;
  overflow: hidden;
}
.cta-box::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 56px solid rgba(43, 174, 223, 0.16);
  right: -90px; top: -120px;
}
.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
  text-wrap: balance;
}
.cta-box p { margin: 0; color: rgba(242, 246, 240, 0.72); font-size: 17px; max-width: 46ch; }
.cta-box .btn { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0 56px;
  background: var(--surface);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo img { height: 28px; width: auto; }
.footer-links {
  display: flex;
  gap: 26px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}
.footer-links a:hover { color: var(--green); }
.footer-fine { font-size: 13px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .show-grid { grid-template-columns: 1fr; gap: 48px; }
  .app-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .float-card { right: 8px; bottom: -22px; }
  .cta-box { flex-direction: column; text-align: center; padding: 56px 36px; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .app-grid, .pricing-grid, .kpis, .show-stats { grid-template-columns: 1fr; }
  .show-shots { flex-direction: column; }
  .show-shots .shot-tall { margin-top: 0; }
  .hero { padding: 56px 0 72px; }
  .section { padding: 64px 0; }
}
