:root {
  --bg: #081b3a;
  --bg-soft: #102a52;
  --bg-soft-2: #193764;
  --text: #f5f8fb;
  --muted: #c8d5e9;
  --accent: #8acbd0;
  --accent-strong: #56b6c6;
  --accent-soft: #d6f1f4;
  --card-border: #8acbd0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  font-size: 20px;
  background: radial-gradient(circle at 10% 10%, #0f315f 0%, #081b3a 42%, #06132a 100%);
  background-size: 170% 170%;
  animation: bodyGradientShift 20s ease-in-out infinite;
  color: var(--text);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.32s ease, transform 0.42s ease;
  position: relative;
  overflow-x: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}
body::before {
  background:
    linear-gradient(rgba(138, 203, 208, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 203, 208, 0.05) 1px, transparent 1px);
  background-size: 42px 42px, 42px 42px;
  mask-image: radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.75), transparent 78%);
  opacity: 0.38;
}
body::after {
  z-index: -1;
  background:
    radial-gradient(circle at 12% 18%, rgba(138, 203, 208, 0.12) 0%, transparent 34%),
    radial-gradient(circle at 86% 78%, rgba(86, 182, 198, 0.1) 0%, transparent 30%);
}
body.page-ready { opacity: 1; transform: translateY(0); }
body.page-leaving { opacity: 0; transform: translateY(16px) scale(0.995); }

.container { width: min(1160px, 92%); margin: 0 auto; }
.section { padding: 3rem 0; }
a { color: var(--accent); }

.site-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: linear-gradient(120deg, rgba(8, 27, 58, 0.68), rgba(9, 33, 70, 0.78));
  border-bottom: 1px solid rgba(138, 203, 208, 0.25);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.hero {
  background: radial-gradient(circle at 20% 10%, #18406f 0%, #122f5b 36%, #0c2345 68%, #081b3a 100%);
  border-bottom: 1px solid rgba(138, 203, 208, 0.45);
  padding-bottom: 2.1rem;
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; }
.nav h1 { margin: 0; color: var(--accent-soft); font-size: 1.45rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  text-decoration: none;
}
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(138, 203, 208, 0.3));
}
.menu-toggle { display: none; background: transparent; color: var(--accent); border: 1px solid var(--card-border); border-radius: 10px; padding: 0.5rem 0.8rem; }
.nav-links { display: flex; align-items: center; gap: 0.9rem; }
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.24s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: linear-gradient(90deg, rgba(138, 203, 208, 0), var(--accent), rgba(138, 203, 208, 0));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--accent-soft); text-shadow: 0 0 12px rgba(138, 203, 208, 0.45); }
.nav-links a.nav-contact {
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 203, 208, 0.55);
  background: rgba(138, 203, 208, 0.08);
  box-shadow: 0 0 0 rgba(138, 203, 208, 0.3);
}
.nav-links a.nav-contact:hover {
  box-shadow: 0 0 18px rgba(138, 203, 208, 0.35), 0 10px 24px rgba(2, 26, 84, 0.42);
}

.btn {
  text-decoration: none;
  background: linear-gradient(90deg, #5dbcc8 0%, #8acbd0 100%);
  color: #021a54;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.03rem;
  border: 1px solid transparent;
  box-shadow: 0 8px 20px rgba(138, 203, 208, 0.32);
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "→";
  margin-left: 0.35rem;
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.2s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 14px 32px rgba(138, 203, 208, 0.5); filter: saturate(1.08); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn.ghost { background: rgba(138, 203, 208, 0.12); color: var(--text); border-color: var(--card-border); box-shadow: none; }
.btn.outline { background: transparent; color: var(--accent); border-color: var(--accent); box-shadow: none; }
.btn.primary { background: linear-gradient(90deg, var(--accent-strong) 0%, var(--accent) 100%); }
.btn.block { display: block; width: 100%; text-align: center; margin-top: 0.5rem; }
.btn.block::after { content: "↗"; }

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}

.hero::before {
  width: 340px;
  height: 340px;
  background: rgba(138, 203, 208, 0.35);
  top: -120px;
  left: -90px;
  animation: heroOrbDriftA 10.5s ease-in-out infinite;
}

.hero::after {
  width: 280px;
  height: 280px;
  background: rgba(86, 182, 198, 0.28);
  bottom: -120px;
  right: -80px;
  animation: heroOrbDriftB 12.5s ease-in-out infinite;
}
.hero-grid,
.hero-spotlight,
.hero-network {
  position: absolute;
  pointer-events: none;
  inset: 0;
}
.hero-grid {
  background:
    linear-gradient(rgba(138, 203, 208, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 203, 208, 0.08) 1px, transparent 1px);
  background-size: 38px 38px, 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 85%);
  opacity: 0.22;
  transform: perspective(600px) rotateX(56deg) translateY(130px);
  transform-origin: center;
}
.hero-spotlight {
  background: radial-gradient(circle at 50% 28%, rgba(138, 203, 208, 0.22), transparent 48%);
  filter: blur(14px);
  animation: heroSpotPulse 7s ease-in-out infinite;
}
.hero-network {
  z-index: 0;
  opacity: 0.62;
  mix-blend-mode: screen;
}
.hero-content h2 {
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(138, 203, 208, 0.22);
}
.hero-subtitle {
  text-shadow: 0 4px 22px rgba(2, 26, 84, 0.4);
}
.hero-content > * { position: relative; z-index: 2; }

.hero-content { text-align: center; padding: 2rem 0 0.6rem; position: relative; z-index: 1; }
.hero-content {
  margin-top: auto;
  margin-bottom: auto;
}
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.88rem; margin: 0 0 0.4rem; }
.hero-content h2 {
  margin: 0.45rem auto 0.75rem;
  font-size: clamp(2.25rem, 4.9vw, 3.75rem);
  max-width: 900px;
  text-wrap: balance;
}
.hero-fullscreen { min-height: 100vh; }
.hero-fullscreen .hero-content {
  margin-top: auto;
  margin-bottom: auto;
  padding: 2.2rem 0 0.4rem;
}
.hero-subtitle { max-width: 840px; margin: 0 auto; color: var(--muted); font-size: 1.28rem; }
.hero-actions { margin-top: 1.1rem; display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

.section-heading { text-align: center; color: var(--accent); font-size: clamp(2rem, 3.5vw, 3rem); margin: 0 0 1.2rem; }
.section-heading.left { text-align: left; }
.section-subtitle { text-align: center; color: var(--muted); margin-top: -0.5rem; margin-bottom: 1.2rem; }

.glass {
  background: linear-gradient(180deg, rgba(138, 203, 208, 0.08) 0%, rgba(16, 42, 82, 0.94) 100%);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(2, 26, 84, 0.28);
}

.overview-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0.8rem; align-items: stretch; }
.stats-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.mini-stat {
  padding: 1.35rem 1rem;
  min-height: 155px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mini-stat strong { display: block; font-size: 2.05rem; color: var(--accent); }
.mini-stat span { color: var(--muted); font-size: 1.15rem; }
.mini-stat, .demo-video-panel, .solution-card, .info-card, .team-card, .resource-card, .security-card, .gamification-card, .category-card, .flow-step, .tech-chip, .content-panel, .info-banner, .architecture-diagram-wrap { background: linear-gradient(180deg, rgba(138, 203, 208, 0.08) 0%, rgba(16, 42, 82, 0.94) 100%); border: 1px solid var(--card-border); border-radius: 16px; box-shadow: 0 10px 24px rgba(2, 26, 84, 0.28); }
.mini-stat, .demo-video-panel, .solution-card, .info-card, .team-card, .resource-card, .security-card, .gamification-card, .category-card, .flow-step, .tech-chip, .content-panel, .info-banner, .architecture-diagram-wrap {
  backdrop-filter: blur(9px);
  border-color: rgba(138, 203, 208, 0.48);
  box-shadow: 0 14px 34px rgba(2, 26, 84, 0.38), inset 0 1px 0 rgba(214, 241, 244, 0.08);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, filter 0.26s ease;
  position: relative;
}
.mini-stat::before, .demo-video-panel::before, .solution-card::before, .info-card::before, .team-card::before, .resource-card::before, .security-card::before, .gamification-card::before, .category-card::before, .flow-step::before, .tech-chip::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(138, 203, 208, 0.2), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.mini-stat:hover::before, .demo-video-panel:hover::before, .solution-card:hover::before, .info-card:hover::before, .team-card:hover::before, .resource-card:hover::before, .security-card:hover::before, .gamification-card:hover::before, .category-card:hover::before, .flow-step:hover::before, .tech-chip:hover::before { opacity: 1; }

.demo-video-panel {
  padding: 1rem;
  box-shadow: 0 20px 42px rgba(2, 26, 84, 0.5), 0 0 30px rgba(138, 203, 208, 0.15);
}
.demo-video-panel h4 { margin: 0 0 0.4rem; color: var(--accent-soft); font-size: 1.25rem; }
.demo-video-panel p { margin: 0 0 0.7rem; color: var(--muted); }
.video-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--bg-soft-2);
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.42), 0 0 26px rgba(138, 203, 208, 0.17);
}
.video-frame iframe {
  transform: scale(1.01);
  transition: transform 0.55s ease, filter 0.55s ease;
  filter: saturate(1.05) contrast(1.04);
}
.demo-video-panel:hover .video-frame iframe {
  transform: scale(1.03);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; }

.content-panel, .info-banner { padding: 1.2rem; max-width: 940px; margin: 0 auto; color: var(--muted); }
.solution-grid, .info-grid, .team-grid, .resources-grid, .security-grid, .gamification-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.solution-card, .info-card, .team-card, .resource-card, .security-card, .gamification-card, .category-card { padding: 1.05rem; }
.solution-card:hover, .info-card:hover, .team-card:hover, .resource-card:hover, .security-card:hover, .gamification-card:hover, .category-card:hover, .flow-step:hover, .mini-stat:hover, .tech-chip:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 20px 36px rgba(2, 26, 84, 0.52), 0 0 0 1px rgba(138, 203, 208, 0.5), 0 0 20px rgba(138, 203, 208, 0.2);
}
.solution-card h4, .info-card h4, .team-card h4, .resource-card h4, .security-card h4, .gamification-card h4, .category-card h4 { margin: 0 0 0.45rem; color: var(--accent-soft); }
.solution-card h4, .info-card h4, .team-card h4, .resource-card h4, .security-card h4, .gamification-card h4, .category-card h4 { font-size: 1.35rem; }
.solution-card p, .info-card p, .team-card p, .resource-card p, .security-card p, .gamification-card p, .category-card p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.resource-card p { min-height: 58px; margin-bottom: 0.7rem; }
.problem-grid .problem-card {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(138, 203, 208, 0.55);
  background: rgba(138, 203, 208, 0.08);
  box-shadow: 0 0 0 0 rgba(138, 203, 208, 0.32);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}
.problem-icon svg {
  width: 25px;
  height: 25px;
  stroke: var(--accent-soft);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.problem-card:hover .problem-icon {
  transform: translateY(-2px) scale(1.04);
  background: rgba(138, 203, 208, 0.16);
  box-shadow: 0 0 16px rgba(138, 203, 208, 0.35);
}

#conclusion .info-grid {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-carousel { max-width: 1040px; margin: 0 auto; }
.preview-track { display: grid; }
.preview-slide { display: none; padding: 1rem; border: 1px solid var(--card-border); border-radius: 16px; background: linear-gradient(180deg, rgba(138, 203, 208, 0.08) 0%, rgba(16, 42, 82, 0.94) 100%); box-shadow: 0 22px 38px rgba(0, 0, 0, 0.35); }
.preview-slide.active { display: block; animation: cinematicSlideIn 0.62s cubic-bezier(0.16, 0.84, 0.24, 1); }
.preview-slide h4 { margin: 0 0 0.7rem; color: var(--accent-soft); }
.preview-slide .mockup-screen-wrap {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(138, 203, 208, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}
.preview-slide .mockup-screen {
  border-radius: 12px;
  border: 1px solid var(--card-border);
  height: 260px;
  margin-bottom: 0.2rem;
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.preview-slide .mockup-screen:hover { transform: scale(1.02); box-shadow: 0 20px 30px rgba(2, 26, 84, 0.45), 0 0 26px rgba(138, 203, 208, 0.24); }
.preview-slide .mockup-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.06));
  opacity: 0;
  transition: opacity 0.32s ease;
}
.preview-slide .mockup-screen:hover::after { opacity: 1; }
.browser-chrome {
  height: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.browser-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(214, 241, 244, 0.4);
}
.mock-dashboard { background-image: linear-gradient(120deg, rgba(86,182,198,0.3), rgba(8,27,58,0.9)); }
.mock-challenge { background-image: linear-gradient(120deg, rgba(138,203,208,0.4), rgba(8,27,58,0.95)); }
.mock-ai { background-image: linear-gradient(120deg, rgba(32,113,156,0.45), rgba(8,27,58,0.92)); }
.mock-progress { background-image: linear-gradient(120deg, rgba(86,182,198,0.35), rgba(8,27,58,0.9)); }
.preview-controls { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.7rem; }
.preview-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--accent); background: transparent; }
.preview-dot.active { background: var(--accent); box-shadow: 0 0 14px rgba(138, 203, 208, 0.8); }

.workflow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; position: relative; }
.flow-step { padding: 0.9rem; text-align: center; position: relative; }
.flow-step span { width: 32px; height: 32px; display: grid; place-items: center; margin: 0 auto 0.45rem; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-weight: 700; }
.flow-step h4 { margin: 0 0 0.35rem; color: var(--accent-soft); font-size: 1rem; }
.flow-step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.categories-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.category-card { min-height: 130px; }

.split-impact { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 1rem; align-items: center; }
.impact-list { margin: 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: 0.45rem; }
.impact-visual { display: grid; place-items: center; gap: 0.6rem; }
.impact-tile { padding: 0.7rem 1rem; border: 1px solid var(--card-border); border-radius: 12px; background: rgba(138, 203, 208, 0.08); color: var(--accent-soft); font-weight: 700; }
.impact-arrow { color: var(--accent); font-size: 1.4rem; }

.architecture-diagram-wrap { padding: 1rem; cursor: zoom-in; transition: box-shadow 0.2s ease; }
.architecture-diagram-wrap:hover { box-shadow: 0 0 0 1px var(--accent), 0 18px 30px rgba(2,26,84,0.45); }
.architecture-diagram { display: block; width: 100%; height: auto; border-radius: 12px; }
.architecture-diagram-wrap figcaption { color: var(--muted); margin-top: 0.45rem; font-size: 0.9rem; text-align: center; }

.progress-bar { height: 10px; border-radius: 999px; background: rgba(138, 203, 208, 0.18); overflow: hidden; margin: 0.35rem 0 0.7rem; }
.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  box-shadow: 0 0 14px rgba(138, 203, 208, 0.45);
  transition: width 1s cubic-bezier(0.17, 0.84, 0.44, 1);
}
.badge-row { display: flex; gap: 0.35rem; flex-wrap: wrap; margin: 0.35rem 0 0.65rem; }
.badge-row span {
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  color: var(--accent-soft);
  font-size: 0.86rem;
  position: relative;
  overflow: hidden;
}
.badge-row span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(214, 241, 244, 0.32) 50%, transparent 80%);
  transform: translateX(-130%);
  animation: badgeShine 3.2s ease-in-out infinite;
}
.confetti-preview {
  display: flex;
  gap: 0.5rem;
  min-height: 22px;
  margin: 0.35rem 0 0.55rem;
}
.confetti-preview i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  display: block;
  background: var(--accent);
  animation: confettiFloat 1.3s ease-in-out infinite;
  opacity: 0.85;
}
.confetti-preview i:nth-child(2n) { animation-delay: 0.2s; background: #68d6de; }
.confetti-preview i:nth-child(3n) { animation-delay: 0.38s; background: #9ce8ee; }

.tech-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; max-width: 920px; margin: 0 auto; }
.tech-chip { padding: 0.8rem 1rem; text-align: center; font-weight: 700; color: var(--accent-soft); }
.tech-chip {
  display: grid;
  place-items: center;
  gap: 0.34rem;
  min-height: 90px;
  animation: chipFloat 5.2s ease-in-out infinite;
}
.tech-chip::after {
  content: attr(data-icon);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  border: 1px solid rgba(138, 203, 208, 0.4);
  background: radial-gradient(circle at 30% 25%, rgba(214, 241, 244, 0.18), rgba(16, 42, 82, 0.7));
  box-shadow: 0 0 18px rgba(138, 203, 208, 0.2);
}
.tech-chip:nth-child(2n) { animation-delay: 0.45s; }

.avatar { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; margin: 0 auto 0.8rem; font-weight: 700; color: var(--accent-soft); }

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

.team-links {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.team-links a {
  text-decoration: none;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  color: var(--accent-soft);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.team-links a:hover {
  background: rgba(138, 203, 208, 0.14);
  color: var(--text);
}

.team-link-btn {
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  color: var(--accent-soft);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: transparent;
}

.team-link-btn:hover {
  background: rgba(138, 203, 208, 0.14);
  color: var(--text);
}

.supervisor-appreciation {
  margin-top: 2.25rem;
  text-align: center;
}

.supervisor-appreciation-title {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  color: var(--accent-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.supervisor-appreciation p {
  margin: 0;
  line-height: 1.65;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.supervisor-appreciation strong {
  color: var(--text);
}

.cv-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cv-modal.open {
  display: flex;
}

.cv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 5, 20, 0.88);
  cursor: pointer;
}

.cv-modal-panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(16, 42, 82, 0.98) 0%, rgba(8, 27, 58, 0.99) 100%);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.cv-modal-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(138, 203, 208, 0.35);
}

.cv-modal-title {
  margin: 0;
  font-size: 1.1rem;
  color: var(--accent-soft);
}

.cv-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cv-modal-download {
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
}

.cv-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: #0d2852;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.cv-modal-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 1rem 1rem;
}

.cv-modal-frame {
  flex: 1;
  min-height: 55vh;
  width: 100%;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: #0a1628;
}

.cv-modal-hint {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  border-top: 1px solid rgba(138, 203, 208, 0.4);
  padding-top: 1.2rem;
  margin-top: 1rem;
  background:
    linear-gradient(rgba(138, 203, 208, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 203, 208, 0.04) 1px, transparent 1px),
    #071730;
  background-size: 28px 28px, 28px 28px, auto;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(138, 203, 208, 0.8), transparent);
  box-shadow: 0 0 24px rgba(138, 203, 208, 0.35);
}
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(138, 203, 208, 0.28));
}
.footer-grid h4 { margin: 0 0 0.45rem; color: var(--accent-soft); }
.footer-grid p, .footer-grid a { margin: 0; display: block; color: var(--muted); text-decoration: none; margin-bottom: 0.35rem; }
.footer-grid a {
  position: relative;
  width: fit-content;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-grid a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.footer-grid a:hover { color: var(--accent-soft); transform: translateX(2px); }
.footer-grid a:hover::after { transform: scaleX(1); }
.footer-bottom { border-top: 1px solid rgba(138, 203, 208, 0.24); margin-top: 0.8rem; padding: 0.8rem 0; color: var(--muted); font-size: 0.9rem; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 5, 20, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 40;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 95vw); max-height: 88vh; border-radius: 12px; border: 1px solid var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 18px; right: 20px; border: 1px solid var(--accent); background: #0d2852; color: var(--text); font-size: 1.6rem; width: 44px; height: 44px; border-radius: 50%; }

.contact-form {
  max-width: 820px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}
.contact-form label {
  color: var(--accent-soft);
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(8, 27, 58, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text);
  padding: 0.7rem 0.75rem;
  font: inherit;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: rgba(8, 27, 58, 0.9);
  color: var(--accent);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 50;
}
.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.stagger { transition-delay: calc(var(--stagger-index, 0) * 80ms); }
.heading-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.heading-reveal.in { opacity: 1; transform: translateY(0); }

.floating-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.floating-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(138, 203, 208, 0.5);
  box-shadow: 0 0 10px rgba(138, 203, 208, 0.35);
  animation: floatParticle linear infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bodyGradientShift {
  0% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}
@keyframes floatParticle {
  from { transform: translateY(110vh) scale(0.8); opacity: 0; }
  12% { opacity: 0.7; }
  to { transform: translateY(-15vh) scale(1.2); opacity: 0; }
}
@keyframes badgeShine {
  0%, 72% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}
@keyframes confettiFloat {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(18deg); }
  100% { transform: translateY(0) rotate(-4deg); }
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes heroSpotPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(1.04); }
}
@keyframes heroOrbDriftA {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(22px, -16px, 0); }
}
@keyframes heroOrbDriftB {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-18px, 14px, 0); }
}
@keyframes cinematicSlideIn {
  0% { opacity: 0; transform: translateY(18px) scale(0.985); filter: blur(1.3px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@media (max-width: 1080px) {
  .workflow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .overview-layout, .split-impact { grid-template-columns: 1fr; }
  .info-grid, .team-grid, .resources-grid, .security-grid, .gamification-grid, .tech-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .menu-toggle { display: inline-block; }
  .nav {
    position: relative;
    align-items: flex-start;
    flex-wrap: wrap;
    row-gap: 0.45rem;
  }
  .nav-links {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.6rem;
    padding-bottom: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.22s ease;
  }
  .brand-logo { width: 46px; height: 46px; }
  .nav h1 { font-size: 1.25rem; }
  .nav-links.open {
    max-height: min(78vh, 620px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    opacity: 1;
  }
  .hero-content h2 { font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .hero { min-height: 48vh; }
  .hero-fullscreen { min-height: 92vh; }
  .stats-row, .info-grid, .team-grid, .resources-grid, .security-grid, .gamification-grid, .categories-grid, .tech-grid, .workflow, .footer-grid { grid-template-columns: 1fr; }
  #conclusion .info-grid { grid-template-columns: 1fr; }
  .mini-stat { min-height: 130px; }
  .resource-card p { min-height: 0; }
  .hero-network { opacity: 0.42; }
  .hero-content h2 { text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
