/* ─────────────────────────────────────────
   FONTS
───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Sora:wght@300;400;500;600;700;800&display=swap');


/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  --bg:          #2a2a2a;
  --surface:     #323232;
  --surface2:    #3a3a3a;
  --purple:      #6B4EFF;
  --purple-mid:  #3A2A8A;
  --gold:        #D4A843;
  --gold-light:  #F0C85A;
  --text:        #F0EDE8;
  --muted:       #8A8A9A;
  --border:      rgba(255, 255, 255, 0.08);
  --card-bg:     rgba(255, 255, 255, 0.04);
}


/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.75;
}

.store-btn-icon svg{
  height:30px;
  display:block;
}


/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
nav,
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  background: rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-name span { color: var(--purple); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }


/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn-primary {
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Sora', sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: #7D62FF;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(107, 78, 255, 0.35);
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 20px;
  min-width: 154px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(212, 168, 67, 0.2);
}
.store-btn.dark {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}
.store-btn.dark:hover {
  border-color: rgba(107, 78, 255, 0.4);
  box-shadow: 0 14px 32px rgba(107, 78, 255, 0.2);
}

.store-btn-icon  { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.store-btn-text  { flex: 1; }
.store-btn-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
}
.store-btn-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.online-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(107, 78, 255, 0.4);
  color: #A89EFF;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.87rem;
  font-weight: 600;
  font-family: 'Sora', sans-serif;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.online-btn:hover {
  background: rgba(107, 78, 255, 0.12);
  border-color: var(--purple);
  transform: translateY(-3px);
}


/* ─────────────────────────────────────────
   SECTION COMMONS
───────────────────────────────────────── */
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A89EFF;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple);
  border-radius: 1px;
}

.section-h {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.0;
  max-width: 560px;
  margin-bottom: 56px;
}
.section-h em { font-style: italic; color: var(--gold); }


/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 56px 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1160px;
  width: 100%;
}

.hero-left { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107, 78, 255, 0.15);
  border: 1px solid rgba(107, 78, 255, 0.35);
  border-radius: 40px;
  padding: 6px 14px 6px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #A89EFF;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
}

.badge-dot {
  width: 20px;
  height: 20px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 5.5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 40px;
  font-weight: 300;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  animation: fadeUp 0.7s 0.4s ease both;
}
.proof-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; }
.proof-text  { font-size: 0.78rem; color: var(--muted); }
.proof-text strong { color: var(--text); }

/* Hero right — 3 screenshots */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.7s 0.2s ease both;
}

.screenshots-trio {
  position: relative;
  width: 380px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-phone {
  position: absolute;
  transition: transform 0.4s ease;
}
.ss-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss-center {
  width: 200px;
  height: 430px;
  z-index: 3;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ss-left {
  width: 165px;
  height: 355px;
  z-index: 2;
  top: 52%; left: -8px;
  transform: translateY(-50%) rotate(-7deg);
  opacity: 0.8;
}
.ss-right {
  width: 165px;
  height: 355px;
  z-index: 2;
  top: 52%; right: -8px;
  transform: translateY(-50%) rotate(7deg);
  opacity: 0.8;
}
.screenshots-trio:hover .ss-left  { transform: translateY(-50%) rotate(-10deg) translateX(-8px); }
.screenshots-trio:hover .ss-right { transform: translateY(-50%) rotate(10deg)  translateX(8px);  }


/* ─────────────────────────────────────────
   STATS BAND
───────────────────────────────────────── */
.stats-band {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.stats-inner {
  display: flex;
  max-width: 1000px;
  width: 100%;
}

.stat-cell {
  flex: 1;
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: rgba(107, 78, 255, 0.05); }

.stat-n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.03em;
}
.stat-l {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 400;
}


/* ─────────────────────────────────────────
   APP PREVIEW SECTION
───────────────────────────────────────── */
.preview-section {
  padding: 96px 56px;
  text-align: center;
  overflow: hidden;
}

.preview-section .section-label,
.preview-section .section-h {
  text-align: left;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
.preview-section .section-label { margin-bottom: 14px; }
.preview-section .section-h     { margin-bottom: 64px; }

.preview-phones-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.preview-phone {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
  transition: transform 0.4s ease;
}
.preview-phone img { display: block; width: 100%; height: auto; }
.preview-phone.large { width: 240px; transform: translateY(-20px); }
.preview-phone.small { width: 200px; }
.preview-phone:hover { transform: translateY(-28px) !important; }


/* ─────────────────────────────────────────
   COMMUNITY SECTION
───────────────────────────────────────── */
.community-section {
  padding: 96px 56px;
  
  border-top: 1px solid var(--border);
}

.community-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.community-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 480px;
}

.community-stats-row {
  display: flex;
  gap: 32px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.comm-stat-n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}
.comm-stat-l {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}

/* Instagram card */
.insta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  max-width: 320px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.insta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

.insta-card-header {
  padding: 20px 20px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
}

.insta-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  padding: 2px;
  flex-shrink: 0;
}
.insta-avatar-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.insta-handle   { font-weight: 700; font-size: 0.9rem; letter-spacing: -0.01em; }
.insta-followers { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.insta-followers strong { color: var(--gold); }

.insta-phone-preview {
  position: relative;
  overflow: hidden;
  max-height: 300px;
}
.insta-phone-preview img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}
.insta-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--surface));
}

.insta-footer {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insta-follow-btn {
  background: linear-gradient(135deg, #f09433, #bc1888);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}
.insta-follow-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.insta-verified {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Social links */
.social-links-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.social-link:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.social-link.ig:hover { border-color: #bc1888; box-shadow: 0 8px 24px rgba(188, 24, 136, 0.25); }
.social-link.tt:hover { border-color: #69C9D0; box-shadow: 0 8px 24px rgba(105, 201, 208, 0.20); }
.social-link.fb:hover { border-color: #1877F2; box-shadow: 0 8px 24px rgba(24, 119, 242, 0.25); }
.social-link.yt:hover { border-color: #bc1888; box-shadow: 0 8px 24px rgba(188, 24, 136, 0.25); }

.social-link-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-link.ig .social-link-icon { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.tt .social-link-icon { background: #010101; border: 1px solid rgba(255, 255, 255, 0.15); }
.social-link.fb .social-link-icon { background: #1877F2; }
.social-link.yt .social-link-icon { background: #ff0800; }


/* ─────────────────────────────────────────
   CHESS HISTORY SECTION
───────────────────────────────────────── */
.history-section {
  padding: 96px 56px;
  border-top: 1px solid var(--border);
}

.history-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.history-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 20px;
}

.history-card {
  background: var(--surface);
  padding: 36px 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.history-card:hover { background: rgba(107, 78, 255, 0.06); }

.history-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  position: absolute;
  top: 12px; right: 18px;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.history-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(107, 78, 255, 0.15);
  border: 1px solid rgba(107, 78, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.history-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.history-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.history-stat {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.history-stat-n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}
.history-stat-l {
  font-size: 0.72rem;
  color: var(--muted);
}


/* ─────────────────────────────────────────
   ERAS SECTION
───────────────────────────────────────── */
.eras-section {
  position: relative;
  z-index: 1;
  padding: 96px 56px;
  border-top: 1px solid var(--border);
}

.eras-inner { max-width: 1160px; margin: 0 auto; }

.eras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.era-card {
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: default;
  transition: transform 0.3s, box-shadow 0.3s;
}
.era-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

/* Era backgrounds via pseudo-element */
.era-card::before {
  content: '';
  position: absolute;
  inset: 0;
}
.era-romantic::before { background: linear-gradient(145deg, #2A1565 0%, #170E38 60%, #0E0E1A 100%); }
.era-classical::before { background: linear-gradient(145deg, #1A3268 0%, #0E1E42 60%, #0E0E1A 100%); }
.era-soviet::before   { background: linear-gradient(145deg, #5A3418 0%, #3A2010 60%, #0E0E1A 100%); }
.era-modern::before   { background: linear-gradient(145deg, #1A4A30 0%, #0E2E1C 60%, #0E0E1A 100%); }

.era-top    { position: relative; z-index: 1; }
.era-bottom {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.era-pill {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 40px;
  margin-bottom: 14px;
}
.era-romantic .era-pill  { background: rgba(140, 80,  255, 0.25); color: #C4A0FF; border: 1px solid rgba(140, 80,  255, 0.30); }
.era-classical .era-pill { background: rgba(50,  120, 255, 0.20); color: #88B8FF; border: 1px solid rgba(50,  120, 255, 0.30); }
.era-soviet .era-pill    { background: rgba(200, 130, 40,  0.20); color: #E8B060; border: 1px solid rgba(200, 130, 40,  0.30); }
.era-modern .era-pill    { background: rgba(40,  180, 100, 0.20); color: #70E0A0; border: 1px solid rgba(40,  180, 100, 0.30); }

.era-name-big {
  position: relative;
  z-index: 1;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.era-desc-small {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}


/* ─────────────────────────────────────────
   FEATURES
───────────────────────────────────────── */
.features-section {
  position: relative;
  z-index: 1;
  padding: 0 56px 96px;
}
.features-inner { max-width: 1160px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 56px;
}

.feat {
  background: var(--surface);
  padding: 36px 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.feat:hover { background: rgba(107, 78, 255, 0.06); }

.feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(107, 78, 255, 0.15);
  border: 1px solid rgba(107, 78, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.feat-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feat-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}


/* ─────────────────────────────────────────
   INTEGRATIONS
───────────────────────────────────────── */
.integrations-section {
  position: relative;
  z-index: 1;
  padding: 60px 56px;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.int-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.int-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.int-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.int-badge:hover {
  border-color: rgba(107, 78, 255, 0.5);
  background: rgba(107, 78, 255, 0.08);
  transform: translateY(-2px);
}

.int-dot { width: 10px; height: 10px; border-radius: 50%; }
.int-sep { color: var(--muted); font-size: 0.8rem; }


/* ─────────────────────────────────────────
   CTA
───────────────────────────────────────── */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 96px 56px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta-inner { max-width: 700px; margin: 0 auto; }

.cta-icon {
  font-size: 3rem;
  margin-bottom: 28px;
  display: block;
  opacity: 0.85;
}

.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.cta-title em { font-style: italic; color: var(--gold); }

.cta-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 44px;
  line-height: 1.7;
  font-weight: 300;
}

.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ─────────────────────────────────────────
   PAGE ARTICLE (inner pages)
───────────────────────────────────────── */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

.page__header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.page__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.0;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page__header p  { font-size: 0.82rem; color: var(--muted); }
.page__header em { font-style: italic; color: var(--muted); }

.page__content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.page__content h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #A89EFF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 28px;
  margin-bottom: 12px;
}

.page__content p {
  font-size: 0.92rem;
  color: rgba(240, 237, 232, 0.75);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}

.page__content ul {
  list-style: none;
  margin-bottom: 16px;
  padding: 0;
}

.page__content ul li {
  font-size: 0.88rem;
  color: rgba(240, 237, 232, 0.7);
  font-weight: 300;
  padding: 6px 0 6px 20px;
  position: relative;
  line-height: 1.6;
}
.page__content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-size: 0.75rem;
  top: 8px;
}

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

.page__content a {
  color: #A89EFF;
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 78, 255, 0.35);
  transition: color 0.2s, border-color 0.2s;
}
.page__content a:hover { color: #fff; border-color: var(--purple); }


/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer,
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Inner-page footer variant */
.footer__container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand,
.footer__love {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0.7;
}

.footer-copy { font-size: 0.75rem; color: rgba(255, 255, 255, 0.2); }

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__link a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__link a:hover { color: rgba(255, 255, 255, 0.7); }


/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .history-timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  nav, .site-nav { padding: 16px 24px; }
  .nav-links     { display: none; }

  .hero          { padding: 100px 24px 70px; }
  .hero-inner    { grid-template-columns: 1fr; gap: 60px; }
  .hero-right    { order: -1; }

  .community-inner { grid-template-columns: 1fr; gap: 48px; }

  .eras-section,
  .features-section,
  .cta-section   { padding-left: 24px; padding-right: 24px; }

  .eras-grid     { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  .stats-inner   { flex-wrap: wrap; }
  .stat-cell     { min-width: 50%; border-bottom: 1px solid var(--border); }

  .integrations-section { padding: 48px 24px; }

  .preview-section,
  .community-section,
  .history-section { padding: 64px 24px; }

  .history-timeline { grid-template-columns: 1fr; }

  .preview-phones-row { gap: 16px; }
  .preview-phone.large { width: 180px; }
  .preview-phone.small { width: 150px; }

  footer, .footer {
    padding: 28px 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  main            { padding: 100px 20px 60px; }
  .footer         { padding: 24px 20px; }
  .footer__container { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 560px) {
  .eras-grid      { grid-template-columns: 1fr; }
  .hero-cta-row   { flex-direction: column; }
  .store-btn,
  .online-btn     { width: 100%; justify-content: center; }

  .screenshots-trio { width: 280px; height: 380px; }
  .ss-center        { width: 150px; height: 320px; }
  .ss-left,
  .ss-right         { width: 125px; height: 268px; }

  .preview-phones-row            { flex-direction: column; align-items: center; }
  .preview-phone.large,
  .preview-phone.small           { width: 200px; transform: none !important; }

  .community-stats-row { flex-wrap: wrap; gap: 20px; }
}