/* ========================================
   ICH BIN HOPE – Hauptstylesheet
   ======================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ocean-deep:    #07111f;
  --ocean-dark:    #0a1e35;
  --ocean-mid:     #0d3d5c;
  --ocean-teal:    #0e6b8c;
  --ocean-bright:  #1a9bbf;
  --foam:          #4ecdc4;
  --sky:           #a8d8ea;
  --white:         #f8fafc;
  --warm-white:    #fef9f0;
  --gold:          #e8a44a;
  --gold-light:    #f4c87a;
  --text-body:     #c8dae8;
  --text-muted:    #7a9bb5;
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     24px;
  --shadow-card:   0 4px 32px rgba(0,0,0,0.4);
  --transition:    0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--ocean-deep);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

p { max-width: 65ch; }

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2.5rem);
}

.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(7, 17, 31, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav__logo span { color: var(--foam); }
.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--foam); }
.nav__cta {
  background: var(--foam);
  color: var(--ocean-deep) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 600 !important;
}
.nav__cta:hover { background: var(--sky) !important; color: var(--ocean-deep) !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--foam);
  color: var(--ocean-deep);
}
.btn-primary:hover {
  background: var(--sky);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78, 205, 196, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  border-color: var(--foam);
  color: var(--foam);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--ocean-deep);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 164, 74, 0.35);
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.9rem; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ocean-deep);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(13,93,124,0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(78,205,196,0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(7,17,31,0.3) 0%, rgba(7,17,31,0.8) 70%, var(--ocean-deep) 100%);
  z-index: 1;
}
.hero__image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  filter: saturate(1.2) brightness(0.7);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(1rem, 5vw, 2rem);
  max-width: 900px;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--foam);
  margin-bottom: 1.2rem;
}
.hero__title {
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 900;
  font-style: italic;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
  margin-bottom: 1.2rem;
  line-height: 1;
}
.hero__subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--sky);
  margin-bottom: 2.5rem;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero__scroll svg { opacity: 0.6; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Wave Divider ── */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}
.wave-divider svg { display: block; width: 100%; }

/* ── Intro Strip ── */
.intro-strip {
  background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-dark));
  padding: 5rem 0;
  text-align: center;
}
.intro-strip p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-style: italic;
  color: var(--sky);
  max-width: 70ch;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* ── Cards ── */
.card {
  background: rgba(13, 61, 92, 0.4);
  border: 1px solid rgba(78, 205, 196, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(78, 205, 196, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* ── Chapter Cards ── */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.chapter-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(13, 61, 92, 0.5);
  border: 1px solid rgba(78, 205, 196, 0.15);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.chapter-card:hover {
  border-color: rgba(78, 205, 196, 0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.chapter-card__number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(78, 205, 196, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.chapter-card__title { margin-bottom: 0.8rem; color: var(--white); }
.chapter-card__excerpt { font-size: 0.95rem; color: var(--text-muted); flex: 1; margin-bottom: 1.5rem; }
.chapter-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--foam);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition);
}
.chapter-card__link:hover { gap: 0.7rem; }
.chapter-card--teaser { opacity: 0.5; pointer-events: none; }
.chapter-card--teaser::after {
  content: 'Bald';
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--ocean-teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Section Header ── */
.section-header { margin-bottom: 1rem; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--foam);
  margin-bottom: 0.8rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* ── Swan Counter ── */
.swan-counter {
  background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-dark));
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  border: 1px solid rgba(78, 205, 196, 0.2);
}
.swan-counter__number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--foam);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.swan-counter__label {
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}
.swan-counter__icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  line-height: 1;
}
.progress-bar {
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ocean-bright), var(--foam));
  border-radius: 999px;
  transition: width 1.5s ease;
}
.progress-bar__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
}

/* ── Support Tiers ── */
.support-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.tier-card {
  background: rgba(13, 61, 92, 0.4);
  border: 1px solid rgba(78, 205, 196, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.tier-card:hover, .tier-card.active {
  border-color: var(--foam);
  background: rgba(78, 205, 196, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(78, 205, 196, 0.2);
}
.tier-card__emoji { font-size: 2.5rem; margin-bottom: 0.8rem; }
.tier-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--foam);
  margin-bottom: 0.3rem;
}
.tier-card__name { font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.tier-card__desc { font-size: 0.9rem; color: var(--text-muted); }

/* ── Book Section ── */
.book-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.book-cover {
  position: relative;
  perspective: 1000px;
}
.book-cover__inner {
  background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-deep));
  border-radius: var(--radius-md);
  aspect-ratio: 2/3;
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(78, 205, 196, 0.3);
  box-shadow:
    -8px 12px 40px rgba(0,0,0,0.5),
    inset 3px 0 10px rgba(78,205,196,0.08);
  transform: rotateY(-8deg);
  transition: transform var(--transition);
}
.book-cover__inner:hover { transform: rotateY(0deg); }
.book-cover__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  font-style: italic;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.book-cover__subtitle {
  font-size: 0.85rem;
  color: var(--foam);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.book-cover__whale {
  font-size: 5rem;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 20px rgba(78,205,196,0.4));
}
.book-cover__author { font-size: 0.9rem; color: var(--text-muted); }

/* ── Mission Blocks ── */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.mission-card {
  background: rgba(13, 61, 92, 0.35);
  border: 1px solid rgba(78, 205, 196, 0.12);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: all var(--transition);
}
.mission-card:hover {
  border-color: rgba(78, 205, 196, 0.35);
  transform: translateY(-3px);
}
.mission-card__icon { font-size: 2rem; margin-bottom: 1rem; }
.mission-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.mission-card p { font-size: 0.95rem; color: var(--text-muted); max-width: none; }

/* ── Newsletter ── */
.newsletter {
  background: linear-gradient(135deg, rgba(13,93,124,0.4), rgba(10,30,53,0.6));
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}
.newsletter h2 { margin-bottom: 0.8rem; }
.newsletter p { color: var(--text-muted); margin: 0 auto 2rem; }
.newsletter-form {
  display: flex;
  gap: 0.8rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(78, 205, 196, 0.3);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--foam); }
.newsletter-privacy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.newsletter-privacy a { color: var(--foam); text-decoration: underline; }

/* ── Social Share ── */
.social-share {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
}
.social-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}
.share-twitter { background: #1DA1F2; color: #fff; }
.share-facebook { background: #1877F2; color: #fff; }
.share-whatsapp { background: #25D366; color: #fff; }
.social-share__btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ── Footer ── */
.footer {
  background: var(--ocean-deep);
  border-top: 1px solid rgba(78, 205, 196, 0.1);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 36ch;
}
.footer__links h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-family: 'Inter', sans-serif;
}
.footer__links ul { list-style: none; }
.footer__links li { margin-bottom: 0.7rem; }
.footer__links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--foam); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: gap;
  font-size: 0.85rem;
  color: var(--text-muted);
  gap: 1rem;
}

/* ── Article / Story Content ── */
.story-content {
  max-width: 680px;
  margin: 0 auto;
}
.story-content p {
  max-width: none;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}
.story-content .drop-cap::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 900;
  float: left;
  line-height: 0.85;
  margin-right: 0.1em;
  margin-top: 0.1em;
  color: var(--foam);
}
.story-content blockquote {
  border-left: 3px solid var(--foam);
  padding: 1rem 1.5rem;
  margin: 2.5rem 0;
  background: rgba(78, 205, 196, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--sky);
}

/* ── Page Header ── */
.page-header {
  padding: 10rem 0 5rem;
  background: linear-gradient(180deg, var(--ocean-dark) 0%, var(--ocean-deep) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(13,93,124,0.4) 0%, transparent 70%);
}
.page-header > * { position: relative; z-index: 1; }
.page-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--foam);
  margin-bottom: 0.8rem;
}

/* ── Update / Blog Cards ── */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.update-card {
  background: rgba(13, 61, 92, 0.4);
  border: 1px solid rgba(78, 205, 196, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.update-card:hover {
  border-color: rgba(78, 205, 196, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.update-card__body { padding: 1.5rem; }
.update-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foam);
  margin-bottom: 0.7rem;
}
.update-card__title { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--white); }
.update-card__excerpt { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.update-card__meta { font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 1rem; }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-foam { color: var(--foam); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(7, 17, 31, 0.98);
    z-index: 99;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    font-size: 1.3rem;
  }
  .nav__links.open a { font-size: 1.2rem; }
  .nav__burger { display: flex; z-index: 100; }
  .book-showcase { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .support-tiers { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ── Glow Effect ── */
.glow {
  text-shadow: 0 0 40px rgba(78, 205, 196, 0.4);
}
