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

html, body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #212121;
}

/* ── Navbar ─────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 56px;
  background: #212121;
  box-shadow:
    0 2px 2px 0 rgba(0,0,0,.14),
    0 1px 5px 0 rgba(0,0,0,.12),
    0 3px 1px -2px rgba(0,0,0,.2);
  padding: 0 16px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 10px 16px;
  border-radius: 2px;
  transition: background 0.15s ease;
}

.nav-link:hover {
  background: rgba(255,255,255,0.1);
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #212121;
  padding-top: 56px;
  overflow: hidden;
}

.hero-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  min-width: 320px;
  padding: 72px 40px;
  text-align: center;
}

.logo-img {
  width: 28%;
  max-width: 140px;
  height: auto;
}

.logo-title {
  font-size: 38px;
  font-weight: 600;
  color: #fafafa;
  margin: 24px 0 12px;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 36px;
  line-height: 1.5;
}

.btn-cta {
  display: inline-block;
  background: #43a047;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 4px;
  box-shadow:
    0 2px 4px rgba(0,0,0,.3),
    0 4px 12px rgba(67,160,71,.35);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn-cta:hover {
  background: #388e3c;
  box-shadow:
    0 4px 8px rgba(0,0,0,.3),
    0 6px 18px rgba(67,160,71,.4);
  transform: translateY(-1px);
}

.hero-screen {
  position: relative;
  display: flex;
  justify-content: center;
  width: 50%;
  min-width: 320px;
  background: #212121;
}

.hero-screen-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72%;
  min-width: 260px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 500ms ease-out, opacity 800ms ease-in;
}

.hero-screen-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Feature sections ────────────────────────────────────── */

.feature,
.text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 80px 24px;
  text-align: center;
}

.stripe {
  background: #f0f0f0;
}

.feature-title {
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 16px;
  width: 80%;
  max-width: 680px;
  letter-spacing: -0.3px;
}

.feature-text {
  font-size: 17px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 48px;
  width: 80%;
  max-width: 620px;
}

.text-section .feature-text {
  margin-bottom: 0;
}

.feature-img {
  width: 72%;
  max-width: 860px;
  height: auto;
}

/* ── Support link ────────────────────────────────────────── */

.support-link {
  color: #43a047;
  text-decoration: none;
  font-weight: 500;
}

.support-link:hover {
  text-decoration: underline;
}

/* ── Footer ──────────────────────────────────────────────── */

.footer {
  background: #212121;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 8px;
}

.footer-link {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 2px;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: rgba(255,255,255,0.9);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 720px) {
  .hero-logo,
  .hero-screen {
    width: 100%;
  }

  .hero-logo {
    padding: 48px 32px;
  }

  .feature-title,
  .feature-text {
    width: 92%;
  }

  .feature-img {
    width: 92%;
  }
}
