:root {
  --bg: #030308;
  --surface: rgba(255, 255, 255, 0.024);
  --glass-border: rgba(57, 255, 20, 0.094);
  --text: #e8e8f0;
  --muted: #5a5a7a;
  --accent: #39ff14;
  --accent-dim: #20cc00;
  --accent-bg: #0a4a08;
  --red: #ff4466;
  --radius: 14px;
  --radius-lg: 24px;
  --max-width: 1080px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

/* ── Nav ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(3, 3, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  opacity: 1;
}

/* ── Hero ── */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 48px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 640px;
}

.hero-tag {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--mono);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.accent {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(57, 255, 20, 0.3);
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, #2a2a35, #151520 50%, #0a0a12);
  color: rgba(57, 255, 20, 0.86);
  border: 1.5px solid rgba(57, 255, 20, 0.45);
  box-shadow:
    0 0 28px rgba(57, 255, 20, 0.1),
    0 0 10px rgba(57, 255, 20, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3),
    0 6px 16px rgba(0, 0, 0, 0.5);
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.5);
}

.btn-primary:hover {
  opacity: 1;
  border-color: rgba(57, 255, 20, 0.7);
  box-shadow:
    0 0 40px rgba(57, 255, 20, 0.16),
    0 0 12px rgba(57, 255, 20, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3),
    0 6px 16px rgba(0, 0, 0, 0.5);
  text-shadow: 0 0 16px rgba(57, 255, 20, 0.7);
  transform: translateY(-1px);
}

/* ── App Section ── */

.app-section {
  padding: 40px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.app-card-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 48px;
  align-items: center;
}

.app-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.app-info h2 {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.app-desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ── Features ── */

.feature-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}

.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  color: var(--accent);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.feature-list strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-list span {
  font-size: 13px;
  color: var(--muted);
}

/* ── Coming Label ── */

.coming-label {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* ── Phone Mockup ── */

.app-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.phone-frame {
  width: 260px;
  height: 520px;
  background: linear-gradient(160deg, #1a1d24 0%, #090b10 65%, #05060a 100%);
  border-radius: 38px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  padding: 13px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 22px 56px rgba(0, 0, 0, 0.58),
    0 0 40px rgba(57, 255, 20, 0.08);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #070910;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.06);
  overflow: hidden;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.qr-panel {
  width: 220px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.qr-label {
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.qr-image {
  width: 100%;
  display: block;
  border-radius: 16px;
  background: #fff;
}

/* ── Coming Soon ── */

.coming-soon {
  text-align: center;
  padding: 80px 24px;
  max-width: 520px;
  margin: 0 auto;
}

.coming-soon h2 {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.coming-soon p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ── Footer ── */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--accent);
  font-size: 16px;
}

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

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

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

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .app-card-content {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .app-preview {
    order: -1;
  }

  .qr-panel {
    width: min(220px, 100%);
  }

  .phone-frame {
    width: 220px;
    height: 440px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .store-buttons {
    justify-content: center;
  }
}

/* ── Utility: page layout for privacy/support ── */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.page h1 {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page .updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}

.page h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 36px 0 12px;
}

.page p,
.page li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.page a {
  color: var(--accent);
}

/* ── Language Selector ── */

.lang-selector {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--muted);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.lang-btn:hover {
  border-color: rgba(57, 255, 20, 0.3);
  color: var(--text);
}

.lang-btn svg {
  flex-shrink: 0;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  background: rgba(12, 12, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  z-index: 200;
  padding: 6px 0;
}

.lang-selector.open .lang-dropdown {
  display: block;
}

.lang-option {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.lang-option:hover {
  background: rgba(57, 255, 20, 0.06);
  color: var(--text);
  opacity: 1;
}

.lang-option.active {
  color: var(--accent);
}

.lang-dropdown::-webkit-scrollbar {
  width: 4px;
}

.lang-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.lang-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
