:root {
  color-scheme: dark;
  --bg-top: #243c91;
  --bg-mid: #11215b;
  --bg-bottom: #05091f;
  --card: rgba(255, 255, 255, 0.1);
  --card-strong: rgba(255, 255, 255, 0.16);
  --line: rgba(255, 255, 255, 0.18);
  --text: #f4f7ff;
  --muted: #b9c4ef;
  --cyan: #51d6f3;
  --green: #5bd08d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 12%, rgba(92, 212, 255, 0.28), transparent 26rem),
    radial-gradient(circle at 18% 20%, rgba(120, 94, 255, 0.30), transparent 24rem),
    linear-gradient(180deg, var(--bg-top), var(--bg-mid) 42%, var(--bg-bottom));
}

a {
  color: inherit;
}

.site {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: center / cover no-repeat url("/app-icon.png"), linear-gradient(135deg, #6b56ff, #45d4f4);
  box-shadow: 0 12px 34px rgba(69, 212, 244, 0.28);
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding: 60px 0 76px;
}

.add-landing {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  padding: 56px 0 78px;
}

.add-card {
  width: min(680px, 100%);
  border: 1px solid rgba(122, 165, 255, 0.34);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 12%, rgba(81, 214, 243, 0.22), transparent 15rem),
    rgba(255, 255, 255, 0.10);
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
  padding: clamp(28px, 6vw, 54px);
}

.add-card h1 {
  font-size: clamp(40px, 8vw, 70px);
}

.add-icon {
  width: 82px;
  height: 82px;
  margin-bottom: 24px;
  border-radius: 24px;
  background: center / cover no-repeat url("/app-icon.png");
  box-shadow: 0 18px 46px rgba(81, 214, 243, 0.22);
}

.add-note {
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

[hidden] {
  display: none !important;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(135deg, #6b56ff, #45d4f4);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.phone {
  position: relative;
  width: min(330px, 100%);
  min-height: 610px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.36);
  padding: 22px;
}

.phone-screen {
  height: 566px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 8%, rgba(81, 214, 243, 0.35), transparent 10rem),
    linear-gradient(180deg, #2b43a0, #081039);
  padding: 28px 20px;
  overflow: hidden;
}

.avatar {
  width: 82px;
  height: 82px;
  margin: 12px auto 24px;
  border-radius: 50%;
  border: 5px solid var(--green);
  background: linear-gradient(135deg, #6b56ff, #45d4f4);
}

.search,
.chat-card,
.tabbar {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(18px);
}

.search {
  height: 58px;
  border-radius: 18px;
  color: var(--muted);
  display: flex;
  align-items: center;
  padding: 0 18px;
  margin-bottom: 16px;
}

.chat-card {
  min-height: 76px;
  border-radius: 18px;
  padding: 16px;
  margin-top: 14px;
}

.chat-card strong {
  display: block;
  margin-bottom: 8px;
}

.chat-card span {
  color: var(--muted);
}

.tabbar {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  height: 60px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 34px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  padding: 24px;
}

.card h2,
.card h3 {
  margin: 0 0 12px;
}

.card p,
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.75;
}

.legal {
  padding: 26px 0 72px;
}

.legal h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.legal-section {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .phone {
    margin: 0 auto;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
