/* ============================================================
   $SEMAN — styles (Claude Design enhancement pass)
   ============================================================ */

:root {
  --green: #52ff2a;
  --green-soft: #8bff6e;
  --green-deep: #2fbf12;
  --ink: #041007;
  --deep-1: #021a10;
  --deep-2: #001b24;
  --deep-3: #000509;
  --card: rgba(9, 32, 22, 0.55);
  --card-line: rgba(82, 255, 42, 0.22);
  --text: #eafff0;
  --muted: #9fc9ad;
  --shadow-glow: 0 0 40px rgba(82, 255, 42, 0.35);
  --radius: 22px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 860px at 50% -12%, #0b4c36 0%, #001b24 44%, #000408 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(82, 255, 42, 0.3); color: #eafff0; }
a { color: var(--green-soft); }
a:hover { color: var(--green); }

/* ===== Swimming ocean background ===== */
.ocean {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ocean-tint {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 82% 16%, rgba(0, 70, 105, 0.28), transparent 60%),
    radial-gradient(760px 540px at 8% 82%, rgba(47, 191, 18, 0.12), transparent 62%);
}
.swimmer {
  position: absolute;
  will-change: transform;
  opacity: 0.68;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.45));
}
.swimmer img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Keyframes ===== */
@keyframes wiggle {
  0%, 100% { transform: scaleX(-1) rotate(-7deg); }
  50%      { transform: scaleX(-1) rotate(7deg); }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(82,255,42,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(82,255,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(82,255,42,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-16px) rotate(1.5deg); }
}
@keyframes caustic {
  0%   { transform: translate(-4%, -2%) scale(1);    opacity: .5; }
  50%  { transform: translate(4%, 3%)  scale(1.08);  opacity: .85; }
  100% { transform: translate(-4%, -2%) scale(1);    opacity: .5; }
}

/* content sits above ocean */
.nav, main, .footer { position: relative; z-index: 2; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(180deg, var(--green-soft), var(--green));
  color: #05230c;
  box-shadow: 0 0 30px rgba(82,255,42,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 48px rgba(82,255,42,.55); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--card-line);
}
.btn-ghost:hover { background: rgba(82,255,42,0.10); border-color: var(--green); }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-primary.btn-lg { box-shadow: 0 0 42px rgba(82,255,42,.4); }
.btn-primary.btn-lg:hover { box-shadow: 0 0 60px rgba(82,255,42,.6); }

/* ===== Nav (sticky, translucent) ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(0, 7, 10, 0.55);
  border-bottom: 1px solid rgba(82, 255, 42, 0.14);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Permanent Marker", cursive;
  font-size: 26px;
  color: var(--green);
  text-decoration: none;
  letter-spacing: .5px;
}
.nav-face {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--green); }

/* ===== Hero ===== */
.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(82,255,42,0.10);
  border: 1px solid rgba(82,255,42,0.24);
  color: var(--green-soft);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 30px;
  letter-spacing: .2px;
  white-space: nowrap;
}
.hero-logo {
  width: min(560px, 90%);
  height: auto;
  margin: 0 auto 6px;
  display: block;
  filter: drop-shadow(0 0 42px rgba(82,255,42,0.42));
}
.hero-title {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(38px, 6.6vw, 70px);
  line-height: 1.02;
  margin: 8px 0 20px;
  color: #fff;
  text-shadow: 0 2px 34px rgba(0,0,0,0.5);
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-sub b { color: var(--text); }
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

/* contract pill */
.ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 999px;
  padding: 7px 7px 7px 16px;
  max-width: 100%;
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.ca-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1px;
}
.ca-value {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(62vw, 360px);
}
.ca-copy {
  border: none;
  background: var(--green);
  color: #05230c;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  transition: background .15s ease;
}
.ca-copy.copied { background: var(--green-soft); }

.hero-socials {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 26px;
  flex-wrap: wrap;
}
.social {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px dashed transparent;
  transition: color .15s ease, border-color .15s ease;
}
.social:hover { color: var(--green); border-color: var(--green); }

/* ===== Tracker ===== */
.tracker {
  max-width: 1080px;
  margin: 28px auto 0;
  padding: 0 24px;
}
.tracker-inner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11,44,32,0.68), rgba(6,24,18,0.62));
  border: 1px solid rgba(82,255,42,0.26);
  border-radius: 34px;
  padding: clamp(30px, 4.5vw, 60px) clamp(22px, 4vw, 58px);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), inset 0 0 90px rgba(82,255,42,0.05);
  text-align: center;
}
.tracker-caustic {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 320px at 30% 10%, rgba(82,255,42,0.16), transparent 60%),
    radial-gradient(520px 340px at 78% 90%, rgba(0,120,150,0.18), transparent 62%);
  animation: caustic 12s ease-in-out infinite;
}
.tracker-content { position: relative; z-index: 1; }
.tracker-head {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,90,90,0.1);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 18px;
}
.live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #ff5a5a;
  animation: pulse 1.7s infinite;
}
.live-dot.live { background: var(--green); }
.live-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
}
.tracker-title {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  line-height: 1.08;
}
.tracker-title span { color: var(--green); display: block; font-size: 0.56em; margin-top: 4px; }
.tracker-note {
  color: var(--muted);
  max-width: 600px;
  margin: 16px auto 32px;
  line-height: 1.55;
  font-size: 15.5px;
  text-wrap: pretty;
}
.tracker-note b { color: var(--text); }

.raised { margin: 6px auto 8px; max-width: 740px; }
.raised-amount {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 12vw, 116px);
  line-height: 0.95;
  color: var(--green);
  text-shadow: 0 0 46px rgba(82,255,42,0.42);
  letter-spacing: -2px;
}
.raised-cap {
  color: var(--muted);
  font-size: 15px;
  margin-top: 10px;
}
.raised-cap span { color: var(--text); font-weight: 600; }

.progress {
  position: relative;
  height: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--card-line);
  border-radius: 999px;
  margin: 26px 0 12px;
}
.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-deep), var(--green), var(--green-soft));
  box-shadow: 0 0 22px rgba(82,255,42,0.6);
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
}
.progress-swimmer {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  transition: left 1.2s cubic-bezier(.22,1,.36,1);
}
.progress-swimmer img {
  width: 56px;
  height: auto;
  transform-origin: 60% 50%;
  animation: wiggle 1s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}
.progress-pct {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(82,255,42,0.18);
  border-radius: 18px;
  padding: 20px 12px;
}
.stat-value {
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 700;
  color: #fff;
}
.stat-label {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .9px;
}
.tracker-src {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(159,201,173,0.6);
}

/* ===== Generic sections ===== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
}
.mission { padding: 104px 24px; }
.how { padding: 0 24px 104px; }
.roadmap { padding: 0 24px 104px; }

.section-title {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(30px, 4.5vw, 48px);
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.08;
}
.section-title.center { text-align: center; margin-bottom: 48px; }
.section-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
  margin-bottom: 18px;
  max-width: 560px;
  text-wrap: pretty;
}
.section-text b { color: var(--text); }

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
}
.mission-art {
  display: flex;
  justify-content: center;
}
.mission-art img {
  width: 100%;
  max-width: 360px;
  border-radius: 24px;
  border: 1px solid var(--card-line);
  box-shadow: var(--shadow-glow);
  animation: float 4.5s ease-in-out infinite;
}

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.lanes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.card, .lane {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, border-color .2s ease;
}
.card { padding: 30px 26px; }
.lane { padding: 30px 24px; }
.card:hover, .lane:hover { transform: translateY(-6px); border-color: var(--green); }
.card-num {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 13px;
  background: var(--green);
  color: #05230c;
  font-weight: 800;
  font-size: 21px;
  margin-bottom: 18px;
}
.card h3, .lane h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}
.card p, .lane p {
  color: var(--muted);
  line-height: 1.58;
  font-size: 15px;
}
.lane-tag {
  display: inline-block;
  font-family: "Permanent Marker", cursive;
  color: var(--green);
  font-size: 15px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

/* CTA band */
.cta-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px 96px;
  text-align: center;
}
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11,44,32,0.55), rgba(6,24,18,0.5));
  border: 1px solid rgba(82,255,42,0.24);
  border-radius: 34px;
  padding: 64px 28px 68px;
}
.cta-face {
  width: 120px;
  height: auto;
  animation: float 3.8s ease-in-out infinite;
  margin-bottom: 6px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.5));
}
.cta-band h2 {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(34px, 5vw, 58px);
  color: var(--green);
  margin-bottom: 14px;
  line-height: 1.05;
}
.cta-band p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 30px;
  text-wrap: pretty;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(82,255,42,0.16);
  padding: 48px 24px 60px;
  text-align: center;
  background: rgba(0,0,0,0.28);
}
.footer-logo {
  width: 200px;
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 24px rgba(82,255,42,0.3));
}
.footer-socials {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.footer-socials a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color .15s ease;
}
.footer-socials a:hover { color: var(--green); }
.disclaimer {
  color: rgba(159,201,173,0.55);
  font-size: 12.5px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 16px;
}
.copyright { color: var(--muted); font-size: 13px; }

/* ===== Reveal on scroll ===== */
/* Default state is fully visible; JS only adds .reveal-hidden to
   below-the-fold elements, then removes it as they scroll in. This
   guarantees content is never stuck invisible if JS/observers fail. */
[data-reveal].reveal-hidden {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
[data-reveal].reveal-in {
  opacity: 1;
  transform: none;
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .nav-buy { display: none; }
  .ca-value { max-width: 48vw; }
  .hero { padding-top: 28px; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mission-art img, .cta-face, .progress-swimmer img, .tracker-caustic { animation: none; }
  html { scroll-behavior: auto; }
  [data-reveal].reveal-hidden { opacity: 1; transform: none; transition: none; }
}
