/* APODEXA landing page */

.lp-nav {
  position: sticky; top: 0; z-index: 20; background: rgba(247,248,250,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.lp-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 16px;
}
.lp-brand { display: flex; align-items: center; gap: 10px; }
.lp-brand img { height: 30px; width: auto; }
.lp-brand b { font-weight: 800; font-size: 19px; color: var(--navy); }
.lp-nav .spacer { flex: 1; }
.lp-nav a.navlink { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 8px 4px; }
.lp-nav a.navlink:hover { color: var(--navy); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero { padding: 72px 0 48px; text-align: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-dark); font-size: 13px; font-weight: 700; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero h1 .accent { color: var(--orange); }
.hero .sub { font-size: clamp(16px, 2.4vw, 19px); color: var(--ink-2); max-width: 640px; margin: 0 auto 32px; line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 10px; }

/* Flow strip in hero */
.flow-mini {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin-top: 44px; color: var(--ink-3); font-size: 13.5px; font-weight: 600;
}
.flow-mini .step { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); color: var(--navy); }
.flow-mini .step svg { width: 16px; height: 16px; color: var(--orange); }
.flow-mini .arrow { color: var(--ink-3); }
.flow-mini .arrow svg { width: 16px; height: 16px; }

/* Section */
.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.02em; margin-bottom: 12px; }
.section-head p { color: var(--ink-2); font-size: 16px; margin: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.feat-card .feat-ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat-card .feat-ic svg { width: 22px; height: 22px; }
.feat-card h3 { font-size: 16px; margin-bottom: 8px; }
.feat-card p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.6; }

.ic-green { background: var(--green-soft); color: var(--green); }
.ic-orange { background: var(--orange-soft); color: var(--orange); }
.ic-navy { background: var(--blue-soft); color: var(--navy); }

/* How it works */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.how-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: var(--shadow-sm); }
.how-step .num {
  width: 34px; height: 34px; border-radius: 10px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; margin-bottom: 14px;
}
.how-step h3 { font-size: 15.5px; margin-bottom: 6px; }
.how-step p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* Code showcase */
.code-showcase { background: var(--navy); border-radius: var(--r-lg); overflow: hidden; }
.code-showcase-grid { display: grid; grid-template-columns: 1fr 1fr; }
.cs-pane { padding: 26px 28px; }
.cs-pane.left { border-right: 1px solid rgba(255,255,255,.08); }
.cs-pane h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; opacity: .8; }
.cs-code { font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #E5E9F0; white-space: pre; overflow-x: auto; margin: 0; }
.cs-code .k { color: #7FB4FF; }
.cs-code .s { color: #7EE0A6; }
.cs-code .n { color: #FFB37A; }
.cs-code .c { color: #8792AC; }

/* CTA band */
.cta-band { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 48px 40px; text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-band p { color: var(--ink-2); font-size: 16px; margin: 0 0 26px; }

/* Footer */
.footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 28px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-inner img { height: 22px; width: auto; opacity: .9; }
.footer-inner .spacer { flex: 1; }
.footer-inner small { color: var(--ink-3); font-size: 13px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.footer-links a:hover { color: var(--navy); }

@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: repeat(2, 1fr); }
  .code-showcase-grid { grid-template-columns: 1fr; }
  .cs-pane.left { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 32px; }
  .features, .how { grid-template-columns: 1fr; }
  .lp-nav a.navlink { display: none; }
  .section { padding: 40px 0; }
  .cta-band { padding: 36px 22px; }
}
