:root {
  --primary: #e74c3c;
  --secondary: #c0392b;
  --dark: #222;
  --light: #f9f9f9;
  --text: #444;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--light);
  color: var(--text);
}

/* Header */
header {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { font-size: 22px; font-weight: bold; display: flex; align-items: center; gap: 8px; }

#main-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
#main-nav ul li a { color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 4px; }
#main-nav ul li a:hover { background: rgba(255,255,255,0.2); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero-overlay h1 { font-size: 2.8rem; margin-bottom: 10px; }
.hero-overlay p { font-size: 1.2rem; margin-bottom: 20px; }

.hero-illustration { margin-top: 20px; animation: float 3s ease-in-out infinite; }

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

.btn-primary { background: #fff; color: var(--primary); padding: 12px 24px; font-weight: bold; border-radius: 30px; text-decoration: none; }
.btn-primary:hover { background: var(--dark); color: #fff; }

/* Features */
.section-title { text-align: center; margin: 50px 0 20px; font-size: 2rem; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; padding: 20px; }
.feature-card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); text-align: center; transition: transform .3s, box-shadow .3s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.feature-card i { font-size: 40px; color: var(--primary); margin-bottom: 15px; }

/* Footer */
footer { background: var(--dark); color: #eee; padding: 40px 20px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.footer-col h3 { border-bottom: 2px solid var(--primary); padding-bottom: 8px; margin-bottom: 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li a { color: #ccc; text-decoration: none; }
.footer-col ul li a:hover { color: var(--primary); }

/* Animations */
.fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeInUp .8s forwards; }
.fade-in-up.delay-1 { animation-delay: .4s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.bounce { animation: bounce 2s infinite; }
@keyframes bounce { 0%,20%,50%,80%,100% {transform: translateY(0);} 40% {transform: translateY(-10px);} 60% {transform: translateY(-5px);} }

.reveal { opacity: 0; transform: translateY(20px); transition: .6s; }
.reveal.active { opacity: 1; transform: translateY(0); }
