/* palette: claret-gold */
:root {
  --primary-color: #811B2D;
  --secondary-color: #9E2236;
  --accent-color: #C9A227;
  --background-color: #FFF5F7;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.25);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.35);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --main-font: 'Work Sans', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

/* Base Reset & Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

.bg-gray-100,
.bg-white,
.bg-yellow-100,
.bg-blue-100,
.bg-red-100,
.bg-green-100,
.bg-gray-100 p,
.bg-white p,
.bg-yellow-100 p,
.bg-blue-100 p,
.bg-red-100 p,
.bg-green-100 p {
  color: #111A13;
}

body, html {
  background: var(--secondary-color);
  color: rgba(240, 240, 240, 0.85);
  font-family: var(--alt-font);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  color: #ffffff;
  margin-top: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.15;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.25;
  margin-bottom: 12px;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  line-height: 1.3;
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
  margin-bottom: 1rem;
}

p.subtitle {
  color: rgba(240, 240, 240, 0.8);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* GLASS-DARK Style Preset Rules */
section {
  background: transparent;
  padding: 56px 16px;
  margin: 0;
  position: relative;
}

@media (min-width: 1024px) {
  section {
    padding: 64px 24px;
  }
}

section + section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.card {
  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;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 28px;
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: #9c2237;
  border-color: #9c2237;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Header & Mobile Nav */
header {
  position: relative;
  width: 100%;
  background: rgba(129, 27, 45, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--secondary-color);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  z-index: 999;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }

  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 24px;
  }

  .site-nav a {
    font-size: 15px;
  }
}

/* HERO VARIANT: oversized-word */
.hero {
  min-height: 81vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 24px;
  background: var(--secondary-color);
}

.oversized-bg-word {
  font-size: clamp(5rem, 18vw, 15rem);
  opacity: 0.06;
  font-weight: 900;
  position: absolute;
  z-index: 0;
  white-space: nowrap;
  user-select: none;
  color: #ffffff;
  letter-spacing: 0.05em;
  font-family: var(--main-font);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero .subtitle {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    gap: 16px;
  }
}

/* SECTION 1: CSS Tabs */
.tabs-wrapper {
  margin-top: 32px;
}

.tab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.tab-label {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-label i {
  color: var(--accent-color);
}

#tab1:checked ~ .tab-controls label[for="tab1"],
#tab2:checked ~ .tab-controls label[for="tab2"],
#tab3:checked ~ .tab-controls label[for="tab3"] {
  background: var(--accent-color);
  color: var(--dark-color);
  border-color: var(--accent-color);
}

#tab1:checked ~ .tab-controls label[for="tab1"] i,
#tab2:checked ~ .tab-controls label[for="tab2"] i,
#tab3:checked ~ .tab-controls label[for="tab3"] i {
  color: var(--dark-color);
}

.tab-panel {
  display: none;
}

#tab1:checked ~ .tab-panels .panel-1,
#tab2:checked ~ .tab-panels .panel-2,
#tab3:checked ~ .tab-panels .panel-3 {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-panel-content h3 {
  margin-bottom: 12px;
  color: var(--accent-color);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-list i {
  color: var(--accent-color);
  margin-top: 4px;
}

/* SECTION 2: Dense Icon Grid */
.dense-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .dense-grid-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .dense-grid-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.dense-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 12px;
  gap: 10px;
}

.dense-card i {
  font-size: 2rem;
  color: var(--accent-color);
}

.dense-card span {
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
}

/* SECTION 3: Educational Quiz */
.quiz-container {
  max-width: 800px;
  margin: 32px auto 0 auto;
}

.quiz-item h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  display: block;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  font-weight: 600;
}

.quiz-option:hover {
  background: rgba(255, 255, 255, 0.12);
}

.quiz-answer {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.2);
}

#q1a:checked ~ .answer-q1a,
#q1b:checked ~ .answer-q1b,
#q2a:checked ~ .answer-q2a,
#q2b:checked ~ .answer-q2b {
  display: block;
}

#q1a:checked + label,
#q1b:checked + label,
#q2a:checked + label,
#q2b:checked + label {
  border-color: var(--accent-color);
  background: rgba(201, 162, 39, 0.2);
}

.text-green { color: #22c55e; }
.text-red { color: #ef4444; }

.quiz-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 28px 0;
}

/* SECTION 4: How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 12px;
  font-family: var(--main-font);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature-image-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .feature-image-block {
    grid-template-columns: 1fr 1fr;
    padding: 32px;
  }
}

.feature-img-wrapper img {
  border-radius: 12px;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* SECTION 5: Testimonials with Background Image */
.section-with-bg {
  position: relative;
  overflow: hidden;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.25);
  z-index: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--accent-color);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.quote {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.author-info strong {
  display: block;
  color: #ffffff;
}

.author-info span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* SECTION 6: Contact + FAQ */
.contact-faq-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}

@media (min-width: 1024px) {
  .contact-faq-wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-info-block {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-block p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 0.95rem;
}

.contact-info-block i {
  color: var(--accent-color);
  width: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 0.8rem;
  line-height: 1.4;
  font-weight: 400;
}

.faq-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.faq-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--accent-color);
}

.faq-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* FOOTER */
footer {
  background: var(--dark-color);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* CSS-Only Scroll Reveal Animation */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}