:root {
  --primary-green: #28a745;
  --dark-green: #218838;
  --light-green: #d4edda;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.navbar-brand strong {
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-success {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.text-success {
  color: var(--primary-green);
}

.card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.habit-card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.principle-card {
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--primary-green);
  height: 100%;
}

.approach-card {
  padding: 2rem;
  background: var(--white);
  border: 2px solid var(--bg-light);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.approach-card:hover {
  border-color: var(--primary-green);
}

.approach-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.faq-item {
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
}

.page-header {
  background: linear-gradient(to bottom, var(--bg-light), var(--white));
}

.policy-content h3 {
  color: var(--primary-green);
}

.policy-content ul {
  margin-left: 1.5rem;
}

footer a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(33, 37, 41, 0.95);
  color: var(--white);
  padding: 1rem 0;
  z-index: 9999;
  display: none;
  animation: slideUp 0.5s ease;
}

.cookie-banner.show {
  display: block;
}

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

.cookie-banner a {
  color: var(--primary-green);
  text-decoration: underline;
}

.thank-you-icon {
  font-size: 5rem;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid var(--primary-green);
}

.icon-line {
  height: 5px;
  background-color: var(--primary-green);
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}

.icon-line.line-tip {
  top: 46px;
  left: 14px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
  top: 38px;
  right: 8px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}

.icon-circle {
  top: -4px;
  left: -4px;
  z-index: 10;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  box-sizing: content-box;
  border: 4px solid rgba(40, 167, 69, 0.5);
}

@keyframes icon-line-tip {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }
  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }
  100% {
    width: 25px;
    left: 14px;
    top: 46px;
  }
}

@keyframes icon-line-long {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  84% {
    width: 55px;
    right: 0;
    top: 35px;
  }
  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 400px;
  }

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

  .approach-number {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .cookie-banner .text-right {
    text-align: center;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .btn-lg {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }
}
