:root {
  --bg: #080b14;
  --bg-soft: #111827;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.105);
  --text: #f8fafc;
  --muted: #a9b4c4;
  --primary: #8b5cf6;
  --primary-dark: #6d28d9;
  --secondary: #38bdf8;
  --accent: #22d3ee;
  --warning: #fb7185;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 5%, rgba(139, 92, 246, 0.25), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(56, 189, 248, 0.22), transparent 25rem),
    linear-gradient(180deg, #080b14 0%, #0b1020 52%, #080b14 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  opacity: 0.5;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
code {
  padding: 0.14rem 0.36rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.06);
  color: #dbeafe;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: 0.25s ease;
}
.site-header.scrolled {
  background: rgba(8, 11, 20, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.navbar {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  font-size: 1.15rem;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 15px;
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
  overflow: hidden;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  left: 0;
  bottom: -6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  margin: 4px auto;
  border-radius: 100px;
}

.section, .section-grid, .cta-section {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}
.section { padding: 6.5rem 0; }
.section-grid {
  min-height: 100svh;
  padding-top: 5.5rem;
  padding-bottom: 3.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.82fr);
  gap: clamp(2rem, 4rem, 4rem);
  align-items: center;
}
.contrast {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100% - var(--max-width)) / 2));
  padding-right: max(1rem, calc((100% - var(--max-width)) / 2));
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: #bfdbfe;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.76rem;
  font-weight: 800;
  margin: 0 0 0.9rem;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; margin-top: 0; }
h1 { font-size: 4.25rem; line-height: 1.02; margin-bottom: 1rem; }
h2 { font-size: 3.8rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }
.hero-text, .section-heading p { font-size: 1.08rem; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.1rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.22s ease;
}
.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 18px 55px rgba(139, 92, 246, 0.32);
}
.button.primary:hover { transform: translateY(-3px); box-shadow: 0 24px 70px rgba(56, 189, 248, 0.24); }
.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.055);
  color: white;
}
.button.secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 1.15rem;
}
.hero-stats div, .glass-card, .feature-card, .pipeline-step, .arch-layer, .member-card, .technical-details article, .stack-grid div, .timeline-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-stats div { padding: 0.85rem 1rem; }
.hero-stats strong { display: block; font-size: 1.35rem; }
.hero-stats span { color: var(--muted); font-size: 0.85rem; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: min(540px, calc(100svh - 10rem)); transform: translateY(-5rem); }
.hero-phone-image {
  display: block;
  width: min(360px, 88vw);
  height: auto;
  max-height: min(720px, calc(100svh - 6.5rem));
  object-fit: contain;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.55));
  z-index: 2;
}
.phone-shell {
  position: relative;
  width: min(320px, 88vw);
  height: 620px;
  min-height: 620px;
  padding: 14px;
  border-radius: 46px;
  background: linear-gradient(155deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 40px 110px rgba(0,0,0,0.6);
  z-index: 2;
}
.phone-top {
  position: absolute;
  width: 110px;
  height: 26px;
  background: #060812;
  border-radius: 0 0 20px 20px;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  z-index: 4;
}
.screen {
  height: 100%;
  border-radius: 34px;
  padding: 3.05rem 0.95rem 0.95rem;
  overflow: hidden;
  background: radial-gradient(circle at 30% 0%, rgba(139, 92, 246, 0.4), transparent 15rem), #101827;
}
.screen-header { display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.score-pill { padding: 0.35rem 0.7rem; border-radius: 999px; background: rgba(34, 211, 238, 0.18); color: #a5f3fc; }
.pose-stage {
  position: relative;
  height: 275px;
  margin: 1.15rem 0;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  border: 1px solid var(--line);
}
.skeleton { position: absolute; inset: 0; }
.skeleton span { position: absolute; background: #8be9ff; box-shadow: 0 0 20px rgba(56,189,248,0.7); transform-origin: center; }
.skeleton .head { width: 30px; height: 30px; border-radius: 50%; left: 50%; top: 58px; transform: translateX(-50%); }
.skeleton .body { width: 8px; height: 94px; left: 50%; top: 92px; transform: translateX(-50%) rotate(-5deg); }
.skeleton .arm { width: 8px; height: 88px; top: 112px; left: 50%; }
.skeleton .arm.left { transform: translateX(-45px) rotate(45deg); }
.skeleton .arm.right { transform: translateX(38px) rotate(-45deg); }
.skeleton .leg { width: 8px; height: 104px; top: 178px; left: 50%; }
.skeleton .leg.left { transform: translateX(-35px) rotate(20deg); }
.skeleton .leg.right { transform: translateX(26px) rotate(-18deg); }
.skeleton-user { opacity: 0.65; transform: translateX(30px); }
.skeleton-user span { background: #c4b5fd; box-shadow: 0 0 18px rgba(139,92,246,0.7); }
.skeleton .warn { background: var(--warning); box-shadow: 0 0 22px rgba(251,113,133,0.8); }
.feedback-card { padding: 0.9rem; border-radius: 20px; background: rgba(255,255,255,0.08); border: 1px solid var(--line); }
.feedback-card p { margin: 0.2rem 0 0; font-size: 0.86rem; line-height: 1.45; }
.mini-label { color: #bae6fd; text-transform: uppercase; letter-spacing: 0; font-size: 0.68rem; font-weight: 800; }
.progress-bars { display: grid; gap: 0.55rem; margin-top: 1rem; }
.progress-bars span { height: 9px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; position: relative; }
.progress-bars span::before { content: ""; position: absolute; inset: 0; width: var(--value); border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.orb { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.55; }
.orb-one { width: 160px; height: 160px; right: 5%; top: 12%; background: var(--primary); }
.orb-two { width: 120px; height: 120px; left: 6%; bottom: 18%; background: var(--secondary); }
.floating-card { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.section-heading { text-align: center; display: grid; justify-items: center; margin-bottom: 3rem; }
.two-column { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.glass-card { padding: 2rem; }
.large-card h3, .feature-card h3, .pipeline-step h3 { margin-bottom: 0.7rem; }
.accent-card { background: linear-gradient(135deg, rgba(139,92,246,0.22), rgba(56,189,248,0.09)); }

.demo-layout { display: grid; grid-template-columns: 0.85fr 1.6fr; align-items: center; gap: 64px;}
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.65rem; color: var(--muted); }
.check-list li::before { content: "✓"; color: #67e8f9; margin-right: 0.55rem; font-weight: 900; }
.video-placeholder {
  min-height: 380px;
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 32px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(139,92,246,0.13), rgba(56,189,248,0.06)),
    rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
}
.play-button {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 20px 60px rgba(56,189,248,0.24);
  font-size: 1.7rem;
}
.video-placeholder p { color: white; font-weight: 800; margin-bottom: 0; }
.video-placeholder span { color: var(--muted); font-size: 0.92rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.feature-card { padding: 1.55rem; transition: 0.22s ease; }
.feature-card:hover { transform: translateY(-8px); background: var(--panel-strong); }
.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(139,92,246,0.42), rgba(56,189,248,0.2));
  color: white;
  font-weight: 900;
  margin-bottom: 1.2rem;
}

/* Feature Carousel */
.feature-carousel-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.slide-content {
  display: grid;
  grid-template-columns: minmax(360px, 500px) auto;
  gap: clamp(3.5rem, 7vw, 5.5rem);
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.slide-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 5;
  padding-left: 0;
}

.slide-text h3 {
  font-size: 1.8rem;
  margin: 0;
}

.slide-text p {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.slide-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 430px;
  padding: 0;
}

.slide-image-container img {
  width: auto;
  height: 100%;
  max-width: 280px;
  border-radius: var(--radius);
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.34));
}

/* Carousel Navigation */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.22s ease;
  backdrop-filter: blur(12px);
  z-index: 10;
}

.carousel-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.carousel-prev {
  left: 1.5rem;
}

.carousel-next {
  right: 1.5rem;
}

/* Carousel Indicators */
.carousel-indicators {
  display: none;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: 0.3s ease;
}

.indicator.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  width: 32px;
  border-radius: 6px;
}

.indicator:hover:not(.active) {
  background: rgba(255, 255, 255, 0.35);
}

.pipeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0.8rem; align-items: stretch; }
.pipeline-step { padding: 1.25rem; }
.pipeline-step span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 900;
}
.pipeline-step p { font-size: 0.92rem; }
.pipeline-arrow { display: grid; place-items: center; color: #93c5fd; font-size: 1.6rem; }
.technical-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; margin-top: 1.2rem; }
.technical-details article { padding: 1.5rem; }

.architecture-diagram { display: grid; gap: 0.9rem; }
.arch-layer { padding: 1.4rem; text-align: center; }
.arch-layer h3 { margin-bottom: 0.45rem; }
.client-layer { background: linear-gradient(135deg, rgba(139,92,246,0.24), rgba(56,189,248,0.08)); }
.highlight-layer { border-color: rgba(56,189,248,0.45); background: rgba(56,189,248,0.08); }
.arch-flow { text-align: center; color: #93c5fd; font-size: 2rem; }
.arch-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.arch-row.three { grid-template-columns: repeat(3, 1fr); }
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.4rem; }
.stack-grid div { padding: 1.1rem; }
.stack-grid strong { display: block; margin-bottom: 0.3rem; }
.stack-grid span { color: var(--muted); font-size: 0.9rem; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.timeline-item { padding: 1.35rem; }
.timeline-item span {
  display: inline-flex;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  color: #c4b5fd;
  background: rgba(139,92,246,0.15);
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 280px);
  gap: 1.2rem;
  align-items: stretch;
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.team-grid .member-card:nth-child(4) { grid-column: 1 / span 1; transform: translateX(calc(50% + 0.5rem)); }
.team-grid .member-card:nth-child(5) { grid-column: 2 / span 1; transform: translateX(calc(50% + 0.5rem)); }
.member-card { min-height: 310px; padding: 1.5rem; text-align: center; }
.avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 900;
  font-size: 1.25rem;
}
.member-card h3 { margin-bottom: 0.3rem; }
.member-card p { margin: 0 0 0.7rem; }
.member-card a, .member-card span { color: #bae6fd; font-size: 0.92rem; word-break: break-word; }
.member-card .contact-link,
.member-card .linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0.35rem 0.18rem 0;
  border-radius: 50%;
  color: white;
  word-break: normal;
}
.member-card .contact-link svg,
.member-card .linkedin-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}
.member-card .mail-link { background: rgba(56, 189, 248, 0.18); color: #bae6fd; border: 1px solid rgba(186, 230, 253, 0.28); }
.member-card .mail-link:hover { background: rgba(56, 189, 248, 0.28); }
.member-card .linkedin-link { background: #0a66c2; }
.member-card .linkedin-link span {
  color: inherit;
  font-size: inherit;
  word-break: normal;
}
.member-card .linkedin-link:hover { background: #0b5cad; }
.member-card h3 .keep-together {
  color: inherit;
  font-size: inherit;
  white-space: nowrap;
  word-break: normal;
}
.advisor-section {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding-left: 1.2rem;
  border-left: 1px solid var(--line);
}
.advisor-card {
  width: 100%;
  text-align: center;
}
.advisor-card .member-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto;
}
.contact-section {
  margin: 2.5rem auto 0;
  padding: 2.4rem 2rem;
  max-width: 760px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-section .eyebrow {
  margin-bottom: 0.8rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
}
.contact-section a {
  color: #bae6fd;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 500;
  word-break: break-word;
}
.contact-section a:hover {
  color: white;
}

.cta-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
  padding: 2rem;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.22), rgba(56,189,248,0.09));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cta-section h2 { font-size: 3.3rem; }


/* Member photos: make class "member-photo" larger and responsive */
.member-photo {
  width: 150px;
  max-width: 100%;
  height: 150px;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(124, 92, 255, 0.7);
  box-shadow: 0 14px 35px rgba(124, 92, 255, 0.22);
}

.site-footer {
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-note { font-size: 0.9rem; margin-top: 0.2rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .section-grid, .demo-layout, .two-column { grid-template-columns: 1fr; }
  .section-grid { padding-top: 7rem; }
  h1 { font-size: 3.6rem; }
  h2 { font-size: 3rem; }
  .cta-section h2 { font-size: 2.8rem; }
  .hero-visual { min-height: auto; transform: none; }
  .team-layout { grid-template-columns: 1fr; }
  .team-grid .member-card:nth-child(4),
  .team-grid .member-card:nth-child(5) {
    grid-column: auto;
    transform: none;
  }
  .advisor-section {
    padding: 1.2rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .feature-grid, .team-grid, .timeline, .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline-arrow { transform: rotate(90deg); }
  .arch-row, .arch-row.three { grid-template-columns: 1fr; }
  
  /* Carousel responsive styles for tablet */
  .slide-content {
    grid-template-columns: minmax(320px, 480px) auto;
    gap: 3.5rem;
  }
  .slide-image-container {
    height: 370px;
  }
  .carousel-prev {
    left: 1rem;
  }
  .carousel-next {
    right: 1rem;
  }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem;
    border-radius: 22px;
    background: rgba(8, 11, 20, 0.94);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 1rem; }
  .hero-stats, .feature-grid, .team-grid, .timeline, .stack-grid, .technical-details { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  h1 { font-size: 2.65rem; line-height: 1.06; }
  h2 { font-size: 2.35rem; }
  .cta-section h2 { font-size: 2.2rem; }
  .phone-shell { height: min(590px, calc(100svh - 7.5rem)); min-height: 500px; }
  .hero-phone-image { width: min(330px, 88vw); max-height: min(650px, calc(100svh - 7rem)); }
  .pose-stage { height: 270px; }
  .advisor-card { flex-direction: column; text-align: center; }
  .advisor-card .member-photo { margin: 0 auto; }
  .cta-section { flex-direction: column; align-items: stretch; }
  .section { padding: 4.4rem 0; }
  
  /* Carousel responsive styles */
  .slide-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  .slide-text {
    padding-left: 3.75rem;
    padding-right: 3.75rem;
  }
  .slide-text h3 {
    font-size: 1.5rem;
  }
  .slide-image-container {
    height: 300px;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
  .slide-image-container img {
    width: auto;
    max-width: 300px;
    height: 100%;
  }
  .carousel-prev, .carousel-next {
    width: 40px;
    height: 40px;
  }
  .carousel-prev {
    left: 0.5rem;
  }
  .carousel-next {
    right: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.demo-video-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.demo-video-wrapper {
  width: 100%;
  max-width: 1700px;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.demo-video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 760px) {
  .demo-video-wrapper { width: min(100%, 295px, calc((100svh - 7rem) * 0.49)); }
}

/* Master features and technology showcase */
.master-feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.tech-showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem;
}

.tech-card {
  grid-column: span 2;
  min-height: 100%;
  padding: 1.45rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: 0.22s ease;
}

.tech-card:hover {
  transform: translateY(-7px);
  background: var(--panel-strong);
}

.tech-card:nth-child(1),
.tech-card:nth-child(6) {
  grid-column: 2 / span 2;
}

.tech-card.primary-tech {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(139,92,246,0.24), rgba(56,189,248,0.08));
}

.tech-logo-wrap {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.32);
  box-shadow: 0 16px 40px rgba(0,0,0,0.26);
  overflow: hidden;
}

.tech-logo-wrap.logo-white {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.tech-logo-wrap.logo-fill {
  background: none;
  border: none;
  box-shadow: none;
  overflow: hidden;
  padding: 0;
}

.tech-logo-wrap.logo-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-logo-wrap img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.tech-logo-wrap.logo-large img {
  width: 62px;
  height: 62px;
}

.tech-label {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: #bae6fd;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.68rem;
  font-weight: 900;
}

.tech-card h3 {
  margin-bottom: 0.55rem;
}

.tech-card p {
  margin: 0;
  font-size: 0.95rem;
}

.algorithm-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

.algorithm-strip div {
  padding: 1.15rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.055);
}

.algorithm-strip strong {
  display: block;
  margin-bottom: 0.35rem;
}

.algorithm-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .master-feature-grid, .tech-showcase, .algorithm-strip { grid-template-columns: repeat(2, 1fr); }
  .tech-card,
  .tech-card:nth-child(1),
  .tech-card:nth-child(6),
  .tech-card.primary-tech {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .master-feature-grid, .tech-showcase, .algorithm-strip { grid-template-columns: 1fr; }
  .tech-card { flex-direction: column; }
}
