/* ============================================
   Clean Technology — Professional Website
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0a6e5c;
  --primary-dark: #064e40;
  --primary-light: #0d8a72;
  --accent: #34d399;
  --accent-glow: rgba(52, 211, 153, 0.25);
  --bg: #f8fafb;
  --bg-alt: #eef4f2;
  --surface: #ffffff;
  --text: #1a2e2a;
  --text-muted: #5a7a72;
  --text-light: #8fa8a0;
  --border: #d4e4df;
  --gradient-hero: linear-gradient(135deg, #064e40 0%, #0a6e5c 40%, #0d8a72 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f0f7f5 100%);
  --shadow-sm: 0 1px 3px rgba(10, 110, 92, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 110, 92, 0.1);
  --shadow-lg: 0 8px 32px rgba(10, 110, 92, 0.12);
  --shadow-xl: 0 16px 48px rgba(10, 110, 92, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

/* --- SVG Icons --- */
.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-inline {
  width: 1.1em;
  height: 1.1em;
  margin-right: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(10, 110, 92, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 18px 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  transition: var(--transition);
}

.header.scrolled .logo {
  color: var(--primary-dark);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.logo-icon .icon {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.header.scrolled .nav-links a {
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.header.scrolled .nav-links a:hover,
.header.scrolled .nav-links a.active {
  color: var(--primary);
  background: rgba(10, 110, 92, 0.08);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.header.scrolled .menu-toggle span {
  background: var(--text);
}

/* Hamburger open animation */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.visible {
  opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  color: #fff;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: #5fe8b5;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Stat bar under hero --- */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 64px;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
  padding: 8px 16px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(10, 110, 92, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.card-icon .icon {
  width: 28px;
  height: 28px;
}

.card:hover .card-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.card-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ============================================
   FEATURE BLOCKS (alternating layout)
   ============================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-block:nth-child(even) {
  direction: rtl;
}

.feature-block:nth-child(even) > * {
  direction: ltr;
}

.feature-visual {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.feature-visual::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  top: 10%;
  right: 10%;
}

.feature-visual-icon {
  font-size: 5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
  color: var(--accent);
}

.feature-visual-icon .icon {
  width: 96px;
  height: 96px;
}

.feature-text .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.feature-text h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 16px;
}

.feature-text p {
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(10, 110, 92, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6e5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--primary);
  margin-top: 2px;
}

/* ============================================
   DATA / STATS SECTION
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card .number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-card .desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding-left: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--accent);
}

.timeline-item .year {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.timeline-item h4 {
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.92rem;
}

/* ============================================
   INFO BANNER / CTA
   ============================================ */
.cta-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   TABLE
   ============================================ */
.data-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background: var(--primary);
}

.data-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table td {
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.data-table tbody tr:hover {
  background: rgba(10, 110, 92, 0.03);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================
   ACCORDION / FAQ
   ============================================ */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: var(--primary-light);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition);
  user-select: none;
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(10, 110, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
}

.accordion-body-inner {
  padding: 0 24px 20px;
}

.accordion-body-inner p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #071f1a;
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
  line-height: 1.7;
}

.footer h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  max-width: 600px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 520px;
  margin-top: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

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

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

.breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
  color: var(--accent);
}

/* ============================================
   RESOURCE CARDS
   ============================================ */
.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.resource-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
  width: fit-content;
}

.resource-tag.report { background: rgba(10, 110, 92, 0.08); color: var(--primary); }
.resource-tag.tool { background: rgba(52, 211, 153, 0.15); color: #0d7a56; }
.resource-tag.org { background: rgba(59, 130, 246, 0.1); color: #2563eb; }
.resource-tag.guide { background: rgba(168, 85, 247, 0.1); color: #7c3aed; }

.resource-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.resource-card p {
  font-size: 0.9rem;
  flex-grow: 1;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   BGS
   ============================================ */
.bg-alt {
  background: var(--bg-alt);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hero-stats .stat-item:nth-child(2) {
    border-right: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-block:nth-child(even) {
    direction: ltr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* --- Header & Nav --- */
  .header {
    padding: 14px 0;
  }
  .header.scrolled {
    padding: 10px 0;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-overlay {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    overflow-y: auto;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    color: rgba(255, 255, 255, 0.8);
    padding: 14px 16px;
    font-size: 1.05rem;
    width: 100%;
    border-radius: var(--radius-sm);
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }
  .header.scrolled .nav-links {
    background: var(--primary-dark);
  }
  .header.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.8);
  }
  .header.scrolled .nav-links a:hover,
  .header.scrolled .nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }
  /* Force hamburger to white when menu open */
  .menu-toggle.active span {
    background: #fff;
  }

  /* --- Hero --- */
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    margin-bottom: 16px;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.7;
  }
  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 14px;
    margin-bottom: 20px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    justify-content: center;
    padding: 14px 24px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
    padding: 24px;
    gap: 8px;
  }
  .stat-item {
    padding: 12px 8px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }

  /* --- Page Hero (inner pages) --- */
  .page-hero {
    padding: 120px 0 56px;
  }
  .page-hero h1 {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }
  .page-hero p {
    font-size: 1rem;
  }

  /* --- Sections --- */
  .section {
    padding: 56px 0;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .section-header h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .section-header p {
    font-size: 0.95rem;
  }

  /* --- Cards --- */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card {
    padding: 28px 24px;
  }
  .card-icon {
    width: 48px;
    height: 48px;
  }
  .card-icon .icon {
    width: 24px;
    height: 24px;
  }

  /* --- Stats --- */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stat-card {
    padding: 24px 16px;
  }
  .stat-card .number {
    font-size: 2rem;
  }

  /* --- Feature blocks --- */
  .feature-visual {
    min-height: 240px;
    padding: 32px;
  }
  .feature-visual-icon .icon {
    width: 72px;
    height: 72px;
  }
  .feature-text h3 {
    font-size: 1.35rem;
  }
  .feature-text p {
    font-size: 0.92rem;
  }
  .feature-list li {
    font-size: 0.88rem;
  }

  /* --- Timeline --- */
  .timeline {
    padding-left: 40px;
  }

  /* --- Tables --- */
  .data-table th,
  .data-table td {
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  /* --- Accordion --- */
  .accordion-header {
    padding: 16px 20px;
    font-size: 0.92rem;
  }
  .accordion-body-inner {
    padding: 0 20px 16px;
  }

  /* --- CTA --- */
  .cta-content h2 {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
  }
  .cta-content p {
    font-size: 1rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* --- Footer --- */
  .footer {
    padding: 48px 0 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 110px 0 48px;
  }
  .hero h1 {
    font-size: 1.65rem;
  }
  .hero p {
    font-size: 0.92rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .hero-stats .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 8px;
  }
  .hero-stats .stat-item:last-child {
    border-bottom: none;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: 20px 16px;
  }
  .section {
    padding: 44px 0;
  }
  .page-hero {
    padding: 105px 0 44px;
  }
  .feature-visual {
    min-height: 200px;
    padding: 24px;
  }
  .feature-visual-icon .icon {
    width: 56px;
    height: 56px;
  }
  .resource-card {
    padding: 24px 20px;
  }
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  .breadcrumb {
    font-size: 0.78rem;
  }
  .footer {
    padding: 40px 0 24px;
  }
}
