﻿:root {
  --bg: #090804;
  --bg-soft: #141109;
  --text: #f8f1ca;
  --muted: #dbc982;
  --yellow-1: #ffd84d;
  --yellow-2: #ffbe1a;
  --yellow-3: #ffea8a;
  --card: rgba(35, 30, 14, 0.72);
  --line: rgba(255, 220, 112, 0.25);
  --shadow: 0 14px 60px rgba(255, 190, 26, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 222, 115, 0.2), transparent 36%),
    radial-gradient(circle at 80% 8%, rgba(255, 187, 39, 0.15), transparent 28%),
    linear-gradient(180deg, #0e0b04 0%, #080703 45%, #060603 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: min(1100px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.13;
  pointer-events: none;
  z-index: -3;
}

.pulse-orb {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(34px);
  pointer-events: none;
  z-index: -2;
  animation: pulse 3s ease-in-out infinite;
}

.orb-1 {
  top: -80px;
  left: -60px;
  background: rgba(255, 205, 65, 0.45);
}

.orb-2 {
  right: -90px;
  top: 220px;
  background: rgba(255, 175, 0, 0.28);
  animation-delay: 1.5s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
}

.brand {
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  color: var(--yellow-1);
  text-shadow: 0 0 14px rgba(255, 208, 71, 0.7);
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 220ms ease;
}

.nav a:hover {
  color: #fff6cc;
  border-color: rgba(255, 214, 90, 0.5);
  background: rgba(255, 214, 90, 0.08);
}

.hero {
  text-align: center;
  padding: 4.6rem 0 2.7rem;
}

.label {
  display: inline-block;
  border: 1px solid rgba(255, 219, 101, 0.4);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  color: var(--yellow-3);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 202, 44, 0.1);
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  margin-top: 1rem;
  font-family: "Russo One", sans-serif;
  font-size: clamp(2.1rem, 5.5vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
}

h1 span {
  display: block;
  margin-top: 0.46rem;
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: var(--yellow-3);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.subtitle {
  margin: 1.2rem auto 0;
  max-width: 760px;
  color: #f4df99;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 0.82rem 1.28rem;
  border-radius: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #231602;
  background: linear-gradient(135deg, var(--yellow-1), var(--yellow-2));
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  box-shadow: 0 16px 62px rgba(255, 199, 52, 0.36);
}

.btn-ghost {
  color: var(--yellow-3);
  border: 1px solid rgba(255, 215, 97, 0.42);
  background: rgba(255, 203, 38, 0.08);
}

.hero-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-stats div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  backdrop-filter: blur(6px);
}

.hero-stats strong {
  display: block;
  font-size: 1.05rem;
  color: #ffe9a3;
}

.hero-stats span {
  color: #d1bc75;
  font-size: 0.9rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2);
}

.about {
  margin-top: 1.2rem;
  padding: 1.6rem;
}

.about h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  color: #ffe8a0;
}

.about p {
  margin-top: 0.95rem;
  color: #e6d189;
  line-height: 1.72;
}

.features {
  padding: 3rem 0 1rem;
}

.features h2,
.pricing h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  color: #ffebac;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature {
  padding: 1.1rem;
  transition: transform 200ms ease, border-color 200ms ease;
}

.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 220, 109, 0.5);
}

.feature h3 {
  font-size: 1.02rem;
  color: #ffe7a0;
}

.feature p {
  margin-top: 0.56rem;
  color: #d7c27e;
  line-height: 1.58;
}

.pricing {
  padding: 2rem 0 3rem;
}

.plan {
  padding: 1.3rem;
}

.pulse-card {
  position: relative;
  overflow: hidden;
}

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

.pulse-card::after {
  content: "";
  position: absolute;
  inset: -44%;
  background: radial-gradient(circle, rgba(255, 212, 72, 0.28), transparent 56%);
  animation: cardPulse 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes cardPulse {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.07);
    opacity: 0.75;
  }
}

.plan-badge {
  margin: 0;
  display: inline-block;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  color: #2a1b00;
  background: linear-gradient(135deg, #ffe48f, #ffc932);
  font-weight: 800;
  font-size: 0.82rem;
}

.plan-badge-muted {
  color: #f9e8ae;
  background: rgba(255, 218, 114, 0.16);
  border: 1px solid rgba(255, 218, 114, 0.32);
}

.plan h3 {
  margin-top: 0.8rem;
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  color: #ffefb7;
}

.plan-desc {
  margin-top: 0.7rem;
  max-width: 760px;
  color: #dbc57f;
}

.price {
  margin-top: 0.8rem;
  font-size: clamp(1.7rem, 4.3vw, 2.8rem);
  font-weight: 800;
  color: #ffe9a4;
}

.price span {
  margin-left: 0.45rem;
  font-size: 1rem;
  color: #d4bf79;
}

.plan ul {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
  color: #e6d38f;
  line-height: 1.75;
}

.btn-wide {
  margin-top: 1.15rem;
  display: inline-block;
}

.footer {
  padding: 0.6rem 0 2rem;
  text-align: center;
  color: #bba55f;
}

.cabinet-main {
  padding-bottom: 2.5rem;
}

.cabinet-hero {
  text-align: center;
  padding: 2rem 1.2rem 1.6rem;
}

.cabinet-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.panel {
  padding: 1.15rem;
}

.panel h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: #ffe8a8;
}

.panel p {
  color: #e3cd87;
  line-height: 1.65;
}

.cabinet-plan-title {
  margin-top: 0.6rem;
}

.cabinet-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.cabinet-tab-btn.is-active {
  color: #231602;
  background: linear-gradient(135deg, var(--yellow-1), var(--yellow-2));
  box-shadow: var(--shadow);
  border-color: transparent;
}

.cabinet-tab-content {
  margin-top: 0.95rem;
  padding: 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 214, 98, 0.22);
  background: rgba(22, 18, 10, 0.7);
}

.cabinet-tab-content p {
  margin: 0.45rem 0;
}

.is-hidden {
  display: none;
}

.hint {
  margin-top: 0.7rem;
  color: #cbb56f;
  font-size: 0.92rem;
}

.auth-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.3rem 1.1rem;
}

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.auth-side {
  text-align: left;
  padding: 1.1rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 214, 98, 0.12), rgba(255, 175, 8, 0.06));
  border: 1px solid rgba(255, 214, 98, 0.2);
}

.auth-side .subtitle {
  margin: 0.9rem 0 0;
}

.auth-points {
  margin-top: 1rem;
}

.auth-points p {
  margin: 0.45rem 0;
  color: #f0de9f;
  font-weight: 700;
}

.auth-panel {
  padding: 1.1rem;
  border-radius: 16px;
  background: rgba(17, 14, 8, 0.8);
  border: 1px solid rgba(255, 214, 98, 0.2);
}

.auth-switch {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.auth-message {
  margin: 1rem auto 0;
  max-width: 620px;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-weight: 700;
}

.auth-error {
  background: rgba(255, 70, 70, 0.14);
  border: 1px solid rgba(255, 110, 110, 0.35);
  color: #ffd5d5;
}

.auth-success {
  background: rgba(136, 255, 95, 0.14);
  border: 1px solid rgba(169, 255, 132, 0.35);
  color: #e8ffd7;
}

.auth-form {
  margin: 1rem auto 0;
  max-width: 560px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
}

.auth-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.34rem;
  color: #f2dd98;
  font-weight: 700;
  width: 100%;
}

.auth-field-title {
  display: block;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.auth-form input {
  width: 100%;
  border: 1px solid rgba(255, 211, 88, 0.4);
  background: rgba(19, 16, 9, 0.85);
  color: #ffeeb8;
  border-radius: 12px;
  padding: 0.72rem 0.82rem;
  font: inherit;
}

.auth-submit {
  margin-top: 0.2rem;
  align-self: flex-start;
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(255, 227, 137, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 213, 84, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 700px) {
  .header {
    flex-direction: column;
    gap: 0.55rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 3rem;
  }

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

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

  .about,
  .plan {
    padding: 1rem;
  }

  .auth-shell {
    padding: 1rem;
  }

  .auth-submit {
    width: 100%;
    text-align: center;
  }
}

.cabinet-mini-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.mini-stat {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 216, 96, 0.15), rgba(255, 196, 58, 0.07));
  border: 1px solid rgba(255, 216, 96, 0.25);
}

.mini-stat h4 {
  margin: 0;
  font-size: 0.86rem;
  color: #ffe7a6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mini-stat p {
  margin: 0.5rem 0 0;
  color: #f7e2b0;
  font-weight: 700;
  font-size: 0.97rem;
}

@media (max-width: 940px) {
  .cabinet-mini-grid {
    grid-template-columns: 1fr;
  }
}

.download-btn {
  margin-top: 0.85rem;
  display: inline-block;
}
