:root {
  --bg: #000000;
  --bg-card: #18181b;
  --border: #3f3f46;
  --text: #f4f4f5;
  --text-dim: #a1a1aa;
  --accent: #d97706;
  --accent-hover: #f59e0b;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(1200px 620px at 50% -6%, rgba(217, 119, 6, 0.13), transparent 62%),
    linear-gradient(
      180deg,
      #000000 0%,
      #0a0908 14%,
      #100c07 34%,
      #0d0a08 52%,
      #09080b 74%,
      #000000 100%
    );
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

/* Static icgym watermark behind the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("/assets/icgym.svg") center 44% / min(78vmin, 640px) no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.brand img {
  width: 64px;
  height: 64px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-dim);
}

.site-nav a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero img.mark {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hero p.tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-dim);
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--accent);
  color: var(--accent-hover);
  background: rgba(217, 119, 6, 0.1);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-hover);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
}

.social-row a:hover {
  border-color: var(--accent);
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent-hover);
}

/* Sections */
section {
  padding: 3.5rem 0;
}

/* Sections blend into the page gradient — no hard dividers */
section.alt {
  background: transparent;
}

h2.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  text-align: center;
  margin: 0 0 0.5rem;
}

p.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 34rem;
  margin: 0 auto 2.5rem;
}

/* Screenshot strip */
.screens {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
}

.screens img {
  scroll-snap-align: start;
  border-radius: 14px;
  border: 1px solid var(--border);
  height: 420px;
  width: auto;
  flex: 0 0 auto;
}

/* Combined showcase — alternating feature rows (card + screenshot) */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-row .feature-card {
  flex: 1 1 0;
  padding: 1.85rem 2.1rem;
}

.feature-row .feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-row .feature-card ul,
.feature-row .feature-card p {
  font-size: 0.98rem;
}

.feature-shot {
  flex: 0 0 clamp(220px, 33%, 320px);
  display: flex;
  justify-content: center;
}

.feature-shot img {
  border-radius: 22px;
  border: 1px solid var(--border);
  max-height: 520px;
  width: auto;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.feature-card .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.9rem;
  fill: var(--accent-hover);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.feature-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.feature-card li {
  margin-bottom: 0.3rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 44rem;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
}

.price-card.premium {
  border-color: var(--accent);
}

.price-card h3 {
  margin: 0 0 0.25rem;
}

.price-card .price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.price-card .price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-dim);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  text-align: left;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.price-card li {
  padding: 0.35rem 0;
  border-top: 1px solid var(--border);
}

.price-card li:first-child {
  border-top: none;
}

/* CTA */
.cta {
  text-align: center;
}

.cta h2 {
  margin-bottom: 0.5rem;
}

.cta p {
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--text);
}

/* Legal pages */
.legal {
  padding: 3rem 0 4rem;
  max-width: 42rem;
}

.legal h1 {
  margin-bottom: 0.25rem;
}

.legal .updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.legal .notice {
  border: 1px solid var(--accent);
  background: rgba(217, 119, 6, 0.1);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--accent-hover);
  margin-bottom: 1.75rem;
}

.legal h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}

.legal p,
.legal li {
  color: #d4d4d8;
  font-size: 0.95rem;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal a.back {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--accent-hover);
  text-decoration: none;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .feature-row,
  .feature-row:nth-child(even) {
    flex-direction: column;
    gap: 1.5rem;
  }

  .feature-shot {
    flex-basis: auto;
    width: 100%;
  }

  .feature-shot img {
    max-height: 440px;
  }
}
