:root {
  --night: #040810;
  --deep: #070e1a;
  --card-bg: rgba(10, 20, 40, 0.7);
  --card-border: rgba(80, 200, 160, 0.12);
  --aurora-green: #3dffa0;
  --aurora-teal: #00e5cc;
  --aurora-blue: #4db8ff;
  --aurora-violet: #a78bfa;
  --aurora-pink: #f472b6;
  --text-primary: #eef4ff;
  --text-secondary: rgba(200, 220, 255, 0.65);
  --text-muted: rgba(150, 180, 220, 0.45);
  --accent: #3dffa0;
  --accent-glow: rgba(61, 255, 160, 0.25);
  --sale-red: #ff6b6b;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 72px;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--night);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#aurora-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

nav, section, footer { position: relative; z-index: 2; }

#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s;
}

#main-nav.scrolled {
  background: rgba(4, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(61, 255, 160, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-teal));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--night);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

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

.nav-cta {
  color: var(--aurora-green) !important;
  border: 1px solid rgba(61, 255, 160, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  transition: all 0.2s !important;
}

.nav-cta:hover {
  background: rgba(61, 255, 160, 0.1) !important;
  border-color: var(--aurora-green) !important;
}

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

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 48px);
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.2s;
}

.mobile-link:hover { color: var(--aurora-green); }

#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  padding-top: var(--nav-h);
  position: relative;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61, 255, 160, 0.08);
  border: 1px solid rgba(61, 255, 160, 0.2);
  color: var(--aurora-green);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
  margin-top: 80px;
}

.hero-headline .line {
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(30px);
}

.line-1 { animation: fadeUp 0.8s 0.4s forwards; }
.line-2 { animation: fadeUp 0.8s 0.55s forwards; }

.hero-headline .accent {
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-teal), var(--aurora-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 44px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.85s forwards;
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 52px;
  opacity: 0;
  animation: fadeUp 1s 1.4s forwards;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--aurora-green), transparent);
  animation: scrollPulse 2s 1.4s infinite;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--aurora-green);
  color: var(--night);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: all 0.25s;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(61, 255, 160, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.25s;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(61, 255, 160, 0.35);
  color: var(--aurora-green);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s;
  margin-top: 28px;
}

.btn-outline:hover {
  background: rgba(61, 255, 160, 0.08);
  transform: translateY(-2px);
}

#stats {
  padding: 60px 5%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-card:hover {
  border-color: rgba(61, 255, 160, 0.3);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--aurora-green);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 5%;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--aurora-green);
  margin-bottom: 16px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 56px;
}

.body-copy {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

#about { padding: 0; }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: rgba(10, 20, 40, 0.8);
  border: 1px solid rgba(61, 255, 160, 0.15);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s;
  cursor: default;
}

.pill:hover, .pill-active {
  background: rgba(61, 255, 160, 0.1);
  border-color: rgba(61, 255, 160, 0.4);
  color: var(--aurora-green);
}

.assets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}

.asset-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.asset-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--aurora-green), var(--aurora-teal));
  opacity: 0;
  transition: opacity 0.3s;
}

.asset-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 255, 160, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(61, 255, 160, 0.06);
}

.asset-card:hover::after { opacity: 1; }

.highlight-bundle {
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(15, 10, 40, 0.8);
}

.highlight-bundle::after {
  background: linear-gradient(90deg, var(--aurora-violet), var(--aurora-pink)) !important;
}

.asset-cover {
  width: 100%;
  aspect-ratio: 420 / 280;
  overflow: hidden;
  flex-shrink: 0;
}

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

.asset-card:hover .asset-cover img {
  transform: scale(1.04);
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(24px, 8vw, 42px);
    padding-inline: 16px;
  }

  .hero-headline .line {
    white-space: normal;
    overflow-wrap: break-word;
  }
}

.asset-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.asset-badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.asset-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--aurora-teal);
  background: rgba(0, 229, 204, 0.08);
  border: 1px solid rgba(0, 229, 204, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
}

.tag-bundle {
  color: var(--aurora-violet);
  background: rgba(167, 139, 250, 0.08);
  border-color: rgba(167, 139, 250, 0.25);
}

.asset-new {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--aurora-green);
  background: rgba(61, 255, 160, 0.1);
  border: 1px solid rgba(61, 255, 160, 0.25);
  padding: 3px 10px;
  border-radius: 100px;
}

.asset-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 4px;
}

.asset-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.asset-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.asset-stars {
  font-size: 13px;
  color: #fbbf24;
}

.asset-stars span {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: 3px;
}

.asset-price {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.price-new {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--aurora-green);
}

.assets-cta {
  text-align: center;
}

#reviews { padding: 0; }
#reviews .section-inner { padding-top: 0; }

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

.review-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.review-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
  width: 0; 
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 255, 160, 0.25);
}

.review-featured {
  border-color: rgba(61, 255, 160, 0.25);
  background: rgba(10, 28, 50, 0.85);
}

.review-stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

blockquote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
  font-weight: 300;
}

.review-card blockquote {
  margin-bottom: 24px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-green), var(--aurora-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--night);
  flex-shrink: 0;
}

.author-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

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

#docs-cta {
  padding: 0;
}

#docs-cta .section-inner {
  padding-top: 40px;
}

.docs-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.terminal-mock {
  background: rgba(4, 10, 20, 0.95);
  border: 1px solid rgba(61, 255, 160, 0.15);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Courier New', monospace;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(61, 255, 160, 0.04);
}

.terminal-bar {
  background: rgba(20, 30, 50, 0.9);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(61, 255, 160, 0.08);
}

.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.t-dot.red { background: #ff5f57; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green { background: #28ca41; }

.t-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: auto;
  margin-right: auto;
}

.terminal-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.t-line {
  font-size: 14px;
  line-height: 1.6;
}

.t-blank { height: 8px; }

.t-comment { color: rgba(100, 150, 120, 0.7); }
.t-keyword { color: #64b5f6; }
.t-string { color: var(--aurora-green); }
.t-fn { color: #ffcc80; }

.t-cursor {
  color: var(--aurora-green);
  animation: blink 1.2s infinite;
}

#footer {
  position: relative;
  padding: 60px 5% 0;
  margin-top: 60px;

  background: rgba(4, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border-top: 1px solid rgba(61, 255, 160, 0.08);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 260px;
  margin-top: 12px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--aurora-green); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
  color: var(--text-muted);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.site-logo {
  height: 42px;
  width: auto;
  display: block;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .assets-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .docs-cta-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .assets-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 40px; }
  h2 { letter-spacing: -1.5px; }
  .hero-headline { letter-spacing: -2px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 16px; }
}