@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap');

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

:root {
  --primary: #34495E;
  --accent-green: #2ECC71;
  --accent-orange: #F39C12;
  --accent-purple: #9B59B6;
  --text-dark: #555555;
  --light-bg: #f8f9fa;
  --border-light: #e0e0e0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #fff;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin-left: 1.5rem;
  padding: 0.5rem 0 !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-green) !important;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(rgba(52, 73, 94, 0.3), rgba(52, 73, 94, 0.5));
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  max-width: 900px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero {
    height: 400px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* Sections */
section {
  padding: 80px 0;
}

section.light-bg {
  background-color: var(--light-bg);
}

.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

/* Benefits Cards */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.benefit-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.5rem;
  background: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.benefit-card h4 {
  margin-bottom: 0.8rem;
}

.benefit-card p {
  font-size: 0.95rem;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-column h2 {
  text-align: left;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* List Section */
.habits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.habit-item {
  background: white;
  border-left: 4px solid var(--accent-green);
  padding: 1.5rem;
  border-radius: 4px;
}

.habit-item h4 {
  margin-top: 0;
  color: var(--accent-green);
}

/* Comparison Section */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 2rem;
}

.comparison-column h3 {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent-orange);
}

.comparison-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Accordion */
.accordion {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-top: 2rem;
}

.accordion-button {
  background-color: white;
  color: var(--primary);
  font-weight: 600;
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem;
  text-align: left;
  transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: var(--light-bg);
  color: var(--accent-green);
}

.accordion-button:hover {
  background-color: var(--light-bg);
}

.accordion-body {
  padding: 1.5rem;
  background: white;
  color: var(--text-dark);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 60px 20px;
}

.cta-section h2 {
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: var(--accent-green);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
  margin: 0.5rem;
}

.btn-primary:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--accent-orange);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
  margin: 0.5rem;
}

.btn-secondary:hover {
  background-color: #e67e22;
  transform: translateY(-2px);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
  padding: 60px 0 20px;
  margin-top: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 2rem;
}

footer h4 {
  color: var(--accent-green);
  margin-bottom: 1rem;
}

footer p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--accent-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-green);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-disclaimer {
  background: var(--light-bg);
  border-left: 4px solid var(--accent-orange);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Cookie Banner */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: white;
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: none;
}

#cookieBanner.show {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#acceptCookies {
  background-color: var(--accent-green);
  color: white;
}

#acceptCookies:hover {
  background-color: #27ae60;
}

#declineCookies {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

#declineCookies:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

#learnMoreCookies {
  background-color: var(--accent-orange);
  color: white;
}

#learnMoreCookies:hover {
  background-color: #e67e22;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Disclaimer Section */
.disclaimer {
  background: var(--light-bg);
  border-left: 4px solid var(--accent-purple);
  padding: 2rem;
  border-radius: 4px;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.disclaimer h3 {
  color: var(--accent-purple);
  margin-top: 0;
}

/* General Utilities */
.text-center {
  text-align: center;
}

.margin-top-60 {
  margin-top: 60px;
}

.margin-bottom-60 {
  margin-bottom: 60px;
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
