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

html {
  font-family: var(--md-sys-typescale-display-large-font);
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--bottom-nav-bar-height) + 24px);
  position: relative;
  overflow-x: hidden;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--md-sys-color-primary);
  text-decoration: none;
  transition: opacity var(--md-sys-motion-duration-short) ease;
}

a:hover {
  text-decoration: underline;
}

/* Material Symbols Utility */
.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
  user-select: none;
}

.material-symbols-rounded.filled {
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

/* Top App Bar */
.top-app-bar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--top-app-bar-height);
  background-color: var(--md-sys-color-surface);
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
  transition: background-color var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard),
              border-color var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard),
              box-shadow var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard);
}

.top-app-bar.scrolled {
  background-color: var(--md-sys-color-surface-container);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.top-app-bar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--md-sys-shape-corner-medium);
  background: linear-gradient(135deg, var(--md-sys-color-primary), var(--md-brand-primary));
  color: var(--md-sys-color-on-primary);
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 0 16px rgba(105, 206, 49, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--md-sys-color-on-surface);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--md-sys-color-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.top-app-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Language Selector Pill */
.lang-selector {
  display: inline-flex;
  align-items: center;
  background-color: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--md-sys-shape-corner-full);
  cursor: pointer;
  transition: all var(--md-sys-motion-duration-short) ease;
}

.lang-btn:hover {
  color: var(--md-sys-color-on-surface);
}

.lang-btn.active {
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Discord Status Pill Button */
.discord-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--md-sys-shape-corner-full);
  background-color: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-on-surface);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--md-sys-motion-duration-short) ease;
}

.discord-status-pill:hover {
  background-color: var(--md-sys-color-surface-container-highest);
  border-color: var(--md-sys-color-primary);
}

.discord-status-pill.authenticated {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  border-color: var(--md-sys-color-primary);
}

.discord-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #5865F2; /* Discord blurple */
  box-shadow: 0 0 6px #5865F2;
}

.discord-status-pill.authenticated .discord-indicator-dot {
  background-color: var(--md-sys-color-primary);
  box-shadow: 0 0 6px var(--md-sys-color-primary);
}

/* Desktop Navigation Bar in Top Bar */
.desktop-nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: 20px;
}

@media (min-width: 1024px) {
  .desktop-nav-links {
    display: flex;
  }
}

.desktop-nav-btn {
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: var(--md-sys-shape-corner-full);
  color: var(--md-sys-color-on-surface-variant);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--md-sys-motion-duration-short) ease;
}

.desktop-nav-btn:hover {
  background-color: var(--md-sys-state-hover-surface);
  color: var(--md-sys-color-on-surface);
}

.desktop-nav-btn.active {
  background-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}

/* Mobile Bottom Navigation Bar */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--bottom-nav-bar-height);
  background-color: var(--md-sys-color-surface-container);
  border-top: 1px solid var(--md-sys-color-outline-variant);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 4px;
  z-index: 110;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

@media (min-width: 900px) {
  .bottom-nav-bar {
    display: none;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--md-sys-color-on-surface-variant);
  cursor: pointer;
  width: 58px;
  gap: 4px;
  transition: color var(--md-sys-motion-duration-short) ease;
  position: relative;
}

.bottom-nav-item .nav-pill {
  width: 44px;
  height: 28px;
  border-radius: var(--md-sys-shape-corner-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--md-sys-motion-duration-short) ease, transform 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.bottom-nav-item .nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.bottom-nav-item.active {
  color: var(--md-sys-color-on-surface);
}

.bottom-nav-item.active .nav-pill {
  background-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  transform: scale(1.05);
}

.bottom-nav-item.active .material-symbols-rounded {
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

/* Floating Action Button (FAB) - Right Side */
.m3-fab {
  position: fixed;
  right: 16px;
  bottom: calc(var(--bottom-nav-bar-height) + 12px);
  z-index: 95;
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  border: 1px solid var(--md-sys-color-primary);
  border-radius: var(--md-sys-shape-corner-full);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(105, 206, 49, 0.25);
  cursor: pointer;
  transition: all var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-emphasized);
}

@media (min-width: 900px) {
  .m3-fab {
    bottom: 28px;
    right: 28px;
    font-size: 14px;
    padding: 14px 22px;
  }
}

.m3-fab:hover {
  transform: translateY(-3px) scale(1.02);
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(134, 220, 82, 0.45);
}

/* Thunderbolt Embed Iframe Cleanup (Ensures transparency and dark theme compliance) */
iframe[src*="thunderbolt"], iframe[title*="Thunderbolt"], iframe[title*="Widget appearance"] {
  background: transparent !important;
  color-scheme: dark !important;
}

/* SECTION: ÜBER CHELO / FOUNDER & LEAD ARCHITECT */
.founder-card-main {
  background: linear-gradient(145deg, var(--md-sys-color-surface-container) 0%, var(--md-sys-color-surface-container-high) 100%);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

@media (min-width: 900px) {
  .founder-card-main {
    padding: 44px 40px;
  }
}

.founder-hero-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .founder-hero-header {
    flex-direction: row;
    align-items: center;
  }
}

.founder-avatar-badge {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A3F971 0%, #69CE31 100%);
  color: #11140E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(105, 206, 49, 0.35);
  border: 4px solid var(--md-sys-color-surface-container-highest);
}

.founder-meta-titles h2 {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .founder-meta-titles h2 {
    font-size: 32px;
  }
}

.founder-meta-titles .founder-role {
  font-size: 15px;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  margin-bottom: 8px;
}

.founder-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tuner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #FFD700;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}

.alphabet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(105, 206, 49, 0.12);
  border: 1px solid rgba(105, 206, 49, 0.4);
  color: var(--md-sys-color-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}

.github-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.github-badge:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-primary);
  transform: translateY(-1px);
}

.location-journey-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}

.founder-dna-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.founder-pillar-card {
  background: var(--md-sys-color-surface-container-highest);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.founder-pillar-card:hover {
  transform: translateY(-2px);
  border-color: var(--md-sys-color-primary);
}

.founder-pillar-card .pillar-icon {
  font-size: 28px;
  color: var(--md-sys-color-primary);
  margin-bottom: 10px;
}

.founder-pillar-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 8px;
}

.founder-pillar-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--md-sys-color-on-surface-variant);
  margin: 0;
}

.tech-dna-container {
  margin-top: 32px;
  background: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 24px;
}

.tech-dna-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--md-sys-color-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-dna-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.tech-dna-item {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.tech-dna-item:hover {
  background: var(--md-sys-color-surface-container-high);
  border-color: var(--md-sys-color-primary);
  transform: translateY(-2px);
}

.tech-dna-emoji {
  font-size: 20px;
  flex-shrink: 0;
}

.tech-dna-label {
  font-size: 12px;
  font-weight: 700;
  color: #FFF;
  line-height: 1.2;
}

.tech-dna-sub {
  font-size: 10px;
  color: var(--md-sys-color-on-surface-variant);
}

/* Container & Sections */
.main-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .main-container {
    padding: 0 28px;
  }
}

.section-padding {
  padding: 48px 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 72px 0;
  }
}

/* Section Header Typography */
.section-header {
  margin-bottom: 32px;
  text-align: left;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--md-sys-shape-corner-full);
  background-color: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--md-sys-color-on-surface);
  line-height: 1.2;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 38px;
  }
}

.section-description {
  font-size: 16px;
  color: var(--md-sys-color-on-surface-variant);
  max-width: 760px;
  line-height: 1.5;
}

/* Hero Section */
.hero-section {
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 72px 0 84px;
  }
}

.hero-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(105, 206, 49, 0.15) 0%, rgba(17, 20, 14, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
  }
}

.hero-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--md-sys-color-on-surface);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 52px;
  }
}

.hero-title .highlight {
  color: var(--md-sys-color-primary);
  background: linear-gradient(135deg, #A3F971 0%, #69CE31 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.location-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.loc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--md-sys-shape-corner-full);
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  font-size: 12px;
  font-weight: 600;
  color: var(--md-sys-color-on-surface);
}

/* M3 Buttons */
.m3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--md-sys-shape-corner-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  min-height: 48px; /* M3 touch target requirement */
  transition: all var(--md-sys-motion-duration-short) ease;
  user-select: none;
  text-decoration: none;
}

.m3-btn-filled {
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  box-shadow: 0 4px 12px rgba(105, 206, 49, 0.3);
}

.m3-btn-filled:hover {
  background-color: #9BF867;
  box-shadow: 0 6px 18px rgba(105, 206, 49, 0.45);
  transform: translateY(-1px);
}

.m3-btn-tonal {
  background-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
}

.m3-btn-tonal:hover {
  background-color: #4C5C41;
}

.m3-btn-outlined {
  background-color: transparent;
  color: var(--md-sys-color-primary);
  border: 1px solid var(--md-sys-color-outline);
}

.m3-btn-outlined:hover {
  background-color: var(--md-sys-state-hover-primary);
  border-color: var(--md-sys-color-primary);
}

.m3-btn-discord {
  background-color: #5865F2;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
}

.m3-btn-discord:hover {
  background-color: #4752C4;
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.5);
}

/* Image Showcase Cards */
.img-card {
  position: relative;
  border-radius: var(--md-sys-shape-corner-large);
  overflow: hidden;
  height: 200px;
  margin-bottom: 16px;
  border: 1px solid var(--md-sys-color-outline-variant);
}

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--md-sys-motion-easing-emphasized);
}

.img-card:hover img {
  transform: scale(1.05);
}

.img-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 20, 14, 0.85) 100%);
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
}

/* Hero Terminal / Live Telemetry Card */
.telemetry-card {
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.telemetry-header {
  background-color: var(--md-sys-color-surface-container-high);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.telemetry-dots {
  display: flex;
  gap: 6px;
}

.telemetry-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.telemetry-dot.red { background-color: #FF5F56; }
.telemetry-dot.yellow { background-color: #FFBD2E; }
.telemetry-dot.green { background-color: #27C93F; }

.telemetry-title {
  font-size: 12px;
  font-family: monospace;
  color: var(--md-sys-color-on-surface-variant);
}

.telemetry-body {
  padding: 20px;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.6;
  color: #B2D8A4;
  background-color: #0C0F0A;
}

.telemetry-line {
  margin-bottom: 8px;
}

.telemetry-line .dim {
  color: #6C7565;
}

.telemetry-line .highlight {
  color: var(--md-sys-color-primary);
  font-weight: 700;
}

.telemetry-line .status-ok {
  color: #69CE31;
}

/* M3 Card Layouts */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.m3-card {
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard);
  position: relative;
  overflow: hidden;
}

.m3-card:hover {
  background-color: var(--md-sys-color-surface-container-high);
  border-color: rgba(134, 220, 82, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.m3-card.featured {
  background-color: var(--md-sys-color-surface-container-high);
  border: 2px solid var(--md-sys-color-primary);
  box-shadow: 0 0 24px rgba(105, 206, 49, 0.2);
}

.card-icon-container {
  width: 52px;
  height: 52px;
  border-radius: var(--md-sys-shape-corner-medium);
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 10px;
}

.card-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-specs-list {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-specs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--md-sys-color-on-surface);
}

.card-specs-item .material-symbols-rounded {
  color: var(--md-sys-color-primary);
  font-size: 18px;
}

.card-pricing {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.pricing-b2b-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--md-sys-color-primary);
  letter-spacing: 0.5px;
}

.pricing-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--md-sys-color-on-surface);
}

.pricing-unit {
  font-size: 12px;
  color: var(--md-sys-color-on-surface-variant);
  font-weight: 500;
}

/* Feature Spotlight & Tabs */
.tabs-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}

.tab-pill {
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-on-surface-variant);
  padding: 8px 18px;
  border-radius: var(--md-sys-shape-corner-full);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--md-sys-motion-duration-short) ease;
}

.tab-pill:hover {
  background-color: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
}

.tab-pill.active {
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  border-color: var(--md-sys-color-primary);
}

.tab-pill.active .material-symbols-rounded {
  font-variation-settings: 'FILL' 1;
}

/* Product Spotlight: CatchLockr Hero Box */
.product-showcase-box {
  background: linear-gradient(145deg, var(--md-sys-color-surface-container) 0%, var(--md-sys-color-surface-container-high) 100%);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 32px 20px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .product-showcase-box {
    padding: 48px 40px;
  }
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .product-showcase-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

/* Discord Auth Gate Callout */
.auth-gate-box {
  background-color: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.auth-gate-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.auth-gate-body {
  font-size: 13px;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.5;
}

/* Code Snippet Box with Copy Button */
.code-box {
  background-color: #0C0F0A;
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-medium);
  padding: 14px 18px;
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #A3F971;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  margin: 12px 0;
}

.code-copy-btn {
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  color: var(--md-sys-color-on-surface);
  border-radius: var(--md-sys-shape-corner-small);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.code-copy-btn:hover {
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}

/* B2B Calculator */
.b2b-calc-container {
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 28px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .b2b-calc-container {
    padding: 40px;
  }
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .calc-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.calc-control-group {
  margin-bottom: 24px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 10px;
}

.calc-range {
  width: 100%;
  accent-color: var(--md-sys-color-primary);
  height: 6px;
  border-radius: 3px;
  background-color: var(--md-sys-color-surface-container-highest);
  cursor: pointer;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.calc-option-chip {
  background-color: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-medium);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--md-sys-color-on-surface-variant);
  cursor: pointer;
  text-align: center;
  transition: all var(--md-sys-motion-duration-short) ease;
}

.calc-option-chip.selected {
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  border-color: var(--md-sys-color-primary);
}

.calc-summary-card {
  background-color: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--md-sys-color-on-surface-variant);
}

.calc-summary-row strong {
  color: var(--md-sys-color-on-surface);
}

.calc-total-box {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--md-sys-color-outline-variant);
}

.calc-total-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--md-sys-color-primary);
}

/* Comparison Table (chelo.party vs Traditional Portals) */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--md-sys-shape-corner-large);
  border: 1px solid var(--md-sys-color-outline-variant);
  background-color: var(--md-sys-color-surface-container);
  margin-top: 24px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.comparison-table th {
  background-color: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  font-weight: 700;
}

.comparison-table th.highlight-col {
  color: var(--md-sys-color-primary);
  background-color: rgba(105, 206, 49, 0.08);
}

.comparison-table td.highlight-col {
  background-color: rgba(105, 206, 49, 0.04);
  font-weight: 600;
  color: var(--md-sys-color-on-primary-container);
}

/* Careers & Ausbildung Cards */
.job-card {
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-standard);
  position: relative;
}

.job-card:hover {
  background-color: var(--md-sys-color-surface-container-high);
  border-color: var(--md-sys-color-primary);
  transform: translateY(-2px);
}

.job-card.apprenticeship {
  border: 2px solid var(--md-sys-color-primary);
  background: linear-gradient(145deg, var(--md-sys-color-surface-container) 0%, rgba(105, 206, 49, 0.06) 100%);
}

.job-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--md-sys-shape-corner-full);
  margin-bottom: 10px;
  align-self: flex-start;
  border: 1px solid var(--md-sys-color-outline-variant);
}

.job-location-badge.remote {
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.4);
}

.job-salary-tag {
  display: inline-block;
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--md-sys-shape-corner-full);
  margin-bottom: 12px;
  align-self: flex-start;
}

.job-type-meta {
  font-size: 12px;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Modals & Dialogs (M3 Extra Large 28px) */
.m3-dialog-scrim {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.m3-dialog-scrim.active {
  display: flex;
}

.m3-dialog-card {
  background-color: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-extra-large);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  animation: dialogPop 0.25s var(--md-sys-motion-easing-emphasized);
}

@keyframes dialogPop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dialog-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--md-sys-color-on-surface);
}

.dialog-close-btn {
  background: transparent;
  border: none;
  color: var(--md-sys-color-on-surface-variant);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-close-btn:hover {
  background-color: var(--md-sys-color-surface-container-highest);
  color: var(--md-sys-color-on-surface);
}

/* Input Fields */
.m3-text-field {
  margin-bottom: 18px;
}

.m3-text-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 6px;
}

.m3-text-field input,
.m3-text-field textarea,
.m3-text-field select {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--md-sys-color-surface-container-lowest);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-medium);
  color: var(--md-sys-color-on-surface);
  font-size: 14px;
  font-family: inherit;
  transition: border-color var(--md-sys-motion-duration-short) ease;
}

.m3-text-field input:focus,
.m3-text-field textarea:focus,
.m3-text-field select:focus {
  outline: none;
  border-color: var(--md-sys-color-primary);
  box-shadow: 0 0 0 2px rgba(105, 206, 49, 0.2);
}

/* Footer & Legal Sections */
.site-footer {
  background-color: var(--md-sys-color-surface-container-lowest);
  border-top: 1px solid var(--md-sys-color-outline-variant);
  padding: 60px 0 40px;
  margin-top: 80px;
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (min-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a, .footer-links button {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 13px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover, .footer-links button:hover {
  color: var(--md-sys-color-primary);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--md-sys-color-outline-variant);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  font-size: 12px;
  color: var(--md-sys-color-on-surface-variant);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Legal Content Viewer / Accordion */
.legal-container {
  background-color: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 32px;
  margin-top: 32px;
}

.legal-section-block {
  margin-bottom: 28px;
}

.legal-section-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--md-sys-color-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-section-block p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 12px;
}

.legal-section-block ul {
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 14px;
  line-height: 1.6;
}

/* Notification Snackbars */
.m3-snackbar {
  position: fixed;
  bottom: calc(var(--bottom-nav-bar-height) + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background-color: var(--md-sys-color-surface-container-highest);
  color: var(--md-sys-color-on-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--md-sys-shape-corner-medium);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 300;
  transition: transform var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-emphasized);
  pointer-events: none;
}

@media (min-width: 900px) {
  .m3-snackbar {
    bottom: 30px;
  }
}

.m3-snackbar.show {
  transform: translateX(-50%) translateY(0);
}

.m3-snackbar.success {
  border-left: 4px solid var(--md-sys-color-primary);
}

@media (min-width: 1200px) {
  #desktopQuoteBtn,
  #desktopQuestionBtn {
    display: inline-flex !important;
  }
}

/* Live Server Status Pill in Top App Bar */
.status-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--md-sys-shape-corner-full);
  background-color: rgba(105, 206, 49, 0.12);
  border: 1px solid rgba(105, 206, 49, 0.4);
  color: #A3F971;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--md-sys-motion-duration-short) ease;
}

.status-indicator-pill:hover {
  background-color: rgba(105, 206, 49, 0.22);
  border-color: var(--md-sys-color-primary);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.status-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--md-sys-color-primary);
  box-shadow: 0 0 0 rgba(105, 206, 49, 0.7);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(105, 206, 49, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(105, 206, 49, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(105, 206, 49, 0);
  }
}

/* NDA & Privacy Disclaimer Callout */
.nda-disclaimer-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-left: 4px solid var(--md-sys-color-primary);
  border-radius: var(--md-sys-shape-corner-large);
  padding: 22px 26px;
  margin-bottom: 36px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.nda-disclaimer-box .disclaimer-icon {
  color: var(--md-sys-color-primary);
  font-size: 32px;
  flex-shrink: 0;
  margin-top: 2px;
}

.nda-disclaimer-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.nda-disclaimer-box p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--md-sys-color-on-surface-variant);
  margin: 0;
}

/* Global Iframe Transparency Enforcer (eliminates white backgrounds around widgets) */
iframe {
  background: transparent !important;
  background-color: transparent !important;
  color-scheme: light dark !important;
}

/* Floating WhatsApp Direct Contact Button - Positioned directly above Thunderbolt AI launcher */
.wa-float-btn {
  position: fixed;
  right: 16px;
  bottom: 84px;
  z-index: 2147483640;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 10px 18px 10px 14px;
  border-radius: var(--md-sys-shape-corner-full, 9999px);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease, background 0.25s ease;
  user-select: none;
}

.wa-float-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.45);
  background: linear-gradient(135deg, #2ae06d 0%, #159b8c 100%);
  color: #FFFFFF !important;
}

.wa-float-btn:active {
  transform: translateY(0) scale(0.98);
}

.wa-float-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: #FFFFFF;
}

.wa-float-text {
  white-space: nowrap;
}

.wa-float-pulse {
  position: absolute;
  top: 50%;
  left: 21px;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: waPulse 2.4s infinite cubic-bezier(0.24, 0, 0.38, 1);
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 900px) {
  .wa-float-btn {
    bottom: calc(var(--bottom-nav-bar-height, 70px) + 76px);
    right: 14px;
    padding: 10px 14px 10px 12px;
    font-size: 12px;
    gap: 8px;
  }
  .wa-float-pulse {
    left: 18px;
  }
}

@media (max-width: 480px) {
  .wa-float-btn {
    bottom: calc(var(--bottom-nav-bar-height, 70px) + 72px);
    right: 12px;
    padding: 10px;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    justify-content: center;
  }
  .wa-float-text {
    display: none;
  }
  .wa-float-pulse {
    left: 50%;
  }
}

