:root {
  --primary-bg: #0c081e;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --accent-blue: #00d2ff;
  --accent-purple: #9d50bb;
  --text-main: #ffffff;
  --text-muted: #b0b0b0;
  --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--primary-bg);
  background-image: 
    radial-gradient(at 0% 0%, rgba(157, 80, 187, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(0, 210, 255, 0.15) 0px, transparent 50%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-blue);
}

.hero {
  text-align: center;
  padding: 6rem 5% 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-tag {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--accent-blue);
  display: inline-block;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.cta-button {
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.6);
}

.kits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.kit-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.kit-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 210, 255, 0.5);
}

.kit-image {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.kit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.kit-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.kit-features li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.kit-features li::before {
  content: "•";
  color: var(--accent-blue);
  font-weight: bold;
}

.kit-price {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.kit-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.buy-button {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding: 0.8rem;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  cursor: pointer;
}

.buy-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

footer {
  text-align: center;
  padding: 4rem 5%;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
  margin-top: 4rem;
}

/* Payment Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.payment-modal {
    background: rgba(20, 20, 40, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    color: white;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.qr-placeholder {
    background: #fff;
    width: 200px;
    height: 200px;
    margin: 1.5rem auto;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.address-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    font-family: monospace;
    font-size: 0.85rem;
    word-break: break-all;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-blue);
}

.txid-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    margin-bottom: 1.5rem;
    outline: none;
}

#verify-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

#verify-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

#verify-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
