/* ═══════════════════════════════════════════════════════════
   Fiwa AI Official Website — Global Stylesheet
   Design: Dark Athletic · Typographic · Orange Energy
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg:           #0a0a0a;
  --bg-2:         #0f0f0f;
  --surface:      #161616;
  --surface-2:    #1e1e1e;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,140,0,0.35);
  --orange:       #FF8C00;
  --orange-2:     #e07800;
  --orange-dim:   rgba(255,140,0,0.10);
  --orange-glow:  rgba(255,140,0,0.18);
  --text:         #f5f5f5;
  --text-2:       #999;
  --text-3:       #555;
  --radius:       14px;
  --radius-lg:    22px;
  --max-w:        1180px;
  --font-body:    'Outfit', 'Noto Sans SC', sans-serif;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }

/* ── Shared components ──────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  margin-top: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.22s;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}
.btn--sm {
  background: var(--orange);
  color: #000;
  font-size: 13px;
  padding: 8px 18px;
}
.btn--sm:hover { background: var(--orange-2); transform: translateY(-1px); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.revealed { opacity: 1; transform: none; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav--scrolled { background: rgba(10,10,10,0.95); }

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo-mark { color: var(--orange); }
.nav__logo-accent { color: var(--orange); }

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  list-style: none;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}

.nav__lang {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}
.nav__lang:hover { border-color: var(--orange); color: var(--orange); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(24px);
  padding: 20px 24px 28px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-2);
  padding: 4px 0;
}
.mobile-menu .btn,
.mobile-menu a.btn {
  align-self: stretch;
  margin-top: 8px;
  color: #000;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 12px;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,140,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,140,0,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,140,0,0.12) 0%, transparent 70%);
  top: -100px; right: -80px;
}
.hero__glow--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,140,0,0.06) 0%, transparent 70%);
  bottom: 40px; left: 5%;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding: 80px 24px 60px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-dim);
  border: 1px solid rgba(255,140,0,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.65); }
}

.hero__headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 11vw, 150px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}
[data-lang="zh"] .hero__headline {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 9vw, 120px);
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.hero__line { color: var(--text); }
.hero__line--accent { color: var(--orange); }
.hero__line--dim { color: rgba(255,255,255,0.25); }

.hero__sub {
  font-size: 13px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero__desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 36px;
}

/* Badges */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.badge--live {
  background: rgba(255,140,0,0.12);
  border-color: rgba(255,140,0,0.3);
  color: var(--orange);
}
.badge--live::before {
  content: '●';
  margin-right: 5px;
  font-size: 8px;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Store buttons */
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.25s;
  text-decoration: none;
  flex-shrink: 0;
}
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn small { font-size: 9px; font-weight: 400; opacity: 0.7; letter-spacing: 0.04em; }
.store-btn strong { font-size: 15px; font-weight: 700; }
.store-btn__icon { width: 22px; height: 22px; flex-shrink: 0; }

.store-btn--apple {
  background: var(--text);
  color: #000;
  border-color: transparent;
}
.store-btn--apple:hover { background: #ddd; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,0.5); }

.store-btn--google {
  background: var(--surface);
  color: var(--text);
}
.store-btn--google:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,0.4); }

.store-btn--lg { padding: 14px 24px; }
.store-btn--lg strong { font-size: 17px; }

/* Stats */
.hero__stats {
  display: flex;
  gap: 0;
  align-items: center;
}
.stat {
  display: flex;
  flex-direction: column;
  padding-right: 28px;
}
.stat__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat__label { font-size: 11px; color: var(--text-3); margin-top: 3px; letter-spacing: 0.04em; }
.stat__divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  margin: 0 28px 0 0;
  flex-shrink: 0;
}

/* Phone mockup */
.hero__visual { display: flex; justify-content: center; align-items: center; position: relative; }

.phone-mockup {
  position: relative;
  display: inline-block;
}
.phone-mockup__frame {
  width: 280px;
  background: #111;
  border-radius: 36px;
  border: 1.5px solid rgba(255,255,255,0.1);
  padding: 14px 10px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
}
.phone-mockup__notch {
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 10px;
}
.phone-mockup__screen {
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  position: relative;
  height: 400px;
}
#skeleton-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}
.phone-mockup__ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.phone-ui__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 100%);
}
.phone-ui__exercise {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
}
.phone-ui__score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--orange);
  letter-spacing: 0.03em;
}
.phone-ui__score small { font-size: 11px; }

.phone-mockup__glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,140,0,0.18) 0%, transparent 68%);
  z-index: 1;
  pointer-events: none;
  animation: phone-glow 3s ease-in-out infinite alternate;
}
@keyframes phone-glow {
  from { opacity: 0.7; }
  to   { opacity: 1; }
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--orange), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── FEATURES ─────────────────────────────────────────────── */
.features { background: var(--bg-2); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange-glow) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feat-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(255,140,0,0.07); }
.feat-card:hover::before { opacity: 1; }

.feat-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--orange-dim);
  border: 1px solid rgba(255,140,0,0.15);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--orange);
}
.feat-card__icon svg { width: 28px; height: 28px; }
.feat-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feat-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ── HOW IT WORKS ─────────────────────────────────────────── */
.how { background: var(--bg); }

.how__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.how__connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), rgba(255,140,0,0.2));
  margin-top: 52px;
}

.how-step {
  text-align: center;
}
.how-step__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  color: var(--orange);
  opacity: 0.12;
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: -16px;
}
.how-step__content { padding: 0 24px; }
.how-step__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid rgba(255,140,0,0.4);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  color: var(--orange);
  box-shadow: 0 0 28px rgba(255,140,0,0.15);
}
.how-step__icon svg { width: 28px; height: 28px; }
.how-step h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.how-step p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials { background: var(--bg-2); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.test-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color 0.3s, transform 0.3s;
}
.test-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.test-card__quote {
  color: var(--orange);
  opacity: 0.4;
  margin-bottom: 16px;
}
.test-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 24px;
}
.test-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange-dim);
  border: 1px solid rgba(255,140,0,0.2);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--orange);
  flex-shrink: 0;
}
.test-card__author strong { font-size: 14px; font-weight: 700; display: block; }
.test-card__author span { font-size: 12px; color: var(--text-3); }

/* ── CTA ──────────────────────────────────────────────────── */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(255,140,0,0.1);
  border-bottom: 1px solid rgba(255,140,0,0.1);
  background: linear-gradient(160deg, #130a00 0%, #0a0a0a 60%);
}
.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,140,0,0.13) 0%, transparent 70%);
}
.cta__inner {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}
.cta__inner h2 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.cta__inner p {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 36px;
}
.cta__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer__brand .nav__logo { margin-bottom: 14px; font-size: 24px; }
.footer__brand p { font-size: 14px; color: var(--text-2); max-width: 260px; line-height: 1.7; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.footer__col { display: flex; flex-direction: column; }
.footer__col a {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--orange); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { font-size: 13px; color: var(--text-3); }

/* ── PROSE (Privacy / Terms) ──────────────────────────────── */
.prose-page {
  padding-top: 100px;
}
.prose-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 32px;
  border-bottom: 1px solid var(--border);
}
.prose-header h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.prose-updated { font-size: 13px; color: var(--text-3); }

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 100px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.85;
}
.prose h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 48px 0 14px;
  letter-spacing: -0.02em;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 20px; list-style: disc; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; color: var(--text-2); }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }

/* ── BLOG PAGE ────────────────────────────────────────────── */
.blog-hero {
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.blog-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blog-hero__inner { position: relative; z-index: 2; }
.blog-hero__inner h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 0.04em;
  line-height: 1;
}
[data-lang="zh"] .blog-hero__inner h1 {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.blog-hero__inner p {
  font-size: 16px;
  color: var(--text-2);
  margin-top: 12px;
}

.blog-list { background: var(--bg); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.blog-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(255,140,0,0.08); }

/* Full-card clickable overlay */
.blog-card__overlay-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: var(--radius-lg);
}
.blog-card__overlay-link:hover ~ .blog-card__body .blog-read,
.blog-card:hover .blog-read { color: var(--orange-2); }

.blog-card--featured { grid-column: 1 / -1; flex-direction: row; }
.blog-card--featured .blog-card__image { width: 420px; flex-shrink: 0; height: auto; min-height: 280px; }
.blog-card--featured .blog-card__body { flex: 1; padding: 36px; }
.blog-card--featured h2 { font-size: 24px; }

.blog-card__image {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-card__image--squat {
  background: linear-gradient(135deg, #1a0900 0%, #0a0500 100%);
}
.blog-card__image--ai {
  background: linear-gradient(135deg, #001020 0%, #000a18 100%);
}
.blog-card__image--habit {
  background: linear-gradient(135deg, #001a0a 0%, #000f06 100%);
}
.blog-card__image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card__deco { width: 120px; height: 80px; }
.blog-card__deco--lg { width: 160px; height: 200px; }

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.blog-card h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  flex: 1;
}
.blog-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 20px;
}
.blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.blog-card__footer time { font-size: 12px; color: var(--text-3); }
.blog-read { font-size: 13px; font-weight: 600; color: var(--orange); transition: opacity 0.2s; }
.blog-read:hover { opacity: 0.7; }

/* ── Blog post detail page ────────────────────────────────── */
.post-page {
  padding-top: 100px;
  padding-bottom: 80px;
}
.post-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 32px;
}
.post-back {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: 20px;
  transition: color 0.2s;
}
.post-back:hover { color: var(--orange); }
.post-header .blog-tag { margin-bottom: 14px; display: block; }
.post-header h1 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.post-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-3);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.post-cover {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-lg);
}
.post-cover--squat { background: linear-gradient(135deg, #1a0900 0%, #0a0500 100%); }
.post-cover--ai    { background: linear-gradient(135deg, #001020 0%, #000a18 100%); }
.post-cover--habit { background: linear-gradient(135deg, #001a0a 0%, #000f06 100%); }

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 0;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.85;
}
.post-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 52px 0 14px;
  letter-spacing: -0.02em;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.post-body h2:first-of-type { margin-top: 0; }
.post-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 10px;
}
.post-body p { margin-bottom: 16px; }
.post-body ul { padding-left: 22px; list-style: disc; margin-bottom: 16px; }
.post-body li { margin-bottom: 10px; }
.post-body strong { color: var(--text); font-weight: 600; }
.post-body em { color: var(--text-2); font-style: italic; }
.post-body code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 7px;
  color: var(--orange);
}

/* Mini skeleton canvas for blog featured image */
.blog-skeleton-mini {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: transparent;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .blog-card--featured { flex-direction: column; }
  .blog-card--featured .blog-card__image { width: 100%; height: 220px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card--featured { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__actions { display: none; }
  .hamburger { display: flex; }

  .section { padding: 64px 0; }

  .hero__inner { padding: 60px 24px 48px; }
  .hero__headline { font-size: clamp(64px, 18vw, 100px); }
  .hero__stats { gap: 0; flex-wrap: wrap; }

  .features__grid { grid-template-columns: 1fr; }

  .how__steps { grid-template-columns: 1fr; gap: 40px; }
  .how__connector { display: none; }

  .testimonials__grid { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-card--featured { flex-direction: column; }
  .blog-card--featured .blog-card__image { width: 100%; height: 180px; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .store-btn { width: 100%; justify-content: center; }
  .cta__buttons { flex-direction: column; align-items: center; }
  .stat__num { font-size: 26px; }
}
