/* 1. Default Reset and Base Styles */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: flow-root;
  background: #0a1128;
}

html {
  background: #06152f;
  overscroll-behavior-y: none;
}

/* 2. Floating Header Section */

.nav-links a.active {
  color: #38bdf8;
  font-weight: bold;
}

.logo {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  color: #ffffff;
  letter-spacing: 1px;
}

.floating-header {
  width: 90%;
  max-width: 900px;
  margin: 20px auto;
  padding: 10px 24px;
  background-color: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(10px);              
  border-radius: 50px;                     
  border: 1px solid rgba(255, 255, 255, 0.1); 
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 25px rgba(27, 38, 59, 0.6);
}

.floating-header .logo {
  color: #ffffff;
  font-weight: bold;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.8;
}

.floating-header button,
.action-btn {
  background-color: #1d4ed8; 
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.85rem;
}

/* 3. Card Styles */

.card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 50px auto;
  height: 200px;
  width: 400px;
  text-align: center;
}

/* 4. Individual Card Elements (1. Info Card) */

.info-card {
  background-color: rgba(13, 27, 42, 0.85); 
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 50px auto;
  height: 200px;
  width: 400px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out both;
  color: white;

}

.info-card:nth-of-type(1) { animation-delay: 0.1s; }
.info-card:nth-of-type(2) { animation-delay: 0.3s; }
.info-card:nth-of-type(3) { animation-delay: 0.5s; }
.info-card:nth-of-type(4) { animation-delay: 0.7s; }
.info-card:nth-of-type(5) { animation-delay: 0.9s; }


.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.info-card p {
  font-size: 1rem;
  color: #e0e0e0;
  font-family: Comic Sans MS, Comic Sans, cursive;
  margin: 45px;
}

.info-card strong {
  color: #60a5fa;
}

.info-card h3 {
  margin-top: 50px;
  color: #60a5fa;
  font-family: Comic Sans MS, Comic Sans, cursive;
}

/* Individual Card Elements (2. Index Card) */

.index-card {
  background-color: rgba(13, 27, 42, 0.85); 
  border-radius: 12px;
  backdrop-filter: blur(8px);
  padding: 24px;
  margin: 50px auto;
  height: 500px;
  width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 15px 50px rgba(30, 58, 138, 0.4);
  animation: fadeInUp 0.8s ease-out forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
}

.index-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.index-card h1 {
  font-family: Comic Sans MS, cursive;
}

.subtitle {
  margin: 20px;
  font-size: 1.2rem;
  color: #93c5fd;
}

.description {
  font-size: 1.2rem;
  color: white;
  margin: 30px;
}

/* Individual Card Elements (3. Q&A Card) */

.qa-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.section-title {
  color: #ffffff;
  text-align: center;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out forwards;
}

.qa-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(6, 21, 47, 0.8) 100%);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 16px;
  margin-bottom: 20px;
  margin-left: 50px;
  overflow: visible;
  transition: all 0.3s ease;
  animation: fadeInUp 0.7s ease-out forwards;
  opacity: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.qa-card::before {
  content: attr(data-number);
  position: absolute;
  left: -42px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.85rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
  z-index: 10;
}

.qa-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #38bdf8 0%, #60a5fa 100%);
  border-radius: 16px 0 0 16px;
}

.qa-card:nth-child(1) { animation-delay: 0.1s; }
.qa-card:nth-child(2) { animation-delay: 0.3s; }
.qa-card:nth-child(3) { animation-delay: 0.5s; }
.qa-card:nth-child(4) { animation-delay: 0.7s; }
.qa-card:nth-child(5) { animation-delay: 0.9s; }

.qa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.4);
}

.qa-card[open] {
  background: linear-gradient(135deg, rgba(20, 35, 60, 0.95) 0%, rgba(8, 25, 50, 0.9) 100%);
}

.question {
  color: #60a5fa;
  font-weight: bold;
  font-size: 1.05rem;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.question::after {
  content: '+';
  position: absolute;
  right: 20px;
  color: #60a5fa;
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.qa-card[open] .question::after {
  content: '−';
  transform: rotate(180deg);
}

.answer {
  padding: 0 20px 20px 52px;
  color: #cbd5e1;
  line-height: 1.7;
  border-top: 1px solid rgba(96, 165, 250, 0.1);
  animation: fadeInUp 0.4s ease-out 0.1s forwards;
  opacity: 0;
  margin-top: 8px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Individual Card Elements (4. Developers Card) */

.devs-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.devs-title {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 30px;
}

.devs-grid {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.dev-card {
  background-color: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 20px;
  width: 320px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease-out forwards;
}

.dev-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.5);
}

.dev-avatar img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid #60a5fa;
  margin-bottom: 15px;
  object-fit: cover;
}

.dev-name {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.dev-role {
  display: inline-block;
  color: #38bdf8;
  font-weight: bold;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.dev-bio {
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Individual Card Elements (5. Expandable Q&A Card) */

input.card-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  margin: 0;
}

.expand-card {
  width: 450px;
  background: linear-gradient(135deg, rgba(30, 58, 137, 0.95) 0%, rgba(13, 27, 42, 0.95) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(96, 165, 250, 0.3);
  border-radius: 18px;
  margin: 40px auto;
  display: flex;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30, 58, 137, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.expand-card:hover {
  box-shadow: 0 12px 40px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
}

.expand-card.is-open {
  width: 900px;
}

.card-question-side {
  min-width: 450px;
  max-width: 450px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
}

.card-question-side::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #38bdf8 0%, #60a5fa 100%);
  border-radius: 18px 0 0 18px;
}

.question-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 12px;
  margin-bottom: 20px;
}

.question-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
  flex-shrink: 0;
}

.qa-question-text {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.15rem;
  line-height: 1.6;
  font-family: 'Comic Sans MS', cursive;
  margin: 0;
  flex: 1;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 24px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: #ffffff;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  user-select: none;
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
  position: relative;
  overflow: hidden;
}

.toggle-btn::before {
  content: '▶';
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.expand-card.is-open .toggle-btn::before {
  transform: rotate(90deg);
}

.toggle-btn:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.toggle-btn:active {
  transform: translateY(0);
}

.card-answer-side {
  min-width: 450px;
  max-width: 450px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 33, 62, 0.9) 100%);
  border-left: 2px solid rgba(96, 165, 250, 0.2);
  border-radius: 0 18px 18px 0;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease 0.1s;
}

.card-toggle:checked ~ .card-answer-side {
  opacity: 1;
  pointer-events: auto;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.answer-content {
  display: flex;
  gap: 15px;
  align-items: center;
  height: 100%;
}

.answer-text {
  color: #e5e7eb;
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.answer-img {
  width: 130px;
  min-width: 130px;
  height: 130px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(96, 165, 250, 0.4);
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.answer-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.3);
}

.img-placeholder {
  width: 120px;
  min-width: 120px;
  height: 120px;
  border-radius: 12px;
  border: 1px dashed #60a5fa;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: bold;
}

/* 5. Background Shapes Animation */

.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  top: -60px;
  opacity: 0.35;
  animation: fall 3s linear infinite;
}

.shape.square {
  width: 16px;
  height: 16px;
  background-color: #38bdf8;
}

.shape.circle {
  width: 14px;
  height: 14px;
  background-color: #c084fc;
  border-radius: 50%;
}

.shape.triangle {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid #60a5fa;
}

@keyframes fall {
  0% {
    top: -60px;
    transform: rotate(0deg);
  }
  100% {
    top: 105vh;
    transform: rotate(360deg);
  }
}

/* 6. Tagalog/English Pure CSS Translation Section */

.global-lang-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  pointer-events: none;
}

.global-lang-toggle:focus-visible + .lang-switch-container .lang-switch-btn {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.lang-switch-container {
  position: relative;
  z-index: 9999;
  margin: 20px auto;
  text-align: center;
  width: max-content;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  width: 70px;
  height: 34px;
  background-color: #0f172a;
  border: 1px solid #60a5fa;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  padding: 2px;
  box-sizing: border-box;
  user-select: none;
}

.lang-label {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: bold;
  color: #94a3b8;
  z-index: 2;
  transition: color 0.3s ease;
}

.lang-label.tl {
  color: #ffffff;
}

.lang-switch-btn::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 28px;
  background-color: #1d4ed8;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

/* Visibility Control */
.text-tl {
  display: inline;
}

.text-en {
  display: none;
}

/* Checkbox Switch Events */
.global-lang-toggle:checked ~ * .text-tl {
  display: none !important;
}

.global-lang-toggle:checked ~ * .text-en {
  display: inline !important;
}

.global-lang-toggle:checked ~ .lang-switch-container .lang-switch-btn::before {
  transform: translateX(34px);
}

.global-lang-toggle:checked ~ .lang-switch-container .lang-label.tl {
  color: #94a3b8;
}

.global-lang-toggle:checked ~ .lang-switch-container .lang-label.en {
  color: #ffffff;
}

/* Modern responsive glass theme */
:root {
  --ink: #edf5ff;
  --muted: #b8c9dc;
  --glass: rgba(10, 31, 63, 0.62);
  --glass-strong: rgba(18, 47, 87, 0.82);
  --line: rgba(190, 220, 255, 0.28);
  --teal: #75d3dc;
  --coral: #f5b46b;
  --shadow: 0 24px 70px rgba(2, 12, 30, 0.42);
}

/* Shared Glass Surface Styles */
* { font-family: 'DM Sans', 'Segoe UI', sans-serif; }
body {
  min-height: 100vh;
  color: var(--ink);
  background: radial-gradient(circle at 8% 18%, rgba(40, 112, 173, 0.42), transparent 27rem), radial-gradient(circle at 88% 12%, rgba(32, 125, 151, 0.36), transparent 30rem), linear-gradient(135deg, #06152f 0%, #0b2d58 52%, #102d4b 100%);
  overflow-x: hidden;
}
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: 0.16; background-image: linear-gradient(rgba(190, 220, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(190, 220, 255, 0.08) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, black, transparent 82%); }
/* Glass Surface Components */
.floating-header, .index-card, .info-card, .qa-card, .dev-card, .expand-card { background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.2); backdrop-filter: blur(22px) saturate(125%); -webkit-backdrop-filter: blur(22px) saturate(125%); }
/* Floating Header */
.floating-header { width: min(92% - 2rem, 1120px); margin: 24px auto; padding: 14px 18px 14px 24px; border-radius: 22px; gap: 24px; position: relative; z-index: 2; }
.logo { color: var(--ink); font-size: 1.08rem; letter-spacing: 0; }
.floating-header .logo { color: var(--ink); }
.logo-pixel { font-family: 'Press Start 2P', monospace; font-size: 0.72em; }
.logo-at { font-family: 'DM Sans', sans-serif; margin: 0 0.18em; }
.logo-panahon { font-family: 'Cinzel', Georgia, serif; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a { color: var(--muted); padding: 9px 13px; border-radius: 12px; font-size: 0.88rem; font-weight: 600; transition: color 0.2s ease, background 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: rgba(255, 255, 255, 0.52); }
.floating-header button, .action-btn, .toggle-btn { border: 0; border-radius: 12px; background: var(--ink); transition: transform 0.2s ease, background 0.2s ease; }
.action-btn { padding: 10px 16px; }
.action-btn:hover, .toggle-btn:hover { background: var(--teal); transform: translateY(-2px); }
/* Introduction Content */
.index-card { width: min(88%, 920px); min-height: 500px; margin: clamp(50px, 10vh, 120px) auto 70px; padding: clamp(32px, 7vw, 84px); border-radius: 32px; text-align: left; animation: modernFade 0.7s ease-out both; }
.index-card h1, .devs-title, .section-title { font-family: 'Space Grotesk', 'Segoe UI', sans-serif; letter-spacing: -0.04em; }
.index-card h1, .devs-title, .section-title { color: var(--ink); }
.index-card h1 { max-width: 650px; font-size: clamp(2.2rem, 6vw, 5rem); line-height: 0.98; }
.subtitle { margin: 24px 0 0; color: var(--teal); font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 700; }
.description { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.info-card { width: min(90% - 2rem, 920px); min-height: 0; height: auto; margin: 28px auto; padding: 24px; border-radius: 22px; color: var(--ink); text-align: left; transition: all 0.3s ease; animation: fadeInUp 0.7s ease-out forwards; opacity: 0; position: relative; border: 1px solid rgba(96, 165, 250, 0.15); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); }
.info-card::before { content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: linear-gradient(180deg, #38bdf8 0%, #60a5fa 100%); border-radius: 22px 0 0 22px; }
.info-card:nth-of-type(1) { animation-delay: 0.1s; }
.info-card:nth-of-type(2) { animation-delay: 0.3s; }
.info-card img { width: 100%; height: 140px; border-radius: 16px; object-fit: cover; background: rgba(14, 119, 112, 0.1); transition: transform 0.3s ease; margin-bottom: 8px; }
.info-card:hover img { transform: scale(1.02); }
.info-card h3 { margin-top: 12px; color: #38bdf8; font-family: 'Space Grotesk', 'Segoe UI', sans-serif; font-size: 1.2rem; font-weight: 700; }
.info-card p { margin: 12px 0 0; color: #cbd5e1; line-height: 1.6; }
.info-card strong { color: #60a5fa; font-weight: 700; }
.info-card:hover, .dev-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(56, 189, 248, 0.15); border-color: rgba(56, 189, 248, 0.3); }
.info-switcher { position: relative; width: min(90% - 2rem, 920px); margin: 32px auto 0; }
.info-view-toggle { position: absolute; opacity: 0; pointer-events: none; }
.info-view-switch { position: absolute; left: -130px; top: 0; display: flex; flex-direction: column; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: 18px; background: var(--glass-strong); box-shadow: var(--shadow); cursor: pointer; }
.view-option { padding: 12px 8px; border-radius: 12px; color: var(--muted); font-size: 0.72rem; font-weight: 800; line-height: 1.2; text-align: center; text-transform: uppercase; }
.cards-option { color: var(--ink); background: rgba(117, 211, 220, 0.2); }
.info-view-toggle:checked ~ .info-view-switch .cards-option { color: var(--muted); background: transparent; }
.info-view-toggle:checked ~ .info-view-switch .presentation-option { color: #061a39; background: var(--teal); }
.presentation-option { color: var(--muted); }
.info-views { min-width: 0; }
.presentation-view { display: none; }
.info-view-toggle:checked ~ .info-views .cards-view { display: none; }
.info-view-toggle:checked ~ .info-views .presentation-view { display: block; }
.presentation-deck { min-height: 500px; padding: clamp(34px, 7vw, 84px); border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(145deg, rgba(18, 47, 87, 0.9), rgba(6, 26, 57, 0.84)); box-shadow: var(--shadow); }
.presentation-slide { display: none; min-height: 430px; }
.presentation-slide.is-active { display: block; animation: modernFade 0.35s ease-out both; }
.slide-kicker { color: var(--coral); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.presentation-slide h2 { max-width: 700px; margin-top: 24px; color: var(--ink); font-family: 'Cinzel', Georgia, serif; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.05; }
.presentation-slide p { max-width: 700px; margin-top: 24px; color: var(--muted); font-size: 1.2rem; line-height: 1.7; }
.presentation-slide img { width: min(100%, 620px); height: 190px; margin-top: 34px; border-radius: 14px; object-fit: cover; opacity: 0.9; }
.slide-symbol { margin-top: 30px; color: var(--teal); font-family: Georgia, serif; font-size: 7rem; line-height: 0.8; }
.presentation-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.slide-btn { padding: 10px 14px; border: 1px solid rgba(117, 211, 220, 0.45); border-radius: 10px; background: #061a39; color: var(--ink); cursor: pointer; font: inherit; font-size: 0.78rem; font-weight: 800; }
.slide-btn:hover { background: var(--teal); color: #061a39; }
.slide-count { color: var(--muted); font-size: 0.78rem; font-weight: 800; }
.presentation-upload { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; color: var(--muted); font-size: 0.82rem; }
.presentation-upload label { color: var(--ink); font-weight: 800; }
.presentation-upload input { max-width: 100%; color: var(--muted); font: inherit; }
.presentation-upload input::file-selector-button { margin-right: 8px; padding: 8px 12px; border: 1px solid rgba(117, 211, 220, 0.45); border-radius: 10px; background: #061a39; color: var(--ink); cursor: pointer; font: inherit; font-size: 0.78rem; font-weight: 800; }
.presentation-upload input::file-selector-button:hover { background: var(--teal); color: #061a39; }
.presentation-file-preview { display: grid; gap: 16px; margin-bottom: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--glass); }
.presentation-file-preview[hidden] { display: none; }
.presentation-file-preview iframe { width: 100%; height: min(68vh, 680px); border: 0; border-radius: 14px; background: #ffffff; }
.presentation-file-preview a { width: max-content; text-decoration: none; }
body.presentation-mode .qa-section,
body.presentation-mode .expand-card {
  display: none;
}
/* Information and Q&A Sections */
.qa-section { width: min(90% - 2rem, 860px); margin: 76px auto 34px; }
.section-title { color: var(--ink); text-align: left; margin-bottom: 22px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.qa-card { margin-bottom: 16px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.2); backdrop-filter: blur(22px) saturate(125%); -webkit-backdrop-filter: blur(22px) saturate(125%); }
.question { color: var(--ink); font-size: 1rem; line-height: 1.5; padding: 20px 48px 20px 22px; }
.question::after { content: '+'; position: absolute; right: 22px; color: var(--coral); font-size: 1.35rem; }
.qa-card[open] .question::after { content: '-'; }
.answer { padding: 0 22px 22px; color: var(--muted); line-height: 1.7; }
.answer p { border-top: 1px solid rgba(23, 36, 43, 0.1); padding-top: 16px; }
/* Developer Profiles Section */
.devs-container { width: min(92% - 2rem, 1120px); margin: 72px auto; }
.devs-title { margin-bottom: 28px; font-size: clamp(2rem, 5vw, 3.4rem); }
.devs-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.dev-card { width: auto; min-height: 360px; height: 360px; padding: 28px 20px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.dev-card:nth-child(1), .dev-card:nth-child(2), .dev-card:nth-child(3) { grid-column: span 2; }
.dev-card:nth-child(4) { grid-column: 2 / span 2; }
.dev-card:nth-child(5) { grid-column: 4 / span 2; }
.dev-card { animation: modernFade 0.7s ease-out both; }
.dev-card:nth-child(1) { animation-delay: 0.1s; }
.dev-card:nth-child(2) { animation-delay: 0.25s; }
.dev-card:nth-child(3) { animation-delay: 0.4s; }
.dev-card:nth-child(4) { animation-delay: 0.55s; }
.dev-card:nth-child(5) { animation-delay: 0.7s; }
.dev-avatar img { width: 94px; height: 94px; border: 4px solid rgba(255, 255, 255, 0.7); outline: 2px solid var(--teal); }
.dev-name { color: var(--ink); font-family: 'Space Grotesk', 'Segoe UI', sans-serif; }
.dev-role { color: var(--teal); }
.dev-bio { color: var(--muted); flex: 1; }
.voice-btn { margin: 16px auto 0; padding: 8px 11px; border: 1px solid rgba(117, 211, 220, 0.45); border-radius: 10px; background: rgba(6, 26, 57, 0.72); color: var(--ink); cursor: pointer; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }
.voice-btn:hover, .voice-btn.is-playing { background: var(--teal); color: #061a39; }
.voice-btn span { display: inline-block; margin-right: 4px; }
/* Expandable Answer Card */
.expand-card { width: min(90% - 2rem, 920px); min-height: 240px; margin: 30px auto 80px; border-radius: 22px; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); animation: fadeInUp 0.7s ease-out forwards; opacity: 0; }
.expand-card:nth-of-type(1) { animation-delay: 0.2s; }
.expand-card:nth-of-type(2) { animation-delay: 0.35s; }
.expand-card.is-open { width: 900px; }
.card-question-side, .card-answer-side { flex: 1 1 50%; min-width: 0; padding: 28px; }
.qa-question-text { color: var(--ink); }
.toggle-btn { padding: 11px 16px; }
.card-answer-side { background: rgba(18, 47, 87, 0.38); border-left: 1px solid var(--line); }
.answer-text { color: var(--muted); }
.answer-img { border: 2px solid rgba(14, 119, 112, 0.35); }
/* Decorative Background Shapes */
.bg-shapes { z-index: 0; }
.floating-header,
.index-card,
.info-card,
.qa-section,
.expand-card,
.devs-container,
.info-switcher {
  position: relative;
  z-index: 1;
}
.shape { opacity: 0.25; animation-duration: 7s; }
.shape.square { background: var(--coral); }
.shape.circle { background: var(--teal); }
.shape.triangle { border-bottom-color: #d69a40; }
/* Language Switcher */
.lang-switch-container { position: fixed; right: 22px; bottom: 22px; }
.lang-switch-btn { background: var(--glass-strong); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(2, 12, 30, 0.32); }
.lang-switch-btn::before { background: var(--teal); border-radius: 10px; }

/* Keep actions readable and collapse the answer panel until requested. */
.floating-header .action-btn,
.expand-card .toggle-btn {
  background: #061a39;
  border: 1px solid rgba(117, 211, 220, 0.45);
  color: #f4f8ff;
}
.floating-header .action-btn:hover,
.expand-card .toggle-btn:hover {
  background: #0e7770;
  color: #ffffff;
}
.expand-card { width: min(90% - 2rem, 620px); }
.card-question-side, .card-answer-side { max-width: none; }
.card-question-side { flex: 0 0 100%; }
.card-answer-side { flex: 0 0 100%; max-height: 0; min-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; overflow: hidden; }
.expand-card.is-open { width: min(94% - 2rem, 1120px); }
.expand-card.is-open .card-question-side { flex-basis: 50%; }
.card-toggle:checked ~ .card-answer-side { flex-basis: 50%; max-height: 500px; min-height: 240px; padding-top: 28px; padding-bottom: 28px; opacity: 1 !important; }

@keyframes modernFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
  .floating-header { width: calc(100% - 24px); margin: 12px auto; padding: 14px; flex-wrap: wrap; border-radius: 18px; gap: 10px; }
  .logo { width: 100%; font-size: 1rem; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; margin-top: 24px; }
  .nav-links a { padding: 8px 7px; font-size: 0.74rem; }
  .action-btn { position: absolute; top: 13px; right: 14px; }
  .index-card { width: calc(100% - 24px); min-height: 430px; margin: 34px auto 50px; padding: 30px 24px; border-radius: 24px; }
  .description { font-size: 0.96rem; line-height: 1.65; }
  .qa-section, .devs-container { width: calc(100% - 24px); }
  .info-switcher { width: calc(100% - 24px); display: block; }
  .info-view-switch { position: static; flex-direction: row; margin-bottom: 18px; }
  .view-option { flex: 1; }
  .presentation-deck { min-height: 430px; padding: 28px 24px; }
  .presentation-slide { min-height: 320px; }
  .presentation-slide h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .presentation-slide p { font-size: 1rem; }
  .presentation-slide img { height: 130px; margin-top: 24px; }
  .devs-grid { grid-template-columns: 1fr; }
  .dev-card:nth-child(n) { grid-column: auto; }
  .expand-card, .expand-card.is-open { 
    width: calc(100% - 24px);
    display: flex;
  }
  .card-question-side { 
    min-width: 100%;
    max-width: 100%;
  }
  .card-answer-side { 
    border-left: 0; 
    border-top: 1px solid rgba(23, 36, 43, 0.1);
    min-width: 100%;
    max-width: 100%;
  }
  .answer-content { align-items: flex-start; }
  .answer-img { width: 88px; height: 88px; }
  .shape { opacity: 0; animation: mobileDrift 9s ease-in-out infinite; animation-duration: 9s !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

@keyframes mobileDrift {
  0% { top: -8vh; opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); }
  14% { opacity: 0.3; }
  52% { opacity: 0.2; transform: translate3d(18px, 0, 0) rotate(160deg); }
  82% { opacity: 0.24; transform: translate3d(-14px, 0, 0) rotate(290deg); }
  100% { top: 108vh; opacity: 0; transform: translate3d(24px, 0, 0) rotate(360deg); }
}