/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - 72px); padding: 60px clamp(24px, 5vw, 80px);
  max-width: 1600px; margin: 0 auto; gap: 60px;
}

.hero-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(32px, 5vw, 80px); width: 100%;
}

.hero-content { flex: 0 0 42%; max-width: 650px; z-index: 10; }
.hero-visual { flex: 0 0 55%; display: flex; justify-content: flex-end; align-items: center; position: relative; }

.headline {
  font-family: 'Space Grotesk', sans-serif; font-weight: 800;
  font-size: clamp(48px, 5vw, 76px); line-height: 1.05;
  letter-spacing: -0.04em; color: #fff; margin-bottom: 24px;
}

.headline .accent {
  display: inline-block;
  background: linear-gradient(to right, var(--cyan), var(--amber), var(--purple), var(--cyan));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: textSheen 8s linear infinite;
}

@keyframes textSheen {
  0% { background-position: 0% 50%; }
  100% { background-position: -300% 50%; }
}

.subhead {
  font-size: clamp(16px, 1.5vw, 20px); color: var(--text-muted);
  font-weight: 400; max-width: 600px; margin-bottom: 40px;
}

.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.platform-availability { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-left: 4px; }
.platform-text { font-size: 13.5px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.02em; }
.platform-icons { display: flex; gap: 18px; align-items: center; }
.platform-icons svg {
  width: 24px; height: 24px; fill: #D1D5DB;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); transition: all 0.3s ease; cursor: pointer;
}
.platform-icons svg:hover {
  fill: #fff; transform: translateY(-3px); filter: drop-shadow(0 6px 12px rgba(255,255,255,0.25));
}

/* Hero Video & Hologram */
.hologram-container { position: relative; width: 100%; max-width: 1000px; display: flex; align-items: center; justify-content: center; }
.glow-core { position: absolute; width: 80%; height: 80%; background: var(--cyan); filter: blur(120px); opacity: 0.15; animation: pulseCore 6s ease-in-out infinite alternate; pointer-events: none; }
@keyframes pulseCore { from { transform: scale(0.95); opacity: 0.1; } to { transform: scale(1.05); opacity: 0.2; } }

.mascot-video {
  position: relative; z-index: 10; width: 100%; border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 240, 255, 0.15);
  background: #000; aspect-ratio: 16/9; object-fit: cover;
}

.mute-btn {
  position: absolute; bottom: 20px; right: 20px; z-index: 20;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mute-btn:hover { background: rgba(0, 0, 0, 0.8); transform: scale(1.1); border-color: rgba(255, 255, 255, 0.4); }
.mute-btn svg { width: 22px; height: 22px; fill: currentColor; pointer-events: none; }

.sequence-label {
  position: absolute; top: calc(100% + 12px); right: 0; width: 100%; text-align: right;
  font-size: 11px; color: var(--text-faint); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600;
}

.hero-stats { display: flex; gap: clamp(32px, 6vw, 80px); width: 100%; padding-top: 40px; border-top: 1px solid var(--border); margin-top: auto; }
.hero-stats .stat .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 32px; color: #fff; line-height: 1; }
.hero-stats .stat .label { margin-top: 6px; font-size: 13px; color: var(--text-faint); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }

/* ==========================================================================
   AGENT CARDS GRID
   ========================================================================== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; max-width: 1400px; margin: 0 auto; }
.agent-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 28px;
  padding: 40px 32px; backdrop-filter: blur(20px); transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); overflow: hidden; z-index: 1;
}
.agent-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 240, 255, 0.1); background: rgba(25, 33, 50, 0.8); }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.avatar-container {
  position: relative; width: 84px; height: 84px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid var(--border); box-shadow: inset 0 2px 20px rgba(255,255,255,0.02);
  transition: all 0.5s ease;
}
.avatar-container::after {
  content: ""; position: absolute; inset: -10px; border-radius: 30px;
  background: radial-gradient(circle, var(--glow-color, rgba(0, 240, 255, 0.3)), transparent 70%);
  filter: blur(14px); z-index: -1; opacity: 0.5; animation: breatheAura 4s ease-in-out infinite alternate;
}
@keyframes breatheAura { from { opacity: 0.3; transform: scale(0.95); } to { opacity: 0.7; transform: scale(1.05); } }
.agent-card:hover .avatar-container { transform: scale(1.1) translateY(-4px); }
.agent-card:hover .avatar-container::after { opacity: 1; animation: none; transform: scale(1.15); }
.avatar-img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5)); animation: hoverAvatar 6s ease-in-out infinite; }
@keyframes hoverAvatar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.card-content { flex: 1; }
.card-name { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 26px; color: #fff; line-height: 1.1; margin-bottom: 4px; }
.card-role { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; color: var(--amber); text-transform: uppercase; margin-bottom: 16px; }
.card-desc { font-size: 15px; font-weight: 400; color: var(--text-muted); line-height: 1.6; }

/* ==========================================================================
   HOW IT WORKS (CHAINING)
   ========================================================================== */
.chain-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 24px; max-width: 1400px; margin: 0 auto; }
.chain-card { display: flex; flex-direction: column; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 24px; padding: 40px; backdrop-filter: blur(20px); transition: all 0.3s ease; }
.chain-card:hover { border-color: var(--border-light); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); }
.chain-title { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.chain-agent { display: inline-block; font-size: 12.5px; color: var(--cyan); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 24px; }
.chain-prompt { flex: 1; font-size: 15px; line-height: 1.6; color: var(--text-muted); font-style: italic; background: rgba(255,255,255,0.03); padding: 20px; border-radius: 12px; border-left: 4px solid var(--cyan); margin-bottom: 24px; }
.chain-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.chain-step { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.05); padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; color: #fff; border: 1px solid var(--border); }
.chain-arrow { color: var(--text-faint); font-weight: bold; font-size: 16px; }

/* ==========================================================================
   FOOTER & CTA
   ========================================================================== */
.final-cta { text-align: center; padding: 120px 24px; position: relative; overflow: hidden; }
.final-cta h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 5vw, 64px); font-weight: 800; color: #fff; margin-bottom: 20px; letter-spacing: -0.02em; }
.final-cta p { font-size: 18px; color: var(--text-muted); max-width: 500px; margin: 0 auto 30px; }

footer { border-top: 1px solid var(--border); padding: 40px clamp(24px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; background: rgba(3, 7, 18, 0.8); }
.foot-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-family: 'Space Grotesk', sans-serif; font-size: 18px; color: #fff; }
.foot-brand img { width: 32px; height: 32px; object-fit: contain; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a { color: var(--text-faint); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.copy { color: var(--text-faint); font-size: 14px; }

/* Responsive adjustments */
@media(max-width: 1100px) {
  .hero-top { flex-direction: column; text-align: center; }
  .hero-content { align-items: center; }
  .subhead { margin-left: auto; margin-right: auto; }
  .hero-cta-row, .platform-availability, .hero-stats { justify-content: center; }
  .hero-visual { justify-content: center; width: 100%; max-width: 100%; }
}
@media(max-width: 768px) {
  .grid { grid-template-columns: 1fr; }
  .chain-container { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 32px; align-items: center; }
  .hero-stats .stat { text-align: center; }
}