/* ===== GLOBAL ===== */
:root {
  --red-primary: #ff2a45;
  --bg-dark: #0a0a0c;
  --card-bg: rgba(255, 42, 69, 0.05);
  --frosted-bg: rgba(30, 30, 40, 0.6);
  --border-light: rgba(255, 255, 255, 0.1);
}

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

body {
  margin: 0;
  padding: 0;
  background: var(--bg-dark);
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #ddd;
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  padding: 24px 5%;
  text-align: right;
}

nav a {
  margin: 0 10px;
  color: #bbb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--red-primary);
}

/* ===== LOGO - HERO ===== */
.hero,
.verify {
  text-align: center;
  padding: 100px 5%;
  position: relative;
}

.logo-hero {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.logo-large {
  width: 140px;
  height: 140px;
  border-radius: 50%; /* Fully circular */
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
  margin-bottom: 24px;
}

.logo-large:hover {
  transform: scale(1.06);
}

/* Neon pulse glow */
.logo-large::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.7);
  opacity: 0;
  transition: opacity 0.4s, box-shadow 0.4s;
  pointer-events: none;
  z-index: -1;
}

.logo-large:hover::after {
  opacity: 1;
  box-shadow:
    0 0 35px rgba(255, 42, 69, 0.9),
    0 0 70px rgba(255, 42, 69, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 35px rgba(255,42,69,0.9), 0 0 70px rgba(255,42,69,0.6); }
  50% { box-shadow: 0 0 45px rgba(255,42,69,1), 0 0 90px rgba(255,42,69,0.8); }
  100% { box-shadow: 0 0 35px rgba(255,42,69,0.9), 0 0 70px rgba(255,42,69,0.6); }
}

/* ===== HERO HEADLINE ===== */
.hero h1 {
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.95); /* Glass-white */
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(255, 42, 69, 0.4); /* Subtle red neon */
  margin: 20px 0 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero p {
  font-size: 1.35rem;
  max-width: 700px;
  margin: 0 auto 36px;
  color: #ccc;
  opacity: 0.9;
}

/* ===== BUTTONS ===== */
.btn-frosted {
  display: inline-block;
  padding: 14px 32px;
  background: var(--frosted-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-frosted:hover {
  background: rgba(255, 42, 69, 0.18);
  border-color: var(--red-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(255, 42, 69, 0.2);
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.pillars,
.how-it-works,
.features,
.contact,
.verify-card {
  padding: 60px 5%;
}

h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 50px;
  color: white;
}

.pillars {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.pillar {
  width: 280px;
  text-align: center;
}

.pillar h3 {
  color: var(--red-primary);
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.how-grid {
  display: flex;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  flex-wrap: wrap;
}

.diagram-placeholder {
  width: 100%;
  max-width: 500px;
  height: 280px;
  border: 1px dashed var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  color: #aaa;
  font-size: 1.1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: 40px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--red-primary);
}

/* ===== VERIFY PAGE ===== */
.verify-card {
  background: var(--frosted-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  padding: 50px;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 20px;
  text-align: center;
}

.verify-card h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--red-primary);
}

.verify-card p {
  color: #bbb;
  margin-bottom: 32px;
}

#eventId {
  width: 100%;
  padding: 16px;
  background: rgba(20, 20, 30, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.verify-output {
  margin-top: 24px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  color: #ccc;
}

/* ===== CONTACT ===== */
.contact form {
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input,
textarea {
  background: rgba(20, 20, 30, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  padding: 16px;
  color: white;
  border-radius: 12px;
  font-size: 16px;
}

button[type="submit"] {
  width: 100%;
}

/* ===== FOOTER ===== */
footer {
  padding: 32px;
  text-align: center;
  border-top: 1px solid #222;
  color: #666;
  font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .logo-large {
    width: 90px;
    height: 90px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .how-grid {
    flex-direction: column;
  }

  .verify-card {
    padding: 30px 20px;
  }

  header {
    text-align: center;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

code {
  background: rgba(0,0,0,0.4);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

