/* ============================================================
   Skidarmor — landing page
   ============================================================ */

section { position: relative; }
.section { padding: 96px 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section__head h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 14px 0 14px; }
.section__head p { color: var(--muted); font-size: 17px; }

/* ---- hero ---- */
.hero { padding: 78px 0 70px; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 70px); line-height: 1.02; margin: 20px 0 22px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.hero__stat b { font-family: var(--display); font-size: 30px; display: block; color: #fff; }
.hero__stat span { font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.hero__art { position: relative; display: grid; place-items: center; }
.hero__glow { position: absolute; width: 108%; height: 108%; background: radial-gradient(circle, var(--red-glow), transparent 62%); filter: blur(8px); opacity: .5; animation: pulse 5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .45; } 50% { transform: scale(1.06); opacity: .62; } }
.hero__logo { position: relative; width: min(410px, 78%); filter: drop-shadow(0 20px 60px rgba(229,18,31,.4)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---- fact cards ---- */
.facts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact-card { padding: 26px; display: flex; gap: 16px; align-items: flex-start; transition: transform .3s, border-color .3s, box-shadow .3s; }
.fact-card:hover { transform: translateY(-5px); border-color: rgba(229,18,31,.45); box-shadow: var(--shadow), 0 0 34px -14px var(--red-glow); }
.fact-card__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--red-soft), transparent); border: 1px solid rgba(229,18,31,.35); color: var(--red-2); }
.fact-card__icon svg { width: 24px; height: 24px; }
.fact-card h3 { font-size: 18px; margin-bottom: 4px; }
.fact-card p { color: var(--muted); font-size: 14.5px; }

/* ---- example window w/ video bg ---- */
.example { position: relative; }
.example__stage { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-2); box-shadow: var(--shadow), var(--shadow-red); }
.example__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .5; }
.example__bg-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,7,10,.72), rgba(7,7,10,.86)), radial-gradient(60% 60% at 50% 0%, rgba(229,18,31,.18), transparent 70%); }
.example__inner { position: relative; z-index: 2; padding: 30px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); gap: 22px; align-items: stretch; }

.code-window { background: rgba(10,10,14,.78); border: 1px solid var(--border-2); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; backdrop-filter: blur(3px); min-height: 340px; min-width: 0; }
.code-window__bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.code-window__dots { display: flex; gap: 7px; }
.code-window__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.code-window__dots i:nth-child(1){ background:#ff5f57; } .code-window__dots i:nth-child(2){ background:#febc2e; } .code-window__dots i:nth-child(3){ background:#28c840; }
.code-window__title { font-size: 12.5px; color: var(--muted); font-family: ui-monospace, monospace; margin-left: 6px; }
.code-window__title .tag { color: var(--red-2); }
.code-window pre { margin: 0; padding: 16px 18px; overflow: auto; flex: 1; font-family: ui-monospace, "JetBrains Mono", monospace; font-size: 13px; line-height: 1.62; color: #d7d7e0; white-space: pre; tab-size: 2; }
.code-window.input pre { color: #e8e8ee; font-size: 14.5px; }
.code-window.output pre { white-space: pre-wrap; word-break: break-all; font-size: 12px; line-height: 1.5; }
.code-window pre::-webkit-scrollbar { width: 8px; height: 8px; }
.tok-k { color: #ff5b6a; } .tok-s { color: #7ee6a8; } .tok-n { color: #f5b971; } .tok-c { color: #6d6d7a; font-style: italic; } .tok-f { color: #8ab4ff; }

.example__mid { display: flex; flex-direction: column; min-width: 0; }
.example__io { display: flex; flex-direction: column; gap: 14px; height: 100%; min-width: 0; }
.example__arrow { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--red-2); font-family: var(--display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; }
.example__arrow .line { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--red), transparent); }

.example__meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; justify-content: center; z-index: 2; position: relative; }
.example__meta .m b { font-family: var(--display); color: #fff; font-size: 19px; }
.example__meta .m span { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }

/* ---- features grid ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 24px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow), 0 0 30px -16px var(--red-glow); }
.feature__ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 15px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border-2); color: var(--red-2); }
.feature__ic svg { width: 21px; height: 21px; }
.feature h3 { font-size: 17px; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ---- pricing ---- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { padding: 32px 28px; display: flex; flex-direction: column; position: relative; transition: transform .3s, border-color .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-6px); }
.plan.featured { border-color: rgba(229,18,31,.5); box-shadow: var(--shadow), 0 0 50px -18px var(--red-glow); }
.plan.featured::before { content: "Most Popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--red-2), var(--red-deep)); color: #fff; padding: 5px 14px; border-radius: 999px; box-shadow: var(--shadow-red); }
.plan__name { font-family: var(--display); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 4px; }
.plan__price b { font-family: var(--display); font-size: 50px; color: #fff; }
.plan__price span { color: var(--muted); font-size: 15px; }
.plan__blurb { color: var(--muted); font-size: 14px; min-height: 42px; margin-bottom: 18px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: #cfcfd8; }
.plan li svg { width: 18px; height: 18px; color: var(--red-2); flex: none; margin-top: 2px; }

/* ---- cta band ---- */
.cta-band { text-align: center; padding: 70px 40px; border-radius: 24px; position: relative; overflow: hidden;
  border: 1px solid rgba(229,18,31,.35); background: linear-gradient(180deg, rgba(229,18,31,.1), rgba(20,6,8,.6)); }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta-band p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--border); padding: 42px 0 60px; margin-top: 60px; }
.footer__grid { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer .brand__name { font-size: 17px; }
.footer p { color: var(--muted-2); font-size: 13.5px; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--muted); font-size: 14px; }
.footer__links a:hover { color: var(--red-2); }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__art { order: -1; } .hero__logo { width: 260px; } .hero__cta, .hero__stats { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .facts-row, .features, .pricing { grid-template-columns: 1fr; }
  .example__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero__stats { gap: 22px; }
}
