/* =============================================
   BASKET BOUNTY — style.css
   Light, premium, editorial aesthetic
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── Variables ── */
:root {
  --cream:      #FAF8F3;
  --warm-white: #FFFFFF;
  --gold:       #C9A84C;
  --gold-light: #E8C97B;
  --gold-pale:  #F5EDD0;
  --charcoal:   #1C1C1C;
  --mid-grey:   #6B6B6B;
  --light-grey: #E8E4DC;
  --border:     #DDD9CF;
  --accent:     #3D6B5E;
  --accent-lt:  #EBF3F0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.06);
  --shadow-md: 0 6px 32px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 64px rgba(0,0,0,.12);

  --max-w: 1220px;
  --section-gap: 96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-gap) 0; }
.section--alt { background: var(--warm-white); }

/* ── Gold Divider ── */
.gold-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.gold-line::before,
.gold-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.gold-line span {
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: var(--mid-grey);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--charcoal);
  box-shadow: 0 4px 20px rgba(201,168,76,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,.50);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(61,107,94,.3);
}
.btn-accent:hover {
  background: #2e5249;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(61,107,94,.4);
}
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250,248,243,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(201,168,76,.4);
  flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
}
.logo-text span {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* Nav buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all .3s;
}

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  background: var(--cream);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,107,94,.08) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero-badge::before { content: '★'; font-size: 10px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 66px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 17px;
  color: var(--mid-grey);
  margin-bottom: 36px;
  max-width: 460px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-item { text-align: left; }
.stat-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}
.stat-val span { color: var(--gold); }
.stat-lbl {
  font-size: 12px;
  color: var(--mid-grey);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Hero visual card */
.hero-visual {
  position: relative;
}
.hero-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--accent));
}
.hero-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.hero-card-sub {
  font-size: 13px;
  color: var(--mid-grey);
  margin-bottom: 24px;
}
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  color: var(--charcoal);
}
.pill-gold {
  background: var(--gold-pale);
  border-color: var(--gold-light);
  color: var(--gold);
}
.pill-green {
  background: var(--accent-lt);
  border-color: #b8d5ce;
  color: var(--accent);
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.rating-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.rating-lbl { font-size: 13px; color: var(--mid-grey); }

/* ════════════════════════════════════════════
   FEATURES STRIP
   ════════════════════════════════════════════ */
.features-strip {
  padding: 28px 0;
  background: var(--charcoal);
  overflow: hidden;
}
.features-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.fstrip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  border-right: 1px solid rgba(255,255,255,.1);
}
.fstrip-item:last-child { border-right: none; }
.fstrip-item .icon { color: var(--gold-light); font-size: 16px; }

/* ════════════════════════════════════════════
   DEMO SECTION
   ════════════════════════════════════════════ */
.demo-section { padding: var(--section-gap) 0; }

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

/* Demo box */
.demo-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.demo-box::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 */
}
.demo-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.demo-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
}
.demo-inner iframe.active { display: block; }
.demo-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
}
.demo-overlay.hidden { display: none; }
.demo-logo-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 8px;
  box-shadow: 0 8px 32px rgba(201,168,76,.5);
}
.demo-overlay h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.demo-overlay p {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  max-width: 280px;
}
.demo-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 260px;
}

/* Info panel */
.info-panel {
  background: var(--warm-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.info-panel-header {
  background: var(--charcoal);
  padding: 20px 24px;
  color: #fff;
}
.info-panel-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.info-panel-header p {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table tr {
  border-bottom: 1px solid var(--light-grey);
  transition: background .2s;
}
.info-table tr:last-child { border-bottom: none; }
.info-table tr:hover { background: var(--cream); }
.info-table td {
  padding: 13px 22px;
  font-size: 14px;
}
.info-table td:first-child {
  color: var(--mid-grey);
  font-weight: 500;
  width: 45%;
}
.info-table td:last-child {
  font-weight: 600;
  color: var(--charcoal);
  text-align: right;
}
.badge-val {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
.badge-gold {
  background: var(--gold-pale);
  color: var(--gold);
}
.badge-green {
  background: var(--accent-lt);
  color: var(--accent);
}

/* ════════════════════════════════════════════
   CONTENT BLOCK
   ════════════════════════════════════════════ */
.content-section { padding: var(--section-gap) 0; }
.content-area {
  max-width: 860px;
  margin: 0 auto;
}
.content-area h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--charcoal);
  margin: 40px 0 16px;
  line-height: 1.25;
}
.content-area h2:first-child { margin-top: 0; }
.content-area h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--charcoal);
  margin: 32px 0 12px;
}
.content-area p {
  font-size: 16px;
  color: #3a3a3a;
  line-height: 1.8;
  margin-bottom: 18px;
}
.content-area ul, .content-area ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
.content-area li {
  font-size: 16px;
  color: #3a3a3a;
  line-height: 1.8;
  margin-bottom: 6px;
}
.content-area strong { color: var(--charcoal); font-weight: 600; }
.content-area a { color: var(--accent); text-decoration: underline; }
.content-area table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 28px;
  font-size: 15px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.content-area thead th {
  background: var(--charcoal);
  color: #fff;
  padding: 13px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
}
.content-area tbody tr:nth-child(odd) { background: var(--warm-white); }
.content-area tbody tr:nth-child(even) { background: var(--cream); }
.content-area tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--light-grey);
  color: #3a3a3a;
}
.content-area blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  background: var(--gold-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--charcoal);
}

/* ════════════════════════════════════════════
   HIGHLIGHTS / BONUS CARDS
   ════════════════════════════════════════════ */
.highlights-section { padding: var(--section-gap) 0; background: var(--warm-white); }
.highlight-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.h-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.h-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity .3s;
}
.h-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.h-card:hover::after { opacity: 1; }
.h-card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.h-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.h-card p { font-size: 14px; color: var(--mid-grey); line-height: 1.7; margin: 0; }

/* ════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════ */
.faq-section { padding: var(--section-gap) 0; }
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .25s;
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  transition: color .2s;
}
.faq-item.open .faq-question { color: var(--gold); }
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--mid-grey);
  font-weight: 400;
  transition: all .3s;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 15px;
  color: var(--mid-grey);
  line-height: 1.75;
  padding-top: 4px;
  margin: 0;
}

/* ════════════════════════════════════════════
   AUTHOR
   ════════════════════════════════════════════ */
.author-section { padding: var(--section-gap) 0; background: var(--warm-white); }
.author-card {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.author-avatar {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-light);
  box-shadow: 0 4px 20px rgba(201,168,76,.3);
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-info {}
.author-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}
.author-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.author-bio {
  font-size: 15px;
  color: var(--mid-grey);
  line-height: 1.75;
  margin: 0;
}

/* ════════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════════ */
.cta-banner {
  padding: 72px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-inner {
  text-align: center;
  position: relative;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,.6);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-banner-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-white {
  background: #fff;
  color: var(--charcoal);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.btn-white:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
}
.btn-outline-white:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.site-footer {
  background: #111;
  padding: 56px 0 36px;
  color: rgba(255,255,255,.55);
}
.footer-inner {
  text-align: center;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
}
.footer-disclaimer {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,.4);
}
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 24px 0;
}
.footer-contacts {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer-contacts a {
  color: rgba(255,255,255,.55);
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-contacts a:hover { color: var(--gold-light); }
.footer-bottom {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,.25);
}

/* ════════════════════════════════════════════
   SCROLL ANIMATIONS
   ════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .info-panel { max-width: 100%; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: block; }
  .highlight-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }

  .header-actions { display: none; }
  .header-actions.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 999;
    box-shadow: var(--shadow-md);
  }
  .hamburger { display: flex; }

  .hero { padding: 56px 0 52px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 20px; }

  .highlight-cards { grid-template-columns: 1fr; }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
  }

  .features-strip-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .fstrip-item { flex-shrink: 0; }

  .demo-btns .btn { width: 100%; justify-content: center; }

  .footer-contacts { flex-direction: column; align-items: center; gap: 12px; }
}

@media (max-width: 480px) {
  .logo-text strong { font-size: 15px; }
  .info-table td { padding: 10px 14px; font-size: 13px; }
  .content-area table { font-size: 13px; }
  .content-area thead th, .content-area tbody td { padding: 10px 12px; }
}