:root{
  --bg: #12111C;
  --muted: #AEB0B8;
  --text: #E6E6E9;
  --accent: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.03);
  --gap: 28px;
  --header-height: 80px;
  --radius: 14px;
  font-size: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  -webkit-tap-highlight-color: transparent;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}

header.site-header{
  height:var(--header-height);
  display:block;
  border-bottom:1px solid rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
  position:fixed;
  top:0;
  width: 100%;
  z-index:999;
  background:linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
}

.header-inner{
  max-width:1200px;
  margin:0 auto;
  height:100%;
  padding:0 20px;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:var(--gap);
}

.logo{
  font-weight:700;
  letter-spacing:1px;
  font-size:1.5rem;
  color:var(--text);
  user-select:none;
  justify-self:start;
}

nav.main-nav{justify-self:center}
nav.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:32px;align-items:center;justify-content:center}
nav.main-nav a{
  font-weight:600;
  text-transform:uppercase;
  font-size:1.0625rem;
  letter-spacing:0.14em;
  color:var(--muted);
  padding:12px 10px;
  border-radius:8px;
  transition:color .18s ease, background .18s ease, transform .12s ease;
  display:inline-block;
}
nav.main-nav a:hover,nav.main-nav a:focus{color:var(--text);background:var(--accent);transform:translateY(-2px);outline: none}

.header-actions{justify-self:end;display:flex;gap:16px;align-items:center;justify-content:flex-end}

.btn-signin{
  display:inline-block;
  padding:12px 20px;
  font-weight:600;
  font-size:1.0625rem;
  color:var(--text);
  border:1px solid rgba(255,255,255,0.04);
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:var(--radius);
  text-decoration:none;
  transition:transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35) inset;
}
.btn-signin:hover, .btn-signin:focus{transform:translateY(-2px);box-shadow: 0 8px 20px rgba(0,0,0,0.5) inset;outline: none}

.menu-toggle{display:none;background:transparent;color:var(--muted);border:0;font-size:1.35rem;padding:10px;border-radius:10px}
.menu-toggle:focus{outline:2px solid rgba(255,255,255,0.06)}

@media (max-width:820px){.header-inner{padding:0 16px}nav.main-nav ul{gap:24px}}

@media (max-width:720px){
  .header-inner{grid-template-columns: auto auto}
  .logo{justify-self:start}
  nav.main-nav{position:fixed;top:var(--header-height);left:0;right:0;background:linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));padding:20px 24px 40px;transform:translateY(-12px) scaleY(0.98);opacity:0;pointer-events:none;border-bottom:1px solid rgba(255,255,255,0.02);transition:transform .24s ease, opacity .18s ease;z-index:30}
  nav.main-nav ul{flex-direction:column;gap:16px}
  .header-actions{justify-self:end}
  .menu-toggle{display:inline-flex}
  .btn-signin{display:none}
  body.menu-open nav.main-nav{opacity:1;pointer-events:auto;transform:translateY(0) scaleY(1)}
  body.menu-open::after{content:"";position:fixed;inset:var(--header-height) 0 0 0;background:linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.5));z-index:20}
}

:focus{outline:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.hero {
  padding: 120px 0;
  background: var(--bg);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 0 0 40px;
  color: var(--text);
}

.hero-text {
  max-width: 650px;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.05rem;
}

.hero-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(140, 65, 255, 0.16);
  border: 1px solid rgba(140, 65, 255, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: 0.2s ease;
}

.hero-btn:hover {
  background: rgba(140, 65, 255, 0.25);
  transform: translateY(-2px);
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-placeholder {
  width: 320px;
  height: 320px;
  border-radius: 22px;
  background: rgba(140, 65, 255, 0.06);
  border: 1px dashed rgba(140, 65, 255, 0.25);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-right {
    order: -1;
    margin-bottom: 20px;
  }

}
.hero-logo {
  width: 500px;
  height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(140, 65, 255, 0.45));
}
.hero-logo {
  transition: 0.35s ease;
}

.hero-logo:hover {
  filter: drop-shadow(0 0 50px rgba(140, 65, 255, 0.75));
  transform: scale(1.04);
}

.section-feature {
  padding: 140px 0;
  background: var(--bg);
}

.feature-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.feature-image {
  transition: 0.45s ease;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.65));
  border-radius: 16px;
}

.feature-image:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 60px 90px rgba(0,0,0,0.75));
}

.feature-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text);
  margin: 0 0 38px 0;
}

.feature-text {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .feature-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .feature-left {
    order: -1;
    margin-bottom: 20px;
  }
}

:root{
  --accent-purple: rgba(140,65,255,0.14);
  --accent-purple-strong: rgba(140,65,255,0.28);
  --card-bg: rgba(255,255,255,0.02);
}

.features-section {
  padding: 80px 0 120px;
  background: var(--bg);
}

.features-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.features-heading {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
}

.features-sub {
  color: var(--muted);
  max-width: 920px;
  margin: 0 auto 44px;
  font-size: 1.125rem;
  line-height: 1.5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  align-items: start;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 34px 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 0 40px var(--accent-purple);
}

.feature-icon {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.03);
  margin-bottom: 18px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5) inset;
}

.feature-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: radial-gradient(closest-side, var(--accent-purple-strong), transparent 60%);
  filter: blur(10px);
  opacity: 0.7;
  pointer-events: none;
}

.feature-title {
  margin: 8px 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.feature-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
}

@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 28px;
    min-height: auto;
  }
  .features-sub { padding: 0 12px; }
}

:root{
  --purple-600: #4b2f76;
  --purple-500: rgba(75,47,118,0.85);
  --purple-400: rgba(75,47,118,0.28);
  --purple-300: rgba(75,47,118,0.16);
  --card-bg-strong: rgba(255,255,255,0.02);
  --glass-2: rgba(255,255,255,0.025);
}

.purchase-section{
  padding: 84px 0 120px;
  background: var(--bg);
}

.purchase-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.purchase-heading{
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text);
  text-align: center;
  margin: 0 0 28px;
  position: relative;
}

.purchase-heading::after{
  content: "";
  display: block;
  width: 160px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(83,53,140,1), rgba(72,41,118,0.9));
  box-shadow: 0 6px 24px rgba(75,47,118,0.18);
}

.purchase-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.price-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  border-radius: 14px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}

.price-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.7), 0 0 60px rgba(75,47,118,0.06);
}

.card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom: 18px;
}

.card-title{
  font-size:1.25rem;
  font-weight:800;
  color:var(--text);
  letter-spacing:0.04em;
  margin:0;
}

.price{
  font-size:1.5rem;
  font-weight:800;
  color:var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.03);
}

.price.free{
  background: transparent;
  color: var(--muted);
  font-size:1.4rem;
  font-weight:700;
}

.card-features{
  list-style:none;
  padding:0;
  margin: 10px 0 20px;
  color: var(--muted);
  line-height:1.6;
}

.card-features li{
  position:relative;
  padding-left:28px;
  margin-bottom:12px;
  font-size:0.98rem;
}

.card-features li::before{
  content: "✔";
  position:absolute;
  left:0;
  top:1px;
  font-size:0.9rem;
  color: var(--purple-600);
  opacity:0.95;
  transform:translateY(0);
  display:inline-block;
  width:20px;
  height:20px;
  text-align:center;
  line-height:20px;
  border-radius:6px;
  background: rgba(75,47,118,0.08);
  border: 1px solid rgba(75,47,118,0.08);
}

.card-cta{
  margin-top:18px;
  display:flex;
  gap:12px;
  align-items:center;
}

.btn-primary{
  display:inline-block;
  padding:12px 22px;
  border-radius:12px;
  font-weight:700;
  letter-spacing:0.04em;
  background: rgba(140, 65, 255, 0.16);
  color: #fff;
  text-decoration:none;
  border: 1px solid rgba(140, 65, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn-primary:hover{   background: rgba(140, 65, 255, 0.25);
  transform: translateY(-2px); }

.btn-ghost{
  display:inline-block;
  padding:12px 22px;
  border-radius:12px;
  font-weight:700;
  letter-spacing:0.04em;
  background: rgba(140, 65, 255, 0.16);
  color: #fff;
  text-decoration:none;
  border: 1px solid rgba(140, 65, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-ghost:hover{   background: rgba(140, 65, 255, 0.25);
  transform: translateY(-2px); }

.price-card.trial{
  border: 1px solid rgba(75,47,118,0.16);
  background: linear-gradient(180deg, rgba(75,47,118,0.02), rgba(0,0,0,0.0));
}

.card-visual{
  margin: 14px 0 6px;
  display:flex;
  justify-content:center;
  align-items:center;
}
.card-visual img{
  width: 220px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.02);
  filter: drop-shadow(0 10px 30px rgba(75,47,118,0.14));
}


@media (max-width: 980px){
  .purchase-grid{ grid-template-columns: 1fr; }
  .price-card{ min-height: auto; }
  .card-visual img{ width: 100%; max-width: 420px; }
}

.purchase-section .features-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.faq-section {
  width: 100%;
  padding: 80px 0;
  background: var(--bg);
}

.faq-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.faq-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: .25s ease;
  box-shadow: 0 10px 32px rgba(0,0,0,0.45);
}

.faq-toggle {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.05rem;
  cursor: pointer;
  font-weight: 600;
  transition: color .2s ease, background .2s ease;
}

.faq-chevron {
  transition: transform .3s ease, color .2s ease;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height .35s ease, padding .25s ease;
}

.faq-panel p {
  margin: 16px 0 24px;
  color: var(--muted);
  line-height: 1.55;
}

.faq-item.is-open {
  border-color: rgba(140,65,255,0.2);
  box-shadow: 0 26px 60px rgba(0,0,0,0.65);
}

.faq-item.is-open .faq-toggle {
  color: var(--text);
  background: rgba(140,65,255,0.05);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--text);
}

@media (max-width: 600px) {
  .faq-title {
    font-size: 2.2rem;
  }
}

.faq-item:hover:not(.is-open) {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55),
              0 0 30px rgba(140, 65, 255, 0.08);
  border-color: rgba(140, 65, 255, 0.12);
  background: rgba(140, 65, 255, 0.03);
}

.site-footer {
  background: #0b0b0f;
  padding: 90px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.03);
  position: relative;
  overflow: hidden;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 1px;
  left: -10%;
  background: rgba(140, 65, 255, 0.16);
}

.site-footer::before {
  top: 40px;
  transform: rotate(-3deg);
}

.site-footer::after {
  top: 80px;
  transform: rotate(2deg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: white;
}

.footer-text {
  margin-top: 12px;
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.footer-links ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: rgba(140,65,255,0.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
}

html {
  scroll-behavior: smooth;
}

.custom-features li::before {
  content: none !important;
}

.custom-features .chk {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.custom-features .chk input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.15s;
  position: relative;
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.35);
}

.custom-features .chk input[type="checkbox"]:checked {
  background: linear-gradient(180deg, #542E8C, #542E8C);
  border-color: rgba(140,65,255,0.7);
  box-shadow: 0 8px 18px rgba(75,47,118,0.3), inset 0 3px 8px rgba(0,0,0,0.4);
}

.custom-features .chk input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  top: -1px;
  left: 4px;
  font-size: 14px;
  color: white;
  font-weight: 800;
}

.custom-features .chk input[disabled] {
  opacity: 1;
  cursor: not-allowed;
}

.custom-features li::before,
.price-card.trial .card-features li::before,
.trial-features li::before {
  content: none !important;
}

.custom-features .chk,
.trial-features .chk {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: default;
  user-select: none;
  color: var(--muted);
}

.custom-features .chk input[type="checkbox"],
.trial-features .chk input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.15s;
  position: relative;
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.35);
}

.custom-features .chk input[type="checkbox"]:checked,
.trial-features .chk input[type="checkbox"]:checked {
  background: linear-gradient(180deg, #542E8C, #542E8C);
  border-color: rgba(140,65,255,0.7);
  box-shadow: 0 8px 18px rgba(75,47,118,0.3), inset 0 3px 8px rgba(0,0,0,0.4);
}

.custom-features .chk input[type="checkbox"]:checked::after,
.trial-features .chk input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  top: -1px;
  left: 4px;
  font-size: 14px;
  color: white;
  font-weight: 800;
}

.custom-features .chk input[disabled],
.trial-features .chk input[disabled] {
  opacity: 1;
  cursor: not-allowed;
}

.custom-features .chk span,
.trial-features .chk span {
  display: inline-block;
  line-height: 1.2;
  color: var(--muted);
}

.custom-features .chk input[type="checkbox"]:checked + span,
.trial-features .chk input[type="checkbox"]:checked + span {
  color: var(--text);
}

@media (max-width: 640px) {
  .custom-features .chk, .trial-features .chk { gap: 10px; font-size: 0.96rem; }
  .custom-features .chk input[type="checkbox"], .trial-features .chk input[type="checkbox"] { width: 18px; height: 18px; }
}

.custom-features .chk {
  cursor: pointer !important;
}

.price-card,
.price-card.trial {
  background: linear-gradient(180deg, rgba(75,47,118,0.02), rgba(0,0,0,0.0));
  border: 1px solid rgba(75,47,118,0.16);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

input[type="checkbox"][disabled] {
    cursor: default !important;
}

.trial-features .chk,
.trial-features .chk span {
    user-select: text !important;
}

.login-panel {
  position: fixed;
  top: calc(var(--header-height) + 10px);
  right: 20px;
  width: 380px;
  max-width: calc(100% - 40px);
  background: linear-gradient(180deg, rgba(75,47,118,0.12), rgba(0,0,0,0.36));
  border: 1px solid rgba(140,65,255,0.12);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.65), 0 6px 20px rgba(75,47,118,0.06);
  color: var(--text);
  z-index: 1200;
  opacity: 0;
  transform: translateY(-8px) scale(.995);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
  backdrop-filter: blur(6px);
}

body.login-panel-open .login-panel,
.login-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 460px; 
  max-width: calc(100% - 40px);
  background: linear-gradient(180deg, rgba(75,47,118,0.12), rgba(0,0,0,0.36));
  border: 1px solid rgba(140,65,255,0.12);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.7), 0 8px 25px rgba(75,47,118,0.08);
  color: var(--text);

  transform: translate(-50%, -50%) scale(.98);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;

  backdrop-filter: blur(8px);
}

body.login-panel-open .login-panel,
.login-panel[aria-hidden="false"] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.login-close {
  position: absolute;
  right: 8px;
  top: 8px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.login-close:hover,
.login-close:focus { color: var(--text); outline: none; }

.login-heading {
  margin: 4px 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.login-form { display: flex; flex-direction: column; gap: 10px; }
.login-label { display:block; }
.login-input {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 10px;
  font-size: 0.98rem;
  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}
.login-input::placeholder { color: var(--muted); }
.login-input:focus {
  border-color: rgba(140,65,255,0.6);
  box-shadow: 0 8px 30px rgba(75,47,118,0.12);
}

.login-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:2px;
}

.login-help {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}

.login-help-btn {
  background: transparent;
  border: 1px solid rgba(140,65,255,0.12);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background .12s ease, color .12s ease, transform .08s ease;
  box-shadow: none;
}

.login-help-btn:hover,
.login-help-btn:focus {
  background: rgba(140,65,255,0.06);
  color: var(--text);
  transform: translateY(-1px);
  outline: none;
}

.login-remember { color: var(--muted); font-size:0.95rem; display:flex; gap:8px; align-items:center; }
.login-checkbox {
  width:16px; height:16px; border-radius:4px;
  appearance:none; -webkit-appearance:none;
  background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.06);
  display:inline-block; position:relative; cursor:pointer;
}
.login-checkbox:checked {
  background: linear-gradient(180deg,#542E8C,#542E8C);
  border-color: rgba(140,65,255,0.6);
}
.login-forgot { color: var(--muted); font-size:0.95rem; text-decoration:none; }
.login-forgot:hover { color: var(--text); }

.login-actions { margin-top: 8px; display:flex; justify-content:flex-end; }
.login-submit { min-width:120px; }

@media (max-width:720px) {
  .btn-signin { display: inline-block; }
}

.login-panel.compact { width: 320px; }

.login-panel :focus { outline: 2px solid rgba(140,65,255,0.12); outline-offset: 2px; }

input:-webkit-autofill { -webkit-text-fill-color: var(--text) !important; }

.login-error {
  font-size: 0.85rem;
  margin-top: 4px;
  color: #ff6b6b; 
  opacity: 0;
  height: 0;
  transition: opacity .15s ease, height .15s ease;
}

.login-error.active {
  opacity: 1;
  height: auto;
}

.login-submit {
  cursor: pointer;
}

.login-inner { position: relative; }

.recovery-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 460px;
  max-width: calc(100% - 40px);
  transform: translate(-50%, -50%) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 1250;
  border-radius: 16px;
  padding: 20px;
  color: var(--text);
  backdrop-filter: blur(8px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.75), 0 8px 30px rgba(75,47,118,0.08);
  background: linear-gradient(180deg, rgba(50,30,70,0.18), rgba(0,0,0,0.44));
  border: 1px solid rgba(75,47,118,0.12);
}

.recovery-panel[aria-hidden="false"] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.recovery-inner { position: relative; }

.recovery-close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 20px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.recovery-close:hover, .recovery-close:focus { color: var(--text); outline: none }

.recovery-heading {
  margin: 4px 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

.recovery-desc {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.recovery-form { display:flex; flex-direction:column; gap:10px; }
.recovery-label { display:block; }
.recovery-input {
  width:100%;
  height:46px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.015);
  color: var(--text);
  font-size: 0.98rem;
  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.recovery-input::placeholder { color: var(--muted); }
.recovery-input:focus {
  border-color: rgba(140,65,255,0.6);
  box-shadow: 0 8px 34px rgba(75,47,118,0.12);
}

.recovery-error {
  font-size: 0.9rem;
  color: #ff7b7b;
  margin-top: 6px;
  display: none;
}
.recovery-error.active { display:block; }

.recovery-success {
  margin-top: 8px;
  color: #ff6b6b; 
  font-size: 0.95rem;
  background: linear-gradient(180deg, rgba(70,50,110,0.08), rgba(0,0,0,0.0));
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(75,47,118,0.06);
}

.recovery-actions {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-top: 6px;
}

.recovery-back { padding:10px 14px; min-width:120px; cursor: pointer;}
.recovery-submit { padding:10px 18px; min-width:120px; cursor: pointer;}

@media (max-width: 720px) {
  .login-panel,
  .recovery-panel,
  .legal-panel,
  .create-panel {
    top: 50% !important;
    transform: translate(-50%, -50%) scale(1) !important;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }
}

.login-panel, .recovery-panel, .create-panel, .legal-panel {
  max-width: 95%;
  max-height: 90vh;
  overflow-y: auto;
}

.create-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 860px;
  max-width: calc(100% - 48px);
  max-height: calc(100vh - 96px);
  transform: translate(-50%, -50%) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 1300;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(55,34,76,0.26), rgba(6,6,10,0.56));
  border: 1px solid rgba(140,65,255,0.12);
  box-shadow: 0 30px 90px rgba(0,0,0,0.7), 0 10px 30px rgba(75,47,118,0.06);
  color: var(--text);
  backdrop-filter: blur(8px) saturate(1.05);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.create-panel[aria-hidden="false"] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.create-inner {
  padding: 28px 28px 20px 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.create-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 22px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.create-close:hover { color: var(--text); outline: none; }

.create-brand-wrap {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:6px;
}
.create-brand {
  font-weight:900;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
  display:inline-block;
  text-transform: uppercase;
}

.create-heading {
  margin: 2px 0 10px;
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.create-lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.98rem;
}

.create-body {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  border-radius: 10px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.02);
  box-shadow: inset 0 6px 20px rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  line-height: 1.55;
  overflow: auto;
  flex: 1 1 auto;
  margin-bottom: 14px;
}

.create-body h3, .create-body h4 {
  margin: 8px 0 6px;
  color: rgba(255,255,255,0.95);
  font-weight: 800;
}
.create-body p {
  margin: 8px 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
}

.create-watermark {
  position: absolute;
  right: 22px;
  top: 24px;
  width: 260px;
  pointer-events: none;
  opacity: 0.04;
  transform: translateZ(0);
  display: block;
}

.create-actions {
  display:flex;
  gap:12px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 6px;
}

.btn-primary.create-close-accept {
  padding: 10px 18px;
  min-width: 120px;
  cursor: pointer;
}

@media (max-width: 920px) {
  .create-panel { width: calc(100% - 32px); left: 50%; top: 8%; transform: translate(-50%, 0) scale(1); max-height: calc(100vh - 40px); }
  .create-watermark { display:none; }
}

.legal-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 920px;
  max-width: calc(100% - 48px);
  max-height: calc(100vh - 88px);
  transform: translate(-50%, -50%) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 1400;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(40,24,56,0.34), rgba(5,5,8,0.62));
  border: 1px solid rgba(110,70,220,0.12);
  box-shadow: 0 34px 100px rgba(0,0,0,0.75), 0 12px 36px rgba(60,36,110,0.06);
  color: var(--text);
  backdrop-filter: blur(8px) saturate(1.05);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.legal-panel[aria-hidden="false"] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.legal-inner {
  padding: 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.legal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 24px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.legal-close:hover, .legal-close:focus { color: var(--text); outline: none; }

.legal-header { margin-bottom: 12px; display:flex; flex-direction:column; gap:6px; }
.legal-title { font-size: 2.05rem; font-weight: 900; color: #fff; margin: 0; }
.legal-sub { color: rgba(255,255,255,0.62); font-size: 0.92rem; }

.legal-body {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
  border-radius: 10px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.02);
  box-shadow: inset 0 6px 22px rgba(0,0,0,0.56);
  color: rgba(255,255,255,0.92);
  font-size: 0.98rem;
  line-height: 1.6;
  overflow: auto;
  flex: 1 1 auto;
  margin-bottom: 14px;
  min-height: 260px;
}

.legal-body h2, .legal-body h3, .legal-body h4 {
  margin: 12px 0 8px;
  color: rgba(255,255,255,0.95);
  font-weight: 800;
}
.legal-body p {
  margin: 8px 0;
  color: rgba(255,255,255,0.80);
}

.legal-actions { display:flex; gap:12px; justify-content:flex-end; align-items:center; margin-top:6px; }
.btn-primary.legal-close-accept { padding: 10px 18px; min-width: 120px; cursor: pointer; }

.footer-legal-btn {
  background: transparent;
  border: none;
  padding: 0;
  color: rgba(255,255,255,0.66);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}
.footer-legal-btn:hover { color: rgba(140,65,255,0.95); transform: translateY(-1px); }

@media (max-width: 960px) {
  .legal-panel { width: calc(100% - 32px); left: 50%; top: 6%; transform: translate(-50%, 0) scale(1); max-height: calc(100vh - 40px); }
  .legal-body { max-height: calc(100vh - 260px); }
}

.legal-body::-webkit-scrollbar {
  width: 10px;
}

.legal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
}

.legal-body::-webkit-scrollbar-thumb {
  background: rgba(20, 20, 20, 0.9);
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.4);
}

.legal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(40, 40, 40, 1);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  flex: 1 1 200px;
}
