/* pocketweb.uk — dark editorial aesthetic */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0b0b0e;
  --surface: #131316;
  --surface2: #1a1a1f;
  --border: #252529;
  --accent: #f0c040;
  --accent2: #e8a820;
  --green: #34d399;
  --blue: #5b8def;
  --text: #d0d0d4;
  --dim: #77777e;
  --heading: #f5f5f7;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Manrope, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
}
.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.nav-links {
  display: flex;
  gap: 6px;
}
.nav-links a {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dim);
  transition: all 120ms;
}
.nav-links a:hover {
  background: var(--surface2);
  color: var(--text);
}
.nav-links a.active {
  color: var(--heading);
  background: var(--surface2);
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 72px 20px 56px;
  position: relative;
  overflow: hidden;
}
.hero-web-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  opacity: 0.03;
  animation: spin-slow 120s linear infinite;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(240,192,64,0.08);
  border: 1px solid rgba(240,192,64,0.2);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  position: relative;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
.hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeUp 0.5s ease 0.1s both;
  position: relative;
}
.hero p {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto 32px;
  animation: fadeUp 0.5s ease 0.2s both;
  position: relative;
}
.hero-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.5s ease 0.3s both;
  position: relative;
}

/* ── Ecosystem strip ── */
.eco-strip {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  animation: fadeUp 0.5s ease 0.4s both;
  position: relative;
}
.eco-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 20px;
  text-align: center;
  min-width: 160px;
  transition: border-color 120ms;
}
.eco-card:hover { border-color: #3a3a40; }
.eco-card img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.eco-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 3px;
}
.eco-card p {
  font-size: 11px;
  color: var(--dim);
  line-height: 1.4;
}

/* ── Section ── */
.section {
  padding: 56px 20px;
  max-width: 660px;
  margin: 0 auto;
}
.section-alt {
  background: var(--surface);
  max-width: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-alt .section-inner {
  max-width: 660px;
  margin: 0 auto;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.section-sub {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 32px;
}

/* ── Steps ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #000;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 5px;
}
.step p {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.6;
}

/* ── Feature cards ── */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 500px) {
  .features { grid-template-columns: 1fr; }
}
.feature {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color 120ms;
}
.feature:hover { border-color: #3a3a40; }
.feature-icon {
  font-size: 24px;
  margin-bottom: 10px;
}
.feature h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 5px;
}
.feature p {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.55;
}

/* ── Diagram ── */
.diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.diagram-node {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  min-width: 120px;
}
.diagram-node .icon { font-size: 28px; margin-bottom: 6px; }
.diagram-node h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--heading);
}
.diagram-node p {
  font-size: 11px;
  color: var(--dim);
  margin-top: 2px;
}
.diagram-arrow {
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.faq-q:hover { color: var(--accent); }
.faq-q .arrow {
  font-size: 16px;
  color: var(--dim);
  transition: transform 200ms;
}
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 0 16px;
  font-size: 13px;
  color: var(--dim);
  line-height: 1.65;
}

/* ── CTA banner ── */
.cta-banner {
  text-align: center;
  padding: 48px 20px;
  background: linear-gradient(135deg, rgba(240,192,64,0.06), rgba(91,141,239,0.04));
  border-top: 1px solid var(--border);
}
.cta-banner h2 {
  font-size: 22px;
  color: var(--heading);
  margin-bottom: 8px;
}
.cta-banner p {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 24px;
}

/* ── Buttons ── */
.btn-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: all 120ms;
  text-decoration: none;
}
.btn-gold {
  background: var(--accent);
  color: #000;
}
.btn-gold:hover { background: var(--accent2); color: #000; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 28px 20px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--dim);
}
.footer a { color: var(--dim); margin: 0 8px; }
.footer a:hover { color: var(--accent); }
