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

:root {
  --purple-900: #4C1D95;
  --purple-800: #5B21B6;
  --purple-700: #6B21A8;
  --purple-600: #7C3AED;
  --purple-500: #8B5CF6;
  --purple-400: #A78BFA;
  --purple-100: #EDE9FE;
  --purple-50: #F5F3FF;
  --green-500: #10B981;
  --green-600: #059669;
  --red-500: #EF4444;
  --red-600: #DC2626;
  --gray-900: #1F2937;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --header-h: 72px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(107, 33, 168, 0.10);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--purple-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--purple-800);
}

img, svg {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200);
  transition: box-shadow var(--transition);
  height: var(--header-h);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-svg {
  width: 185px;
  height: 46px;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.nav-link:hover {
  background: var(--purple-50);
  color: var(--purple-700);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown-arrow {
  width: 10px;
  height: 6px;
  margin-left: 4px;
  vertical-align: middle;
  transition: transform var(--transition);
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  list-style: none;
  z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}

.dropdown-menu li a:hover {
  background: var(--purple-50);
  color: var(--purple-700);
}

.header-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-cta {
  background: var(--green-500);
  color: var(--white);
  border-color: var(--green-500);
}

.btn-cta:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--purple-700);
}

.btn-outline-light {
  background: transparent;
  color: var(--purple-700);
  border-color: var(--purple-600);
}

.btn-outline-light:hover {
  background: var(--purple-600);
  color: var(--white);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--purple-800) 0%, var(--purple-600) 50%, var(--purple-500) 100%);
  padding: 80px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-image {
  flex-shrink: 0;
}

.hero-card {
  width: 320px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition);
}

.hero-card:hover {
  transform: scale(1.03);
}

.hero-card img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 540px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-red {
  background: var(--red-600);
  color: var(--white);
}

.badge-green {
  background: var(--green-500);
  color: var(--white);
}

.badge-purple {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.hero-meta svg {
  width: 16px;
  height: 16px;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 100px;
  display: block;
}

/* ===== CONTENT SECTION ===== */
.content-section {
  padding: 20px 0 80px;
}

/* TOC */
.toc {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 50px;
  border-left: 4px solid var(--purple-600);
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--purple-700);
  padding: 20px 36px;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  transition: background var(--transition);
  border-radius: var(--radius);
}

.toc-title::-webkit-details-marker {
  display: none;
}

.toc-title::after {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236B21A8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--transition);
}

.toc[open] .toc-title::after {
  transform: rotate(180deg);
}

.toc-title:hover {
  background: var(--purple-50);
}

.toc .toc-list {
  padding: 0 36px 24px;
}

.toc-list {
  counter-reset: toc;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}

.toc-list li {
  counter-increment: toc;
}

.toc-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-700);
  transition: all var(--transition);
}

.toc-list li a::before {
  content: counter(toc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple-100);
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  transition: all var(--transition);
}

.toc-list li a:hover {
  background: var(--purple-50);
  color: var(--purple-700);
}

.toc-list li a:hover::before {
  background: var(--purple-600);
  color: var(--white);
}

/* Article Content */
.article-content {
  max-width: 100%;
}

.article-content section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 44px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple-700);
  margin-bottom: 20px;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-content p {
  margin-bottom: 16px;
  color: var(--gray-700);
  font-weight: 500;
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
  color: var(--gray-700);
}

.article-content li strong {
  color: var(--gray-800);
}

.article-content strong {
  color: var(--gray-800);
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

thead {
  background: var(--purple-700);
}

thead th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition);
}

tbody tr:nth-child(even) {
  background: var(--gray-50);
}

tbody tr:hover {
  background: var(--purple-50);
}

tbody td {
  padding: 12px 18px;
  color: var(--gray-700);
}

tbody tr:last-child {
  border-bottom: none;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 44px;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
}

.faq-section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple-700);
  margin-bottom: 28px;
  text-align: center;
}

.faq-list {
  max-width: 100%;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--purple-400);
}

.faq-question {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  transition: background var(--transition), color var(--transition);
}

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

.faq-question::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--transition);
}

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

.faq-question:hover {
  background: var(--purple-50);
  color: var(--purple-700);
}

.faq-item[open] .faq-question {
  background: var(--purple-50);
  color: var(--purple-700);
}

.faq-answer {
  padding: 0 24px 20px;
  animation: fadeIn 0.3s ease;
}

.faq-answer p {
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
}

.faq-question h3 {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  display: inline;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-700);
}

.footer-logo .logo-svg {
  width: 140px;
  margin-bottom: 16px;
}

.footer-about {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-500);
  margin-top: 12px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--purple-400);
}

.footer-bottom {
  padding: 32px 0;
}

.footer-bottom-inner {
  text-align: center;
}

.disclaimer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red-600);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
  border: 3px solid var(--red-500);
}

.disclaimer p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 760px;
}

.disclaimer p strong {
  color: var(--gray-300);
}

.copyright {
  font-size: 13px;
  color: var(--gray-600);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1023px) {
  :root {
    --header-h: 64px;
  }

  .nav-list {
    gap: 4px;
  }

  .nav-link {
    padding: 6px 12px;
    font-size: 14px;
  }

  .hero-inner {
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-card {
    width: 260px;
  }

  .article-content section {
    padding: 32px;
  }

  .toc .toc-title {
    padding: 18px 28px;
  }

  .toc .toc-list {
    padding: 0 28px 20px;
  }

  .faq-section {
    padding: 36px 32px;
  }

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

/* Mobile */
@media (max-width: 767px) {
  :root {
    --header-h: 60px;
  }

  .container {
    padding: 0 16px;
  }

  .burger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 16px;
  }

  .has-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 10px 16px;
    font-size: 15px;
  }

  .header-actions {
    display: none;
  }

  .main-nav.open + .header-actions,
  .main-nav.open ~ .header-actions {
    display: none;
  }

  .hero {
    padding: 50px 0 100px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-card {
    width: 220px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-text {
    font-size: 1rem;
  }

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

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

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

  .toc {
    margin-bottom: 32px;
  }

  .toc .toc-title {
    padding: 16px 20px;
  }

  .toc .toc-list {
    padding: 0 20px 16px;
  }

  .toc-list li a {
    padding: 6px 10px;
    font-size: 14px;
  }

  .article-content section {
    padding: 24px 20px;
    margin-bottom: 20px;
  }

  .article-content h2 {
    font-size: 1.4rem;
  }

  .article-content h3 {
    font-size: 1.1rem;
  }

  thead th,
  tbody td {
    padding: 10px 14px;
    font-size: 14px;
  }

  .faq-section {
    padding: 28px 20px;
  }

  .faq-question {
    padding: 14px 18px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 18px 16px;
  }

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

  .footer-brand {
    order: -1;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .disclaimer p {
    font-size: 12px;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .page-hero .page-intro {
    font-size: 0.95rem;
  }
}

/* ===== INNER PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--purple-800) 0%, var(--purple-600) 100%);
  padding: 40px 0 70px;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 48px;
  background: var(--gray-50);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin-bottom: 16px;
  font-size: 14px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.breadcrumb .current {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 12px;
}

.page-hero .page-intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 700px;
}

.hero a:not(.btn):not(.nav-link),
.page-hero a:not(.btn):not(.nav-link) {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero a:not(.btn):not(.nav-link):hover,
.page-hero a:not(.btn):not(.nav-link):hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== BLOG GRID ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.blog-card h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.blog-card h2 a {
  color: var(--purple-700);
}

.blog-card h2 a:hover {
  color: var(--purple-600);
}

.blog-card p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.blog-link {
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-block;
}

.blog-link:hover {
  text-decoration: underline;
}

/* ===== CTA BLOCK ===== */
.cta-block {
  background: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-500) 100%);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin: 32px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-block h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
  position: relative;
}

.cta-block p {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-block .btn {
  position: relative;
}

.cta-block .btn-cta {
  font-size: 16px;
  padding: 14px 36px;
}

/* ===== BONUS CARDS ===== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.bonus-card {
  background: var(--white);
  border: 2px solid var(--purple-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.bonus-card:hover {
  border-color: var(--purple-400);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.bonus-card-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.bonus-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--purple-700);
  margin-bottom: 8px;
}

.bonus-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.6;
}

.bonus-card .btn {
  font-size: 14px;
  padding: 10px 24px;
}

/* ===== INFO BOX ===== */
.info-box {
  background: var(--purple-50);
  border-left: 4px solid var(--purple-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.info-box strong {
  color: var(--purple-700);
}

/* ===== HIGHLIGHT STAT ===== */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.stat-card {
  flex: 1;
  min-width: 140px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  transition: border-color var(--transition);
}

.stat-card:hover {
  border-color: var(--purple-400);
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple-700);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== INLINE CTA (smaller) ===== */
.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--purple-50);
  border: 2px solid var(--purple-100);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.inline-cta p,
.inline-cta span {
  margin: 0;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.95rem;
}

.inline-cta .btn {
  flex-shrink: 0;
}

/* responsive for new components */
@media (max-width: 767px) {
  .cta-block {
    padding: 28px 20px;
  }

  .cta-block h3 {
    font-size: 1.25rem;
  }

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

  .stat-row {
    gap: 10px;
  }

  .stat-card {
    min-width: 100px;
    padding: 14px 12px;
  }

  .stat-value {
    font-size: 1.4rem;
  }

  .inline-cta {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
}

/* ===== REVIEWS ===== */
.reviews-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 44px;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
}

.reviews-section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple-700);
  margin-bottom: 28px;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.review-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  border-color: var(--purple-400);
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.review-author {
  font-weight: 700;
  color: var(--gray-800);
  font-size: 15px;
}

.review-date {
  font-size: 13px;
  color: var(--gray-500);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
  color: #FBBF24;
  font-size: 16px;
  letter-spacing: 1px;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin: 0;
}

@media (max-width: 767px) {
  .reviews-section {
    padding: 28px 20px;
  }

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

/* Small mobile */
@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
