/* -------------------------------------------------------------
   DESIGN SYSTEM & CSS VARIABLES
   ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-dark: #070a13;
  --bg-darker: #03050a;
  
  /* Emerald & Mint Health Theme */
  --primary: #10b981;        /* Emerald */
  --primary-glow: rgba(16, 185, 129, 0.15);
  --primary-light: #34d399;   /* Mint */
  --accent: #f59e0b;          /* Warm Amber for highlights */
  --accent-glow: rgba(245, 158, 11, 0.15);
  
  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --glass-glow: rgba(16, 185, 129, 0.04);
  
  /* Text Colors */
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #6b7280;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* -------------------------------------------------------------
   BASE RESET & LAYOUT
   ------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* -------------------------------------------------------------
   BACKGROUND LAYER & ANIMATED SVG (AURORA)
   ------------------------------------------------------------- */
.bg-wrapper {
  position: fixed;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #0d1527 0%, var(--bg-darker) 100%);
  transition: transform 0.1s ease-out; /* Parallax speed */
}

.svg-aurora {
  width: 100%;
  height: 100%;
  opacity: 0.75;
  filter: saturate(1.2);
}

.blob {
  transform-origin: center;
  filter: blur(90px);
  mix-blend-mode: screen;
}

@keyframes float-1 {
  0% { transform: translate(0px, 0px) scale(1) rotate(0deg); }
  33% { transform: translate(100px, -80px) scale(1.1) rotate(120deg); }
  66% { transform: translate(-80px, 50px) scale(0.9) rotate(240deg); }
  100% { transform: translate(0px, 0px) scale(1) rotate(360deg); }
}

@keyframes float-2 {
  0% { transform: translate(0px, 0px) scale(1) rotate(360deg); }
  33% { transform: translate(-100px, 90px) scale(0.85) rotate(240deg); }
  66% { transform: translate(80px, -60px) scale(1.15) rotate(120deg); }
  100% { transform: translate(0px, 0px) scale(1) rotate(0deg); }
}

@keyframes float-3 {
  0% { transform: translate(0px, 0px) scale(1) rotate(0deg); }
  50% { transform: translate(60px, 120px) scale(1.25) rotate(180deg); }
  100% { transform: translate(0px, 0px) scale(1) rotate(360deg); }
}

.blob-emerald {
  fill: url(#emerald-grad);
  animation: float-1 28s infinite alternate ease-in-out;
}

.blob-mint {
  fill: url(#mint-grad);
  animation: float-2 32s infinite alternate ease-in-out;
  animation-delay: -6s;
}

.blob-amber {
  fill: url(#amber-grad);
  animation: float-3 24s infinite alternate ease-in-out;
  animation-delay: -12s;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

/* -------------------------------------------------------------
   NAVBAR (MINIMALIST & GLASS)
   ------------------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 10, 19, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-main);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--primary);
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-main);
}

.mobile-cta-item {
  display: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary-light);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-cta:hover {
  background: var(--primary);
  color: var(--bg-darker);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* -------------------------------------------------------------
   GLASSMORPHISM STYLES & LAYOUT CARDS
   ------------------------------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(16, 185, 129, 0.05);
  transform: translateY(-5px);
}

.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.glass-button-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-darker);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.glass-button-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.35);
  color: var(--bg-darker);
}

/* -------------------------------------------------------------
   TYPOGRAPHY & UTILITIES
   ------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }

.section-padding {
  padding: 100px 24px;
  position: relative;
}

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

.badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--primary-light);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.stat-item h3 span {
  color: var(--primary);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-badge-card {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: rgba(7, 10, 19, 0.65);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: 16px 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.hero-badge-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero-badge-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

.hero-badge-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Abstract Premium Visual Element */
.abstract-gym-graphics {
  width: 100%;
  max-width: 400px;
  height: 400px;
  position: relative;
  background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-ring {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: rotate-ring 40s linear infinite;
}

.ring-1 { width: 360px; height: 360px; }
.ring-2 { width: 280px; height: 280px; animation-duration: 25s; animation-direction: reverse; }

.core-orb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-darker) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.05);
}

.core-orb svg {
  color: var(--primary);
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.core-orb span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-light);
}

@keyframes rotate-ring {
  100% { transform: rotate(360deg); }
}

/* -------------------------------------------------------------
   SERVICES SECTION (LEISTUNGEN)
   ------------------------------------------------------------- */
.section-header {
  max-width: 650px;
  margin: 0 auto 60px auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.services-grid .glass-card:nth-child(4),
.services-grid .glass-card:nth-child(5) {
  grid-column: span 1.5; /* Center alignment helpers if spans 2 */
}

/* Aligning 5 cards correctly: Row 1 has 3, Row 2 has 2 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.service-card {
  grid-column: span 2;
}

.service-card.wide {
  grid-column: span 3;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.glass-card:hover .service-icon {
  background: var(--primary);
  color: var(--bg-darker);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------
   BIOGRAPHY SECTION
   ------------------------------------------------------------- */
.bio-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.bio-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.bio-card {
  width: 100%;
  max-width: 440px;
  padding: 40px;
  border-radius: 24px;
  text-align: center;
}

.avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, var(--bg-dark) 100%);
  border: 2px solid rgba(16, 185, 129, 0.3);
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

.bio-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.bio-card p.title {
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.bio-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.bio-bullet svg {
  color: var(--primary);
  flex-shrink: 0;
}

.bio-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.bio-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* -------------------------------------------------------------
   INTERACTIVE WIDGET (TRAININGS-FOKUS FINDER)
   ------------------------------------------------------------- */
.widget-container {
  max-width: 720px;
  margin: 0 auto;
}

.widget-card {
  padding: 48px;
  border-radius: 24px;
}

.widget-step {
  display: none;
}

.widget-step.active {
  display: block;
  animation: slide-in 0.4s ease-out forwards;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.widget-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 580px) {
  .widget-options {
    grid-template-columns: 1fr;
  }
}

.option-button {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 18px;
  border-radius: 12px;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.option-button:hover {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.3);
}

.option-button.selected {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.option-button h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

.option-button p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.widget-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}

.result-box {
  background: rgba(16, 185, 129, 0.04);
  border: 1px dashed rgba(16, 185, 129, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-top: 20px;
}

.result-box h4 {
  color: var(--primary-light);
  margin-bottom: 8px;
}

.result-bullets {
  margin-top: 16px;
  list-style: none;
}

.result-bullets li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.result-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* -------------------------------------------------------------
   CONTACT FORM & CALL TO ACTION
   ------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

select.form-control {
  cursor: pointer;
}

.form-info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.25rem;
}

.info-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

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

.success-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
  animation: slide-in 0.4s ease-out;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px auto;
}

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

.faq-item {
  margin-bottom: 16px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  background: rgba(255, 255, 255, 0.01);
  border: none;
  padding: 20px 24px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--primary-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.002);
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Active FAQ states toggled via JS */
.faq-item.active {
  border-color: rgba(16, 185, 129, 0.3);
}

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

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

.faq-item.active .faq-answer {
  padding: 0 24px 20px 24px;
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 24px;
  background: rgba(3, 5, 10, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-text {
  color: var(--text-dark);
  font-size: 0.9rem;
  text-align: right;
}

.footer-text a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-text a:hover {
  color: var(--text-main);
}

.creator-credit {
  font-size: 0.8rem;
  opacity: 0.55;
  transition: opacity var(--transition-fast);
  margin-top: 24px;
}

.creator-credit:hover {
  opacity: 0.9;
}

.creator-credit a {
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* -------------------------------------------------------------
   SCROLL REVEAL STYLES (Intersection Observer)
   ------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-text p {
    margin: 0 auto 32px auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 20px;
  }
  
  .hero-badge-card {
    left: 10px;
    bottom: 10px;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .service-card {
    grid-column: span 2;
  }
  
  .service-card.wide {
    grid-column: span 2;
  }
  
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .bio-image-wrapper {
    order: 2;
  }
  
  .bio-text {
    order: 1;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 12px 16px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-links {
    display: none; /* Can be toggled for mobile menu */
  }
  
  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none !important;
  }

  .bg-wrapper {
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
  }

  .mobile-cta-item {
    display: block;
    width: 100%;
  }

  .mobile-cta-button {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--bg-darker) !important;
    padding: 12px 24px;
    border-radius: 99px;
    font-weight: 700;
    margin-top: 15px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
    min-height: auto;
    padding-bottom: 60px;
    padding-top: 100px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card, .service-card.wide {
    grid-column: span 1;
  }
  
  .section-padding {
    padding: 60px 16px;
  }
  
  .section-header h2 {
    font-size: 2.25rem;
  }
  
  .widget-card {
    padding: 24px;
  }

  .footer-container {
    justify-content: center;
    text-align: center;
  }

  .footer-text {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 580px) {
  .badge-wrapper {
    display: inline-flex;
    text-align: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 6px 12px;
  }

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

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    margin-top: 32px;
  }

  .stat-item h3 {
    font-size: 1.8rem;
  }

  .stat-item p {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-buttons .glass-button {
    width: 100%;
    text-align: center;
  }
}
