/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #000000;
  --bg-secondary: #080810;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent-1: #818cf8;
  --accent-2: #a78bfa;
  --accent-3: #c084fc;
  --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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;
}

a {
  color: inherit;
  text-decoration: none;
}

img { max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(0, 0, 0, 0.85);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-version {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
  line-height: 1.4;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--accent-1);
  background: rgba(129, 140, 248, 0.08);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 12px 28px;
  font-size: 15px;
  border-radius: var(--radius);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

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

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-1);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.15;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-3);
  bottom: -100px;
  right: -100px;
  opacity: 0.1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-2);
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 100px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-video {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 0 60px rgba(129, 140, 248, 0.08);
}

.hero-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== Sections ===== */
.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-secondary);
}

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

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

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Highlights ===== */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.highlight-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.highlight-card-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.highlight-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(129, 140, 248, 0.08);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.highlight-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.highlight-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.highlight-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(129, 140, 248, 0.06);
  border: 1px solid rgba(129, 140, 248, 0.15);
  border-radius: var(--radius);
  padding: 24px 32px;
  min-width: 160px;
  align-self: center;
}

.metric-value {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Capabilities ===== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.capability-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.capability-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.capability-number {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.2), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.capability-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.capability-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Benchmarks ===== */
.benchmark-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.benchmark-table-scroll {
  overflow-x: auto;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.benchmark-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.02);
}

.benchmark-table .th-benchmark {
  min-width: 240px;
}

.benchmark-table .th-highlight {
  color: var(--accent-2);
}

.benchmark-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
}

.benchmark-table tr:last-child td {
  border-bottom: none;
}

.benchmark-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.benchmark-table .td-highlight {
  background: rgba(129, 140, 248, 0.04);
}

.bench-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.bench-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.bench-best {
  font-weight: 700;
  color: var(--accent-2);
}

/* ===== Showcases ===== */
/* Showcases Grid */
.showcases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.showcase-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.showcase-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.showcase-card:hover .mock-scroll-strip {
  animation-play-state: paused;
}

.showcase-preview {
  aspect-ratio: 4/3;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-mock {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.mock-bar {
  display: flex;
  gap: 5px;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.mock-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

/* Scroll animation viewport */
.mock-scroll-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.mock-scroll-strip {
  animation: mock-scroll 12s ease-in-out infinite;
  will-change: transform;
}

@keyframes mock-scroll {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(0); }
  60%  { transform: translateY(calc(-100% + 160px)); }
  90%  { transform: translateY(calc(-100% + 160px)); }
  100% { transform: translateY(0); }
}

/* Mock page building blocks */
.ms-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ms-nav-links {
  display: flex;
  gap: 8px;
}

.ms-line {
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
}

.ms-btn {
  width: 44px;
  height: 14px;
  border-radius: 4px;
  background: rgba(129, 140, 248, 0.25);
}

.ms-section {
  padding: 8px 12px;
}

.ms-card {
  border-radius: 5px;
  height: 36px;
}

.ms-track {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}

.ms-product {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ms-product-img {
  height: 36px;
  border-radius: 4px;
}

.showcase-card h4 {
  padding: 16px 16px 4px;
  font-size: 15px;
  font-weight: 600;
}

.showcase-card p {
  padding: 0 16px 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Developer ===== */
.developer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.code-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.code-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.code-tab {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.code-tab:hover {
  color: var(--text-secondary);
}

.code-tab.active {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

.code-block {
  position: relative;
  padding: 24px;
  overflow-x: auto;
}

.code-block pre {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.code-block .kw { color: var(--accent-1); }
.code-block .str { color: #34d399; }

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.dev-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dev-feature {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.dev-feature:hover {
  border-color: var(--border-hover);
}

.dev-feature-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-1);
  flex-shrink: 0;
  width: 28px;
}

.dev-feature-content h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.dev-feature-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-2);
  transition: var(--transition);
}

.link-arrow:hover {
  color: var(--accent-1);
  gap: 10px;
}

/* Tools Strip */
.tools-strip {
  margin-top: 48px;
  text-align: center;
}

.tools-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tool-badge {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: var(--transition);
}

.tool-badge:hover {
  border-color: var(--accent-1);
  color: var(--text-primary);
  background: rgba(129, 140, 248, 0.06);
}

/* ===== Model Info ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.info-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.info-value {
  font-size: 16px;
  font-weight: 600;
}

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

.info-tag {
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(129, 140, 248, 0.08);
  border: 1px solid rgba(129, 140, 248, 0.15);
  border-radius: 6px;
  color: var(--accent-2);
}

.info-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.active {
  border-color: rgba(129, 140, 248, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0 120px;
}

.cta-card {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: var(--gradient);
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  position: relative;
}

.cta-card p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* ===== Animations ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive — Tablet (769px – 1024px) ===== */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }

  .hero { min-height: auto; padding: calc(var(--nav-height) + 48px) 0 64px; }
  .hero-title { margin-bottom: 16px; }
  .hero-actions { margin-bottom: 48px; }
  .hero-video { max-width: 680px; }

  .section { padding: 88px 0; }
  .section-header { margin-bottom: 48px; }

  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-card { padding: 28px; }
  .capability-number { font-size: 40px; }

  .highlight-card { padding: 28px; }

  .developer-content { gap: 24px; }
  .dev-feature { padding: 20px; }

  .cta-card { padding: 56px 32px; }

  .benchmark-table th,
  .benchmark-table td { padding: 12px 14px; }
}

/* ===== Responsive — Mobile (≤ 768px) ===== */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* Nav — mobile menu */
  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 0 16px;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }

  .nav-links.open {
    display: flex;
    max-height: 400px;
    padding: 12px 16px;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }

  .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 32px) 0 48px;
  }

  .hero-badge { margin-bottom: 24px; }
  .hero-subtitle { font-size: 17px; }
  .hero-desc { font-size: 14px; margin-bottom: 28px; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 40px;
  }

  .hero-actions .btn { justify-content: center; }
  .hero-actions .btn-ghost { display: none; }

  .hero-video { max-width: 100%; }

  /* Sections */
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 36px; }
  .section-desc { font-size: 14px; }

  /* Highlights */
  .highlights-grid { grid-template-columns: 1fr; gap: 16px; }
  .highlight-card { padding: 24px; }
  .highlight-card-large { grid-template-columns: 1fr; }
  .highlight-metric { align-self: start; padding: 16px 24px; min-width: auto; width: 100%; }
  .highlight-icon { width: 48px; height: 48px; margin-bottom: 16px; }
  .metric-value { font-size: 28px; }

  /* Capabilities */
  .capabilities-grid { grid-template-columns: 1fr; gap: 16px; }
  .capability-card { padding: 24px; }
  .capability-number { font-size: 36px; margin-bottom: 12px; }

  /* Benchmarks */
  .benchmark-table th,
  .benchmark-table td { padding: 12px 12px; font-size: 13px; }
  .benchmark-table .th-benchmark { min-width: 180px; }

  /* Showcases */
  .showcases-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

  /* Developer */
  .developer-content { grid-template-columns: 1fr; gap: 20px; }
  .code-block { padding: 16px; }
  .code-block pre { font-size: 12px; }
  .dev-feature { padding: 16px; gap: 12px; }
  .dev-feature-content h4 { font-size: 14px; }
  .dev-feature-content p { font-size: 12px; }
  .tools-strip { margin-top: 32px; }
  .tool-badge { padding: 6px 14px; font-size: 12px; }

  /* Model Info */
  .info-grid { grid-template-columns: 1fr; gap: 12px; }
  .info-card { padding: 20px; }
  .info-actions { flex-direction: column; align-items: stretch; }
  .info-actions .btn { justify-content: center; }

  /* FAQ */
  .faq-question { padding: 16px 20px; font-size: 14px; }
  .faq-answer p { padding: 0 20px 16px; font-size: 13px; }

  /* CTA */
  .cta-section { padding: 48px 0 80px; }
  .cta-card { padding: 48px 24px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }

  /* Footer */
  .footer { padding: 24px 0; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .footer-bottom-links { gap: 16px; }

  /* Disclaimer */
  .disclaimer-bar { font-size: 12px; padding: 10px 16px; }
}

/* ===== Responsive — Small Mobile (≤ 480px) ===== */
@media (max-width: 480px) {
  .showcases-grid { grid-template-columns: 1fr; }

  .hero-video { border-radius: var(--radius); }

  .section-title { font-size: 26px; }
  .hero-title { font-size: 42px; }

  .highlight-card h3 { font-size: 17px; }
  .capability-card h3 { font-size: 16px; }

  .blog-card-title { font-size: 17px; }
  .blog-card-featured .blog-card-title { font-size: 20px; }
  .blog-card { padding: 20px; }
  .blog-card-excerpt { font-size: 13px; }

  .benchmark-table th,
  .benchmark-table td { padding: 10px 10px; font-size: 12px; }
  .benchmark-table .th-benchmark { min-width: 140px; }

  .footer-bottom-links { flex-direction: column; gap: 8px; }
}

/* ===== Blog Pages ===== */

/* Active nav link */
.nav-link-active {
  color: var(--accent-2) !important;
}

/* Blog Hero */
.blog-hero {
  padding: calc(var(--nav-height) + 64px) 0 48px;
  text-align: center;
}

.blog-hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 12px 0 16px;
}

.blog-hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* Blog Filters */
.blog-filters {
  padding: 0 0 32px;
}

.blog-filter-list {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-filter {
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.blog-filter:hover {
  color: var(--text-secondary);
  border-color: var(--border-hover);
}

.blog-filter.active {
  color: var(--accent-2);
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.08);
}

/* Blog Grid */
.blog-grid-section {
  padding: 0 0 120px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.blog-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.blog-card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.04), rgba(192, 132, 252, 0.04));
  border-color: rgba(129, 140, 248, 0.12);
}

.blog-card-featured:hover {
  border-color: rgba(129, 140, 248, 0.25);
}

.blog-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-2);
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 100px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.blog-card-tag {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-release {
  color: #818cf8;
  background: rgba(129, 140, 248, 0.1);
}

.tag-benchmark {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
}

.tag-tutorial {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}

.tag-community {
  color: #f472b6;
  background: rgba(244, 114, 182, 0.1);
}

.blog-card-date {
  font-size: 13px;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-card-featured .blog-card-title {
  font-size: 24px;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.blog-card-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  transition: var(--transition);
}

.blog-card:hover .blog-card-read {
  gap: 10px;
}

/* ===== Article Page ===== */
.article {
  padding: calc(var(--nav-height) + 32px) 0 80px;
}

.article > .container {
  max-width: 760px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.article-breadcrumb a {
  color: var(--accent-2);
  transition: var(--transition);
}

.article-breadcrumb a:hover {
  color: var(--accent-1);
}

.article-header {
  margin-bottom: 48px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-date,
.article-reading {
  font-size: 13px;
  color: var(--text-muted);
}

.article-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.article-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Article Body — prose styling */
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 48px 0 16px;
  letter-spacing: -0.02em;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 12px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-body ul {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body li::marker {
  color: var(--accent-2);
}

.article-table-wrapper {
  margin: 24px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
}

.article-body .benchmark-table {
  font-size: 14px;
}

.article-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 48px 0 0;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  justify-content: center;
}

.article-nav {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.article-nav-back:hover {
  color: var(--accent-2);
  gap: 12px;
}

/* Blog responsive — Tablet */
@media (max-width: 1024px) {
  .blog-hero { padding: calc(var(--nav-height) + 48px) 0 36px; }
  .blog-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .article > .container { max-width: 680px; }
}

/* Blog responsive — Mobile */
@media (max-width: 768px) {
  .blog-hero { padding: calc(var(--nav-height) + 32px) 0 24px; }
  .blog-hero-title { font-size: 28px; }
  .blog-hero-desc { font-size: 14px; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-featured { grid-column: 1; }
  .blog-card { padding: 24px; }
  .blog-grid-section { padding: 0 0 80px; }

  .article { padding: calc(var(--nav-height) + 24px) 0 48px; }
  .article > .container { max-width: 100%; }
  .article-title { font-size: 26px; }
  .article-subtitle { font-size: 16px; }
  .article-breadcrumb { margin-bottom: 20px; }
  .article-header { margin-bottom: 32px; }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: 20px; margin: 36px 0 12px; }
  .article-body h3 { font-size: 17px; margin: 28px 0 10px; }
  .article-cta { padding: 24px; flex-direction: column; align-items: stretch; }
  .article-cta .btn { justify-content: center; }
  .article-nav { margin-top: 32px; padding-top: 24px; }
}

/* Blog responsive — Small Mobile */
@media (max-width: 480px) {
  .blog-hero-title { font-size: 24px; }
  .blog-card { padding: 20px; }
  .blog-card-title { font-size: 17px; }
  .blog-card-featured .blog-card-title { font-size: 20px; }

  .article-title { font-size: 22px; }
  .article-body { font-size: 14px; }
  .article-body h2 { font-size: 18px; }
  .article-body h3 { font-size: 16px; }
  .article-cta { padding: 20px; }

  .blog-filter-list {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }
}

/* ===== Touch-friendly & utility ===== */
@media (pointer: coarse) {
  .btn, .faq-question, .nav-links a, .code-tab, .copy-btn, .blog-filter {
    min-height: 44px;
  }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ===== Disclaimer Bar ===== */
.disclaimer-bar {
  width: 100%;
  padding: 14px 24px;
  background: #38bdf8;
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.01em;
}
