/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0A0F1E;
  --bg-2: #0F1629;
  --fg: #F0F4FF;
  --fg-dim: #8B95B0;
  --accent: #BFFF00;
  --accent-dim: rgba(191, 255, 0, 0.12);
  --accent-border: rgba(191, 255, 0, 0.25);
  --surface: #111827;
  --border: rgba(255,255,255,0.06);
  --radius: 12px;
  --radius-lg: 20px;
}
html { font-size: 16px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(10, 15, 30, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 8px;
  display: inline-block;
}
.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--fg-dim);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 6px 14px;
  border-radius: 100px;
}
.status-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(191,255,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,255,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(191,255,0,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,15,30,0.65) 0%, rgba(10,15,30,0.45) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-dim);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.75rem; color: var(--fg-dim); margin-top: 2px; max-width: 100px; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* === STORE WIDGET === */
.hero-visual { position: relative; }
.hero-dog-photo {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 2px solid var(--accent-border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  z-index: 3;
}
@media (max-width: 900px) {
  .hero-dog-photo { width: 160px; height: 160px; bottom: -10px; right: -10px; }
}
.store-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(191,255,0,0.05);
}
.widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.widget-dots { display: flex; gap: 6px; }
.widget-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.widget-dots span:nth-child(1) { background: #FF5F57; }
.widget-dots span:nth-child(2) { background: #FFBD2E; }
.widget-dots span:nth-child(3) { background: #28CA41; }
.widget-url { font-size: 0.75rem; color: var(--fg-dim); font-family: monospace; }
.widget-product {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-img-placeholder {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #1a2035 0%, #0f1629 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.product-glow-icon {
  width: 64px; height: 64px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-info { display: flex; flex-direction: column; gap: 4px; }
.product-name { font-weight: 600; font-size: 0.95rem; }
.product-price { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.product-btn {
  background: var(--accent);
  color: #0A0F1E;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  letter-spacing: 0.02em;
}
.widget-badges { display: flex; gap: 8px; padding: 0 20px 16px; flex-wrap: wrap; }
.badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}
.badge-green { background: rgba(0,200,83,0.15); color: #00C853; border: 1px solid rgba(0,200,83,0.2); }
.badge-dim { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent-border); }

/* === FLOATING CARDS === */
.hero-floating-cards { position: absolute; bottom: -30px; left: -40px; display: flex; flex-direction: column; gap: 10px; }
.float-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 0.78rem;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: floatBob 3s ease-in-out infinite;
}
.fc-1 { animation-delay: 0s; }
.fc-2 { animation-delay: 0.8s; }
.fc-3 { animation-delay: 1.6s; }
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* === SECTION COMMONS === */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 640px;
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 100px 48px;
  position: relative;
}
.howitworks .section-title { margin-bottom: 60px; }
.steps { display: flex; flex-direction: column; gap: 0; max-width: 800px; }
.step {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: start;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  padding-top: 4px;
}
.step-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-content p { font-size: 0.9rem; color: var(--fg-dim); line-height: 1.7; }
.step-arrow {
  width: 24px;
  height: 24px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  align-self: center;
}
.step-arrow::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  margin-bottom: 3px;
}
.howitworks-visual { margin-top: 60px; display: flex; justify-content: center; }
.pipeline { display: flex; align-items: center; gap: 0; }
.pipeline-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 500;
}
.pipeline-line { width: 48px; height: 1px; background: var(--accent-border); display: flex; align-items: center; justify-content: center; }
.pipeline-arrow { }

/* === FEATURES === */
.features {
  padding: 100px 48px;
  background: var(--bg-2);
}
.features .section-title { margin-bottom: 56px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 1200px;
}
.feature-card {
  background: var(--bg-2);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--fg-dim);
  line-height: 1.65;
}

/* === THE STACK === */
.thestack {
  padding: 100px 48px;
}
.thestack .section-title { margin-bottom: 16px; }
.thestack-sub {
  font-size: 1rem;
  color: var(--fg-dim);
  max-width: 520px;
  margin-bottom: 52px;
  line-height: 1.7;
}
.stack-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 800px;
}
.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  flex: 1;
  min-width: 120px;
  text-align: center;
  transition: border-color 0.2s;
}
.stack-item:hover { border-color: var(--accent-border); }
.stack-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stack-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}
.stack-role { font-size: 0.75rem; color: var(--fg-dim); }

/* === MANIFESTO === */
.manifesto {
  padding: 100px 48px;
  background: var(--bg-2);
}
.manifesto-inner { max-width: 760px; }
.manifesto-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 24px 0 28px;
  font-style: normal;
  position: relative;
  padding-left: 28px;
}
.manifesto-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.manifesto-body {
  font-size: 1rem;
  color: var(--fg-dim);
  line-height: 1.75;
  margin-bottom: 32px;
}
.manifesto-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--fg-dim);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 16px 20px;
  border-radius: var(--radius);
  max-width: 600px;
}
.rule-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* === CLOSING === */
.closing {
  padding: 120px 48px 100px;
}
.closing-inner { max-width: 760px; }
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}
.closing-promise {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}
.promise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}
.closing-vision {
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.closing-vision p {
  font-size: 0.9rem;
  color: var(--fg-dim);
  font-style: italic;
}

/* === FOOTER === */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-mark { width: 24px; height: 24px; border-radius: 6px; }
.footer-brand .logo-text { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; }
.footer-tagline { font-size: 0.85rem; color: var(--fg-dim); }
.footer-sub { font-size: 0.78rem; color: var(--fg-dim); opacity: 0.6; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { gap: 0; }
  .step { grid-template-columns: 40px 1fr; }
  .step-arrow { display: none; }
}
@media (max-width: 600px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .howitworks, .features, .thestack, .manifesto, .closing, .footer { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .stack-logos { gap: 12px; }
  .stack-item { min-width: calc(50% - 6px); }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}
