:root {
  --bg: #f6faf7;
  --bg2: #e8f5ec;
  --card: rgba(255, 255, 255, .72);
  --border: rgba(22, 101, 52, .12);
  --text: #0f1f16;
  --muted: #4b5f53;
  --accent: #16a34a;
  --accent-ink: #15803d;
  --amber: #f59e0b;
  --shadow: 0 10px 30px -12px rgba(22, 101, 52, .25);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1410;
    --bg2: #102019;
    --card: rgba(20, 36, 28, .7);
    --border: rgba(134, 239, 172, .12);
    --text: #e8f3ec;
    --muted: #9fb5a8;
    --accent: #22c55e;
    --accent-ink: #4ade80;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 85% -10%, var(--bg2), transparent 60%),
              radial-gradient(900px 600px at -10% 110%, var(--bg2), transparent 60%),
              var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* háttér: lebegő négyzetek a logóból */
.bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.sq {
  position: absolute;
  border-radius: 28%;
  background: var(--accent);
  opacity: .08;
  animation: float 14s ease-in-out infinite;
}
.s1 { width: 220px; height: 220px; top: 8%;  right: -60px; }
.s2 { width: 140px; height: 140px; top: 60%; right: 12%; animation-delay: -4s; }
.s3 { width: 180px; height: 180px; bottom: -50px; left: -40px; animation-delay: -8s; }
.s4 { width: 90px;  height: 90px;  top: 18%; left: 8%; background: var(--amber); opacity: .14; border-bottom-left-radius: 0; animation-delay: -2s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) { .sq { animation: none; } }

.top, main, footer { position: relative; z-index: 1; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  color: var(--text);
  text-decoration: none;
}
.mark { width: 34px; height: 34px; }
.mark rect { fill: var(--accent); }
.mark .bubble { fill: var(--amber); }


main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 6vh 20px 40px;
}

.hero { max-width: 720px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--accent-ink);
  font-size: .85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 800;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 20%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 0 0 14px;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}
.soon { margin: 0; font-weight: 600; color: var(--text); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.features article {
  padding: 22px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform .2s ease;
}
.features article:hover { transform: translateY(-3px); }
.ic {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.ic svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--accent-ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.features h2 { margin: 0 0 6px; font-size: 1.02rem; }
.features p  { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }

footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 20px 30px;
  color: var(--muted);
  font-size: .85rem;
}

@media (max-width: 520px) {
  .top { padding: 16px; }
  main { padding: 4vh 16px 32px; }
  .features { margin-top: 40px; }
}
