@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@700;800;900&display=swap');

:root {
  --bg-primary: #0c0c14;
  --bg-secondary: #14141f;
  --bg-card: rgba(22, 22, 36, 0.9);
  --bg-card-hover: rgba(32, 32, 50, 0.95);
  --text-primary: #f0f0f5;
  --text-secondary: #9a9ab0;
  --accent: #e53935;
  --accent-dark: #b71c1c;
  --accent-light: #ff6f60;
  --gold: #ffd740;
  --green: #00e676;
  --cyan: #00e5ff;
  --border: rgba(229, 57, 53, 0.15);
  --glow: 0 0 24px rgba(229, 57, 53, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --tr: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--accent-light); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(12, 12, 20, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem; font-weight: 800;
  color: var(--accent); display: flex; align-items: center; gap: 6px;
}
.logo span { color: var(--text-primary); }
.logo em { font-style: normal; color: var(--text-secondary); font-weight: 600; font-size: 0.75rem; margin-left: 4px; opacity: 0.7; }

.nav-list { display: flex; align-items: center; gap: 24px; }
.nav-list a {
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  padding: 4px 0; position: relative;
}
.nav-list a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--accent); transition: width var(--tr);
}
.nav-list a:hover, .nav-list a.active { color: var(--text-primary); }
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 5px;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--tr); }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  padding: 130px 0 70px;
  text-align: center;
  background: linear-gradient(180deg, rgba(20, 20, 31, 0.75) 0%, rgba(12, 12, 20, 0.92) 100%),
              url('../img/hero-banner.png');
  background-size: cover;
  background-position: center 40%;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -40%; left: -30%; width: 160%; height: 200%;
  background: radial-gradient(ellipse at 50% 40%, rgba(229, 57, 53, 0.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 900;
  margin-bottom: 16px; line-height: 1.2;
}
.hero h1 .hl { color: var(--accent); }
.hero .subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary); max-width: 620px; margin: 0 auto 28px;
}
.hero-meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px;
  margin-bottom: 28px; font-size: 0.85rem; color: var(--text-secondary);
}
.hero-meta span { display: flex; align-items: center; gap: 5px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--tr); text-decoration: none;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(229,57,53,0.4); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-secondary); }
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800;
  margin-bottom: 12px;
}
.section-title.center { text-align: center; }
.section-sub {
  color: var(--text-secondary); max-width: 600px; margin-bottom: 40px;
}
.section-sub.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ===== SCORE BOX ===== */
.score-box {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 28px;
  margin-bottom: 36px; flex-wrap: wrap;
}
.score-num {
  font-family: 'Montserrat', sans-serif; font-size: 2.8rem;
  font-weight: 900; color: var(--accent);
}
.score-stars { color: var(--gold); font-size: 1.2rem; display: flex; gap: 2px; }
.score-stars .empty { opacity: 0.25; }
.score-label { font-size: 0.85rem; color: var(--text-secondary); }

/* ===== INFO TABLE ===== */
.info-table { width: 100%; margin: 20px 0 32px; border-collapse: collapse; }
.info-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 0.93rem;
}
.info-table td:first-child {
  color: var(--text-secondary); font-weight: 500; width: 38%;
}
.info-table tr:last-child td { border-bottom: none; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all var(--tr); position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0; transition: opacity var(--tr);
}
.card:hover { background: var(--bg-card-hover); transform: translateY(-3px); box-shadow: var(--glow); }
.card:hover::before { opacity: 1; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== PROS / CONS ===== */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.pros, .cons {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 24px; border: 1px solid var(--border);
}
.pros h3 { color: var(--green); font-size: 1rem; margin-bottom: 12px; }
.cons h3 { color: var(--accent); font-size: 1rem; margin-bottom: 12px; }
.pros ul, .cons ul { padding-left: 18px; }
.pros li, .cons li {
  list-style: disc; color: var(--text-secondary);
  font-size: 0.9rem; line-height: 1.7; margin-bottom: 6px;
}
.pros li::marker { color: var(--green); }
.cons li::marker { color: var(--accent); }

/* ===== CTA BOX ===== */
.cta-box {
  background: var(--bg-card); border: 2px solid var(--accent);
  border-radius: var(--radius); padding: 32px; text-align: center;
  margin: 40px 0; box-shadow: var(--glow);
}
.cta-box h3 { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; margin-bottom: 6px; }
.cta-box .amount {
  font-family: 'Montserrat', sans-serif; font-size: 1.8rem;
  font-weight: 800; color: var(--gold); margin: 8px 0 16px;
}
.cta-box .terms { font-size: 0.78rem; color: var(--text-secondary); opacity: 0.7; margin-top: 12px; }

/* ===== PAYMENT TABLE ===== */
.pay-table-wrap { overflow-x: auto; margin: 20px 0 32px; }
.pay-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  min-width: 0;
}
.pay-table th {
  text-align: left; padding: 12px 14px; font-size: 0.8rem;
  color: var(--text-secondary); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 2px solid var(--accent);
  background: var(--bg-secondary);
}
.pay-table td {
  padding: 13px 14px; background: var(--bg-card);
  font-size: 0.9rem; border-bottom: 1px solid var(--border);
}
.pay-table .yes { color: var(--green); font-weight: 600; }
.pay-table .no { color: var(--text-secondary); opacity: 0.5; }

/* ===== STEPS ===== */
.steps { counter-reset: step; margin: 20px 0 32px; }
.step {
  display: flex; gap: 16px; margin-bottom: 20px;
  padding: 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: counter(step);
  flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.1rem;
  border-radius: 50%;
}
.step h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.step p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 100%; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all var(--tr);
}
.faq-item.active { border-color: var(--accent); box-shadow: var(--glow); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 0.95rem;
  background: none; border: none; color: var(--text-primary);
  width: 100%; text-align: left; font-family: inherit; gap: 14px;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  font-size: 1.4rem; transition: transform var(--tr);
  flex-shrink: 0; color: var(--accent);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 22px 18px; color: var(--text-secondary); line-height: 1.7; font-size: 0.9rem; }
.faq-item.active .faq-answer { max-height: 600px; }

/* ===== AUTHOR ===== */
.author-block {
  display: flex; align-items: center; gap: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin: 40px 0;
}
.author-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; flex-shrink: 0; color: #fff; font-weight: 700;
}
.author-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
.author-info .role { color: var(--accent); font-size: 0.8rem; font-weight: 600; margin-bottom: 6px; }
.author-info p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 8px; }
.author-info .updated { font-size: 0.75rem; color: var(--text-secondary); opacity: 0.6; }

/* ===== AUTHOR PAGE ===== */
.author-hero { padding: 120px 0 50px; text-align: center; background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary)); }
.author-avatar-lg {
  width: 130px; height: 130px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; color: #fff; font-weight: 700;
  margin: 0 auto 20px; box-shadow: var(--glow);
}
.author-hero h1 { font-family: 'Montserrat', sans-serif; font-size: 2.2rem; font-weight: 800; margin-bottom: 6px; }
.author-hero .title { color: var(--accent); font-size: 1rem; font-weight: 600; }
.author-bio { max-width: 750px; margin: 0 auto; padding: 50px 20px; }
.author-bio h2 { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.author-bio p { color: var(--text-secondary); margin-bottom: 14px; line-height: 1.8; }
.author-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 36px 0; }
.stat-item {
  text-align: center; padding: 20px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
}
.stat-num { font-family: 'Montserrat', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--accent); display: block; }
.stat-label { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; }

/* ===== TOC ===== */
.toc {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 28px; margin-bottom: 36px;
}
.toc-title { font-weight: 700; color: var(--accent); font-size: 0.95rem; margin-bottom: 10px; }
.toc ol { list-style: decimal; padding-left: 18px; }
.toc li { margin-bottom: 5px; }
.toc a { color: var(--text-secondary); font-size: 0.9rem; }
.toc a:hover { color: var(--accent-light); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs { padding: 90px 0 16px; }
.breadcrumbs ol { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; flex-wrap: wrap; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: '›'; color: var(--text-secondary); }
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs .current { color: var(--text-primary); }

/* ===== CONTENT ===== */
.content { max-width: 100%; }
.content h2 {
  font-family: 'Montserrat', sans-serif; font-size: 1.45rem; font-weight: 700;
  margin: 40px 0 14px; padding-top: 14px; border-top: 1px solid var(--border);
}
.content h2:first-of-type { border-top: none; padding-top: 0; }
.content h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 8px; }
.content p { color: var(--text-secondary); margin-bottom: 14px; }
.content ul { padding-left: 18px; margin-bottom: 14px; }
.content li { list-style: disc; color: var(--text-secondary); line-height: 1.7; margin-bottom: 5px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 50px 0 24px; margin-top: 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-about .logo { margin-bottom: 12px; }
.footer-about p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; }
.footer h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; color: var(--accent); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-secondary); font-size: 0.85rem; }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; }
.footer-bottom p { color: var(--text-secondary); font-size: 0.75rem; line-height: 1.6; }
.footer-disclaimer { margin-top: 10px; opacity: 0.5; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent);
  font-size: 0.75rem; font-weight: 700; margin-bottom: 10px;
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed; bottom: -70px; left: 0; right: 0; z-index: 999;
  background: rgba(12, 12, 20, 0.97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--accent);
  box-shadow: 0 -4px 16px rgba(229,57,53,0.12);
  transition: bottom 0.4s ease; padding: 10px 0;
}
.sticky-cta.visible { bottom: 0; }
.sticky-cta-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.sticky-cta-text { font-size: 0.9rem; color: var(--text-secondary); }
.sticky-cta-text strong { color: var(--text-primary); }

/* ===== SECTION IMAGES ===== */
.section-img {
  width: 100%; max-width: 100%; border-radius: var(--radius);
  margin: 24px 0; border: 1px solid var(--border);
  box-shadow: var(--glow); display: block;
}
.img-banner {
  width: 100%; height: 220px; object-fit: cover;
  border-radius: var(--radius); margin: 24px 0;
  border: 1px solid var(--border); box-shadow: var(--glow);
}
.cta-box .img-banner {
  margin: -32px -32px 20px -32px;
  width: calc(100% + 64px);
  border-radius: var(--radius) var(--radius) 0 0;
  border: none; box-shadow: none;
  height: 200px;
}
.img-float-wrap {
  display: flex; gap: 24px; align-items: flex-start; margin: 24px 0;
}
.img-float-wrap .img-side {
  width: 280px; min-width: 280px; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--glow);
}
.img-float-wrap .text-side { flex: 1; }

.card-img {
  width: 100%; height: 160px; object-fit: cover;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin: -28px -28px 16px -28px;
  width: calc(100% + 56px);
}

@media (max-width: 768px) {
  .img-float-wrap { flex-direction: column; }
  .img-float-wrap .img-side { width: 100%; min-width: auto; }
  .img-banner { height: 160px; }
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav {
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(12, 12, 20, 0.98); backdrop-filter: blur(12px);
    padding: 20px; transform: translateY(-120%); transition: transform var(--tr);
    border-bottom: 1px solid var(--border);
  }
  .nav.open { transform: translateY(0); }
  .nav-list { flex-direction: column; gap: 14px; }
  .burger { display: flex; }
  .hero { padding: 110px 0 50px; }
  .cards-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .author-block { flex-direction: column; text-align: center; }
  .section { padding: 50px 0; }
  .score-box { justify-content: center; text-align: center; }
  body { padding-bottom: 65px; }

  .pay-table { min-width: auto; }
  .pay-table th { font-size: 0.68rem; padding: 8px 6px; letter-spacing: 0; }
  .pay-table td { font-size: 0.78rem; padding: 9px 6px; }
  .pay-table th:last-child, .pay-table td:last-child { display: none; }
  .info-table td { font-size: 0.82rem; padding: 10px 10px; }
  .info-table td:first-child { width: 42%; }

  .pay-table-wrap { overflow-x: hidden; margin-left: -20px; margin-right: -20px; padding: 0 20px; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.6rem; }
  .cta-box .amount { font-size: 1.4rem; }

  .pay-table th { font-size: 0.6rem; padding: 6px 4px; }
  .pay-table td { font-size: 0.7rem; padding: 7px 4px; }
  .pay-table th:nth-child(4), .pay-table td:nth-child(4) { display: none; }
  .info-table td { font-size: 0.78rem; padding: 8px 8px; }
  .info-table td:first-child { width: 38%; font-size: 0.72rem; }
}
