:root {
  --cream: #FAF8F3;
  --beige: #F5F0E8;
  --soft-gray: #E8E4DB;
  --mint: #D4E8DC;
  --coral: #F4C4B0;
  --sky: #D9E8F5;
  --lavender: #E8D9F0;
  --dark-text: #3C3C3C;
  --soft-text: #5C5C5C;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--cream);
  color: var(--dark-text);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: var(--dark-text);
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

p {
  color: var(--soft-text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.container-fluid {
  padding-left: 20px;
  padding-right: 20px;
}

header {
  background-color: var(--cream);
  border-bottom: 1px solid var(--soft-gray);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

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

.navbar-brand:hover {
  color: var(--dark-text);
  text-decoration: none;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--soft-text);
  font-size: 0.95rem;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--dark-text);
}

.nav-links a.active {
  color: var(--dark-text);
  font-weight: 600;
}

.hero {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
  border-radius: 20px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(250,248,243,0.8), rgba(245,240,232,0.8));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 2rem;
}

.hero-content h1 {
  color: var(--dark-text);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--soft-text);
}

section {
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  border-radius: 24px;
}

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

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

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

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

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

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--soft-text);
  font-size: 1.1rem;
}

.row-flex {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.col-flex {
  flex: 1;
  min-width: 300px;
}

.image-container {
  max-height: 400px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

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

.card {
  background-color: white;
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.card-title {
  font-size: 1.4rem;
  color: var(--dark-text);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background-color: var(--soft-gray);
  color: var(--dark-text);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

.badge-audience {
  background-color: var(--sky);
}

.badge-focus {
  background-color: var(--lavender);
}

.badge-format {
  background-color: var(--mint);
}

.composition-list {
  background-color: var(--beige);
  padding: 1rem;
  border-radius: 12px;
  margin: 1rem 0;
}

.composition-list ul {
  list-style: none;
  padding-left: 0;
}

.composition-list li {
  padding: 0.4rem 0;
  color: var(--soft-text);
  font-size: 0.95rem;
}

.composition-list li::before {
  content: '◦ ';
  color: var(--dark-text);
  font-weight: bold;
  margin-right: 0.6rem;
}

.card-description {
  color: var(--soft-text);
  line-height: 1.7;
  margin: 1rem 0;
}

.details-link {
  display: inline-block;
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.details-link:hover {
  color: var(--soft-text);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background-color: var(--dark-text);
  color: white;
}

.btn-primary:hover {
  background-color: var(--soft-text);
  text-decoration: none;
  color: white;
}

.btn-secondary {
  background-color: var(--soft-gray);
  color: var(--dark-text);
}

.btn-secondary:hover {
  background-color: var(--dark-text);
  color: white;
  text-decoration: none;
}

form {
  max-width: 500px;
  margin: 2rem auto;
  background-color: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark-text);
  font-weight: 500;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--soft-gray);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--dark-text);
  box-shadow: 0 0 0 3px rgba(60,60,60,0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

input[type="checkbox"] {
  margin-top: 0.3rem;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
}

footer {
  background-color: var(--dark-text);
  color: white;
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-section p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 2rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.cta-section {
  text-align: center;
  padding: 3rem;
}

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

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.success-message {
  background-color: var(--mint);
  border-left: 4px solid var(--dark-text);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
}

.success-message h2 {
  color: var(--dark-text);
  margin-bottom: 1rem;
}

.success-message p {
  color: var(--soft-text);
}

.policy-content {
  max-width: 900px;
  margin: 2rem auto;
  background-color: white;
  padding: 2rem;
  border-radius: 16px;
  line-height: 1.8;
}

.policy-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-text);
}

.policy-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--dark-text);
}

.policy-content ul, .policy-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
  color: var(--soft-text);
}

.policy-content strong {
  color: var(--dark-text);
}

.last-updated {
  color: var(--soft-text);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.rhythm-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 16px;
  border-left: 4px solid var(--dark-text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.rhythm-card h3 {
  margin-top: 0;
}

.rhythm-card p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero {
    height: 350px;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .row-flex {
    flex-direction: column;
    gap: 1.5rem;
  }

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

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

  .footer-divider {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 1rem;
    font-size: 0.85rem;
  }

  section {
    padding: 2rem 1rem;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  form {
    padding: 1.5rem;
  }
}
