@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg: #f7f9fc;
  --panel: #ffffff;
  --panel-soft: #f0f4fb;
  --ink: #0b1220;
  --muted: #5a6475;
  --stroke: #e1e7f0;
  --accent: #0f60ff;
  --accent-2: #0ec2a3;
  --shadow-strong: 0 20px 70px rgba(12, 26, 75, 0.12);
  --shadow-soft: 0 8px 28px rgba(12, 26, 75, 0.08);
  --radius-lg: 18px;
  --radius-sm: 12px;
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 45%, #f4f6fb 100%);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 22px 80px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--panel-soft);
  color: var(--muted);
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero__body {
  position: relative;
}

.eyebrow {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.title {
  font-weight: 700;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
}

.lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 26px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 140ms ease, border-color 140ms ease, background 160ms ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), #3b7bff);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn.ghost {
  border-color: var(--stroke);
  color: var(--ink);
  background: #ffffff;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-strong);
}

.hero__meta {
  color: var(--muted);
  font-size: 15px;
}

.device-card {
  position: relative;
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.device-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 96, 255, 0.08), rgba(14, 194, 163, 0.08));
  opacity: 0.55;
  pointer-events: none;
}

.device-shell {
  position: relative;
  aspect-ratio: 3 / 5.6;
  max-width: 330px;
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid var(--stroke);
  background: #0f172a;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.device-glow {
  position: absolute;
  top: -18%;
  right: 6%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(15, 96, 255, 0.18), transparent 58%),
    radial-gradient(circle at 30% 30%, rgba(14, 194, 163, 0.14), transparent 60%);
  filter: blur(36px);
  pointer-events: none;
}

.device-screen {
  position: relative;
  margin: 12px;
  border-radius: 22px;
  background: linear-gradient(180deg, #111827, #0c1220);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.screen-content {
  position: relative;
  height: 100%;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #e5eaf6;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #79a7ff);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #ffffff;
}

.screen-title {
  font-weight: 600;
  font-size: 16px;
}

.pill-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #e5eaf6;
  border-radius: 10px;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: fit-content;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 46px 0 26px;
}

.card {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(15, 96, 255, 0.08);
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-title {
  margin: 54px 0 18px;
  font-size: 24px;
  letter-spacing: 0.2px;
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.step {
  background: linear-gradient(160deg, var(--panel), var(--panel-soft));
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}

.step strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.1px;
  margin-bottom: 8px;
  color: var(--ink);
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: var(--panel-soft);
  border: 1px solid var(--stroke);
  font-weight: 700;
  color: var(--ink);
}

.cta {
  margin-top: 56px;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: linear-gradient(120deg, rgba(15, 96, 255, 0.12), rgba(14, 194, 163, 0.12));
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}

.cta h3 {
  margin: 4px 0 6px;
  font-size: 22px;
  color: var(--ink);
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--panel-soft);
  border: 1px solid var(--stroke);
  color: var(--ink);
  font-weight: 600;
}

.install-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 30, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.install-modal.is-visible {
  display: flex;
}

.modal-card {
  background: var(--panel);
  border-radius: 16px;
  border: 1px solid var(--stroke);
  padding: 22px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-strong);
}

.modal-card h4 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--ink);
}

.modal-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--panel-soft);
  border: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 13px;
}

footer {
  margin-top: 40px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .device-card {
    order: -1;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 34px 18px 60px;
  }

  .title {
    font-size: 30px;
  }

  .lead {
    font-size: 16px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .device-shell {
    max-width: 260px;
  }
}
