﻿:root {
  --bg: #eef3f1;
  --bg-deep: #e2ebe7;
  --ink: #10241f;
  --mute: #5f746c;
  --line: rgba(16, 36, 31, 0.1);
  --mint: #1ec8a5;
  --mint-soft: #b8f3e4;
  --sand: #f6efe4;
  --danger: #d64b3a;
  --ok: #0f9f6e;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  color: var(--ink);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.home { overflow-x: hidden; }

.aurora {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, #f7faf8 0%, #e8f2ee 42%, #f4efe7 100%);
}

.aurora.soft {
  background: linear-gradient(160deg, #f8fbf9 0%, #eef5f2 55%, #f6f1ea 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.7;
  animation: drift 14s ease-in-out infinite alternate;
}
.b1 {
  width: 48vw; height: 48vw; max-width: 620px; max-height: 620px;
  left: -8%; top: -12%;
  background: radial-gradient(circle, #9af0d8 0%, transparent 70%);
}
.b2 {
  width: 42vw; height: 42vw; max-width: 520px; max-height: 520px;
  right: -6%; top: 8%;
  background: radial-gradient(circle, #f0d7a8 0%, transparent 70%);
  animation-delay: -4s;
}
.b3 {
  width: 36vw; height: 36vw; max-width: 460px; max-height: 460px;
  left: 28%; bottom: -18%;
  background: radial-gradient(circle, #cfe8ff 0%, transparent 70%);
  animation-delay: -7s;
}

.grid-fade {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(16, 36, 31, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 36, 31, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

.top, .hero, .features, .auth-shell, .cabinet {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 64px);
}

.logo {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  color: var(--mute);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 0.65rem 1.15rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark {
  background: var(--ink);
  color: #f4faf7;
}
.btn-dark:hover { box-shadow: 0 14px 30px rgba(16, 36, 31, 0.18); }
.btn-outline {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(10px);
}
.btn-lg { padding: 0.95rem 1.45rem; font-size: 1rem; }
.btn-block { width: 100%; }
.linkish {
  border: 0;
  background: none;
  color: var(--mute);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.linkish:hover { color: var(--ink); }

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 2vh clamp(20px, 5vw, 64px) 8vh;
}

.hero-copy { animation: up 0.85s cubic-bezier(.2,.8,.2,1) both; }

.brand-hero {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 12vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: var(--ink);
  margin-bottom: 1.1rem;
  background: linear-gradient(120deg, #10241f 20%, #1ec8a5 70%, #10241f 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 6s ease-in-out infinite;
}

.hero h1, .auth-side h1, .cabinet-head h1 {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(1.8rem, 3.6vw, 3.1rem);
}

.lead {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--mute);
  font-size: 1.08rem;
  line-height: 1.6;
  font-weight: 500;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  animation: up 1s cubic-bezier(.2,.8,.2,1) 0.12s both;
}

.orbit {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.orbit::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(16, 36, 31, 0.18);
  animation: spin 28s linear infinite;
}
.orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(30, 200, 165, 0.22), transparent 55%);
}

.screen-mock {
  position: relative;
  width: min(78%, 320px);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  padding: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,0.82), rgba(255,255,255,0.5));
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px rgba(16, 36, 31, 0.12);
  animation: float 5.5s ease-in-out infinite;
}
.mock-bar {
  height: 10px;
  width: 42%;
  border-radius: 99px;
  background: var(--ink);
  margin-bottom: 22px;
  opacity: 0.85;
}
.mock-line {
  height: 12px;
  border-radius: 8px;
  background: rgba(16, 36, 31, 0.08);
  margin-bottom: 12px;
}
.w80 { width: 80%; }
.w60 { width: 60%; }
.w90 { width: 90%; }
.mock-chips {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.mock-chips i {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--mint-soft), #fff);
  border: 1px solid rgba(16, 36, 31, 0.06);
}

.section {
  padding: 0 clamp(20px, 5vw, 64px) 72px;
  position: relative;
  z-index: 2;
  animation: up 0.9s cubic-bezier(.2,.8,.2,1) 0.15s both;
}
.section-head {
  max-width: 40rem;
  margin-bottom: 1.8rem;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.7rem;
}
.section-head p {
  color: var(--mute);
  line-height: 1.6;
  font-size: 1.05rem;
  font-weight: 500;
}

.about {
  max-width: 58rem;
}
.about > p {
  color: var(--mute);
  line-height: 1.7;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1.05rem;
}
.about > p:last-child {
  margin-bottom: 0;
}
.about-points {
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.85rem;
  padding: 0;
}
.about-points li {
  list-style: none;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--mute);
  line-height: 1.55;
  font-weight: 500;
}
.about-points strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.25rem;
}
.download-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0.4rem;
}

.support-panel {
  margin-top: 0.4rem;
  max-width: 640px;
  padding: 1.5rem 1.45rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(16, 36, 31, 0.06);
  backdrop-filter: blur(14px);
}
.support-panel .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.7rem;
}
.support-panel h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}
.support-panel .desc {
  color: var(--mute);
  line-height: 1.55;
  font-weight: 500;
  margin-bottom: 1.1rem;
}
.support-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  padding: 0;
}
.support-list li {
  color: var(--mute);
  line-height: 1.45;
  font-weight: 500;
  padding-left: 1.1rem;
  position: relative;
}
.support-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.support-note {
  color: var(--mute);
  font-size: 0.9rem;
  font-weight: 600;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.features article {
  padding: 1.4rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
}
.features h2,
.features h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}
.features p {
  color: var(--mute);
  line-height: 1.5;
  font-weight: 500;
}

.site-foot {
  padding: 28px clamp(20px, 5vw, 64px) 40px;
  color: var(--mute);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.auth-shell {
  width: min(980px, calc(100% - 2rem));
  margin: 4vh auto 8vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  animation: up 0.75s cubic-bezier(.2,.8,.2,1) both;
}

.auth-side {
  padding: 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-mini {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.8rem;
}
.auth-side h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 10ch;
}

.auth-box, .panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(16, 36, 31, 0.06);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mute);
  letter-spacing: 0.02em;
}
.form input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  padding: 0.9rem 1rem;
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form input:focus {
  border-color: rgba(30, 200, 165, 0.65);
  box-shadow: 0 0 0 4px rgba(30, 200, 165, 0.12);
}
.foot {
  margin-top: 1.1rem;
  color: var(--mute);
  font-weight: 500;
}
.foot a {
  color: var(--ink);
  font-weight: 700;
}

.banner {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 600;
}
.banner.error { color: var(--danger); border-color: rgba(214, 75, 58, 0.25); }
.banner.ok { color: var(--ok); border-color: rgba(15, 159, 110, 0.25); }

.cabinet {
  width: min(920px, calc(100% - 2rem));
  margin: 3vh auto 8vh;
  animation: up 0.75s cubic-bezier(.2,.8,.2,1) both;
}
.cabinet-head { margin-bottom: 1.4rem; }
.cabinet-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cabinet-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}
.panel h2 {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}
.status-line {
  color: var(--mute);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.45;
}
.plans { list-style: none; display: grid; gap: 0; }
.plans li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.plans li:last-child { border-bottom: 0; }
.plans strong {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}
.plans span { color: var(--mute); font-weight: 500; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, -18px, 0) scale(1.08); }
}
@keyframes up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4vh;
  }
  .hero-visual { order: -1; }
  .orbit { width: min(100%, 340px); }
  .features, .auth-shell, .cabinet-grid { grid-template-columns: 1fr; }
  .brand-hero { font-size: clamp(3.4rem, 18vw, 5.5rem); }
}

