:root {
  --green-900: #1B5E20;
  --green-700: #2E7D32;
  --green-500: #4CAF50;
  --green-300: #81C784;
  --bg: #0a1410;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5a6b65;
  --text-on-dark: #f4fbf7;
  --text-on-dark-muted: #b8d6c4;
  --radius: 16px;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(76, 175, 80, 0.25), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(46, 125, 50, 0.35), transparent 50%),
    linear-gradient(180deg, #0d2419 0%, var(--bg) 100%);
  color: var(--text-on-dark);
  overflow: hidden;
  padding-bottom: 96px;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(129, 199, 132, 0.18), transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  filter: blur(40px);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.lang-switcher {
  display: flex;
  gap: 8px;
  padding-left: 16px;
  margin-left: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  font-family: inherit;
}

.lang-btn img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: block;
  pointer-events: none;
}

.lang-btn:hover {
  opacity: 0.9;
  transform: scale(1.08);
}

.lang-btn.is-active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--green-500), 0 0 12px rgba(76, 175, 80, 0.45);
}

.nav-link {
  color: var(--text-on-dark-muted);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-on-dark);
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 32px;
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(76, 175, 80, 0.4);
  animation: floatLogo 5s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, var(--green-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  line-height: 1.05;
}

.hero-slogan {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--green-300);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 17px;
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ---------- Store buttons ---------- */

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  color: white;
  font-family: inherit;
  position: relative;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  cursor: pointer;
  min-width: 200px;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: var(--green-500);
  background: rgba(0, 0, 0, 0.7);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn-label {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.store-btn-label small {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-btn-label strong {
  font-size: 17px;
  font-weight: 600;
}

.badge-soon {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--green-500);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Features ---------- */

.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 24px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 64px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature {
  background: linear-gradient(180deg, #f6faf7 0%, #ffffff 100%);
  border: 1px solid #e5ece8;
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(27, 94, 32, 0.12);
  border-color: var(--green-300);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--green-900);
}

.feature p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ---------- Support / Tip ---------- */

.support {
  background:
    radial-gradient(ellipse at top, rgba(76, 175, 80, 0.08), transparent 60%),
    linear-gradient(180deg, #f6faf7 0%, #ffffff 100%);
  padding: 96px 24px;
  border-top: 1px solid #e5ece8;
}

.support-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.support-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: heartBeat 2.4s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.support-card {
  background: #ffffff;
  border: 1px solid #e5ece8;
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(27, 94, 32, 0.12);
  border-color: var(--green-300);
}

.support-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.support-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--green-900);
}

.support-tag {
  background: var(--green-500);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 8px;
}

.support-qr {
  width: 180px;
  height: 180px;
  padding: 12px;
  background: white;
  border: 1px solid #e5ece8;
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-qr svg {
  width: 100%;
  height: 100%;
}

.support-recipient {
  font-weight: 600;
  font-size: 15px;
  color: var(--green-900);
  margin-bottom: 8px;
}

.support-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--text-muted);
  background: #eef5f0;
  padding: 8px 12px;
  border-radius: 8px;
  word-break: break-all;
  margin-bottom: 16px;
  width: 100%;
}

.support-bmc-illustration {
  font-size: 96px;
  line-height: 1;
  margin: 8px 0 24px;
}

.support-bmc-description {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: white;
  border: 1.5px solid var(--green-500);
  color: var(--green-700);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.support-btn:hover {
  background: var(--green-500);
  color: white;
}

.support-btn.is-copied {
  background: var(--green-700);
  color: white;
  border-color: var(--green-700);
}

.support-btn-primary {
  background: var(--green-700);
  color: white;
  border-color: var(--green-700);
}

.support-btn-primary:hover {
  background: var(--green-900);
  border-color: var(--green-900);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--bg);
  color: var(--text-on-dark-muted);
  padding: 32px 24px;
  text-align: center;
  font-size: 14px;
}

.footer-links {
  margin-bottom: 12px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--green-300);
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-on-dark);
}

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 16px;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero-content {
    padding-top: 32px;
  }

  .hero-logo {
    width: 88px;
    height: 88px;
    margin-bottom: 24px;
  }

  .store-btn {
    min-width: 0;
    flex: 1 1 200px;
  }

  .features {
    padding: 64px 24px;
  }
}

/* --- Cookie consent banner --- */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #0d2419;
  color: var(--text-on-dark);
  border: 1px solid rgba(129, 199, 132, 0.25);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.cookie-consent__text {
  flex: 1 1 280px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
}
.cookie-consent__link {
  color: var(--green-300);
  text-decoration: underline;
}
.cookie-consent__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-consent__btn {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.cookie-consent__btn--primary {
  background: var(--green-500);
  color: #06140d;
}
.cookie-consent__btn--primary:hover {
  background: var(--green-300);
}
.cookie-consent__btn--ghost {
  background: transparent;
  color: var(--text-on-dark-muted);
  border-color: rgba(184, 214, 196, 0.4);
}
.cookie-consent__btn--ghost:hover {
  color: var(--text-on-dark);
  border-color: var(--text-on-dark);
}
@media (max-width: 540px) {
  .cookie-consent {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cookie-consent__actions {
    justify-content: flex-end;
  }
}
