﻿:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --text: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --super-blue: #00d4ff;
  --super-cyan: #00ffff;
  --super-gradient: linear-gradient(135deg, #00d4ff 0%, #00ffff 100%);
  --ai-purple: #a855f7;
  --ai-pink: #ec4899;
  --ai-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --border: #27272a;
  --border-light: #3f3f46;
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.3);
  --shadow-glow-purple: 0 0 40px rgba(168, 85, 247, 0.3);
  --radius: 16px;
  --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.animated-background { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.gradient-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15;
  animation: orbFloat 20s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: var(--super-blue); top: -200px; left: -200px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: var(--ai-purple); bottom: -150px; right: -150px; animation-delay: -7s; }
.orb-3 { width: 400px; height: 400px; background: var(--super-cyan); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -14s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}
.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.navbar-logo {
  position: fixed; top: 1rem; left: 1.5rem; z-index: 200;
  display: flex; align-items: center; gap: 0.625rem;
  text-decoration: none; color: var(--text); transition: opacity 0.2s;
}
.navbar-logo:hover { opacity: 0.8; }
.navbar-logo img { height: 32px; width: auto; }
.navbar-logo span { font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; }

.hero-compact {
  min-height: 45vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: 6rem 1.5rem 3rem;
}
.hero-content { max-width: 720px; }
.hero-title {
  font-size: clamp(2.25rem, 7vw, 3.75rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}
.hero-title-gradient {
  background: linear-gradient(135deg, var(--super-blue) 0%, var(--ai-purple) 50%, var(--ai-pink) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem); color: var(--text-secondary);
  max-width: 540px; margin: 0 auto; animation: fadeInUp 0.8s ease-out 0.2s both;
}

.center-select { padding: 0 1.5rem 4rem; max-width: 600px; margin: 0 auto; }
.center-select-container {
  display: flex; flex-direction: column;
  gap: clamp(1.5rem, 5vw, 2.5rem);
}

.mode-tile {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  text-decoration: none; color: var(--text);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.mode-tile::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.3s ease;
}
.mode-tile.super-tile::before { background: var(--super-gradient); opacity: 0.05; }
.mode-tile.ai-tile::before { background: var(--ai-gradient); opacity: 0.05; }
.mode-tile:hover::before { opacity: 1; }
.mode-tile:hover { border-color: var(--border-light); transform: translateY(-2px); }
.mode-tile.super-tile:hover { box-shadow: var(--shadow-glow); }
.mode-tile.ai-tile:hover { box-shadow: var(--shadow-glow-purple); }

.tile-icon {
  font-size: 2rem; flex-shrink: 0; width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg-elevated);
}
.tile-content { flex: 1; min-width: 0; }
.tile-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }
.tile-desc { font-size: 0.875rem; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-thumbnail { width: 72px; height: 72px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; }
.tile-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.detail-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(10,10,10,0.85); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.back-btn {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.875rem; font-weight: 500; transition: color 0.2s;
}
.back-btn:hover { color: var(--text); }
.detail-header-info { display: flex; align-items: center; gap: 0.5rem; }
.detail-icon { font-size: 1.25rem; }
.detail-title { font-size: 1rem; font-weight: 600; }

.detail-main { padding: 0 1.5rem; max-width: 600px; margin: 0 auto; }

.center-hero { margin: 1.5rem 0; }
.center-hero-image {
  width: 100%; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card); margin-bottom: 1rem;
}
.center-hero-image img { width: 100%; height: auto; display: block; max-height: 280px; object-fit: cover; }
.center-hero-text h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.center-hero-text p { font-size: 0.875rem; color: var(--text-secondary); }

.section-heading {
  font-size: 1rem; font-weight: 700; margin: 2rem 0 1rem;
  padding-left: 0.75rem; border-left: 3px solid var(--super-blue);
}

.media-stack { display: flex; flex-direction: column; gap: 1rem; }
.media-card {
  background: var(--bg-card); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.media-card:hover { border-color: var(--border-light); }
.media-wrapper video {
  width: 100%; height: auto; display: block; background: #000;
  max-height: 240px; object-fit: cover;
}
.media-card-body { padding: 0.875rem 1rem; }
.media-caption { font-size: 0.9375rem; font-weight: 600; color: var(--text); margin-bottom: 0.375rem; }
.media-description { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.6; }

.features-stack { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2rem; }
.feature-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem; background: var(--bg-card);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.feature-number {
  font-size: 1.5rem; font-weight: 800; flex-shrink: 0; width: 40px; text-align: center;
  background: var(--super-gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.feature-body { flex: 1; }
.feature-title { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.25rem; }
.feature-desc { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.5; }

.footer {
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-content { max-width: 600px; margin: 0 auto; }
.footer-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; font-size: 1.125rem; font-weight: 700; margin-bottom: 0.75rem;
}
.footer-logo img { height: 32px; width: auto; }
.footer-text { font-size: 0.75rem; color: var(--text-muted); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

@media (max-width: 480px) {
  .navbar-logo { top: 0.875rem; left: 1rem; }
  .navbar-logo img { height: 28px; }
  .navbar-logo span { font-size: 0.875rem; }
  .hero-compact { min-height: 40vh; padding: 5rem 1rem 2rem; }
  .center-select { padding: 0 1rem 3rem; }
  .center-select-container { gap: 1.25rem; }
  .mode-tile { padding: 1rem 1.25rem; gap: 0.875rem; }
  .tile-icon { width: 48px; height: 48px; font-size: 1.5rem; }
  .tile-title { font-size: 1rem; }
  .tile-desc { font-size: 0.8125rem; }
  .tile-thumbnail { width: 60px; height: 60px; }
  .detail-main { padding: 0 1rem; }
  .center-hero-image img { max-height: 200px; }
  .media-wrapper video { max-height: 200px; }
  .detail-header { padding: 0.875rem 1rem; }
}