/* ==========================================================================
   Dala.ai — High Performance 3D WebGL Landing Page Styles
   ========================================================================== */

:root {
  --bg-color: #07070a;
  --bg-card: rgba(18, 18, 26, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(168, 85, 247, 0.35);

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-purple: #a855f7;
  --accent-purple-glow: rgba(168, 85, 247, 0.5);
  --accent-cyan: #00f0ff;
  --accent-amber: #fbbf24;
  --accent-pink: #ec4899;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-color);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Three.js Canvas Container */
#webgl-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  border-radius: 50%;
  opacity: 0.18;
}

.glow-top {
  top: -15vh;
  right: 10vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
}

.glow-bottom {
  bottom: -20vh;
  left: 5vw;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 7, 10, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.95rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.9;
}

.brand-logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.35));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  display: inline-flex;
  align-items: center;
}

.brand-dot {
  color: var(--accent-cyan);
  font-weight: 500;
}

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

.nav-item {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.25s ease;
}

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

/* Mobile Hamburger Button */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 120;
}

.mobile-toggle .bar {
  width: 22px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.mobile-toggle.open .bar-1 {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--accent-cyan);
}

.mobile-toggle.open .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.open .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--accent-cyan);
}

body.drawer-open {
  overflow: hidden;
  touch-action: none;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 95;
  background: rgba(7, 7, 10, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: calc(5rem + env(safe-area-inset-top, 0px)) 2rem calc(2rem + env(safe-area-inset-bottom, 0px));
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-inner {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.25rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.mobile-nav-item {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
}

.mobile-drawer-actions {
  width: 100%;
}

.mobile-cta-btn {
  width: 100%;
  padding: 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mobile-drawer-footer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.03em;
  text-decoration: none;
}

.btn-nav {
  padding: 0.6rem 1.35rem;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  box-shadow: 0 0 20px var(--accent-purple-glow);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.75);
}

.btn-primary {
  padding: 0.95rem 2.2rem;
  font-size: 0.88rem;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  box-shadow: 0 0 25px var(--accent-purple-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 38px rgba(168, 85, 247, 0.85);
}

.btn-large {
  padding: 1.15rem 2.8rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   Floating Shape HUD (Switcher)
   ========================================================================== */
.shape-hud {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: rgba(14, 14, 22, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hud-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding: 0 0.5rem;
}

.hud-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s ease;
}

.hud-btn .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-muted);
  transition: all 0.25s ease;
}

.hud-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.hud-btn.active {
  color: #fff;
  background: rgba(168, 85, 247, 0.22);
  border: 1px solid var(--border-highlight);
}

.hud-btn.active .dot {
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* ==========================================================================
   Story Container & Sections
   ========================================================================== */
.story-container {
  position: relative;
  z-index: 10;
  width: 100%;
}

.section {
  position: relative;
  min-height: 100vh;
  max-width: 1360px;
  margin: 0 auto;
  padding: 6rem 2.5rem;
  display: flex;
  align-items: center;
}

.content-wrapper {
  max-width: 580px;
}

.left-aligned {
  margin-right: auto;
}

.right-aligned {
  margin-left: auto;
}

/* ==========================================================================
   Section 1: Hero
   ========================================================================== */
.section-hero {
  min-height: 100vh;
  padding-top: 9rem;
}

.tag-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.tag-bar {
  width: 14px;
  height: 2.5px;
  background-color: var(--accent-amber);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(3.2rem, 6.5vw, 5.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.scroll-prompt {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.scroll-dot {
  animation: scrollPulse 1.8s infinite ease-in-out;
}

@keyframes scrollPulse {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(8px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Section 2, 4, 5: Feature Sections
   ========================================================================== */
.section-title {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.85rem;
}

.section-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
}

.section-description.highlight {
  color: #e2e8f0;
  font-weight: 500;
}

.glow-text {
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Section: Globe Content Layout */
#globe .content-wrapper {
  max-width: 480px;
  position: relative;
  z-index: 10;
}

#globe .section-title {
  text-shadow: 0 4px 24px rgba(7, 7, 10, 0.9);
}

#globe .section-description {
  text-shadow: 0 2px 12px rgba(7, 7, 10, 0.95), 0 0 24px rgba(7, 7, 10, 0.9);
}

/* ==========================================================================
   Section 3: Chaos Narrative
   ========================================================================== */
.section-chaos {
  min-height: 150vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chaos-cards-wrapper {
  max-width: 780px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8rem;
  margin: 0 auto;
}

.chaos-card {
  background: rgba(14, 14, 22, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.chaos-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.chaos-title {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.chaos-stat {
  font-size: 1.2rem;
  color: var(--accent-amber);
  font-weight: 600;
  line-height: 1.6;
}

.chaos-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Section 6: Team Section & Slider
   ========================================================================== */
.section-team {
  min-height: 100vh;
}

.team-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.team-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.team-copy {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.team-email {
  color: var(--accent-cyan);
  text-decoration: none;
}

.team-email:hover {
  text-decoration: underline;
}

.team-values {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.values-link {
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 600;
}

.values-link:hover {
  text-decoration: underline;
}

.team-carousel-wrapper {
  position: relative;
  width: 100%;
}

.team-slider {
  position: relative;
  min-height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-card {
  position: absolute;
  width: 320px;
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9) translateX(40px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.team-card.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateX(0);
  z-index: 5;
}

.member-photo-frame {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .member-photo {
  transform: scale(1.05);
}

.photo-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(14, 14, 22, 0.8), transparent);
}

.member-role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-purple);
  display: block;
  margin-bottom: 0.35rem;
}

.member-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.member-socials {
  display: flex;
  gap: 0.85rem;
}

.member-socials a {
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.member-socials a:hover {
  color: var(--accent-cyan);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--border-highlight);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.nav-arrow:hover {
  background: var(--accent-purple);
  box-shadow: 0 0 16px var(--accent-purple-glow);
  transform: scale(1.08);
}

/* ==========================================================================
   Section 7: Final CTA & Emblem
   ========================================================================== */
.section-cta {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: left;
}

.section-cta .content-wrapper {
  max-width: 620px;
  margin-right: auto;
  margin-left: 0;
}

.cta-title {
  font-size: clamp(2.3rem, 4.4vw, 3.9rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.section-cta .section-description {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
}

.cta-actions {
  display: flex;
  justify-content: flex-start;
}

.gradient-headline {
  background: linear-gradient(135deg, #00f0ff 0%, #a855f7 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-color);
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-socials a {
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

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

/* ==========================================================================
   Modal Dialog
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #0f1017;
  border: 1px solid var(--border-highlight);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.25);
  border-radius: 24px;
  padding: 2.75rem;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #fff;
}

.modal-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.modal-emblem-img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.4));
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.35);
}

.form-group select option {
  background: #0f1017;
  color: #fff;
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 1.5rem 0;
}

.modal-success.active {
  display: block;
}

.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 240, 255, 0.15);
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

.modal-success h4 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.modal-success p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .team-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .header-inner {
    padding: 0.75rem 1.25rem;
  }

  .brand-logo-img {
    height: 24px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  /* Section Layout & Readability Card on Mobile */
  .section {
    min-height: 100vh;
    padding: 6.5rem 1.15rem 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .content-wrapper,
  .section-cta .content-wrapper,
  #globe .content-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 1.75rem 1.25rem;
    background: rgba(8, 9, 14, 0.76);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    text-align: center;
  }

  .left-aligned,
  .right-aligned {
    margin-left: auto;
    margin-right: auto;
  }

  .tag-label {
    justify-content: center;
    font-size: 0.68rem;
    margin-bottom: 0.85rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 1.15rem;
  }

  .hero-description {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-cta,
  .cta-actions {
    display: flex;
    justify-content: center;
  }

  .section-title {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 1.15rem;
  }

  .cta-title {
    font-size: clamp(1.85rem, 6.8vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 1.15rem;
  }

  .section-description {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  /* Shape HUD on Mobile: Ergonomic Bottom Touch Strip */
  .shape-hud {
    bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
    padding: 0.35rem 0.5rem;
    max-width: calc(100vw - 1.5rem);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 9999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }

  .shape-hud::-webkit-scrollbar {
    display: none;
  }

  .hud-label {
    display: none;
  }

  .hud-btn {
    flex-shrink: 0;
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
    gap: 0.35rem;
  }

  /* Chaos Cards on Mobile */
  .section-chaos {
    min-height: auto;
    padding: 4rem 1.15rem;
  }

  .chaos-cards-wrapper {
    gap: 2.5rem;
  }

  .chaos-card {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
    text-align: center;
  }

  .chaos-title {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
  }

  .chaos-stat {
    font-size: 1.05rem;
  }

  /* Team Section on Mobile */
  .section-team {
    padding: 3.5rem 1rem calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  .team-container {
    gap: 1.5rem;
    text-align: center;
  }

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

  .team-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .team-copy {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 0.75rem;
  }

  .team-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .team-slider {
    min-height: 385px;
  }

  .team-card {
    width: min(260px, 74vw);
    padding: 1rem;
    border-radius: 16px;
  }

  .member-photo-frame {
    height: 205px;
    margin-bottom: 0.75rem;
  }

  .member-role {
    font-size: 0.62rem;
    margin-bottom: 0.25rem;
  }

  .member-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .carousel-nav {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 25;
    margin-top: 0;
    padding: 0 0.15rem;
  }

  .nav-arrow {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    background: rgba(14, 14, 24, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-highlight);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  }

  /* Modal on Mobile */
  .modal-card {
    width: 92%;
    max-width: 420px;
    padding: 2rem 1.25rem;
    max-height: 88vh;
    overflow-y: auto;
  }

  .modal-title {
    font-size: 1.45rem;
  }

  /* Footer on Mobile */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding: 2rem 1.25rem calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }

  .scroll-prompt {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .section-title,
  .cta-title {
    font-size: 1.65rem;
  }

  .team-card {
    width: min(250px, 72vw);
  }

  .member-photo-frame {
    height: 195px;
  }

  .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.8rem;
  }

  .btn-large {
    padding: 0.85rem 1.6rem;
    font-size: 0.85rem;
  }
}
