:root {
  --bg: #05080a;
  --surface: #10161d;
  --surface-hover: #17202a;
  --border: #22303c;
  --border-focus: #d4af37;
  --text-main: #f3f4f6;
  --text-muted: #8b98a7;
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.18);
  --gold-light: #f3e5ab;
  --emerald: #0d8b59;
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Glow Elements */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}
.glow-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(5, 8, 10, 0) 70%);
}
.glow-middle {
  top: 900px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(5, 8, 10, 0) 70%);
}

/* Typography Utilities */
.gold-text {
  color: var(--gold);
}
.gold-gradient-text {
  background: linear-gradient(135deg, #fff 0%, #f3e5ab 35%, #d4af37 70%, #aa820a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}
.brand-text {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--text-main);
}
.nav-cta {
  background: var(--surface);
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 8px 18px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: #05080a !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
  color: #05080a;
  border: none;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.35);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: var(--surface-hover);
  color: var(--gold);
}
.btn-icon {
  width: 18px;
  height: 18px;
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 24px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 46px;
  line-height: 1.18;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}
.stat-lbl {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Mockup Glass Card */
.hero-preview {
  display: flex;
  justify-content: center;
}
.mockup-glass-card {
  width: 100%;
  max-width: 400px;
  background: rgba(16, 22, 29, 0.9);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.08);
  backdrop-filter: blur(20px);
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }
.mockup-title {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mockup-screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}
.highlight-card {
  border-color: rgba(212, 175, 55, 0.4);
  background: linear-gradient(145deg, #17202a 0%, #10161d 100%);
}
.app-card-badge {
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.app-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.app-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.event-pill {
  font-size: 9px;
  font-weight: 700;
  color: #ff5f56;
  background: rgba(255, 95, 86, 0.12);
  padding: 3px 7px;
  border-radius: 4px;
}
.anjuman-pill {
  font-size: 9px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  padding: 3px 7px;
  border-radius: 4px;
}
.event-city, .time-ago {
  font-size: 11px;
  color: var(--text-muted);
}
.event-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.event-rsvp {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
}
.rsvp-tag { color: var(--emerald); }
.hadya-tag { color: var(--gold); }
.chat-snippet {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 10px;
  border-radius: 8px;
  border-left: 2px solid var(--gold);
}

/* Features Section */
.features-section {
  padding: 100px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  background: var(--surface-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 18px;
  display: inline-block;
}
.feature-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Download Section */
.download-section {
  padding: 60px 24px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.download-card {
  background: linear-gradient(145deg, #10161d 0%, #17202a 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}
.download-header {
  max-width: 600px;
  margin: 0 auto 48px;
}
.download-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 14px;
}
.download-desc {
  font-size: 16px;
  color: var(--text-muted);
}
.stores-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 36px;
}
.store-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: all 0.3s ease;
}
.store-box:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.store-qr-wrapper {
  background: #ffffff;
  padding: 12px;
  border-radius: 12px;
  width: 154px;
  height: 154px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-canvas {
  width: 130px;
  height: 130px;
}
.qr-canvas img, .qr-canvas canvas {
  width: 130px !important;
  height: 130px !important;
  display: block;
}
.store-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.store-platform {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-store {
  width: 100%;
  background: #05080a;
  border: 1px solid var(--border);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-store:hover {
  border-color: var(--gold);
  background: #10161d;
}
.store-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.store-label-sm {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.store-label-lg {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}
.download-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: #030507;
  border-top: 1px solid var(--border);
  padding: 70px 24px 40px;
}
.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-mission {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.6;
}
.footer-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-list a:hover {
  color: var(--text-main);
}
.footer-text-muted {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-disclaimer {
  color: #64748b;
}
.footer-copy a {
  color: var(--gold);
  text-decoration: none;
}
.footer-copy a:hover {
  text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 34px;
  }
  .hero-stats {
    gap: 16px;
  }
  .stat-num {
    font-size: 18px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
