/* Hero */
.hero {
  padding: 160px 0 100px;
  position: relative;
}
.hero-label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--text-tertiary); margin-bottom: 24px;
  letter-spacing: 0.02em;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.6s ease 0.1s forwards;
}
.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5.5vw, 56px); font-weight: 600;
  line-height: 1.12; letter-spacing: -0.03em;
  color: var(--text); max-width: 640px; margin-bottom: 24px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 0.7s ease 0.2s forwards;
}
.hero h1 em {
  font-style: normal;
  color: var(--text-secondary);
}
.hero-description {
  font-size: 17px; font-weight: 400; line-height: 1.7;
  color: var(--text-secondary); max-width: 520px; margin-bottom: 40px;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.7s ease 0.35s forwards;
}
.hero-row {
  display: flex; gap: 56px; align-items: flex-start;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 0.7s ease 0.45s forwards;
}

/* Form */
.waitlist-form {
  display: flex; flex-direction: column; gap: 12px;
  flex-shrink: 0;
}
.input-row { display: flex; gap: 8px; }
.waitlist-form input[type="email"] {
  font-family: var(--font-sans); font-size: 14px; font-weight: 400;
  padding: 10px 14px; width: 260px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 6px; color: var(--text); outline: none;
  transition: border-color 0.2s ease;
}
.waitlist-form input[type="email"]::placeholder { color: var(--text-tertiary); }
.waitlist-form input[type="email"]:focus { border-color: var(--border-hover); }
.waitlist-form button {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  padding: 10px 20px; background: var(--accent); color: var(--accent-text);
  border: none; border-radius: 6px; cursor: pointer;
  transition: background 0.2s ease; white-space: nowrap;
}
.waitlist-form button:hover { background: var(--accent-hover); }
.waitlist-form button:active { transform: scale(0.98); }
.waitlist-form.submitted .input-row { display: none; }
.waitlist-form .success-msg {
  display: none; font-family: var(--font-mono); font-size: 13px;
  color: var(--text-secondary);
}
.waitlist-form.submitted .success-msg { display: block; }

@media (max-width: 540px) {
  .input-row { flex-direction: column; }
  .waitlist-form input[type="email"] { width: 100%; }
}

/* Code block */
.code-block {
  background: var(--bg-code); border-radius: 10px;
  padding: 0; overflow: hidden; min-width: 340px;
  font-family: var(--font-mono); font-size: 13px;
  line-height: 1.7; color: #A1A09D;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
}
.code-header {
  padding: 12px 16px; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #2A2A28;
}
.code-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3A3A38;
}
.code-title {
  font-size: 11px; color: #6B6A67; margin-left: 8px;
}
.code-body { padding: 20px 20px 24px; }
.code-body .cm { color: #6B6A67; }
.code-body .kw { color: #7FDBCA; }
.code-body .str { color: #C3E88D; }
.code-body .flag { color: #82AAFF; }
.code-body .url { color: #F0F0EE; }

@media (max-width: 860px) {
  .hero-row { flex-direction: column; gap: 40px; }
  .code-block { min-width: 0; width: 100%; max-width: 420px; }
}

/* Capabilities */
.capabilities { padding: 100px 0; }
.cap-header { margin-bottom: 56px; }
.section-label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--text-tertiary); margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.cap-header h2 {
  font-family: var(--font-sans);
  font-size: clamp(24px, 3.5vw, 32px); font-weight: 600;
  line-height: 1.25; letter-spacing: -0.02em;
  max-width: 480px;
}
.cap-header p {
  font-size: 15px; font-weight: 400; line-height: 1.7;
  color: var(--text-secondary); max-width: 480px; margin-top: 12px;
}

.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden;
}
.cap-item {
  background: var(--bg); padding: 32px 28px;
}
.cap-item h3 {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 600; line-height: 1.4;
  margin-bottom: 10px;
}
.cap-item p {
  font-size: 14px; font-weight: 400; line-height: 1.7;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .cap-grid { grid-template-columns: 1fr; }
}

/* Audience */
.audience {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.audience-grid { display: flex; gap: 48px; justify-content: center; }
.audience-item { text-align: center; }
.audience-item h4 {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  margin-bottom: 4px;
}
.audience-item p {
  font-size: 13px; font-weight: 400; color: var(--text-tertiary);
}
@media (max-width: 640px) {
  .audience-grid { flex-direction: column; gap: 24px; align-items: center; }
}

/* Closing */
.closing {
  padding: 120px 0; text-align: center;
  border-top: 1px solid var(--border);
}
.closing .section-label { margin-bottom: 20px; }
.closing h2 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 40px); font-weight: 600;
  line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px;
}
.closing h2 em {
  font-style: normal;
  color: var(--text-secondary);
}
.closing > .container > p {
  font-size: 15px; font-weight: 400; color: var(--text-secondary);
  max-width: 400px; margin: 0 auto 40px; line-height: 1.7;
}
.closing .waitlist-form { align-items: center; }
.closing .input-row { justify-content: center; }

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

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