/* ==========================================
   STYLE SYSTEM: Dwi Andhira Gistara PUBLIC SPEAKING
   TEMA: HIJAU MUDA PREMIUM (LIGHT MINT GREEN)
   ========================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Color Palette - Light Green Theme */
  --bg-main: #f0faf4; /* Soft Mint Green */
  --bg-surface: rgba(255, 255, 255, 0.75);
  --bg-surface-hover: rgba(255, 255, 255, 0.95);
  --border-color: rgba(16, 185, 129, 0.12);
  --border-hover: rgba(16, 185, 129, 0.45);
  
  --primary: #10b981; /* Emerald Green */
  --primary-glow: rgba(16, 185, 129, 0.1);
  --secondary: #0d9488; /* Teal */
  --secondary-glow: rgba(13, 148, 136, 0.1);
  --accent: #0f766e; /* Deep Teal/Forest */
  --accent-rgb: 15, 118, 110;
  --accent-glow: rgba(15, 118, 110, 0.15);
  --cta-color: #d97706; /* Amber/Gold for call-to-actions */
  --cta-glow: rgba(217, 119, 6, 0.2);
  
  --text-primary: #0f2d1e; /* Very Dark Forest Green */
  --text-secondary: #2c4a39; /* Dark Slate Green */
  --text-muted: #577563; /* Soft Greenish Gray */
  
  /* Typography */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Glassmorphism */
  --glass-shadow: 0 8px 32px 0 rgba(16, 185, 129, 0.06);
  --backdrop-blur: 16px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(13, 148, 136, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(52, 211, 153, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #c2ebd0;
  border-radius: 5px;
  border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(240, 250, 244, 0.75);
  backdrop-filter: blur(var(--backdrop-blur));
  -webkit-backdrop-filter: blur(var(--backdrop-blur));
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 2rem;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.85rem 2rem;
  background: rgba(240, 250, 244, 0.95);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo span {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.nav-menu {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
  color: var(--text-secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
}

.nav-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
  cursor: pointer;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #059669, #0f766e);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Button & Badge Utilities */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--cta-color) 0%, #b45309 100%);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--cta-glow);
  transition: var(--transition-bounce);
}

.btn-primary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.06);
  color: var(--accent);
  padding: 0.85rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.25);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 85% 30%, rgba(13, 148, 136, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #047857;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-title span {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-headings);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Sound Wave Graphics (Hero Interactive Element) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.soundwave-box {
  position: relative;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(240, 250, 244, 0.4) 70%);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulseBox 4s infinite alternate ease-in-out;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.08);
}

.soundwave-box::after {
  content: '';
  position: absolute;
  width: 110%;
  height: 110%;
  border: 1px dashed rgba(13, 148, 136, 0.25);
  border-radius: 50%;
  animation: rotateDashed 20s linear infinite;
}

.speaker-illustration {
  background: #fff;
  backdrop-filter: blur(10px);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid rgba(16, 185, 129, 0.15);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1);
  z-index: 2;
  position: relative;
}

.speaker-illustration svg {
  width: 60px;
  height: 60px;
  color: var(--primary);
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.3));
}

.wave-bar-container {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  height: 80px;
  position: absolute;
  width: 100%;
}

.wave-bar {
  width: 4px;
  height: 15px;
  background: linear-gradient(to top, var(--primary), var(--secondary));
  border-radius: 4px;
  animation: bounceBar 1.2s ease-in-out infinite alternate;
}

/* Distribute animations */
.wave-bar:nth-child(1) { animation-delay: 0.1s; height: 35px; }
.wave-bar:nth-child(2) { animation-delay: 0.4s; height: 55px; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 25px; }
.wave-bar:nth-child(4) { animation-delay: 0.6s; height: 75px; }
.wave-bar:nth-child(5) { animation-delay: 0.3s; height: 45px; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; height: 60px; }
.wave-bar:nth-child(7) { animation-delay: 0.1s; height: 20px; }

/* Sections Styling */
.section {
  padding: 7rem 2rem;
  position: relative;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

.section-title span {
  background: linear-gradient(135deg, var(--text-primary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 1.05rem;
  font-weight: 500;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  gap: 1.25rem;
  backdrop-filter: blur(var(--backdrop-blur));
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.02);
}

.about-card:hover {
  transform: translateX(10px);
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.07);
}

.about-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.about-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.about-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pillars Section (Sub-Divisi) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(var(--backdrop-blur));
  transition: var(--transition-bounce);
  cursor: pointer;
  box-shadow: var(--glass-shadow);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.08);
  background: var(--bg-surface-hover);
}

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

.pillar-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.75rem;
  position: relative;
}

/* Dynamic Pillar Icon colors (Fresh spectrum of greens and teals) */
.pillar-card:nth-child(1) .pillar-icon-box { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.pillar-card:nth-child(2) .pillar-icon-box { background: rgba(13, 148, 136, 0.12); color: #0d9488; }
.pillar-card:nth-child(3) .pillar-icon-box { background: rgba(132, 204, 22, 0.12); color: #84cc16; }
.pillar-card:nth-child(4) .pillar-icon-box { background: rgba(34, 197, 94, 0.12); color: #22c55e; }

.pillar-icon-box svg {
  width: 32px;
  height: 32px;
}

.pillar-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pillar-card:hover .pillar-link {
  color: var(--primary);
}

/* Practice Tool Widget (Interactive) */
.practice-widget {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 244, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.05);
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(var(--backdrop-blur));
}

.practice-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

@media (max-width: 1024px) {
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.practice-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.practice-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.custom-select {
  background: #fff;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.custom-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.custom-select option {
  background-color: #fff;
  color: var(--text-primary);
}

.btn-generate {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.topic-box {
  background: rgba(16, 185, 129, 0.03);
  border: 1px dashed rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.topic-placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.topic-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.topic-category {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-top: 0.75rem;
  text-transform: uppercase;
}

/* Timer Subcomponent */
.timer-container {
  background: #fff;
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.03);
}

.timer-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid rgba(16, 185, 129, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.timer-circle::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--primary);
  animation: spinCircle 4s linear infinite paused;
}

.timer-circle.running::before {
  animation-play-state: running;
}

.timer-display {
  font-family: var(--font-headings);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  z-index: 1;
}

.timer-btn-group {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.btn-timer {
  flex: 1;
  padding: 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-timer-start {
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.btn-timer-start:hover {
  background: #059669;
  transform: translateY(-1px);
}

.btn-timer-stop {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.2);
}

.btn-timer-stop:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* Mini Sound wave active when timer is running */
.practice-wave {
  display: flex;
  gap: 3px;
  align-items: center;
  height: 20px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.practice-wave.active {
  opacity: 1;
}

.practice-wave span {
  width: 3px;
  height: 10px;
  background-color: var(--primary);
  animation: miniWave 0.8s infinite alternate ease-in-out;
}

.practice-wave span:nth-child(2) { animation-delay: 0.2s; height: 18px; }
.practice-wave span:nth-child(3) { animation-delay: 0.4s; height: 14px; }
.practice-wave span:nth-child(4) { animation-delay: 0.1s; height: 8px; }

/* Schedule Section */
.schedule-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.schedule-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 2.5fr 1fr;
  align-items: center;
  gap: 2rem;
  backdrop-filter: blur(var(--backdrop-blur));
  transition: var(--transition-smooth);
  box-shadow: var(--glass-shadow);
}

.schedule-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.05);
}

.schedule-time {
  display: flex;
  flex-direction: column;
}

.sch-day {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.sch-hours {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.schedule-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.schedule-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.schedule-badge {
  text-align: right;
}

.sch-badge-span {
  display: inline-block;
  background: rgba(16, 185, 129, 0.08);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Gallery & Testimonial Section */
.gallery-section {
  background: rgba(16, 185, 129, 0.02);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.testimonial-slider {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.testimonial-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.testi-quote {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text-primary);
  position: relative;
  max-width: 700px;
}

.testi-quote::before {
  content: '“';
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(16, 185, 129, 0.12);
  position: absolute;
  top: -45px;
  left: -20px;
}

.testi-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--border-color);
}

.testi-info {
  text-align: left;
}

.testi-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testi-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background: var(--primary);
  width: 25px;
  border-radius: 5px;
}

/* Registration Form Section */
.register-box {
  background: #fff;
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 24px;
  padding: 3.5rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.04);
  backdrop-filter: blur(var(--backdrop-blur));
  position: relative;
}

.register-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .register-grid {
    grid-template-columns: 1fr;
  }
}

.register-span-all {
  grid-column: span 2;
}

@media (max-width: 600px) {
  .register-span-all {
    grid-column: span 1;
  }
}

.input-control {
  background: rgba(16, 185, 129, 0.02);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
  width: 100%;
}

.input-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
  background: #fff;
}

textarea.input-control {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cta-color) 0%, #b45309 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 15px var(--cta-glow);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
}

/* FAQ Accordion Component */
.faq-container {
  max-width: 800px;
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(16, 185, 129, 0.12);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-header:hover {
  background: rgba(16, 185, 129, 0.03);
}

.faq-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.faq-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

.faq-item.active {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.02);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-content {
  padding: 1.25rem 1.5rem;
  max-height: 200px;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
}

/* Footer Section - Anchored with a solid rich dark green forest background */
.footer {
  background: #041c0e;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  padding: 5rem 2rem 2rem;
  color: #a7c5b2;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-about .logo span {
  background: linear-gradient(135deg, #a7f3d0, #52d3a2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.footer-column h5 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link-a {
  font-size: 0.9rem;
}

.footer-link-a:hover {
  color: #52d3a2;
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Modals System (Detail Sub-Divisi & Success State) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.45); /* Soft gray translucent overlay */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(240, 253, 244, 0.99) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 28px;
  padding: 3rem;
  width: 100%;
  max-width: 650px;
  position: relative;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 25px 60px rgba(16, 185, 129, 0.1), inset 0 0 30px rgba(16, 185, 129, 0.02);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.25);
  color: #dc2626;
  transform: rotate(90deg);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-header-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.modal-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.modal-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.modal-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.modal-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-bullet-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.modal-bullet-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Success Modal specific stylings */
.success-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 2px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

.success-illustration svg {
  width: 40px;
  height: 40px;
}

/* Keyframes for animations */
@keyframes pulseBox {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.05);
  }
  100% {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
  }
}

@keyframes rotateDashed {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes bounceBar {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1.3); }
}

@keyframes spinCircle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes miniWave {
  0% { transform: scaleY(0.5); }
  100% { transform: scaleY(1.8); }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .badge {
    align-self: center;
  }
  
  .hero-desc {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    max-width: 600px;
    margin: 3rem auto 0;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* Optimize desktop navbar for smaller screens (prevent horizontal clipping/overflow) */
@media (min-width: 1025px) and (max-width: 1350px) {
  .navbar {
    padding: 1rem 1.5rem;
  }
  
  .navbar-container {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .nav-menu {
    gap: 1.25rem;
  }
  
  .nav-link {
    font-size: 0.85rem;
  }
  
  .nav-btn {
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
  }
}

@media (max-width: 1024px) {
  .navbar {
    padding: 1rem 1.5rem;
    background: rgba(240, 250, 244, 0.95);
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-main);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  /* Menu icon state changes */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .section {
    padding: 5rem 1.5rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .practice-widget {
    padding: 1.5rem;
  }
  
  .schedule-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .schedule-badge {
    text-align: center;
  }
  
  .register-box {
    padding: 2rem 1.5rem;
  }
  
  .modal-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================
   GISTARA AI SCRIPT ASSISTANT WIDGET
   ========================================== */
.ai-widget {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 244, 0.98) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.05);
  max-width: 900px;
  margin: 2rem auto 0;
  backdrop-filter: blur(var(--backdrop-blur));
  -webkit-backdrop-filter: blur(var(--backdrop-blur));
}

.ai-input-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.ai-search-wrapper {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  padding: 6px;
  box-shadow: inset 0 2px 4px rgba(16, 185, 129, 0.02);
  transition: var(--transition-smooth);
}

.ai-search-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12), inset 0 2px 4px rgba(16, 185, 129, 0.02);
}

.ai-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0.85rem 1rem 0.85rem 0.5rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  width: 100%;
}

.ai-input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.btn-ai-search {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: #fff;
  border: none;
  padding: 0.9rem 2.25rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
  font-size: 0.95rem;
}

.btn-ai-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.btn-ai-search:active {
  transform: translateY(0);
}

.ai-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.tag-label {
  color: var(--text-primary);
  font-weight: 700;
}

.ai-tag {
  background: rgba(16, 185, 129, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(16, 185, 129, 0.15);
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.85rem;
  font-weight: 600;
}

.ai-tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.ai-output-container {
  background: #091a10;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(4, 28, 14, 0.15);
  transition: var(--transition-smooth);
}

.ai-output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(16, 185, 129, 0.08);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  padding: 1.15rem 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a7f3d0;
  font-size: 0.9rem;
  font-weight: 600;
}

.ai-pulse {
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.ai-pulse.thinking {
  background-color: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  animation: aiPulse 1.2s infinite ease-in-out;
}

@keyframes aiPulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.6; }
}

.ai-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-util {
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.btn-util:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.ai-output-body {
  padding: 2.5rem 2rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.ai-script-output {
  color: #ecfdf5;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
}

.ai-script-output .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(167, 243, 208, 0.4);
  padding: 3rem 1rem;
  width: 100%;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(10deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.ai-script-output h3 {
  font-family: var(--font-headings);
  color: #34d399;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  border-bottom: 1px dashed rgba(52, 211, 153, 0.2);
  padding-bottom: 0.4rem;
}

.ai-script-output h4 {
  font-family: var(--font-headings);
  color: #a7f3d0;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.ai-script-output p {
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.ai-script-output ul, .ai-script-output ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.ai-script-output li {
  margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
  /* Navbar Mobile Menu premium glassmorphism & accessibility */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(240, 250, 244, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2.5rem 2rem;
    gap: 1.5rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
    overflow-y: auto; /* Fix for overflow scrolling on smaller device screens */
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.15rem;
    padding: 0.5rem 0;
    width: 100%;
    text-align: center;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
  }

  /* Soundwave box scaling to prevent mobile horizontal overflow */
  .soundwave-box {
    width: 260px;
    height: 260px;
  }
  
  .speaker-illustration {
    width: 110px;
    height: 110px;
  }
  
  .speaker-illustration svg {
    width: 45px;
    height: 45px;
  }

  .wave-bar-container {
    height: 60px;
  }

  /* Section and Title sizing for natural reading rhythm on small screens */
  .section {
    padding: 4.5rem 1.25rem;
  }
  
  .section-title {
    font-size: 2.1rem;
  }

  /* Pillars gap optimization */
  .pillars-grid {
    gap: 1.25rem;
  }
  
  .pillar-card {
    padding: 1.75rem;
  }

  /* Practice Widget responsive improvements */
  .practice-widget {
    padding: 1.5rem 1.25rem;
  }

  .timer-container {
    padding: 1.5rem;
  }

  /* Testimonial Quote responsive typography */
  .testi-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 0 1rem;
  }

  /* Form & inputs (Prevent automatic iOS zoom-on-focus by using min 16px font-size) */
  .input-control, .custom-select, textarea {
    font-size: 16px !important;
    padding: 0.85rem 1rem;
  }

  .register-box {
    padding: 2rem 1.25rem;
  }

  /* Gistara AI widget refinements */
  .ai-widget {
    padding: 1.5rem 1.25rem;
  }
  
  .ai-search-wrapper {
    flex-direction: column;
    border-radius: 20px;
    padding: 1rem;
  }
  
  .ai-input {
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .btn-ai-search {
    width: 100%;
    border-radius: 12px;
  }
  
  .ai-output-header {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .ai-actions {
    width: 100%;
  }
  
  .btn-util {
    flex: 1;
    justify-content: center;
  }
  
  .ai-output-body {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  /* Extra compact optimizations for narrow smartphones */
  .hero-title {
    font-size: 2.15rem;
  }

  .hero-desc {
    font-size: 1.05rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .soundwave-box {
    width: 210px;
    height: 210px;
  }
  
  .speaker-illustration {
    width: 90px;
    height: 90px;
  }
  
  .speaker-illustration svg {
    width: 38px;
    height: 38px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .stat-val {
    font-size: 2rem;
  }
}

/* ==========================================
   NEWS SECTION & CARDS (GLASSMORPHISM)
   ========================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.news-card {
  background: var(--bg-surface);
  backdrop-filter: blur(var(--backdrop-blur));
  -webkit-backdrop-filter: blur(var(--backdrop-blur));
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-bounce);
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.12);
}

.news-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: rgba(16, 185, 129, 0.05);
  border-bottom: 1px solid var(--border-color);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-card-image img {
  transform: scale(1.06);
}

.news-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.news-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.news-card-meta i {
  color: var(--primary);
}

.news-card-title {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.news-card:hover .news-card-title {
  color: var(--primary);
}

.news-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 185, 129, 0.06);
}

.news-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.news-card-btn i {
  transition: transform 0.3s var(--transition-smooth);
}

.news-card-btn:hover {
  color: var(--accent);
}

.news-card-btn:hover i {
  transform: translateX(5px);
}

/* Empty News State */
.empty-news-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  background: var(--bg-surface);
  border: 1px dashed var(--border-color);
  border-radius: 2rem;
  backdrop-filter: blur(var(--backdrop-blur));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.empty-news-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  animation: pulseIcon 2s infinite ease-in-out;
}

.empty-news-state p {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

@keyframes pulseIcon {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .news-grid {
    gap: 1.5rem;
  }
  .news-card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 3rem auto 0;
  }
}



