/* ============================================================
   Copilot Delegate — Deep Sea Landing Page
   Theme: Bioluminescent Ocean Floor
   ============================================================ */

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

:root {
  --bg-deep: #0a0a2e;
  --bg-mid: #001122;
  --bg-abyss: #000810;
  --accent-cyan: #00e5ff;
  --accent-teal: #00bcd4;
  --accent-aqua: #64ffda;
  --accent-purple: #7c4dff;
  --accent-purple-light: #b388ff;
  --text-primary: #e0e0e0;
  --text-muted: #90a4ae;
  --card-bg: rgba(0, 20, 40, 0.6);
  --card-border: rgba(0, 229, 255, 0.15);
  --card-hover-border: rgba(0, 229, 255, 0.4);
  --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.3), 0 0 40px rgba(0, 229, 255, 0.1);
  --glow-aqua: 0 0 20px rgba(100, 255, 218, 0.3), 0 0 40px rgba(100, 255, 218, 0.1);
  --glow-purple: 0 0 20px rgba(124, 77, 255, 0.3), 0 0 40px rgba(124, 77, 255, 0.1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-abyss);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Animated Background Gradient --- */
.ocean-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background: linear-gradient(
    180deg,
    var(--bg-deep) 0%,
    var(--bg-mid) 40%,
    var(--bg-abyss) 100%
  );
  background-size: 100% 200%;
  animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}

/* --- Caustics Overlay --- */
.caustics {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  z-index: -2;
  opacity: 0.07;
  pointer-events: none;
  background:
    radial-gradient(ellipse 600px 200px at 20% 50%, var(--accent-cyan), transparent),
    radial-gradient(ellipse 400px 150px at 60% 30%, var(--accent-aqua), transparent),
    radial-gradient(ellipse 500px 180px at 80% 60%, var(--accent-teal), transparent);
  animation: causticsDrift 12s ease-in-out infinite;
}

@keyframes causticsDrift {
  0%, 100% { transform: translateX(0) scaleX(1); opacity: 0.07; }
  25% { transform: translateX(30px) scaleX(1.05); opacity: 0.09; }
  50% { transform: translateX(-20px) scaleX(0.95); opacity: 0.06; }
  75% { transform: translateX(15px) scaleX(1.02); opacity: 0.08; }
}

/* --- Particle Canvas --- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* --- Tentacle Decorations --- */
.tentacle-decor {
  position: fixed;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
}

.tentacle-left {
  bottom: 0;
  left: -40px;
  transform: scaleX(-1);
}

.tentacle-right {
  bottom: 0;
  right: -40px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-aqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* --- Nav --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(0, 8, 16, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  transition: padding 0.3s ease;
}

nav.scrolled {
  padding: 0.5rem 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-cyan);
  text-decoration: none;
}

.nav-brand img.octopus-icon {
  height: 1.5rem;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent-cyan);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 5rem;
}

.hero-content {
  position: relative;
}

.hero-octopus {
  width: auto;
  height: clamp(180px, 28vw, 320px);
  display: inline-block;
  animation: octopusFloat 4s ease-in-out infinite, octopusGlow 3s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.4));
  margin-bottom: 1.5rem;
}

@keyframes octopusFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-28px) rotate(-1.5deg); }
}

@keyframes octopusFloatCentered {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, calc(-50% - 22px)) rotate(-1.5deg); }
}

@keyframes octopusGlow {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.4)); }
  50% { filter: drop-shadow(0 0 60px rgba(0, 229, 255, 0.85)) drop-shadow(0 0 100px rgba(100, 255, 218, 0.45)); }
}

.hero-title {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 50%, var(--accent-aqua) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  color: #000810;
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.5), 0 0 60px rgba(0, 229, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-aqua);
  border: 1px solid var(--accent-aqua);
  box-shadow: var(--glow-aqua);
}

.btn-secondary:hover {
  background: rgba(100, 255, 218, 0.1);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Glass Cards --- */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.8rem;
  transition: all 0.4s ease;
}

.glass-card:hover {
  border-color: var(--card-hover-border);
  box-shadow: var(--glow-cyan);
  transform: translateY(-4px);
}

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

.about-text h3 {
  color: var(--accent-aqua);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.octopus-diagram {
  position: relative;
  width: 360px;
  height: 380px;
  margin: 0 auto;
}

.octopus-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 160px;
  filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.5));
  animation: octopusFloatCentered 4s ease-in-out infinite;
  z-index: 2;
}

.tentacle-label {
  position: absolute;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(0, 20, 40, 0.8);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  white-space: nowrap;
  animation: labelFloat 5s ease-in-out infinite;
}

.tentacle-label:nth-child(2) { top: 5%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.tentacle-label:nth-child(3) { top: 15%; right: 0; animation-delay: 0.5s; }
.tentacle-label:nth-child(4) { top: 45%; right: 0; animation-delay: 1s; }
.tentacle-label:nth-child(5) { bottom: 15%; right: 5%; animation-delay: 1.5s; }
.tentacle-label:nth-child(6) { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.tentacle-label:nth-child(7) { bottom: 15%; left: 5%; animation-delay: 2.5s; }
.tentacle-label:nth-child(8) { top: 45%; left: 0; animation-delay: 3s; }
.tentacle-label:nth-child(9) { top: 15%; left: 0; animation-delay: 3.5s; }

@keyframes labelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.tentacle-label:nth-child(2),
.tentacle-label:nth-child(6) {
  animation-name: labelFloatCenter;
}

@keyframes labelFloatCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

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

.feature-card img.feature-icon {
  width: auto;
  height: 2.5rem;
  margin-bottom: 0.8rem;
  display: inline-block;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.3));
}

.feature-card h3 {
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

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

/* --- How it works --- */
.flow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.flow-step {
  text-align: center;
  padding: 1.5rem;
  flex: 0 1 200px;
}

.flow-step img.step-icon {
  width: auto;
  height: 3rem;
  margin-bottom: 0.8rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.4));
}

.flow-step h3 {
  color: var(--accent-cyan);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

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

.flow-arrow {
  font-size: 2rem;
  color: var(--accent-purple);
  filter: drop-shadow(0 0 10px rgba(124, 77, 255, 0.4));
  flex: 0 0 auto;
}

/* --- Patterns Section --- */
.patterns-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pattern-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.pattern-number {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-purple);
  text-shadow: var(--glow-purple);
  min-width: 2.5rem;
  text-align: center;
}

.pattern-info h3 {
  color: var(--accent-aqua);
  margin-bottom: 0.3rem;
}

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

.pattern-code {
  background: rgba(0, 10, 20, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  white-space: nowrap;
  overflow-x: auto;
  max-width: 320px;
}

/* --- Sidebar Preview --- */
.sidebar-preview {
  max-width: 400px;
  margin: 0 auto;
}

.sidebar-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
  transition: background 0.3s ease;
}

.sidebar-section:last-child {
  border-bottom: none;
}

.sidebar-section:hover {
  background: rgba(0, 229, 255, 0.05);
}

img.sidebar-icon {
  width: auto;
  height: 1.8rem;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
}

.sidebar-info h3 {
  color: var(--accent-cyan);
  font-size: 1rem;
}

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

/* --- Fun Facts --- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.fact-card {
  animation: factFloat 6s ease-in-out infinite;
}

.fact-card:nth-child(2) { animation-delay: 1s; }
.fact-card:nth-child(3) { animation-delay: 2s; }
.fact-card:nth-child(4) { animation-delay: 3s; }
.fact-card:nth-child(5) { animation-delay: 4s; }
.fact-card:nth-child(6) { animation-delay: 5s; }

@keyframes factFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.fact-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.fact-card h3 {
  color: var(--accent-aqua);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.fact-card .fact-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.fact-card .fact-analogy {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-style: italic;
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  padding-top: 0.6rem;
}

/* --- Android Bridge Section --- */
#android-bridge {
  background: linear-gradient(180deg, rgba(0, 20, 40, 0.3) 0%, transparent 100%);
}

.bridge-architecture {
  margin-bottom: 2.5rem;
}

.bridge-flow-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.bridge-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 1.05rem;
}

.bridge-node {
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.15);
}

.bridge-arrow {
  color: var(--accent-purple);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  filter: drop-shadow(0 0 6px rgba(124, 77, 255, 0.4));
}

.bridge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.bridge-card h3 {
  color: var(--accent-aqua);
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.bridge-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.bridge-code {
  background: rgba(0, 10, 20, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-cyan);
  overflow-x: auto;
  margin: 0.8rem 0;
  line-height: 1.7;
}

.bridge-code code {
  font-family: inherit;
  color: inherit;
}

.bridge-note {
  color: var(--accent-purple-light);
  font-size: 0.82rem;
  font-style: italic;
  opacity: 0.85;
  margin-top: 0.5rem;
}

.bridge-download-btn {
  display: inline-flex;
  margin: 0.8rem 0;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
}

.bridge-features-list,
.bridge-steps {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 1.2rem;
  line-height: 2;
}

.bridge-features-list li::marker {
  color: var(--accent-cyan);
}

.bridge-steps li::marker {
  color: var(--accent-purple);
  font-weight: 700;
}

@media (max-width: 768px) {
  .bridge-flow {
    flex-direction: column;
    gap: 0.4rem;
  }

  .bridge-arrow {
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
  }

  .bridge-arrow .arrow-symbol {
    display: none;
  }

  .bridge-arrow::before {
    content: '↓';
    font-size: 1.2rem;
  }

  .bridge-arrow .arrow-label {
    font-size: 0.75rem;
    opacity: 0.7;
  }

  .bridge-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Tech Stack --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.2rem;
}

.tech-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.tech-card .tech-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.tech-card h3 {
  color: var(--accent-cyan);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.tech-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- Footer --- */
footer {
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--accent-teal);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.footer-author {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-fact {
  color: var(--accent-purple-light);
  font-size: 0.85rem;
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
  opacity: 0.8;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Focus visible --- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .pattern-card {
    grid-template-columns: auto 1fr;
  }
  .pattern-code {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(0, 8, 16, 0.95);
    backdrop-filter: blur(16px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--card-border);
  }

  nav .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  #about .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-visual {
    order: -1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .octopus-diagram {
    width: 300px;
    height: 320px;
  }

  .octopus-center {
    height: 130px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .flow-container {
    flex-direction: column;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .pattern-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pattern-number {
    font-size: 1.5rem;
  }

  .pattern-code {
    max-width: 100%;
    font-size: 0.72rem;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .tentacle-decor {
    display: none;
  }
}

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

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-octopus {
    width: auto;
    height: clamp(140px, 32vw, 200px);
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ocean-bg {
    animation: none;
    background-position: 0% 50%;
  }

  .caustics {
    animation: none;
  }

  #particles-canvas {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-octopus {
    animation: none;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
  }

  .octopus-center {
    animation: none;
    transform: translate(-50%, -50%);
  }

  .fact-card {
    animation: none;
  }

  .glass-card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* ============================== MODES SECTION ============================== */

.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.mode-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mode-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mode-icon {
  font-size: 2rem;
  line-height: 1;
}

.mode-header h3 {
  margin: 0;
  flex: 1;
}

.mode-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(100, 255, 218, 0.12);
  color: #64ffda;
  border: 1px solid rgba(100, 255, 218, 0.3);
  font-weight: 600;
}

.mode-badge-new {
  background: rgba(124, 77, 255, 0.15);
  color: #b39ddb;
  border-color: rgba(124, 77, 255, 0.4);
}

.mode-tagline {
  font-style: italic;
  color: rgba(224, 231, 255, 0.85);
  margin: 0;
}

.mode-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.mode-flow .flow-step {
  flex: 1;
  min-width: 90px;
  text-align: center;
}

.mode-flow .flow-step h4 {
  margin: 0.4rem 0 0.2rem;
  font-size: 0.95rem;
  color: #64ffda;
}

.mode-flow .flow-step p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(224, 231, 255, 0.7);
}

.mode-flow .flow-arrow {
  font-size: 1.2rem;
  color: rgba(100, 255, 218, 0.5);
  flex: 0 0 auto;
}

.mode-use {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(224, 231, 255, 0.85);
  font-size: 0.92rem;
}

.modes-anatomy {
  margin-top: 3rem;
  text-align: center;
}

.anatomy-title {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: rgba(224, 231, 255, 0.9);
}

.anatomy-image {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(124, 77, 255, 0.25), 0 0 80px rgba(0, 229, 255, 0.15);
}
