/* palette: teal-gold */
:root {
  --primary-color: #004D40;
  --secondary-color: #006B5C;
  --accent-color: #C9A227;
  --background-color: #F0FAFE;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(255,255,255,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.7);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.9);
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-xl: 4px;
  --main-font: 'Nunito', sans-serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Base Styles & Mobile-First Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  background: #0A0A0F;
  color: #E0E0E0;
  font-family: var(--alt-font);
  line-height: 1.7;
  font-size: clamp(14px, 4vw, 18px);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--main-font);
  color: #FFFFFF;
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  border-left: 4px solid var(--accent-color);
  padding-left: 12px;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  color: rgba(224, 224, 224, 0.78);
  margin-bottom: 1rem;
}

/* Layout Padding Rules */
section {
  padding: 56px 16px;
  margin: 0;
  background: #0A0A0F;
}

section + section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header & Mobile Navigation */
header {
  background: #12121A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 16px;
  position: relative;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

header .logo img {
  height: 40px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  height: 3px;
  width: 100%;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #12121A;
  z-index: 999;
  border-bottom: 1px solid var(--accent-color);
  padding: 1.5rem;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.site-nav a {
  color: #E0E0E0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  display: block;
  padding: 0.5rem 0;
}

.site-nav a:hover {
  color: var(--accent-color);
}

#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(9px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-color);
  color: #0A0A0F;
  box-shadow: 0 0 20px var(--accent-color);
  border-radius: 0;
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px var(--accent-color);
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

/* Cards (NEON-CYBER) */
.card {
  background: #12121A;
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.3);
}

/* HERO SECTION (noise-mesh) */
.hero-section {
  min-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at 20% 30%, rgba(0, 77, 64, 0.4) 0%, transparent 50%), 
              radial-gradient(circle at 80% 70%, rgba(201, 162, 39, 0.35) 0%, transparent 50%), 
              radial-gradient(circle at 50% 50%, rgba(0, 107, 92, 0.3) 0%, transparent 60%), 
              #0A0A0F;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  z-index: 2;
}

.hero-title {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

/* Section Intros */
.section-intro {
  max-width: 800px;
  margin-bottom: 2rem;
}

/* CSS Tabs (Block 17) */
.tabs-nav {
  display: flex;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.tab-label {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: rgba(224, 224, 224, 0.6);
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.tab-label:hover {
  color: var(--accent-color);
}

.tab-pane {
  display: none;
}

.pane-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pane-list {
  list-style: none;
  margin-top: 1rem;
  space-y: 0.5rem;
}

.pane-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

#tab1:checked ~ .tabs-nav label[for="tab1"],
#tab2:checked ~ .tabs-nav label[for="tab2"],
#tab3:checked ~ .tabs-nav label[for="tab3"] {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

#tab1:checked ~ .tabs-content .tab-pane-1,
#tab2:checked ~ .tabs-content .tab-pane-2,
#tab3:checked ~ .tabs-content .tab-pane-3 {
  display: block;
}

.section-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border: 1px solid var(--accent-color);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.5);
}

/* Dense Icon Grid */
.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.icon-accent {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

.icon-label {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Educational Quiz */
.quiz-question {
  margin-bottom: 1rem;
}

.quiz-option-label {
  display: block;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.quiz-option-label:hover {
  background: rgba(201, 162, 39, 0.1);
  border-color: var(--accent-color);
}

.quiz-answer {
  display: none;
  padding: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

#q1a:checked ~ .answer-q1a,
#q1b:checked ~ .answer-q1b,
#q2a:checked ~ .answer-q2a,
#q2b:checked ~ .answer-q2b {
  display: block;
}

#q1a:checked + label, #q2a:checked + label {
  background: rgba(239, 68, 68, 0.15);
  border-color: #EF4444;
}

#q1b:checked + label, #q2b:checked + label {
  background: rgba(34, 197, 94, 0.15);
  border-color: #22C55E;
}

/* How It Works */
.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.step-num {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--accent-color);
  line-height: 1;
}

.step-title {
  margin-bottom: 0;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.quote {
  font-style: italic;
}

.author-name {
  display: block;
  font-weight: 700;
  color: #FFFFFF;
}

.author-location {
  display: block;
  font-size: 0.85rem;
  color: rgba(224, 224, 224, 0.6);
}

/* Contact & FAQ Combined */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #12121A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-radius: 0;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.4);
}

/* Scroll-reveal (CSS-only) */
@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%;
}

/* Footer */
footer {
  background: #050508;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  height: 35px;
}

.footer-nav a {
  color: rgba(224, 224, 224, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

/* Desktop Styles & Media Queries */
@media (min-width: 768px) {
  .hero-ctas {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 64px 24px;
  }

  .burger-btn {
    display: none;
  }

  .site-nav {
    display: flex !important;
    position: static;
    border-bottom: none;
    padding: 0;
    background: transparent;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.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;
}