/* =============================================================================
   CERES LANDING PAGE — Warm Celestial Theme
   ============================================================================= */

:root {
  --bg-start: #fcd5ce;
  --bg-mid: #f8c8be;
  --bg-end: #fae1cf;
  --coral: #e8635d;
  --coral-dark: #d94f49;
  --text: #2d2d2d;
  --text-soft: #5a5a5a;
  --white: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.55);
  --card-border: rgba(255, 255, 255, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-end);
  min-height: 100vh;
  overflow-x: hidden;
}

/* =============================================================================
   LAYOUT
   ============================================================================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 2rem;
}

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

.hero-cta {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 4rem;
}

.tagline {
  font-size: 1.15rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

/* CTA Buttons */
.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 99, 93, 0.3);
}

/* =============================================================================
   FEATURES GRID
   ============================================================================= */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 4rem 0;
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
  font-size: 1.75rem;
  color: var(--coral);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* =============================================================================
   CARDS (About & Support)
   ============================================================================= */

.card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}

.card h2 {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--coral);
  margin-bottom: 1rem;
}

.card h2 em {
  font-style: italic;
}

.card p {
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.card a:hover {
  color: var(--coral-dark);
  text-decoration: underline;
}

/* =============================================================================
   FOOTER
   ============================================================================= */

footer {
  text-align: center;
  padding: 3rem 0 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-links .divider {
  color: var(--text-soft);
  opacity: 0.5;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-soft);
  opacity: 0.7;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 2rem 1.25rem;
  }

  .tagline {
    font-size: 1.05rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .card {
    padding: 1.75rem;
  }
}

/* =============================================================================
   DARK MODE (optional, respects system preference)
   ============================================================================= */

@media (prefers-color-scheme: dark) {
  :root {
    --bg-end: #261a17;
    --text: #f5f0ed;
    --text-soft: #b8ada6;
    --card-bg: rgba(60, 45, 40, 0.6);
    --card-border: rgba(100, 80, 70, 0.3);
  }
}
