/* 
  Landing Page Styles for Dengue LSM Scanner 
  Premium Dark Theme, Glassmorphism, Dynamic Animations
*/

:root {
  /* Color Palette */
  --color-bg-dark: #0a0e17;
  --color-bg-surface: #151b29;
  --color-primary: #00e5ff;
  --color-primary-dark: #00b3cc;
  --color-secondary: #ff3366;
  --color-gold: #ffc107;
  --color-text-main: #f0f4f8;
  --color-text-muted: #9aa2b1;
  --color-border-glass: rgba(255, 255, 255, 0.08);
  
  /* Typography */
  --font-family: 'Outfit', sans-serif;
  
  /* Radii & Shadows */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 9999px;
  --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.4);
}

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

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

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

/* Base Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--color-primary);
  color: #000;
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border-glass);
}

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

.btn-gold {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  color: #000;
}

.pulse-btn {
  animation: pulse-glow 2s infinite;
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(90deg, var(--color-primary), #a200ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(90deg, #ffc107, #ff5722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mt-20 { margin-top: 20px; }

/* Header */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border-glass);
}

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

.logo-icon {
  font-size: 1.8rem;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  gap: 30px;
}

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

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

/* Sections */
.section {
  padding: 100px 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  background-image: linear-gradient(to bottom, rgba(10, 14, 23, 0.8) 0%, rgba(10, 14, 23, 0.6) 50%, rgba(10, 14, 23, 1) 100%), url('../pexels-saeed-saeed-84328029-32946369.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-background-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(10, 14, 23, 0) 70%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  animation: fadeIn 1s ease-out;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--color-primary);
  border-radius: var(--border-radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  border-top: 1px solid var(--color-border-glass);
  padding-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border-glass);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.5rem;
}

.blue-glow { background: rgba(0, 229, 255, 0.1); box-shadow: 0 0 20px rgba(0, 229, 255, 0.2); }
.green-glow { background: rgba(0, 255, 136, 0.1); box-shadow: 0 0 20px rgba(0, 255, 136, 0.2); }
.orange-glow { background: rgba(255, 153, 0, 0.1); box-shadow: 0 0 20px rgba(255, 153, 0, 0.2); }
.purple-glow { background: rgba(162, 0, 255, 0.1); box-shadow: 0 0 20px rgba(162, 0, 255, 0.2); }

.feature-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.feature-card h3, .impact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--color-text-muted);
  flex-grow: 1;
}

.impact-card p {
  color: var(--color-text-muted);
}

.mt-10 { margin-top: 10px; }

/* Impact Section */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

/* Rewards Section */
.rewards-section {
  padding-bottom: 120px;
}

.rewards-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(145deg, rgba(21, 27, 41, 0.8), rgba(10, 14, 23, 0.9));
  border: 1px solid var(--color-border-glass);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  gap: 40px;
}

.rewards-content {
  flex: 1;
}

.rewards-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.rewards-content p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.rewards-list {
  list-style: none;
  margin-bottom: 30px;
}

.rewards-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.rewards-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: bold;
}

.rewards-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 300px;
}

.floating-coins {
  position: relative;
  width: 100%;
  height: 100%;
}

.coin {
  position: absolute;
  font-size: 4rem;
  filter: drop-shadow(0 10px 15px rgba(255, 193, 7, 0.3));
  animation: float 4s ease-in-out infinite;
}

.coin-1 { top: 10%; left: 20%; animation-delay: 0s; }
.coin-2 { top: 40%; left: 50%; font-size: 5rem; animation-delay: 1s; }
.coin-3 { top: 60%; left: 30%; font-size: 3rem; animation-delay: 2s; }


/* Footer */
.main-footer {
  background: #05070a;
  padding: 60px 5% 30px;
  border-top: 1px solid var(--color-border-glass);
}

.footer-content {
  text-align: center;
  margin-bottom: 40px;
}

.footer-desc {
  color: var(--color-text-muted);
  max-width: 400px;
  margin: 15px auto 0;
}

.footer-bottom {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .main-nav { display: none; }
  .rewards-container { flex-direction: column; padding: 30px; text-align: center; }
  .rewards-list li { text-align: left; }
}
