/* Foko landing page. No external fonts or libraries. */

:root {
  --bg: #fbfbfd;
  --bg-2: #ffffff;
  --soft: #f3f3f8;
  --panel: #ffffff;
  --line: rgba(15, 18, 32, 0.09);
  --text: #0f1220;
  --text-2: #3a4052;
  --muted: #5d6475;
  /* One accent colour, used flat everywhere (no gradients). */
  --accent: #1f2937;
  --accent-hover: #111827;
  --accent-soft: #f3f4f6;
  --shadow: 0 1px 2px rgba(15, 18, 32, .04), 0 8px 28px rgba(15, 18, 32, .06);
  --radius: 18px;
  --wrap: 1160px;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(15,18,32,.06); padding: .1em .35em; border-radius: 5px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 16px/1 inherit; font-family: inherit;
  padding: 15px 22px; border-radius: 12px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 1px 2px rgba(15, 18, 32, .12), 0 6px 18px rgba(17, 24, 39, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--accent-hover); box-shadow: 0 1px 2px rgba(15, 18, 32, .12), 0 10px 24px rgba(17, 24, 39, .28); }
.btn-small { padding: 10px 14px; font-size: 14px; border-radius: 10px; }
.btn-ghost { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(15,18,32,.3); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 5;
  background: rgba(251, 251, 253, .8);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; font-size: 18px; }
.brand-mark { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 1.8; }
.brand-mark circle { fill: var(--text); stroke: none; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 40px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 750; }
.grad { color: #6b7280; }
.lede { color: var(--text-2); font-size: 19px; max-width: 34em; margin: 0 0 28px; }

.req { color: var(--muted); font-size: 13.5px; margin: 22px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.hero-media { position: relative; }
.hero-video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(15, 18, 32, .18), 0 0 0 1px var(--line);
  background: #11131b;
}
.caption { color: var(--muted); font-size: 13px; margin: 10px 2px 0; }

.stats {
  list-style: none; padding: 0; margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stats li { background: var(--panel); padding: 22px 24px; display: grid; gap: 2px; }
.stats strong { font-size: 24px; letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: 14px; }

/* Sections */
#how, #backdrops, #faq { background: var(--soft); }
.section { padding: 96px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 14px; font-weight: 720; }
.section-lede { color: var(--muted); font-size: 19px; margin: 0 0 40px; max-width: 40em; }
h3 { font-size: 21px; letter-spacing: -.015em; margin: 0 0 8px; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.steps p { color: var(--muted); margin: 0; }
.step-n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 18px;
  font-weight: 700; color: #fff; background: var(--accent);
}

.feature-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media { margin: 0; }
.feature-media video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(15, 18, 32, .16), 0 0 0 1px var(--line); background: #11131b;
}
.feature-media.portrait { display: flex; justify-content: center; }
.feature-media.portrait video { width: min(330px, 100%); aspect-ratio: 9 / 16; }
.feature-copy p { color: var(--muted); font-size: 18px; margin: 0; }
.feature-copy h3 { font-size: 26px; }

.cards { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.section-lede + .cards { margin-top: 0; }
.cards h3 { font-size: 18px; }
.cards p { color: var(--muted); margin: 0; font-size: 15.5px; }

.backdrops { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.backdrops li { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.backdrops img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.backdrops li:hover img { transform: scale(1.04); }
.backdrops span {
  position: absolute; left: 8px; bottom: 8px; font-size: 12px; font-weight: 600;
  padding: 4px 9px; border-radius: 8px; color: #fff; background: rgba(15, 18, 32, .62); backdrop-filter: blur(6px);
}

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 20px; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 32px; position: relative; color: var(--text-2); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%231f2937'/%3E%3Cpath d='M5.6 10.3l2.9 2.9 5.9-6.2' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan li.muted { color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 0; flex-wrap: wrap; }
.amount { font-size: 46px; font-weight: 750; letter-spacing: -.03em; }
.per { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.plan-pro { border: 2px solid var(--accent); background: var(--panel); box-shadow: 0 20px 50px rgba(15, 18, 32, .08); }
.badge { position: absolute; top: -12px; right: 24px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; color: #fff; background: var(--accent); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 24px; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 10px 0 0; }

/* Final CTA */
.cta { text-align: center; }
.cta-img { width: min(520px, 100%); margin: 0 auto 36px; border-radius: var(--radius); box-shadow: 0 24px 70px rgba(15, 18, 32, .14), 0 0 0 1px var(--line); }
.cta .section-lede { margin-inline: auto; }

.footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer p { margin: 0; }
.muted { color: #6b7180; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .backdrops { grid-template-columns: repeat(3, 1fr); }
  .nav nav { display: none; }
  .nav .btn-small { margin-left: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .backdrops { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 20px; margin-top: 44px; }
  .feature-row.reverse .feature-media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

/* Black Friday offer */
.offer-bar { background: var(--accent); color: #fff; font-size: 14px; }
.offer-bar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; min-height: 38px; padding: 6px 0; text-align: center; }
.offer-tag { font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--accent); }
.offer-time { color: rgba(255, 255, 255, .82); font-variant-numeric: tabular-nums; }

.buy { display: grid; gap: 14px; max-width: 460px; }
.btn-buy { font-size: 17px; padding: 17px 24px; }
.btn.is-ended { background: #e6e7ee; color: #6b7180; box-shadow: none; cursor: default; transform: none; }
.buy-note { margin: 0; color: var(--muted); font-size: 14px; }
.buy-note:empty { display: none; }
.buy-note.err { color: #b91c1c; }


.soon { color: var(--text); font-weight: 600; }

.plans.single { grid-template-columns: minmax(0, 560px); }
.plan .buy-note { margin-top: 12px; text-align: center; }

@media (max-width: 760px) {
  .offer-bar { font-size: 13px; }
}

/* Discount pricing */
.was { color: #8a90a0; font-size: 26px; font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: currentColor; }
.off {
  align-self: center; font-size: 13px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  color: #fff; padding: 5px 10px; border-radius: 999px;
  background: var(--accent);
}
.hero-price { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.hero-price .now { font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.hero-price .was { font-size: 22px; }
.was-inline { color: rgba(255, 255, 255, .7); text-decoration-thickness: 1.5px; }

.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 13.5px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chip {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--text);
  padding: 3px 8px; border-radius: 999px; background: var(--panel); box-shadow: 0 0 0 1px var(--line);
}
@media (max-width: 480px) {
}

/* Pricing: price card + feature table */
.pricing-grid { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 28px; align-items: start; }
.price-card {
  position: sticky; top: 96px;
  background: var(--panel); border: 2px solid var(--accent); border-radius: 20px; padding: 28px;
  box-shadow: 0 20px 50px rgba(15, 18, 32, .08);
  display: grid; gap: 14px;
}
.price-card .badge { position: static; justify-self: start; margin: 0 0 -4px; }
.price-card h3 { margin: 0; }
.price-card .price { margin: 0; }
.price-card .per { margin: 0; }
.price-card .btn { width: 100%; }
.price-card .buy-note { text-align: center; }

.table-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.features-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.features-table thead th {
  text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #8a90a0; background: var(--soft); padding: 12px 18px; border-bottom: 1px solid var(--line);
}
.features-table tbody th, .features-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; }
.features-table tbody tr:last-child th, .features-table tbody tr:last-child td { border-bottom: 0; }
.features-table tbody th { font-weight: 650; color: var(--text); white-space: nowrap; width: 1%; }
.features-table td { color: var(--muted); }
.features-table td:last-child { width: 1%; white-space: nowrap; }
.features-table tbody tr:hover { background: #fafafc; }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.status svg { width: 14px; height: 14px; }
.status svg circle { fill: var(--accent); }
.status svg path { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.status-in { color: var(--text); background: var(--soft); }
.status-soon { color: #92400e; background: #fef3c7; }
.status-road { color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { position: static; }
}
@media (max-width: 640px) {
  .features-table thead { display: none; }
  .features-table, .features-table tbody { display: block; width: 100%; }
  .features-table tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .features-table tbody tr:last-child { border-bottom: 0; }
  .features-table tbody th, .features-table td { padding: 0; border: 0; width: auto; white-space: normal; }
  .features-table tbody th { grid-column: 1; grid-row: 1; }
  .features-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
  .features-table td:last-child { grid-column: 2; grid-row: 1; justify-self: end; width: auto; }
}

/* Seats left */
.seats { display: grid; gap: 8px; }
.seats-text { font-size: 14px; color: var(--muted); }
.seats-text strong { color: var(--text); font-weight: 700; }
.seats-bar { display: none; height: 6px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.seats-bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .6s ease; }
.seats.has-count .seats-bar { display: block; }
.seats-plan { margin-top: 2px; }
