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

:root {
  --deep-space: #0F1730;
  --nebula-dark: #1A2550;
  --nebula-light: #2A3570;
  --star-white: #F0F0FF;
  --neon-cyan: #4DD8E0;
  --neon-red: #FF6B6B;
  --cosmic-gold: #FFD700;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(ellipse at top, rgba(77, 216, 224, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom, rgba(255, 107, 107, 0.06), transparent 50%),
    var(--deep-space);
  color: var(--star-white);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
}

header {
  text-align: center;
  padding: 60px 20px 40px;
}

.logo {
  font-size: 80px;
  margin-bottom: 20px;
}

h1 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--cosmic-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.tagline {
  font-size: 20px;
  color: rgba(240, 240, 255, 0.7);
  max-width: 540px;
  margin: 0 auto;
}

.stores {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px 0;
}

.store-btn {
  display: flex;
  flex-direction: column;
  padding: 14px 28px;
  background: rgba(77, 216, 224, 0.1);
  border: 1px solid rgba(77, 216, 224, 0.4);
  border-radius: 14px;
  text-decoration: none;
  color: var(--star-white);
  transition: all 0.2s;
}

.store-btn:hover {
  background: rgba(77, 216, 224, 0.18);
  transform: translateY(-2px);
}

.store-label {
  font-size: 11px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.store-name {
  font-size: 20px;
  font-weight: 700;
  margin-top: 2px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.feature {
  background: rgba(26, 37, 80, 0.4);
  border: 1px solid rgba(77, 216, 224, 0.15);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}

.feature .icon {
  font-size: 40px;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--neon-cyan);
}

.feature p {
  font-size: 15px;
  color: rgba(240, 240, 255, 0.75);
}

footer {
  text-align: center;
  padding: 50px 20px 30px;
  border-top: 1px solid rgba(77, 216, 224, 0.1);
  margin-top: 60px;
}

footer nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

footer nav a {
  color: var(--neon-cyan);
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.2s;
}

footer nav a:hover {
  opacity: 0.7;
}

.copyright {
  font-size: 13px;
  color: rgba(240, 240, 255, 0.4);
}

/* ─── Legal pages ─── */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.legal-back {
  color: var(--neon-cyan);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 30px;
  display: inline-block;
}

.legal h1 {
  font-size: 36px;
  background: none;
  -webkit-text-fill-color: var(--star-white);
  color: var(--star-white);
  margin-bottom: 8px;
  text-align: left;
}

.legal .updated {
  color: rgba(240, 240, 255, 0.5);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 22px;
  color: var(--neon-cyan);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal h3 {
  font-size: 17px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal p, .legal li {
  color: rgba(240, 240, 255, 0.85);
  font-size: 15px;
  margin-bottom: 12px;
}

.legal ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal a {
  color: var(--neon-cyan);
}

/* ─── Language switcher ─── */
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--nebula-dark);
  border: 2px solid var(--neon-cyan);
  border-radius: 999px;
  padding: 0 6px 0 14px;
  box-shadow: 0 4px 20px rgba(77, 216, 224, 0.25);
  overflow: hidden;
  z-index: 1000;
}

.lang-switcher .lang-icon {
  font-size: 18px;
  padding: 0;
  margin-right: 10px;
  color: var(--neon-cyan);
  background: transparent !important;
  cursor: default;
}

.lang-switcher a,
.lang-switcher span:not(.lang-icon) {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: rgba(240, 240, 255, 0.6);
  transition: all 0.2s;
  cursor: pointer;
  border-radius: 999px;
  margin: 4px 2px;
}

.lang-switcher a:hover {
  color: var(--star-white);
  background: rgba(77, 216, 224, 0.12);
}

.lang-switcher .active {
  background: var(--neon-cyan);
  color: var(--deep-space);
  font-weight: 800;
}

@media (max-width: 600px) {
  .lang-switcher {
    top: 12px;
    right: 12px;
    padding: 0 4px 0 12px;
  }
  .lang-switcher .lang-icon {
    font-size: 16px;
    margin-right: 8px;
  }
  .lang-switcher a,
  .lang-switcher span:not(.lang-icon) {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* ─── Email highlight box (delete-account page) ─── */
.email-box {
  background: linear-gradient(135deg, rgba(77, 216, 224, 0.08), rgba(255, 215, 0, 0.06));
  border: 2px solid rgba(77, 216, 224, 0.35);
  border-radius: 14px;
  padding: 24px;
  margin: 20px 0;
}

.email-box a {
  font-size: 20px;
  font-weight: 700;
  color: var(--neon-cyan);
  word-break: break-all;
}

.legal ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal ol li {
  color: rgba(240, 240, 255, 0.85);
  font-size: 15px;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  h1 { font-size: 40px; }
  .logo { font-size: 60px; }
  .tagline { font-size: 17px; }
}
