/* ============================================================
   CrossTrainer — Main Stylesheet
   Design tokens from original Elementor CSS
   ============================================================ */

/* --- Local Fonts --- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-pxieyp8kv8jhgfvrjjbecmne.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-pxibyp8kv8jhgfvrlbt5z1jlfc-k.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-pxibyp8kv8jhgfvrldz8z1jlfc-k.woff2') format('woff2');
}

/* --- Design Tokens --- */
:root {
  --primary: #1B00FC;
  --primary-end: #2972F2;
  --accent: #0034FF;
  --accent-2: #0404D5;
  --bg-features: #f3f4f8;
  --text-dark: #181818;
  --text-black: #000000;
  --divider: #dddddd;
  --stat-purple: #F4E5FF;
  --stat-orange: #FFF6E5;
  --stat-green: #EBFFE5;
  --stat-blue: #E5F2FF;
  --font: 'Poppins', sans-serif;
  --radius-card: 20px;
  --radius-img: 10px 10px 10px 200px;
  --max-w: 1200px;
  --header-h: 90px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
  background: #f3f4f8;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: #1f3ad3;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 98px;
  width: auto;
}

.header-nav ul {
  display: flex;
  gap: 44px;
}

.nav-link {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  padding: 8px 0;
  position: relative;
  display: inline-block;
  transition: opacity 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover {
  opacity: 0.85;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero pages: header overlaps hero — no top padding on main.
   Inner pages add their own padding via .page-hero. */
main {
  padding-top: 0;
}

.page-hero {
  padding-top: calc(var(--header-h) + 60px);
}

/* --- HERO --- */
.hero {
  background:
    url('/images/banner-bg.png') 27% center / cover no-repeat,
    linear-gradient(180deg, var(--primary) 0%, var(--primary-end) 100%);
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: calc(var(--header-h) + 60px) 40px 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  width: 100%;
  padding-bottom: 80px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  color: white;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-benefits {
  margin-top: 30px;
  max-width: 540px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.benefits-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #00d2ff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefits-list li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  padding-left: 28px;
  position: relative;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00d2ff;
  font-weight: 900;
  font-size: 1.1rem;
}

.benefits-list li strong {
  color: white;
}

.hero-content {
  padding-left: 60px;
}

.hero-badge img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  transition: transform 0.2s;
}

.hero-badge:hover img {
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image img {
  max-width: 480px;
  width: 100%;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

/* --- VIDEO SECTION --- */
.video-section {
  background: #fff;
  padding: 80px 40px;
}

.video-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.video-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 40px;
  line-height: 1.3;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- STEPS (3-Step walkthrough) --- */
.steps {
  padding: 120px 40px;
}

.steps-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 160px;
}

.step:last-child {
  margin-bottom: 0;
}

.step.reverse {
  direction: rtl;
}

.step.reverse>* {
  direction: ltr;
}

.step-number {
  font-size: 99px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 4px;
}

.step-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 12px;
  line-height: 1.25;
}

.step-divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 16px 0;
}

.step-body {
  font-size: 19px;
  line-height: 2.1em;
  color: var(--text-dark);
}

.step-image img {
  border-radius: var(--radius-img);
  width: 100%;
  max-width: 460px;
}

.step.reverse .step-image {
  text-align: right;
}

/* --- FEATURES GRID --- */
.features {
  background: #ffffff;
  padding: 120px 40px 144px;
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.features-title {
  font-size: 58px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1;
}

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

.feature-card {
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: white;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  margin-bottom: 24px;
}

.feature-card:hover .feature-card-img {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.feature-card-title {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin: 0 0 12px;
}

.feature-card-body {
  font-size: 16px;
  font-weight: 300;
  color: #888888;
  line-height: 1.9;
  padding: 0;
}

/* --- STATS --- */
.stats {
  padding: 100px 40px;
  background: #fff;
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.stats-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: transform 0.25s;
}

.stat-box:hover {
  transform: translateY(-4px);
}

.stat-purple {
  background: #ede9f8;
}

.stat-tan {
  background: #f5ede1;
}

.stat-green {
  background: #e4f3e9;
}

.stat-blue-stat {
  background: #e3eeff;
}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  line-height: 1.4;
}

.stats-right {}

.stats-community-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.stats-community-body {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.stats-note {
  font-size: 12px;
  color: #aaa;
}

/* --- FITNESS CAROUSEL --- */
.fitness-carousel-section {
  background: #f7f8fc;
  padding: 100px 40px;
}

.fitness-carousel-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.fitness-carousel-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #000;
}

.fitness-carousel-wrapper {
  overflow: hidden;
  border-radius: 12px;
}

.fitness-carousel-wrapper {
  overflow: hidden;
  border-radius: 12px;
  cursor: grab;
}

.fitness-carousel-wrapper.dragging {
  cursor: grabbing;
}

.fitness-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
}

.fitness-slide {
  flex-shrink: 0;
  width: calc(25% - 12px);
}

.fitness-slide img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  pointer-events: none;
  user-select: none;
}

.fitness-controls {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.fitness-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.fitness-btn:hover {
  background: var(--accent);
  color: white;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #fff;
  padding: 100px 40px;
}

.testimonials-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 48px;
  color: #000;
}

.testimonials-slider {
  position: relative;
  min-height: 220px;
}

.testimonial {
  display: none;
  animation: fadeIn 0.4s ease;
}

.testimonial.active {
  display: block;
}

.testimonial-stars {
  font-size: 28px;
  color: #f5a623;
  margin-bottom: 24px;
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.85;
  color: #444;
  font-style: italic;
  margin-bottom: 20px;
  border: none;
  padding: 0;
}

.testimonial-author {
  font-size: 15px;
  font-weight: 600;
  color: #888;
}

.testimonials-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s;
}

.t-dot.active {
  background: var(--accent);
}



/* --- DOWNLOAD CTA --- */
.download-cta {
  padding: 50px 40px 80px;
  border-top: 1px solid var(--divider);
  background: #fff;
  overflow: hidden;
}

.download-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.download-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.download-body {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 32px;
  color: #555;
}

.download-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.download-badge img {
  height: 52px;
  width: auto;
  transition: transform 0.2s;
}

.download-badge:hover img {
  transform: translateY(-3px);
}

.download-badge--play img {
  border-radius: 8px;
}

/* Review callout box */
.download-review-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fdf3dc;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 28px;
  border-left: 4px solid #f5a623;
}

.download-review-star {
  font-size: 28px;
  color: #f5a623;
  line-height: 1;
  flex-shrink: 0;
}

.download-review-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* FatSecret attribution */
.download-fatsecret {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #aaa;
}

.download-fatsecret a {
  display: flex;
  align-items: center;
}

.download-fatsecret img {
  height: 28px;
  width: auto;
  transition: opacity 0.2s;
}

.download-fatsecret a:hover img {
  opacity: 0.8;
}

/* Right: device image bleeds to bottom */
.download-image {
  text-align: center;
}

.download-image img {
  max-width: 494px;
  width: 100%;
  display: block;
  margin: 0 auto;
  margin-bottom: -4px;
}


/* --- INNER PAGES --- */
.page-hero {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-end) 100%);
  padding: calc(var(--header-h) + 40px) 40px 48px;
  text-align: center;
}

.page-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

.page-content {
  padding: 48px 40px 80px;
  max-width: 860px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin: 40px 0 16px;
}

.page-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 12px;
}

.page-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content ul,
.page-content ol {
  list-style: disc;
  padding-left: 28px;
  margin-bottom: 16px;
}

.page-content li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 6px;
}

.page-content a {
  color: var(--accent);
  text-decoration: underline;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 40px 0;
}

.premium-card {
  background: var(--bg-features);
  border-radius: var(--radius-card);
  padding: 32px;
}

.premium-card h3 {
  color: var(--accent);
  margin-top: 0;
}

/* --- PRIVACY / POLICY PAGE --- */
.page-hero-meta {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 12px;
}

.page-hero-badge {
  display: inline-block;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 14px;
  color: #fff;
}

.policy-intro {
  background: #f0f7ff;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 20px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 40px;
}

.policy-section {
  border-top: 1px solid #eee;
  padding: 36px 0;
}

.policy-section:last-child {
  border-bottom: 1px solid #eee;
}

.policy-section-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.policy-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 14px;
}

.policy-section p {
  font-size: 16px;
  line-height: 1.85;
  color: #555;
  margin: 0;
}



/* --- FOOTER --- */
.site-footer {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-end) 100%);
  color: white;
  padding: 80px 40px 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo {
  width: 400px;
  max-width: 100%;
  height: auto;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 16px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s, transform 0.2s;
}

.social-link:hover {
  color: white;
  transform: translateY(-2px);
}

.footer-links-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.footer-links-col a:hover {
  color: white;
}

.footer-download-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-badges img {
  height: 44px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* --- RESPONSIVE TABLET --- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .hero-title {
    font-size: 40px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }

  .step.reverse {
    direction: ltr;
  }

  .step-number {
    font-size: 60px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .download-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-badges {
    justify-content: center;
  }

  .download-image {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 767px) {
  :root {
    --header-h: 70px;
  }

  /* Header */
  .header-inner {
    padding: 0 20px 8px;
  }

  .header-logo img {
    height: 64px;
  }

  .header-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-nav.open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .header-nav.open ul {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .header-nav.open .nav-link {
    font-size: 24px;
    padding: 16px 40px;
    display: block;
  }

  /* Hero — clear the fixed nav */
  .hero {
    padding: calc(var(--header-h) + 40px) 20px 60px;
    min-height: 100svh;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    padding-left: 0;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-image {
    display: none;
  }

  /* Steps */
  .steps {
    padding: 60px 20px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }

  .step.reverse {
    direction: ltr;
  }

  .step-number {
    font-size: 40px;
  }

  .step-title {
    font-size: 24px;
  }

  /* Features */
  .features {
    padding: 60px 20px 80px;
  }

  .features-title {
    font-size: 36px;
  }

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

  /* Stats */
  .stats {
    padding: 60px 20px;
  }

  .stats-title {
    font-size: 36px;
  }

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

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-left {
    grid-template-columns: 1fr 1fr;
  }

  .stat-box {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 30px;
  }

  .stat-label {
    font-size: 13px;
  }

  .stats-community-title {
    font-size: 26px;
  }

  /* Carousel */
  .fitness-slide {
    width: calc(100% - 12px);
    flex-shrink: 0;
  }

  /* Download */
  .download-cta {
    padding: 60px 20px 60px;
  }

  .download-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .download-badges {
    justify-content: center;
  }

  .download-review-box {
    text-align: left;
  }

  .download-fatsecret {
    justify-content: center;
  }

  .download-image {
    display: none;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer {
    padding: 60px 20px 0;
  }

  .footer-logo {
    width: 260px;
  }

  /* Inner pages — clear fixed nav */
  .page-hero {
    padding: calc(var(--header-h) + 32px) 20px 36px;
  }

  .page-hero-title {
    font-size: 32px;
  }

  .page-content {
    padding: 32px 20px 60px;
  }

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

/* --- FAQ PAGE --- */
.faq-intro {
  background: #f0f4ff;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  color: #444;
  margin-bottom: 40px;
}

.faq-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--divider);
}

.faq-item {
  border: 1px solid var(--divider);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}

.faq-item summary.faq-question::-webkit-details-marker {
  display: none;
}

.faq-item summary.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary.faq-question {
  background: #f7f8ff;
}

.faq-item[open] summary.faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.75;
  color: #555;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-answer em {
  color: #999;
  font-style: italic;
}

/* --- WHAT'S NEW PAGE --- */
.whats-new-intro {
  font-size: 16px;
  color: #555;
  margin-bottom: 56px;
  line-height: 1.75;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.whats-new-intro p {
  margin-bottom: 16px;
}

.whats-new-intro p:last-child {
  margin-bottom: 0;
}

.legacy-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #5C4033;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.release {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 32px 32px 24px;
  margin-bottom: 24px;
  transition: transform 0.2s;
}

.release:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.release-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}

.release-version {
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

.release-date {
  font-size: 14px;
  color: #999;
}

.release-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.release-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.release-badge--new {
  background: #e8f0fe;
  color: #1a56db;
}

.release-badge--improvement {
  background: #e8f9f0;
  color: #0d7a3e;
}

.release-badge--fix {
  background: #fff3e0;
  color: #c05c00;
}

.release-description {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  margin-bottom: 16px;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

.release-notes {
  padding-left: 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.release-notes li {
  margin-bottom: 6px;
}

.whats-new-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%);
  border-radius: 12px;
  padding: 48px 28px;
  margin-top: 40px;
  text-align: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(27, 0, 252, 0.2);
}

.whats-new-cta p {
  color: #fff;
  font-weight: 500;
  max-width: 500px;
  margin: 0 auto 24px;
}

/* --- BACK TO TOP --- */

#backToTop {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-end) 100%);
  color: white;
  font-size: 28px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(27, 0, 252, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27, 0, 252, 0.45);
}

/* --- COOKIE BANNER --- */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: #0d0d2b;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 40px;
  font-size: 14px;
  line-height: 1.5;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

#cookieBanner.visible {
  transform: translateY(0);
}

#cookieBanner.hidden {
  transform: translateY(100%);
}

#cookieBanner p {
  margin: 0;
}

#cookieBanner a {
  color: #7eb3ff;
  text-decoration: underline;
}

#cookieAccept {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-end));
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

#cookieAccept:hover {
  opacity: 0.85;
}

/* --- PREMIUM FEATURES PAGE --- */
.premium-showcase {
  margin-top: 60px;
}

.premium-feature-item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

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

.premium-feature-content {
  flex: 1.2;
}

.premium-feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.premium-screenshot {
  max-width: 340px;
  height: auto;
  border-radius: 44px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  border: 12px solid #1a1a1a;
  background: #000;
  transition: transform 0.4s ease;
}

.premium-feature-item:hover .premium-screenshot {
  transform: scale(1.02) translateY(-10px);
}

.premium-feature-item h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 700;
}

.premium-feature-item p {
  font-size: 19px;
  line-height: 1.7;
  color: #444;
}

@media (max-width: 992px) {
  .premium-feature-item {
    gap: 40px;
  }

  .premium-screenshot {
    max-width: 280px;
  }
}

@media (max-width: 768px) {

  .premium-feature-item,
  .premium-feature-item:nth-child(even) {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
    text-align: center;
  }

  .premium-screenshot {
    max-width: 100%;
    width: 280px;
  }
}