/* Quantarium Landing Page Styles */

:root {
  --primary-cyan: #00D9FF;
  --dark-blue: #0A0E27;
  --navy-blue: #1A1F3A;
  --text-gray: #A0AEC0;
  --gradient-start: #00D9FF;
  --gradient-end: #667EEA;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy-blue) 100%);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-cyan);
  text-decoration: none;
}

.logo-icon {
  font-size: 2rem;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

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

.nav-links a:hover {
  color: var(--primary-cyan);
}

.referral-btn {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.referral-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 217, 255, 0.3);
}

/* Hero Section */
.hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--gradient-start) 0%, white 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* Hero Referral Button */
.hero-referral-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
  animation: pulse 2s infinite;
}

.hero-referral-btn:hover {
  transform: scale(1.08) translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 217, 255, 0.6);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
  }
  50% {
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.6);
  }
}

.hero-referral-btn .ml-2 {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.hero-referral-btn:hover .ml-2 {
  transform: translateX(5px);
}

.hero-referral-btn .mr-2 {
  margin-right: 0.5rem;
}

/* Content Sections */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--primary-cyan);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 217, 255, 0.2);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-cyan);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Whitepaper Section */
.whitepaper-section {
  background: rgba(255, 255, 255, 0.03);
  padding: 4rem 2rem;
  text-align: center;
}

.whitepaper-content {
  max-width: 800px;
  margin: 0 auto;
}

.whitepaper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.download-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 217, 255, 0.4);
}

/* CTA Section */
.cta-section {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}

/* Footer */
.footer {
  background: var(--dark-blue);
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(0, 217, 255, 0.1);
}

.footer p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.footer a {
  display: inline-block;
  padding: 0.5rem 0;
  min-height: 44px;
  line-height: 44px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-referral-btn {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .section h2 {
    font-size: 1.75rem;
  }

  .cta-section {
    padding: 4rem 1.5rem;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .footer {
    padding: 2rem 1rem;
  }

  .footer p {
    font-size: 0.85rem;
  }

  .footer a {
    padding: 0.5rem;
  }

  .download-btn {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  .whitepaper-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }

  .nav-links.active {
    display: flex;
  }
}

/* Promotional Popup Styles */
.promo-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.promo-popup-content {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy-blue) 100%);
  border: 2px solid var(--primary-cyan);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  max-width: 550px;
  width: 90%;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 217, 255, 0.4);
  animation: slideUp 0.4s ease;
  text-align: center;
}

@keyframes slideUp {
  from { 
    transform: translateY(50px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

.promo-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.promo-icon {
  font-size: 4rem;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.promo-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--gradient-start) 0%, white 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.promo-description {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.promo-description strong {
  color: var(--primary-cyan);
  font-size: 1.4rem;
}

.promo-benefits {
  background: rgba(0, 217, 255, 0.05);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.promo-benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: white;
}

.promo-benefit:last-child {
  margin-bottom: 0;
}

.promo-benefit i {
  color: var(--primary-cyan);
  font-size: 1.3rem;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
  width: 100%;
  justify-content: center;
}

.promo-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.6);
}

.promo-close-today {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-gray);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.75rem;
  width: 100%;
}

.promo-close-today:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.promo-note {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-top: 1rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .promo-popup-content {
    padding: 2rem 1.5rem;
    max-width: 95%;
  }
  
  .promo-title {
    font-size: 1.5rem;
  }
  
  .promo-description {
    font-size: 1rem;
  }
  
  .promo-cta {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }
}
