:root {
  --bg: #151515;
  --grid: rgba(255,255,255,0.06);
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-position: center;
  background-size: 48px 48px;
  color: #e6edf3;
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
}

body::-webkit-scrollbar {
  display: none;
}

body.modal-open {
  overflow: hidden;
  height: 100vh;
}

.btn-buy {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #e6edf3;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1.2rem;
  padding: 0.65rem 0;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-buy:hover {
  background: rgba(255,255,255,0.12);
}

.btn-primary,
.btn-secondary {
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.4rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(2px);
  color: #e6edf3;
}

.btn-primary:hover {
  background: rgba(255,255,255,0.1);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(2px);
  color: #e6edf3;
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  color: #e6edf3;
  font-family: 'Space Grotesk', sans-serif;
  padding: 1.8rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.6rem 0;
}

.feature-card p {
  color: #9aa4b2;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
}

.feature-icon {
  border-radius: 8px;
  height: 38px;
  margin-bottom: 1.2rem;
  width: 38px;
}

.hero {
  display: flex;
  justify-content: center;
  padding: 6vh 6vw 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-desc {
  color: #9aa4b2;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.95rem, 3.5vw, 1.05rem);
  line-height: 1.6;
  margin: 0;
}

.hero-inner {
  max-width: 680px;
  text-align: left;
  width: 100%;
}

.hero-title {
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 1rem 0;
}

.hero-title span {
  color: #22c55e;
  display: inline;
  font-weight: 700;
}

.modal {
  align-items: center;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.55);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.25s ease;
  z-index: 9999;
  -webkit-backdrop-filter: blur(6px);
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: rgba(24,24,24,0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  color: #e6edf3;
  font-family: 'Space Grotesk', sans-serif;
  max-width: 380px;
  padding: 2rem;
  width: 90%;
}

.modal-content h3 {
  margin: 0 0 0.4rem 0;
}

.modal-content p {
  color: #9aa4b2;
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.6rem;
}

.option-card {
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
}

.option-card:hover {
  background: rgba(255,255,255,0.05);
}

.option-card input {
  appearance: none;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  height: 18px;
  position: relative;
  width: 18px;
}

.option-card input:checked {
  border-color: #22c55e;
}

.option-card input:checked::after {
  background: #22c55e;
  border-radius: 50%;
  content: '';
  inset: 4px;
  position: absolute;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.2rem 0 1.6rem;
}

.option-text span {
  display: block;
  font-weight: 600;
}

.option-text small {
  color: #9aa4b2;
  font-size: 0.8rem;
}

.site-footer {
  color: #9aa4b2;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  margin-top: 4rem;
  padding: 2.5rem 0 3rem;
  text-align: center;
}

.stock-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.stock-list li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.6rem 0;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    align-items: flex-start;
    padding-top: 6vh;
  }
}

@media (max-width: 480px) {
  .modal-content {
    max-width: 320px;
    padding: 1.5rem;
    width: 92%;
  }
}