/* ============================================================
   Skorio Website — Shared Stylesheet
   Design tokens from Skorio-Application/skorio/src/variables.scss
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* ---- Custom Properties (Design Tokens) ---- */
:root {
  --primary:          #df7c35;
  --primary-hover:    #c2631e;
  --secondary:        #5e8949;
  --header-bg:        #293d22;
  --header-btn:       #485942;
  --bg:               #f3ead8;
  --surface:          #f7f3ea;
  --text:             #1d2415;
  --text-muted:       #8a806c;
  --warning:          #ffb921;
  --blue:             #098fd8;
  --border:           #cbd5e1;
  --border-content:   #DEECEB;
  --border-sep:       #d4f5f2;
  --tile-teal:        #2d8a7a;
  --tile-sienna:      #a0522d;

  --font-family: 'Nunito', 'Open Sans', Arial, Helvetica, sans-serif;
  --radius-card: 16px;
  --radius-btn:  8px;
  --shadow-card: 0 2px 12px rgba(41,61,34,0.10);
  --shadow-card-hover: 0 6px 24px rgba(41,61,34,0.16);
  --transition: 0.2s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  font-size: 1.05rem;
  line-height: 1.65;
  letter-spacing: 0.02rem;
  color: var(--text);
  background:
    radial-gradient(circle at 110% 10%, rgba(223,124,53,0.22) 0%, transparent 35%),
    radial-gradient(circle at -10% 110%, rgba(94,137,73,0.18) 0%, transparent 35%),
    var(--bg);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Layout ---- */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4rem 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  line-height: 1.4;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover, .btn-ghost:focus { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost-dark:hover, .btn-ghost-dark:focus { background: var(--surface); color: var(--text); border-color: var(--primary); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover, .btn-outline:focus { background: var(--primary); color: #fff; }
.btn-lg { padding: 0.8rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; }

/* ---- Header / Nav ---- */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.nav-logo img { width: 38px; height: 38px; object-fit: contain; }
.nav-logo-text { font-size: 1.35rem; font-weight: 900; color: #fff; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-btn);
  transition: background var(--transition), color var(--transition);
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,0.1); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 0.35rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-btn);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-family);
  font-size: 0.85rem; font-weight: 600;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: #fff; }
.lang-btn .chevron { width: 12px; height: 12px; transition: transform var(--transition); }
.lang-btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card-hover);
  min-width: 160px; padding: 0.5rem 0; display: none; z-index: 200;
}
.lang-dropdown.open { display: block; }
.lang-dropdown a {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; color: var(--text); font-size: 0.9rem; font-weight: 600;
  transition: background var(--transition);
}
.lang-dropdown a:hover { background: rgba(223,124,53,0.1); color: var(--primary); }
.lang-dropdown a.current { color: var(--primary); background: rgba(223,124,53,0.07); }

/* Mobile nav */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; color: #fff; }
.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: var(--header-bg); z-index: 99;
  flex-direction: column; padding: 5rem 2rem 2rem; gap: 0.5rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { display: block; color: rgba(255,255,255,0.85); font-size: 1.2rem; font-weight: 700; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .mobile-nav-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.mobile-close { position: absolute; top: 1.2rem; right: 1.2rem; background: none; border: none; cursor: pointer; color: #fff; padding: 0.4rem; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-hamburger { display: block; }
}

/* ---- Hero ---- */
.hero { padding: 5rem 0 4rem; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(223,124,53,0.12); color: var(--primary);
  border: 1px solid rgba(223,124,53,0.25); border-radius: 999px;
  padding: 0.3rem 0.9rem; font-size: 0.8rem; font-weight: 800;
  margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; line-height: 1.7; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* Scoreboard mock */
.hero-visual { max-width: 460px; margin: 2.5rem auto 0; }
.scoreboard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card-hover);
  padding: 1.5rem; text-align: left;
}
.scoreboard-title { font-size: 0.8rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.score-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.75rem; border-radius: 10px; margin-bottom: 0.4rem; }
.score-row.winner { background: rgba(223,124,53,0.1); border: 1px solid rgba(223,124,53,0.2); }
.score-rank { font-weight: 800; font-size: 0.9rem; color: var(--text-muted); width: 1.5rem; text-align: center; }
.score-rank.gold { color: var(--warning); }
.meeple-avatar { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.score-name { flex: 1; font-weight: 700; font-size: 0.92rem; }
.score-points { font-weight: 900; font-size: 1rem; color: var(--text); }
.score-points.winner-pts { color: var(--primary); }
.winner-badge { background: var(--primary); color: #fff; font-size: 0.68rem; font-weight: 800; padding: 0.12rem 0.45rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }

/* Trust strip */
.trust-strip { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); flex-shrink: 0; }

/* Store badges placeholder */
.store-badges { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }
.store-badge-placeholder {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.45rem 0.9rem;
  font-size: 0.78rem; font-weight: 700; color: var(--text-muted);
}

/* ---- Section helpers ---- */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.section-label {
  display: inline-block; background: rgba(94,137,73,0.12); color: var(--secondary);
  border-radius: 999px; padding: 0.25rem 0.85rem;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem;
}

/* ---- Features Grid ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.5rem;
}
.feature-icon.orange { background: rgba(223,124,53,0.12); }
.feature-icon.green  { background: rgba(94,137,73,0.12); }
.feature-icon.teal   { background: rgba(45,138,122,0.12); }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ---- How It Works ---- */
.how-section { background: rgba(41,61,34,0.04); border-radius: 24px; margin: 0 1.25rem; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.step-card { text-align: center; padding: 1.5rem 1rem; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-weight: 900; font-size: 1.2rem; margin: 0 auto 1rem;
}
.step-card h3 { margin-bottom: 0.5rem; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--header-bg); border-radius: 24px;
  padding: 3.5rem 2rem; text-align: center; color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 1.75rem; font-size: 1.05rem; }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 760px; margin: 0 auto; }
.pricing-card {
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--radius-card); padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card); position: relative;
}
.pricing-card.popular { border-color: var(--primary); box-shadow: 0 4px 24px rgba(223,124,53,0.18); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 0.72rem; font-weight: 800;
  padding: 0.2rem 0.85rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap;
}
.pricing-name { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.4rem; }
.pricing-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.3rem; }
.price-amount { font-size: 2.5rem; font-weight: 900; color: var(--text); line-height: 1; }
.price-period { color: var(--text-muted); font-size: 0.9rem; }
.pricing-desc {
  color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem;
  padding-bottom: 1.25rem; border-bottom: 1px solid var(--border);
}
.pricing-features { margin-bottom: 2rem; }
.pricing-feature { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.4rem 0; font-size: 0.92rem; }
.pricing-feature .check { color: var(--secondary); font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.pricing-feature.highlighted { font-weight: 700; }
.pricing-footer { text-align: center; }
.pricing-footer .btn { width: 100%; justify-content: center; }
.pricing-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.6rem; }

/* ---- Features page expanded ---- */
.feature-group { padding: 3rem 0; }
.feature-group:not(:last-of-type) { border-bottom: 1px solid var(--border-content); }
.feature-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature-detail.reversed .feature-detail-text { order: 2; }
.feature-detail.reversed .feature-detail-visual { order: 1; }
.feature-detail-text h2 { margin-bottom: 1rem; }
.feature-detail-text p { color: var(--text-muted); margin-bottom: 0.75rem; }
.feature-bullets { margin-top: 1rem; }
.feature-bullet { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.6rem; font-size: 0.95rem; }
.feature-bullet img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; margin-top: 0.1rem; }
.feature-detail-visual {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 2rem;
  min-height: 200px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card); font-size: 4.5rem; text-align: center;
}
@media (max-width: 768px) {
  .feature-detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-detail.reversed .feature-detail-text { order: 1; }
  .feature-detail.reversed .feature-detail-visual { order: 2; }
}

/* ---- About ---- */
.about-intro { padding: 4rem 0 2rem; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin: 2rem 0; }
.about-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 2rem; box-shadow: var(--shadow-card); }
.about-card h3 { margin-bottom: 0.75rem; color: var(--primary); }
.about-card p { color: var(--text-muted); }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0; }
.about-stat { text-align: center; padding: 1.25rem; background: var(--surface); border-radius: var(--radius-card); border: 1px solid var(--border); }
.about-stat-number { font-size: 2rem; font-weight: 900; color: var(--primary); }
.about-stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; margin-top: 0.25rem; }
@media (max-width: 768px) { .about-story { grid-template-columns: 1fr; } }

/* ---- Legal pages ---- */
.legal-content { max-width: 760px; margin: 0 auto; padding: 3rem 0; }
.legal-content h1 { margin-bottom: 0.5rem; }
.legal-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.review-banner {
  background: rgba(255,185,33,0.13); border: 2px solid var(--warning);
  border-radius: var(--radius-card); padding: 1.25rem 1.5rem;
  margin-bottom: 2rem; display: flex; gap: 0.75rem; align-items: flex-start;
}
.review-icon { font-size: 1.4rem; flex-shrink: 0; }
.review-banner-text { font-size: 0.9rem; }
.review-banner-text strong { display: block; margin-bottom: 0.25rem; color: var(--text); font-size: 1rem; }
.review-banner-text p { color: var(--text-muted); margin: 0; }
.legal-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--border-content); }
.legal-content h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.05rem; color: var(--text); }
.legal-content p { color: var(--text-muted); margin-bottom: 0.85rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; color: var(--text-muted); margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content strong { color: var(--text); }
.legal-entity {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 1.25rem 1.5rem; margin: 1rem 0;
}
.legal-entity p { margin-bottom: 0.3rem; color: var(--text); font-size: 0.95rem; }

/* ---- Footer ---- */
.site-footer { background: var(--header-bg); color: rgba(255,255,255,0.75); padding: 3.5rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.58); max-width: 240px; line-height: 1.65; }
.footer-col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.62); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
.footer-langs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-langs a { color: rgba(255,255,255,0.45); font-size: 0.78rem; transition: color var(--transition); }
.footer-langs a:hover { color: var(--primary); }
.footer-langs span { color: rgba(255,255,255,0.2); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  section { padding: 2.5rem 0; }
  .hero { padding: 3rem 0 2.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
}
@media (max-width: 480px) {
  .cta-banner { padding: 2rem 1.25rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .trust-strip { flex-direction: column; align-items: center; gap: 0.5rem; }
  h1 { font-size: 1.75rem; }
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; } .mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 2rem; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 9999;
  background: var(--primary); color: #fff; padding: 0.5rem 1rem;
  border-radius: var(--radius-btn); font-weight: 700; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---- Header inner layout ---- */
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 64px; gap: 1rem;
}
.logo-link { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.logo-img   { width: 36px; height: 36px; object-fit: contain; }
.logo-text  { font-size: 1.3rem; font-weight: 900; color: #fff; letter-spacing: 0.02em; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.4rem;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .header-actions .btn { display: none; }
  .header-actions .lang-switcher { display: none; }
}

/* ---- Mobile nav (build.js structure) ---- */
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem;
}
.mobile-nav-header .logo-text { color: #fff; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-links a {
  color: rgba(255,255,255,0.85); font-size: 1.1rem; font-weight: 700;
  padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}
.mobile-nav-links a:hover { color: var(--primary); }
.btn-full { width: 100%; justify-content: center; margin-top: 0.5rem; }
.mobile-lang { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); }
.mobile-lang a { color: rgba(255,255,255,0.55); font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.mobile-lang a:hover, .mobile-lang a.current { color: var(--primary); }

/* ---- Hero (build.js layout) ---- */
.hero { padding: 5rem 0 4rem; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.trust-line {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; color: var(--text-muted); font-weight: 600;
}
.trust-line svg { color: var(--secondary); flex-shrink: 0; }
.app-store-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.5rem; }
/* Scoreboard mock card */
.scoreboard-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 1.5rem;
  box-shadow: var(--shadow-card-hover);
}
.scoreboard-header, .scoreboard-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.75rem; border-radius: 10px; margin-bottom: 0.4rem;
  font-size: 0.92rem; color: var(--text);
}
.scoreboard-header { background: rgba(223,124,53,0.1); border: 1px solid rgba(223,124,53,0.2); font-weight: 700; }
.scoreboard-winner {
  text-align: center; margin-top: 0.75rem; padding: 0.5rem;
  background: var(--primary); color: #fff; border-radius: 10px;
  font-weight: 800; font-size: 0.9rem;
}
@media (max-width: 768px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .hero-actions { flex-direction: column; }
}

/* ---- Section helpers ---- */
.section { padding: 4rem 0; }
.section-alt { background: rgba(41,61,34,0.04); }
.section-heading { text-align: center; margin-bottom: 2.5rem; }

/* ---- Features page cards ---- */
.feature-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-detail-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-detail-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.feature-detail-card img { margin-bottom: 1rem; }
.feature-detail-card h3 { margin-bottom: 0.5rem; }
.feature-detail-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.pro-badge-card { border-color: rgba(223,124,53,0.35); }
.pro-badge-card h3::after {
  content: " Pro"; color: var(--primary); font-size: 0.75rem;
  vertical-align: middle; margin-left: 0.25rem;
}

/* ---- How it works ---- */
.how-it-works { }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.step { text-align: center; padding: 1.5rem 1rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-weight: 900; font-size: 1.2rem; margin: 0 auto 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- CTA banner ---- */
.cta-banner { background: var(--header-bg); border-radius: 24px; }
.cta-inner { text-align: center; padding: 3.5rem 2rem; }
.cta-inner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-inner p { color: rgba(255,255,255,0.75); margin-bottom: 1.75rem; font-size: 1.05rem; }

/* ---- Page hero (inner pages) ---- */
.page-hero { padding: 3.5rem 0 2.5rem; }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; }

/* ---- About page ---- */
.content-narrow { max-width: 760px; margin: 0 auto; }
.why-list { list-style: none; padding: 0; margin-top: 1rem; }
.why-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--border-content);
  font-size: 0.97rem;
}
.why-list img { flex-shrink: 0; margin-top: 0.1rem; }
.contact-section { text-align: center; }
.contact-section h2 { margin-bottom: 0.75rem; }
.contact-section p { margin-bottom: 1.25rem; color: var(--text-muted); }

/* ---- Legal pages ---- */
.review-banner {
  background: rgba(255,185,33,0.12); border: 2px solid var(--warning);
  border-radius: var(--radius-card); padding: 1rem 1.5rem;
  margin: 0 0 0.5rem; font-size: 0.9rem; color: var(--text);
}
.legal-container { max-width: 760px; margin: 0 auto; padding-bottom: 4rem; }
.legal-date { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.5rem; }
.legal-section { padding: 1.75rem 0; border-bottom: 1px solid var(--border-content); }
.legal-section:last-child { border-bottom: none; }
.legal-section h2 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.legal-section p { color: var(--text-muted); font-size: 0.95rem; }

/* Cookie table */
.cookie-table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-size: 0.88rem; }
.cookie-table th { background: var(--surface); text-align: left; padding: 0.6rem 0.85rem; border-bottom: 2px solid var(--border); font-weight: 700; }
.cookie-table td { padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--border-content); color: var(--text-muted); vertical-align: top; }
.cookie-table code { background: rgba(0,0,0,0.06); padding: 0.1rem 0.35rem; border-radius: 4px; font-size: 0.85em; color: var(--text); }

/* ---- Pricing (build.js structure) ---- */
.pricing-section { }
.pricing-card-pro { border: 2px solid var(--primary); box-shadow: 0 4px 24px rgba(223,124,53,0.18); position: relative; }
.pricing-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 0.72rem; font-weight: 800; padding: 0.2rem 0.85rem;
  border-radius: 999px; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap;
}
.pricing-price { font-size: 2.5rem; font-weight: 900; line-height: 1; margin: 0.4rem 0 0.3rem; }
.pricing-period { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.pricing-features { margin: 1.25rem 0 1.75rem; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.4rem 0; font-size: 0.92rem;
}
.pricing-features li svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--secondary); }
.pricing-note { text-align: center; color: var(--text-muted); font-size: 0.82rem; margin-top: 1.25rem; }

/* ---- FAQ ---- */
.faq-container { max-width: 720px; margin: 0 auto; }
.faq-item { padding: 1.5rem 0; border-bottom: 1px solid var(--border-content); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.faq-item p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ---- Footer (build.js structure) ---- */
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start;
  padding-bottom: 2.5rem; margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text { color: #fff; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 0.5rem; max-width: 240px; line-height: 1.65; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-col h3 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 0.5rem; text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem; font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
.footer-bottom .footer-langs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-bottom .footer-langs a { color: rgba(255,255,255,0.45); font-size: 0.78rem; text-decoration: none; }
.footer-bottom .footer-langs a:hover { color: var(--primary); }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Blog — index grid + article pages
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-content);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover, .blog-card:focus {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.blog-card-date { font-size: 0.85rem; color: var(--text-muted); font-weight: 700; }
.blog-card-title { font-size: 1.3rem; line-height: 1.3; margin: 0.5rem 0 0.6rem; color: var(--text); }
.blog-card-excerpt { color: var(--text-muted); margin-bottom: 1rem; flex: 1; }
.blog-card-more { color: var(--primary); font-weight: 700; }
.blog-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.15rem;
  padding: 2.5rem 1rem;
}

/* Article */
.container-article { max-width: 760px; }
.article { padding: 2.5rem 0 3.5rem; }
.article-back {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.article-back:hover { text-decoration: underline; }
.article-title { font-size: 2.2rem; line-height: 1.2; margin-bottom: 0.75rem; }
.article-meta { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }
.article-content { font-size: 1.08rem; line-height: 1.75; color: var(--text); }
.article-content h2 {
  font-size: 1.5rem;
  margin: 2.2rem 0 0.8rem;
  color: var(--header-bg);
}
.article-content p { margin-bottom: 1.1rem; }
.article-content ul, .article-content ol { margin: 0 0 1.2rem 1.5rem; }
.article-content li { margin-bottom: 0.5rem; }
.article-content a { color: var(--primary); font-weight: 600; }
.article-content a:hover { text-decoration: underline; }
.article-content em { font-style: italic; }
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1.5rem;
  font-size: 0.98rem;
}
.article-table th, .article-table td {
  border: 1px solid var(--border-content);
  padding: 0.6rem 0.9rem;
  text-align: left;
}
.article-table th { background: var(--secondary); color: #fff; }
.article-table tr:nth-child(even) td { background: var(--surface); }
.article-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border-content);
  border-radius: var(--radius-card);
  text-align: center;
}
.article-cta p { margin-bottom: 1.2rem; }

/* Blog CTA button — keep button label legible (overrides .article-content a color) */
.article-content a.btn { text-decoration: none; }
.article-content a.btn-primary,
.article-content a.btn-primary:hover,
.article-content a.btn-primary:focus { color: #fff; }
.article-content a.btn-primary:hover,
.article-content a.btn-primary:focus { background: var(--primary-hover); }
