:root {
  --bg: #050915;
  --panel: rgba(20, 28, 52, 0.9);
  --panel-strong: rgba(23, 35, 68, 0.95);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf8;
  --muted: #93a3c5;
  --accent: #7cf2d4;
  --accent-2: #7cc3ff;
  --danger: #ff6b6b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(1200px at 10% 20%, rgba(124, 242, 212, 0.08), transparent),
    radial-gradient(800px at 80% 0%, rgba(124, 195, 255, 0.12), transparent),
    radial-gradient(1000px at 50% 100%, rgba(255, 107, 107, 0.06), transparent);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
  background: rgba(5, 9, 21, 0.7);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(124, 242, 212, 0.15);
}

.nav-links {
  display: flex;
  gap: 16px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.site-main {
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
}

.hero {
  margin-top: 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: -20px;
  background: radial-gradient(500px at 20% 20%, rgba(124, 242, 212, 0.08), transparent),
    radial-gradient(600px at 80% 0%, rgba(124, 195, 255, 0.06), transparent);
  pointer-events: none;
  z-index: 0;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124, 195, 255, 0.12);
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 14px 0 12px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

p.lead {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #050915;
  box-shadow: 0 12px 30px rgba(124, 242, 212, 0.3);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}

.button:hover {
  transform: translateY(-1px);
}

.muted {
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  color: var(--muted);
}

.hero-visual {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 242, 212, 0.16), transparent 60%);
  top: -80px;
  right: -60px;
  filter: blur(10px);
}

.frame {
  background: #02040b;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid var(--border);
  position: relative;
}

.frame::after {
  content: "Jetpack Compose preview";
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 12px;
  color: var(--muted);
}

.screenshot {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
}

.section {
  margin-top: 48px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.03em;
}

.section p {
  margin: 0 0 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.card p {
  margin: 0;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.step strong {
  display: block;
  margin-bottom: 6px;
}

.privacy-block {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  background: rgba(5, 9, 21, 0.85);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  flex-wrap: wrap;
}

.foot-brand {
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.foot-links {
  display: flex;
  gap: 12px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 12px 0 18px;
}

@media (max-width: 720px) {
  .site-main {
    padding: 24px 0 60px;
  }

  .hero-card,
  .hero-visual,
  .card,
  .privacy-block {
    padding: 18px;
  }

  .nav-links {
    gap: 8px;
  }
}
