/* ═══════════════════════════════════════
   DOCUMENTATION PAGE — docs.css
   Imports base design tokens from styles.css
═══════════════════════════════════════ */

/* ── Hero ── */
.docs-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 100px;
  background: #ffffff;
  overflow: hidden;
  text-align: center;
}

/* Radial green glow */
.docs-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  border-radius: 9999px;
  background: radial-gradient(
    ellipse 60% 55% at 50% 50%,
    rgba(16, 185, 129, 0.11) 0%,
    rgba(16, 185, 129, 0) 70%
  );
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
}

/* Subtle dot-grid */
.docs-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(16,185,129,0.055) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.docs-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateY(22px);
}

/* ── Eyebrow ── */
.docs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 28px;
}

.docs-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ── Heading ── */
.docs-h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-h);
  margin: 0 0 24px;
}

/* ── Sub / support text ── */
.docs-sub {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0 0 14px;
}

.docs-support {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 44px;
}

/* ── Form card ── */
.docs-form-card {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  margin-bottom: 48px;
}

.docs-form {
  display: flex;
  gap: 10px;
}

/* ── Input ── */
.docs-input-wrap {
  position: relative;
  flex: 1;
}

.docs-input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.docs-input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 38px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text-h);
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.docs-input::placeholder { color: #9ca3af; }

.docs-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
  background: #ffffff;
}

/* ── Button ── */
.docs-btn {
  height: 46px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  background: #10b981;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  box-shadow: 0 2px 10px rgba(16,185,129,0.3);
}

.docs-btn:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(16,185,129,0.35);
}

.docs-btn:active { transform: translateY(0); }

/* ── Hint ── */
.docs-form-hint {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
}

/* ── Success state ── */
.docs-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #059669;
  padding: 6px 0;
}

/* ── Coming soon items ── */
.docs-items {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-light);
  overflow: hidden;
  width: 100%;
  max-width: 680px;
}

.docs-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
}

.docs-item-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.docs-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(16,185,129,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.docs-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.docs-item-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-h);
}

.docs-item-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  opacity: 0.8;
}

/* ── Responsive ── */
@media (max-width: 620px) {
  .docs-hero { padding: 120px 20px 80px; }
  .docs-sub br, .docs-support br { display: none; }

  .docs-form { flex-direction: column; }
  .docs-btn { width: 100%; }

  .docs-items { flex-direction: column; gap: 0; }
  .docs-item { width: 100%; box-sizing: border-box; }
  .docs-item-sep { width: 100%; height: 1px; }
}

@media (max-width: 400px) {
  .docs-form-card { padding: 24px 18px 20px; }
}
