:root {
  --bg-obsidian: #0B0F14;
  --surface-glass: #121820;
  --primary-emerald: #10B981;
  --secondary-amber: #F59E0B;
  --accent-purple: #9333EA;
  --text-light: #F3F4F6;
  --text-muted: #9CA3AF;
  --border-glow: 1px solid rgba(16, 185, 129, 0.25);
  --border-glow-hover: 1px solid rgba(245, 158, 11, 0.6);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;
  --radius-card: 12px;
  --transition-fast: 0.2s ease;
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-light);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: var(--primary-emerald);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary-amber);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* Header & Nav - Non-Sticky Flow */
.site-header {
  position: relative;
  width: 100%;
  background: rgba(18, 24, 32, 0.98);
  border-bottom: var(--border-glow);
  padding: 1.25rem 2rem;
  z-index: 100;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-light);
  letter-spacing: -0.5px;
}

.brand-logo svg {
  width: 32px;
  height: 32px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all var(--transition-fast);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.nav-link:hover {
  color: var(--primary-emerald);
  background: rgba(16, 185, 129, 0.1);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-emerald), #059669);
  color: #0B0F14;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all var(--transition-fast);
  min-height: 48px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  color: #0B0F14;
  background: linear-gradient(135deg, #34D399, var(--primary-emerald));
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--secondary-amber);
  border: 1px solid var(--secondary-amber);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.btn-secondary:hover {
  background: rgba(245, 158, 11, 0.15);
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.fallback-nav {
  max-width: 1280px;
  margin: 1.5rem auto 0 auto;
  padding: 0 2rem;
}

.btn-return {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary-emerald);
  background: var(--surface-glass);
  border: var(--border-glow);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.btn-return:hover {
  border-color: var(--secondary-amber);
  color: var(--secondary-amber);
  transform: translateX(-4px);
}

/* Layout Containers */
.main-wrapper {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

.section-padding {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title::before {
  content: '>';
  color: var(--primary-emerald);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 720px;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 6rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--primary-emerald);
  color: var(--primary-emerald);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-emerald);
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-light) 30%, var(--primary-emerald) 70%, var(--secondary-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  background: var(--surface-glass);
  border: var(--border-glow);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.hero-image-wrapper {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-tech-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Card Images & Layout */
.card-media-wrapper {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.card-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.debut-card:hover .card-media-img {
  transform: scale(1.05);
}

.debuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.debut-card {
  background: var(--surface-glass);
  border: var(--border-glow);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  position: relative;
}

.debut-card:hover {
  border: var(--border-glow-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

.card-content-wrap {
  flex: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--secondary-amber);
  background: rgba(245, 158, 11, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.batch-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary-emerald);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.card-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.card-metrics {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  background: rgba(11, 15, 20, 0.7);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.upvote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--text-light);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  min-height: 44px;
}

.upvote-btn:hover {
  background: var(--secondary-amber);
  color: #0B0F14;
  font-weight: 700;
}

.upvote-btn.upvoted {
  background: var(--secondary-amber);
  color: #0B0F14;
  font-weight: 700;
}

.specs-btn {
  flex: 1;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--primary-emerald);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  min-height: 44px;
  font-weight: 600;
}

.specs-btn:hover {
  background: var(--primary-emerald);
  color: #0B0F14;
  font-weight: 700;
}

/* Form Styling */
.access-form {
  background: var(--bg-obsidian);
  border: var(--border-glow);
  padding: 1.5rem;
  border-radius: var(--radius-card);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: var(--surface-glass);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--text-light);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-amber);
}

/* Articles Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--surface-glass);
  border: var(--border-glow);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-media-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.article-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.article-card:hover .article-media-img {
  transform: scale(1.05);
}

.article-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.article-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--secondary-amber);
}

.external-link:hover {
  text-decoration: underline;
  color: var(--primary-emerald);
}

/* Incubator Form Section */
.incubator-section {
  background: var(--surface-glass);
  border: var(--border-glow);
  border-radius: var(--radius-card);
  padding: 3rem;
  margin: 4rem 0;
}

/* Specs Page Layout */
.specs-detail-page {
  background: var(--surface-glass);
  border: var(--border-glow);
  border-radius: var(--radius-card);
  padding: 3rem;
  margin: 2rem 0 4rem 0;
}

.specs-header-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.specs-title-box h1 {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.specs-hero-media {
  width: 100%;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  border: var(--border-glow);
}

.specs-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.specs-grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.spec-stat-card {
  background: var(--bg-obsidian);
  border: var(--border-glow);
  padding: 1.25rem;
  border-radius: 8px;
}

.spec-stat-card .label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.spec-stat-card .value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-emerald);
  margin-top: 0.35rem;
}

.code-block-container {
  background: #07090D;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #F3F4F6;
  overflow-x: auto;
  margin: 1.5rem 0 2.5rem 0;
}

.code-block-container pre {
  margin: 0;
}

/* Legal Documents Styling */
.legal-content {
  background: var(--surface-glass);
  border: var(--border-glow);
  border-radius: var(--radius-card);
  padding: 3rem;
  margin: 2rem 0 4rem 0;
}

.legal-content h2 {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--primary-emerald);
  margin: 2rem 0 1rem 0;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.legal-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Footer Section */
.site-footer {
  background: #07090D;
  border-top: var(--border-glow);
  padding: 4rem 2rem 2rem 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-emerald);
}

.footer-address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Neomorphic Floating Cookie Consent Modal */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 420px;
  width: calc(100% - 3rem);
  background: var(--surface-glass);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 1px 1px 1px rgba(255, 255, 255, 0.05);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(12px);
}

.cookie-title {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(11, 15, 20, 0.7);
  padding: 0.75rem;
  border-radius: 8px;
}

.toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-light);
}

.toggle-item input[type="checkbox"] {
  accent-color: var(--primary-emerald);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-cookie-accept {
  flex: 1;
  background: var(--primary-emerald);
  color: #0B0F14;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.6rem;
  border-radius: 6px;
  font-weight: 700;
  min-height: 40px;
}

.btn-cookie-decline {
  flex: 1;
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.6rem;
  border-radius: 6px;
  min-height: 40px;
}

.btn-cookie-decline:hover {
  color: var(--text-light);
  border-color: var(--text-light);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem;
  }
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-menu {
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
  }
  .hero-headline {
    font-size: 2.2rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .incubator-section, .legal-content, .specs-detail-page {
    padding: 1.5rem;
  }
}