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

:root {
  --bg: #0a0a0f;
  --bg-2: #111118;
  --bg-card: #16161f;
  --fg: #f0ece4;
  --fg-muted: #8a8799;
  --accent: #FF4D00;
  --accent-dim: rgba(255, 77, 0, 0.15);
  --accent-2: #FF7A3D;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }

/* === Nav === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: white;
}
.nav-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,77,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,77,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,77,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 0%, transparent 70%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(255,77,0,0.3);
  border-radius: 100px;
  font-size: 13px;
  color: var(--accent-2);
  margin-bottom: 24px;
  font-family: var(--font-body);
  font-weight: 500;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.0;
}
.hero-title-line { display: block; }
.hero-title-line.accent { color: var(--accent); }
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  font-style: italic;
}

/* Agent Card */
.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 0 60px rgba(255,77,0,0.08);
}
.agent-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.agent-avatar { flex-shrink: 0; }
.agent-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}
.agent-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #22c55e;
  margin-top: 3px;
}
.status-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.agent-feed { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.feed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-muted);
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}
.feed-item.done { color: #a8b2c0; }
.feed-item.active { color: var(--fg); background: var(--accent-dim); border: 1px solid rgba(255,77,0,0.2); }
.feed-icon { flex-shrink: 0; width: 16px; display: flex; align-items: center; }
.agent-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.agent-stat {
  background: var(--bg-2);
  padding: 14px;
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
}
.stat-label {
  display: block;
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 3px;
}

/* === Problem Section === */
.problem { padding: 100px 40px; background: var(--bg-2); }
.problem-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: var(--font-body);
}
.problem-title {
  font-size: clamp(32px, 4vw, 56px);
  margin-bottom: 60px;
  max-width: 700px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 60px;
}
.problem-card {
  background: var(--bg-card);
  padding: 40px;
}
.problem-icon {
  margin-bottom: 20px;
  opacity: 0.9;
}
.problem-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--fg);
}
.problem-card p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.problem-quote {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: var(--fg-muted);
  padding: 40px 0;
  font-style: italic;
}

/* === Features === */
.features { padding: 100px 40px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-title {
  font-size: clamp(28px, 3.5vw, 48px);
  margin-bottom: 60px;
  max-width: 600px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(255,77,0,0.3); }
.feature-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--fg);
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.feature-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.detail-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(255,77,0,0.2);
  border-radius: 100px;
  color: var(--accent-2);
  font-weight: 500;
}

/* === How === */
.how { padding: 100px 40px; background: var(--bg-2); }
.how-inner { max-width: 800px; margin: 0 auto; }
.how-title {
  font-size: clamp(28px, 3.5vw, 48px);
  margin-bottom: 60px;
}
.how-steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  padding-bottom: 48px;
}
.step:last-child { padding-bottom: 0; }
.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-num {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
}
.step-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, var(--accent), transparent);
  min-height: 40px;
  margin: 8px 0;
}
.step:last-child .step-line { display: none; }
.step-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--fg);
}
.step-content p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === Manifesto === */
.manifesto { padding: 100px 40px; }
.manifesto-inner { max-width: 800px; margin: 0 auto; }
.manifesto-quote {
  margin-bottom: 48px;
}
.quote-mark {
  font-size: 80px;
  font-family: var(--font-display);
  color: var(--accent);
  line-height: 0.5;
  display: block;
  margin-bottom: 16px;
}
blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
  font-style: italic;
}
.manifesto-body p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.manifesto-body p:last-child { margin-bottom: 0; }

/* === Closing === */
.closing { padding: 120px 40px; background: linear-gradient(to bottom, var(--bg), var(--bg-2)); }
.closing-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.closing-title {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 40px;
}
.closing-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}
.value-price {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
}
.value-period {
  font-size: 22px;
  color: var(--fg-muted);
}
.value-note {
  font-size: 14px;
  color: var(--fg-muted);
  margin-left: 16px;
}

/* === Footer === */
.footer { padding: 48px 40px; border-top: 1px solid var(--border); }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  color: white;
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--fg-muted);
}

/* === Responsive === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .nav { padding: 16px 20px; }
}
@media (max-width: 600px) {
  .hero, .problem, .features, .how, .manifesto, .closing { padding: 80px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .closing-value { flex-direction: column; align-items: center; gap: 4px; }
  .value-note { margin-left: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .agent-footer { grid-template-columns: 1fr 1fr; }
  .agent-footer .agent-stat:last-child { grid-column: 1/-1; }
}