/* ==========================================
   ZapGol Web Landing Page - CSS Design System
   ========================================== */

:root {
  --color-bg: #031525;
  --color-bg-alt: #05203c;
  --color-brand-green: #10B981;
  --color-brand-green-glow: rgba(16, 185, 129, 0.4);
  --color-brand-yellow: #F59E0B;
  --color-brand-yellow-glow: rgba(245, 158, 11, 0.4);
  --color-text: #F3F4F6;
  --color-text-muted: #9CA3AF;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-glass: rgba(255, 255, 255, 0.03);
  --color-glass-hover: rgba(255, 255, 255, 0.06);
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Glow Effects */
.radial-glow-top {
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-brand-green-glow) 0%, rgba(3, 21, 37, 0) 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.radial-glow-bottom {
  position: absolute;
  bottom: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-brand-yellow-glow) 0%, rgba(3, 21, 37, 0) 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

/* Glassmorphism Containers */
.glass-panel {
  background: var(--color-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: var(--transition);
}

.glass-panel:hover {
  background: var(--color-glass-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(3, 21, 37, 0.7);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-image {
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-text);
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--color-brand-green) 0%, #059669 100%);
  color: #031525;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--color-brand-green-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
}

.btn-secondary {
  background: var(--color-glass);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--color-glass-hover);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  max-width: 1200px;
  margin: 60px auto 100px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-content h1 span.gradient {
  background: linear-gradient(135deg, var(--color-brand-green) 0%, var(--color-brand-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: var(--color-text-muted);
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-badge-row {
  display: flex;
  gap: 24px;
}

.hero-badge-item {
  display: flex;
  flex-direction: column;
}

.hero-badge-val {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-brand-yellow);
}

.hero-badge-lbl {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 380px;
  border-radius: 36px;
  transform: rotate(-3deg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.15);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(-1deg); }
  100% { transform: translateY(0px) rotate(-3deg); }
}

/* Features Section */
.features-section {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 24px;
  text-align: center;
}

.section-tag {
  color: var(--color-brand-green);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.features-section h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  text-align: left;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  color: var(--color-brand-green);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Download Section (Home Page CTA) */
.cta-block {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 24px;
}

.cta-banner {
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, rgba(0,0,0,0) 80%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
  max-width: 700px;
  line-height: 1.3;
}

.cta-banner p {
  color: var(--color-text-muted);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
}

/* Download/Join Page Layout */
.join-container {
  max-width: 640px;
  margin: 80px auto 120px;
  padding: 0 24px;
  text-align: center;
}

.crown-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--color-brand-yellow);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.join-container h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}

.join-container p.desc {
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.app-stores-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.store-badge-link {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.store-badge {
  height: 52px;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.store-badge:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 24px rgba(16, 185, 129, 0.35));
}

/* QR Code Section */
.qr-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 auto 40px;
  max-width: 640px;
}

.qr-card {
  padding: 24px;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qr-card h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: -4px;
}

.qr-placeholder-wrapper {
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-code-image {
  width: 160px;
  height: 160px;
}

.qr-card-text {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Footer */
footer {
  border-top: 1px solid var(--color-border);
  background-color: rgba(3, 21, 37, 0.5);
  padding: 60px 24px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  list-style: none;
}

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

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

.copyright {
  color: rgba(255,255,255,0.3);
  font-size: 12px;
}

/* Responsive Utilities */
@media (max-width: 960px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: 40px;
    gap: 60px;
  }
  
  .hero-content h1 {
    font-size: 38px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-badge-row {
    justify-content: center;
  }
  
  .nav-links {
    display: none; /* Mobile hamburger overlay or toggle in real implementation */
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-banner {
    padding: 60px 24px;
  }
  
  .cta-banner h2 {
    font-size: 28px;
  }
}
