/* ============================================================
   Elephantheia — Main Stylesheet
   Fonts loaded in index.html via Google Fonts
   ============================================================ */

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

:root {
  --coral:    #E58D8D;
  --coral-lt: #F0B8B8;
  --sage:     #8B9D83;
  --sage-lt:  #C4CFC0;
  --sand:     #F4EEE8;
  --sand-dk:  #EDE5DC;
  --blue:     #AFC5D6;
  --blue-lt:  #D2E3ED;
  --ink:      #333333;
  --ink-lt:   #6B6B6B;
  --white:    #FDFAF7;
  --max:      1200px;
  --content:  860px;
  --radius:   3px;
  --ease:     cubic-bezier(.22,.68,0,1.2);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.75;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p  { font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--ink-lt); }

/* ── LAYOUT HELPERS ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.content   { max-width: var(--content); margin: 0 auto; }
section    { padding: 7rem 2rem; }

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,250,247,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229,141,141,.15);
  transition: box-shadow .3s;
}
header.scrolled { box-shadow: 0 2px 24px rgba(51,51,51,.07); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--ink);
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  letter-spacing: .01em;
}

nav { display: flex; gap: 2rem; align-items: center; }
nav a {
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-lt);
  transition: color .2s;
}
nav a:hover { color: var(--coral); }

.header-right { display: flex; align-items: center; gap: 1.2rem; }

.lang-selector {
  display: flex; gap: .4rem;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lang-selector button {
  background: none; border: none; cursor: pointer;
  color: var(--ink-lt); padding: .2rem .3rem;
  font-family: 'Lato', sans-serif;
  font-size: .8rem; letter-spacing: .06em;
  transition: color .2s;
}
.lang-selector button.active,
.lang-selector button:hover { color: var(--coral); }

.btn-launch {
  background: var(--coral);
  color: #fff;
  border: none;
  padding: .55rem 1.3rem;
  font-family: 'Lato', sans-serif;
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn-launch:hover { background: #d67a7a; transform: translateY(-1px); }

/* ── HAMBURGER ── */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: .3rem; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ── HERO ── */
#hero {
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--sand);
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .38;
}
.blob-1 { width: 600px; height: 600px; background: var(--coral-lt); top: -100px; right: -100px; }
.blob-2 { width: 400px; height: 400px; background: var(--blue-lt);  bottom: -80px; left: -60px; }
.blob-3 { width: 300px; height: 300px; background: var(--sage-lt);  top: 40%; right: 20%; }

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 400;
  margin-bottom: 1.4rem;
}
.hero-title { margin-bottom: 1.6rem; color: var(--ink); }
.hero-title em { color: var(--coral); font-style: italic; }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-lt);
  margin-bottom: 2.8rem;
  max-width: 480px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn-primary {
  background: var(--ink); color: #fff; border: none;
  padding: .85rem 2rem;
  font-family: 'Lato', sans-serif; font-size: .9rem; font-weight: 400;
  letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); cursor: pointer;
  transition: background .2s, transform .2s var(--ease);
  display: inline-block;
}
.btn-primary:hover { background: #222; transform: translateY(-2px); }

.btn-secondary {
  background: transparent; color: var(--ink-lt);
  border: 1px solid rgba(51,51,51,.25);
  padding: .85rem 2rem;
  font-family: 'Lato', sans-serif; font-size: .9rem; font-weight: 400;
  letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s var(--ease);
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-2px); }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.elephant-wrap {
  position: relative;
  width: clamp(260px, 38vw, 460px);
  aspect-ratio: 1;
}
.elephant-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  position: relative; z-index: 1;
}
.elephant-glow {
  position: absolute; inset: -10%;
  background: radial-gradient(circle, rgba(229,141,141,.22) 0%, transparent 70%);
  border-radius: 50%;
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 400;
  margin-bottom: 1.2rem;
}
.section-title { margin-bottom: 1.2rem; }
.section-lead {
  font-size: 1.1rem;
  color: var(--ink-lt);
  max-width: 580px;
  margin-bottom: 3.5rem;
}
.divider { width: 48px; height: 1.5px; background: var(--coral); margin: 2rem auto; }

/* ── PROBLEM ── */
#problem { background: var(--white); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.problem-card {
  background: var(--sand);
  border-radius: 8px;
  padding: 2rem 1.8rem;
  border-left: 3px solid var(--coral-lt);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(51,51,51,.07); }
.problem-card p { font-size: 1rem; color: var(--ink); font-style: italic; }

/* ── PROMISE ── */
#promise { background: var(--ink); color: var(--sand); }
#promise h2          { color: var(--sand); }
#promise p           { color: rgba(244,238,232,.7); }
#promise .section-label { color: var(--coral-lt); }
.promise-text { max-width: 640px; margin: 0 auto; text-align: center; }
.promise-text p { font-size: 1.1rem; margin-bottom: 1.4rem; }
.pillars {
  display: flex; justify-content: center; gap: 3.5rem;
  margin-top: 3.5rem; flex-wrap: wrap;
}
.pillar { text-align: center; }
.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; color: var(--coral-lt);
  line-height: 1; margin-bottom: .5rem;
}
.pillar-label {
  font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(244,238,232,.6);
}

/* ── HOW IT WORKS ── */
#how { background: var(--sand); }
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  margin-top: 3.5rem;
}
.step { text-align: center; padding: 0 1rem; }
.step-num {
  width: 52px; height: 52px;
  border: 1.5px solid var(--coral); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--coral);
}
.step h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.step p  { font-size: .95rem; }
.step-arrow { color: var(--coral-lt); font-size: 1.5rem; padding-top: 1.3rem; align-self: start; }

/* ── FEATURES ── */
#features { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}
.feature-card {
  border: 1px solid var(--sand-dk); border-radius: 8px; padding: 2rem 1.8rem;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.feature-card:hover {
  border-color: var(--coral-lt);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(229,141,141,.1);
}
.feature-icon { font-size: 1.6rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.feature-card p  { font-size: .95rem; }

/* ── WHO ── */
#who { background: var(--sand); }
.who-grid {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 3rem; justify-content: center;
}
.who-chip {
  background: var(--white); border: 1px solid var(--sand-dk);
  border-radius: 40px; padding: .7rem 1.6rem;
  font-size: .95rem; font-weight: 400; color: var(--ink);
  transition: background .2s, border-color .2s; cursor: default;
}
.who-chip:hover { background: var(--coral-lt); border-color: var(--coral-lt); }

/* ── FOUNDER ── */
#founder { background: var(--white); }
.founder-inner {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 3.5rem; align-items: start;
  max-width: 800px; margin: 0 auto;
}
.founder-photo {
  width: 200px; height: 200px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: var(--sand-dk);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; margin-bottom: .4rem;
}
.founder-role {
  font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 1.2rem;
}

/* ── TRUST ── */
#trust { background: var(--sand); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem; margin-top: 3.5rem;
}
.trust-item { text-align: center; }
.trust-glyph { font-size: 2rem; margin-bottom: 1rem; color: var(--coral); }
.trust-item h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.trust-item p  { font-size: .95rem; }
.trust-not {
  text-align: center; margin-top: 3rem;
  font-size: .9rem; color: var(--ink-lt); font-style: italic;
}

/* ── CTA ── */
#cta { background: var(--coral); text-align: center; padding: 6rem 2rem; }
#cta h2 { color: #fff; margin-bottom: 1.2rem; }
#cta p  { color: rgba(255,255,255,.8); margin-bottom: 2.5rem; }
.btn-cta-primary {
  background: #fff; color: var(--coral); border: none;
  padding: 1rem 2.5rem;
  font-family: 'Lato', sans-serif; font-size: .9rem; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius); cursor: pointer; text-decoration: none;
  margin: .5rem; display: inline-block;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.btn-cta-secondary {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  padding: 1rem 2.5rem;
  font-family: 'Lato', sans-serif; font-size: .9rem; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius); cursor: pointer; text-decoration: none;
  margin: .5rem; display: inline-block;
  transition: border-color .2s, transform .2s var(--ease);
}
.btn-cta-secondary:hover { border-color: #fff; transform: translateY(-2px); }

/* ── FOOTER ── */
footer { background: var(--ink); padding: 3rem 2rem; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  color: rgba(244,238,232,.7); font-size: 1.1rem; text-decoration: none;
}
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a {
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(244,238,232,.5); text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: var(--coral-lt); }
.footer-lang { display: flex; gap: .4rem; }
.footer-lang button {
  background: none; border: none; cursor: pointer;
  color: rgba(244,238,232,.4);
  font-family: 'Lato', sans-serif; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; transition: color .2s; padding: .2rem .3rem;
}
.footer-lang button.active,
.footer-lang button:hover { color: var(--coral-lt); }
.footer-copy { font-size: .78rem; color: rgba(244,238,232,.3); letter-spacing: .04em; }

/* ── FADE IN ── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--sand);
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; color: var(--ink); text-decoration: none;
}
.mobile-nav-close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--ink);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .elephant-wrap { width: clamp(180px, 60vw, 280px); }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .founder-inner { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { margin: 0 auto; }
}
@media (max-width: 600px) {
  section { padding: 4.5rem 1.2rem; }
  .header-inner { padding: .8rem 1.2rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

/* ── HERO sub2 ── */
.hero-sub2 {
  font-size: clamp(.9rem, 1.3vw, 1rem);
  color: var(--coral);
  font-weight: 400;
  letter-spacing: .04em;
  margin-bottom: 2.2rem;
  margin-top: -.8rem;
}

/* ── WHO CARDS ── */
.who-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.who-card {
  background: var(--sand);
  border-radius: 8px;
  padding: 1.8rem 1.6rem;
  border-top: 3px solid var(--coral-lt);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.who-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(51,51,51,.07); }
.who-card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--ink); }
.who-card p  { font-size: .95rem; }

/* ── PROBLEM DARK ── */
.problem-card-dark {
  background: rgba(255,255,255,.06);
  border-left-color: var(--coral);
}
.problem-card-dark p { color: rgba(244,238,232,.85); font-style: normal; }

/* ── WHAT SECTION ── */
#what { background: var(--white); }
.what-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.what-nots {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin: 1.4rem 0;
}
.what-nots span {
  font-size: 1rem;
  color: var(--ink);
  font-style: italic;
  padding-left: 1rem;
  border-left: 2px solid var(--coral-lt);
}
.what-domains {
  font-size: .88rem;
  letter-spacing: .06em;
  color: var(--ink-lt);
  margin-top: 1rem;
}
.what-quote {
  background: var(--sand);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  border-left: 4px solid var(--coral);
  position: relative;
}
.what-quote::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--coral-lt);
  position: absolute;
  top: -.5rem;
  left: 1.2rem;
  line-height: 1;
}
.what-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-top: 1.5rem;
}
.what-quote span {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--coral);
}

/* ── HOW STEPS (vertical) ── */
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 3rem auto 0;
}
.how-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--sand-dk);
}
.how-step:last-child { border-bottom: none; }
.how-step .step-num {
  margin: 0;
  flex-shrink: 0;
}
.how-step-body h3 { margin-bottom: .5rem; }

/* ── DIFFERENT ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.diff-card {
  padding: 2rem 1.8rem;
  border: 1px solid var(--sand-dk);
  border-radius: 8px;
  transition: border-color .25s, transform .25s var(--ease);
}
.diff-card:hover { border-color: var(--coral-lt); transform: translateY(-3px); }
.diff-not {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 400;
  margin-bottom: .3rem;
}
.diff-card h3 { font-size: 1.05rem; margin-bottom: .7rem; }

/* ── EXAMPLE ── */
.example-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 3rem;
}
.example-col {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.example-col-eleph { background: var(--ink); }
.example-col-eleph p { color: rgba(244,238,232,.75); }
.example-tag {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-lt);
  font-weight: 400;
}
.example-tag-coral { color: var(--coral-lt); }
.example-quote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.05rem; color: var(--ink); }
.example-domains { font-size: .9rem; line-height: 1.8; }
.example-insight {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--coral-lt) !important;
  border-left: 2px solid var(--coral);
  padding-left: 1rem;
}
.example-arrow {
  font-size: 1.8rem;
  color: var(--coral-lt);
  text-align: center;
  padding: 0 .5rem;
}

/* ── FEATURES LIST ── */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .8rem 2rem;
  margin-top: 3rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 1rem;
  color: var(--ink);
  padding: .7rem 0;
  border-bottom: 1px solid var(--sand-dk);
}
.feature-check {
  color: var(--coral);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── NAME ── */
.name-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.name-card {
  text-align: center;
  max-width: 280px;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
}
.name-word {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--coral);
  margin-bottom: .8rem;
}
.name-word-sage { color: var(--sage); }
.name-plus {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--coral-lt);
}
.name-close {
  text-align: center;
  max-width: 600px;
  margin: 3rem auto 0;
  font-size: 1.05rem;
  color: var(--ink-lt);
  font-style: italic;
  line-height: 1.9;
}

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 900px) {
  .what-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .example-grid { grid-template-columns: 1fr; }
  .example-arrow { transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .how-step { grid-template-columns: 48px 1fr; gap: 1rem; }
  .name-grid { flex-direction: column; }
}
