/* ============================================
   YONASOL — Dark Techy Venture Studio
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #161622;
  --bg-card-hover: #1a1a2a;
  --accent: #00e5c7;
  --accent-dim: rgba(0, 229, 199, 0.15);
  --accent-glow: rgba(0, 229, 199, 0.4);
  --secondary-accent: #6366f1;
  --secondary-glow: rgba(99, 102, 241, 0.3);
  --text-primary: #e8e8ed;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --danger: #ff4d6a;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(0, 229, 199, 0.3);
  --nav-height: 72px;
  --container-max: 1200px;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #33ffe0;
}

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Defaults --- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -1px;
  line-height: 1.1;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
}

.logo-cursor {
  color: var(--accent);
  animation: cursorBlink 1s step-end infinite;
  font-family: var(--font-mono);
  font-weight: 400;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-decoration: none;
}

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

.nav-link.active {
  color: var(--accent);
  background: var(--accent-dim);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

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

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Radial glow effects behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0, 229, 199, 0.08) 0%, rgba(99, 102, 241, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
  z-index: 1;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
}

.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 229, 199, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 199, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  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 {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 199, 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--secondary-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Terminal */
.terminal-container {
  max-width: 520px;
  margin: 0 auto 48px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(18, 18, 26, 0.9);
  border: 1px solid var(--border);
  box-shadow:
    0 0 40px rgba(0, 229, 199, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

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

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.terminal-body {
  padding: 16px;
  min-height: 120px;
}

.terminal-output {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
}

.terminal-output .line {
  opacity: 0;
  animation: fadeInLine 0.3s ease forwards;
}

.terminal-output .line .prompt {
  color: var(--accent);
}

.terminal-output .line .command {
  color: var(--text-primary);
}

.terminal-output .line .output {
  color: var(--text-secondary);
  padding-left: 18px;
  display: block;
}

@keyframes fadeInLine {
  to { opacity: 1; }
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.terminal-prompt {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.terminal-cursor {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  animation: cursorBlink 0.8s step-end infinite;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), #00c4a7);
  color: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(0, 229, 199, 0.2);
  letter-spacing: 0.5px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 229, 199, 0.35);
  color: var(--bg-primary);
}

.cta-button i {
  font-size: 12px;
  animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(4px); }
  60% { transform: translateY(2px); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

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

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--bg-primary);
  overflow: hidden;
}

.about-text {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.8;
  margin-bottom: 64px;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.stat-item {
  position: relative;
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.stat-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.stat-item:hover .stat-glow {
  opacity: 0.3;
}

/* Philosophy Cards */
.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy-card {
  padding: 40px 32px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.philosophy-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 10px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 20px;
}

.philosophy-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
  background: var(--bg-secondary);
  position: relative;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 199, 0.15), transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.product-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--secondary-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(0, 229, 199, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 229, 199, 0.05);
}

.product-card:hover::before {
  opacity: 1;
}

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-version {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.product-status {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.status-development {
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 199, 0.2);
}

.status-beta {
  color: var(--secondary-accent);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.status-alpha {
  color: var(--danger);
  background: rgba(255, 77, 106, 0.15);
  border: 1px solid rgba(255, 77, 106, 0.2);
}

.product-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-tech {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  transition: gap 0.3s ease;
}

.product-link:hover {
  gap: 10px;
}

.product-link i {
  font-size: 10px;
}

/* Coming Soon Row */
.coming-soon-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

.coming-soon-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  opacity: 0.5;
}

.coming-soon-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.coming-soon-plus {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 24px;
  opacity: 0.5;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
  background: var(--bg-primary);
}

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

.blog-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  cursor: pointer;
}

.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.blog-terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.blog-filename {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.blog-content {
  padding: 24px;
}

.blog-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.7;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

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

.blog-read-more {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-read-more {
  opacity: 1;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--bg-secondary);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 199, 0.15), transparent);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), #00c4a7);
  color: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 229, 199, 0.2);
}

.submit-btn.sent {
  background: var(--accent-dim);
  color: var(--accent);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.contact-email i {
  color: var(--accent);
  font-size: 16px;
}

.contact-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 229, 199, 0.1);
}

.contact-location {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
}

.contact-location i {
  color: var(--danger);
}

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

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}

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

.footer-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for cards */
.philosophy-cards .animate-in:nth-child(1) { transition-delay: 0s; }
.philosophy-cards .animate-in:nth-child(2) { transition-delay: 0.1s; }
.philosophy-cards .animate-in:nth-child(3) { transition-delay: 0.2s; }

.products-grid .animate-in:nth-child(1) { transition-delay: 0s; }
.products-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.products-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }

.blog-grid .animate-in:nth-child(1) { transition-delay: 0s; }
.blog-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.blog-grid .animate-in:nth-child(3) { transition-delay: 0.2s; }

.stats-row .animate-in:nth-child(1) { transition-delay: 0s; }
.stats-row .animate-in:nth-child(2) { transition-delay: 0.08s; }
.stats-row .animate-in:nth-child(3) { transition-delay: 0.16s; }
.stats-row .animate-in:nth-child(4) { transition-delay: 0.24s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 15px;
    padding: 12px 16px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-value {
    font-size: 28px;
  }

  .philosophy-cards,
  .products-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .terminal-container {
    max-width: 100%;
  }

  .coming-soon-row {
    flex-wrap: wrap;
  }

  .footer-grid {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 16px 60px;
  }
  
  .container {
    padding: 0 16px;
  }

  .hero-badge {
    font-size: 10px;
  }

  .stat-item {
    padding: 24px 12px;
  }

  .product-card {
    padding: 24px;
  }
}

/* ============================================
   SPECIAL EFFECTS
   ============================================ */

/* Ambient glow on about section */
.about-section::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06), transparent 70%);
  pointer-events: none;
}

/* Noise overlay on body */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* Glow line under nav on scroll */
.navbar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.navbar.scrolled::after {
  opacity: 0.3;
}