/* landing page styles - inherits design tokens from variables.css */

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

html {
  font-size: 16px;
  scroll-behavior: auto; /* gsap handles smooth scroll */
  overflow-x: hidden;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

:root {
  --landing-nav-bg: rgba(0, 0, 0, 0.4);
  --landing-nav-bg-scrolled: rgba(0, 0, 0, 0.72);
  --landing-nav-border: rgba(255, 255, 255, 0.06);
  --button-ghost-bg: rgba(255, 255, 255, 0.06);
  --button-ghost-bg-hover: rgba(255, 255, 255, 0.1);
  --button-ghost-border: rgba(255, 255, 255, 0.1);
  --button-ghost-border-hover: rgba(255, 255, 255, 0.2);
  --card-bg-start: rgba(255, 255, 255, 0.06);
  --card-bg-end: rgba(255, 255, 255, 0.02);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-top-line: rgba(255, 255, 255, 0.2);
  --tag-bg: rgba(255, 255, 255, 0.04);
  --tag-border: rgba(255, 255, 255, 0.06);
  --footer-divider: rgba(255, 255, 255, 0.06);
  --video-fade-top: #000000;
  --video-overlay-end: rgba(0, 0, 0, 0.7);
  --video-caption-text: rgba(255, 255, 255, 0.95);
  --video-caption-bg: rgba(0, 0, 0, 0.34);
  --video-caption-border: rgba(255, 255, 255, 0.22);
  --video-caption-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
  --accent-contrast: #000;
}

[data-theme="light"] {
  --landing-nav-bg: rgba(255, 255, 255, 0.58);
  --landing-nav-bg-scrolled: rgba(255, 255, 255, 0.9);
  --landing-nav-border: rgba(15, 23, 42, 0.08);
  --button-ghost-bg: rgba(255, 255, 255, 0.66);
  --button-ghost-bg-hover: rgba(255, 255, 255, 0.85);
  --button-ghost-border: rgba(15, 23, 42, 0.12);
  --button-ghost-border-hover: rgba(15, 23, 42, 0.22);
  --card-bg-start: rgba(255, 255, 255, 0.9);
  --card-bg-end: rgba(255, 255, 255, 0.72);
  --card-border: rgba(15, 23, 42, 0.1);
  --card-top-line: rgba(15, 23, 42, 0.14);
  --tag-bg: rgba(15, 23, 42, 0.04);
  --tag-border: rgba(15, 23, 42, 0.1);
  --footer-divider: rgba(15, 23, 42, 0.12);
  --video-fade-top: #f5f5f7;
  --video-overlay-end: rgba(255, 255, 255, 0.52);
  --video-caption-text: #111827;
  --video-caption-bg: rgba(255, 255, 255, 0.7);
  --video-caption-border: rgba(15, 23, 42, 0.14);
  --video-caption-shadow: 0 10px 34px rgba(15, 23, 42, 0.16);
  --accent-contrast: #04130d;
}

/* animated background orbs */
.landing-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.landing-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.landing-bg-orb--1 {
  width: 600px;
  height: 600px;
  background: rgba(52, 211, 153, 0.25);
  top: -10%;
  left: -5%;
  animation: orbFloat1 18s ease-in-out infinite alternate;
}

.landing-bg-orb--2 {
  width: 500px;
  height: 500px;
  background: rgba(99, 102, 241, 0.2);
  top: 30%;
  right: -10%;
  animation: orbFloat2 22s ease-in-out infinite alternate;
}

.landing-bg-orb--3 {
  width: 400px;
  height: 400px;
  background: rgba(168, 85, 247, 0.15);
  bottom: -5%;
  left: 30%;
  animation: orbFloat3 20s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}

@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 40px) scale(1.1); }
}

@keyframes orbFloat3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -50px) scale(1.2); }
}

/* navigation */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: var(--landing-nav-bg);
  border-bottom: 1px solid var(--landing-nav-border);
  transition: background 0.3s ease;
}

.landing-nav.is-scrolled {
  background: var(--landing-nav-bg-scrolled);
}

.landing-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.landing-nav-logo svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.landing-nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  letter-spacing: -0.01em;
}

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

.landing-nav-cta {
  background: var(--accent);
  color: var(--accent-contrast) !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease !important;
}

.landing-nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--button-ghost-border);
  background: var(--button-ghost-bg);
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover {
  background: var(--button-ghost-bg-hover);
  border-color: var(--button-ghost-border-hover);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.theme-toggle-icon--moon {
  display: none;
}

[data-theme="dark"] .theme-toggle-icon--sun {
  display: none;
}

[data-theme="dark"] .theme-toggle-icon--moon {
  display: block;
}

/* hero section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--accent-dim);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #6366f1 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
}

.hero-btn--primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 0 20px var(--accent-glow), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.hero-btn--ghost {
  background: var(--button-ghost-bg);
  color: var(--text-primary);
  border: 1px solid var(--button-ghost-border);
  backdrop-filter: blur(10px);
}

.hero-btn--ghost:hover {
  background: var(--button-ghost-bg-hover);
  border-color: var(--button-ghost-border-hover);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}

.hero-scroll-indicator span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-arrow {
  animation: scrollBounce 2s ease-in-out infinite;
  color: var(--text-muted);
}

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

.hero-video-runway {
  position: relative;
  height: 30vh;
  background: #fff;
}

.hero-video-runway::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12vh;
  height: 12vh;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, #fff 100%);
}

/* video section - no fixed height; scrolltrigger manages pin spacing */
.video-section {
  position: relative;
  background: #fff;
  isolation: isolate;
}

[data-theme="dark"] .video-section {
  background: #000;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

/* canvas is the visible display surface */
.video-container canvas {
  display: block;
  width: calc(100% + 16px);
  margin-left: -8px;
  height: 100%;
  background: var(--bg-primary);
}

/* video is hidden - used only as a frame source for canvas */
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 60px;
  background: linear-gradient(180deg, transparent 60%, var(--video-overlay-end) 100%);
  pointer-events: none;
}

.video-caption {
  font-size: 1.2rem;
  color: var(--video-caption-text);
  font-weight: 500;
  text-align: center;
  max-width: 500px;
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--video-caption-bg);
  border: 1px solid var(--video-caption-border);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: var(--video-caption-shadow);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-caption.active {
  opacity: 1;
  transform: translateY(0);
}

/* content overlay: pulls sections up over the pinned video */
.content-overlay {
  position: relative;
  z-index: 2;
  margin-top: -80vh;
  padding-top: 27vh;
  /* keep team clear of viewport before footer begins */
  padding-bottom: 90vh;
  background: transparent;
}

/* features section */
.features {
  padding: 320px 40px 180px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-glass {
  position: relative;
  padding: 56px 48px 56px;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.features-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 30%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.2) 70%,
    transparent 100%
  );
}

.features-glass::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at 30% 20%,
    rgba(52, 211, 153, 0.04) 0%,
    transparent 50%
  );
  pointer-events: none;
}

[data-theme="light"] .features-glass {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .features-glass::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 30%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.7) 70%,
    transparent 100%
  );
}

[data-theme="light"] .features-glass::after {
  background: radial-gradient(
    ellipse at 30% 20%,
    rgba(16, 185, 129, 0.05) 0%,
    transparent 50%
  );
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 64px;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    var(--card-bg-start) 0%,
    var(--card-bg-end) 100%
  );
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--card-top-line),
    transparent
  );
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 40px rgba(52, 211, 153, 0.05);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.feature-card-desc {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.65;
  margin-bottom: 20px;
}

[data-theme="light"] .feature-card-desc {
  color: var(--text-secondary);
}

.feature-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-card-tags span {
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* about section */
.about {
  padding: 180px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  padding: 56px 48px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.2),
    0 2px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* inner glossy highlight */
.about-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  border-radius: 24px 24px 0 0;
}

/* top edge shine */
.about-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}

/* light theme liquid glass */
[data-theme="light"] .about-content {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.55) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.06),
    0 2px 12px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .about-content::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

[data-theme="light"] .about-content::after {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

.about-desc {
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.8;
  margin-top: 20px;
  margin-bottom: 48px;
}

[data-theme="light"] .about-desc {
  color: var(--text-secondary);
}

.about-stats {
  display: flex;
  gap: 48px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
}

.about-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
}

.about-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    var(--card-bg-start) 0%,
    var(--card-bg-end) 100%
  );
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
}

.about-uf-logo {
  width: 160px;
  height: 160px;
}

.about-logo-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* team section */
.team {
  padding: 180px 40px 140px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.team-content {
  position: relative;
  padding: 56px 48px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.2),
    0 2px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* inner glossy highlight */
.team-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  border-radius: 24px 24px 0 0;
}

/* top edge shine */
.team-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}

/* light theme liquid glass */
[data-theme="light"] .team-content {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.55) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.06),
    0 2px 12px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .team-content::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

[data-theme="light"] .team-content::after {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

.team-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

[data-theme="light"] .team-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.2);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-dim) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 2px solid rgba(52, 211, 153, 0.2);
  border-radius: 50%;
}

.team-avatar-placeholder svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.team-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.team-link {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.team-link:hover {
  color: var(--accent);
  border-color: rgba(52, 211, 153, 0.45);
  transform: translateY(-1px);
}

.team-link svg {
  width: 15px;
  height: 15px;
}

[data-theme="light"] .team-link {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.12);
}

/* footer */
.landing-footer {
  position: relative;
  z-index: 3;
  padding: 120px 40px 48px;
  background: var(--bg-primary);
  text-align: center;
}

.landing-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -28vh;
  height: 28vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, var(--bg-primary) 100%);
  pointer-events: none;
}

.landing-footer > * {
  position: relative;
  z-index: 1;
}

.footer-cta {
  max-width: 600px;
  margin: 0 auto 80px;
}

.footer-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--footer-divider);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    padding: 48px 36px;
  }

  .about-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .landing-nav {
    padding: 14px 20px;
  }

  .landing-nav-links {
    gap: 16px;
  }

  .landing-nav-links a:not(.landing-nav-cta) {
    display: none;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .features {
    padding: 210px 24px 120px;
  }

  .features-glass {
    padding: 40px 24px;
    border-radius: 24px;
  }

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

  .about {
    padding: 120px 24px;
  }

  .about-content {
    padding: 36px 24px;
  }

  .about-stats {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .team {
    padding: 120px 24px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .video-overlay {
    padding: 30px 24px;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }

  .landing-footer {
    padding: 96px 24px 36px;
  }

  .landing-footer::before {
    top: -20vh;
    height: 20vh;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}
