/* ============================================================
   Ocean Insight — Premium Stylesheet v2
   Deep ocean aesthetic: abyss navy, bioluminescent cyan, teal glow
   ============================================================ */

/* --- CSS Custom Properties (Theme Tokens) --- */
:root {
  /* Brand palette */
  --abyss:       #001F3F;
  --deep-sea:    #003366;
  --navy:        #001F3F;
  --navy-mid:    #002E5C;
  --navy-light:  #003F7A;
  --ocean:       #0077BE;
  --ocean-light: #0099E6;
  --aqua:        #48CAE4;
  --cyan:        #00FFD1;
  --cyan-dim:    #00CCA8;
  --sunset:      #FFB347;
  --white:       #F0F8FF;
  --off-white:   #D6EAF8;
  --muted:       #8FB3CC;
  --muted-dark:  #4A7A9B;

  /* Semantic tokens */
  --bg:          var(--abyss);
  --bg-card:     rgba(0, 31, 63, 0.45);
  --bg-raised:   rgba(0, 51, 102, 0.5);
  --text:        var(--white);
  --text-muted:  var(--muted);
  --accent:      var(--cyan);
  --accent-dim:  var(--cyan-dim);
  --link:        var(--cyan);
  --border:      rgba(0, 255, 209, 0.12);
  --border-mid:  rgba(0, 255, 209, 0.28);
  --glass-bg:    rgba(0, 31, 63, 0.45);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-body:    'Georgia', 'Times New Roman', serif;
  --font-display: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'Courier New', Courier, monospace;
  --font-ui:      Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing scale */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2.5rem;
  --sp-2xl: 4rem;
  --sp-3xl: 7rem;

  /* Layout */
  --max-w:      1200px;
  --max-w-text: 720px;
  --radius:     8px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Transitions */
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:     0.3s;
  --dur-slow: 0.6s;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--abyss);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated gradient mesh background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(0, 119, 190, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(0, 255, 209, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(0, 51, 102, 0.6) 0%, transparent 80%),
    linear-gradient(180deg, #001020 0%, #001F3F 40%, #002040 100%);
  pointer-events: none;
  z-index: 0;
  animation: meshDrift 24s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(72, 202, 228, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 30% 70%, rgba(0, 119, 190, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: meshDrift2 18s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0%   { opacity: 1; transform: scale(1) translate(0, 0); }
  50%  { opacity: 0.9; transform: scale(1.02) translate(-1%, 1%); }
  100% { opacity: 1; transform: scale(1.04) translate(1%, -0.5%); }
}
@keyframes meshDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(2%, 1%) scale(1.05); }
}

main, header, footer, nav, section, article {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: rgba(0, 255, 209, 0.35);
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
a:hover, a:focus {
  color: var(--white);
  text-decoration-color: var(--cyan);
}
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.625rem); letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; font-family: var(--font-ui); font-weight: 600; }

p { margin-bottom: var(--sp-md); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; margin-bottom: var(--sp-md); }
li { margin-bottom: var(--sp-xs); }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--sp-xl) 0;
}

strong { color: var(--off-white); font-weight: 700; }
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: rgba(0, 255, 209, 0.08);
  color: var(--cyan);
  padding: 0.1em 0.4em;
  border-radius: var(--radius);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}
.container--text {
  max-width: var(--max-w-text);
}

.section {
  padding: var(--sp-3xl) 0;
}
.section--sm {
  padding: var(--sp-2xl) 0;
}

/* --- Glassmorphism Card --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* --- Site Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(0, 16, 32, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(0, 255, 209, 0.08);
  transition: background var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease), border-color var(--dur-slow) var(--ease);
}

.site-header.scrolled {
  background: rgba(0, 16, 32, 0.92);
  border-bottom-color: rgba(0, 255, 209, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  height: 68px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  transition: color var(--dur) var(--ease);
}
.site-logo:hover, .site-logo:focus {
  color: var(--white);
  text-decoration: none;
}
.site-logo__mark {
  font-size: 1.5rem;
}

.lang-switcher {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.lang-switcher a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.lang-switcher a:hover, .lang-switcher a:focus {
  color: var(--cyan);
  background: rgba(0, 255, 209, 0.1);
}
.lang-switcher a.active {
  color: var(--cyan);
  background: rgba(0, 255, 209, 0.08);
}
.lang-switcher span { color: var(--border-mid); }

/* --- Site Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--sp-2xl) 0 var(--sp-xl);
  margin-top: var(--sp-3xl);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
}

.site-footer__brand { max-width: 320px; }

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.02em;
}

.site-footer__tagline {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-lg);
}

.site-footer__nav a {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.site-footer__nav a:hover { color: var(--cyan); }

.site-footer__bottom {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--muted-dark);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: space-between;
  align-items: center;
}

/* --- Hero Section (full-viewport) --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--sp-3xl) 0 var(--sp-2xl);
}

/* Video / image background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg video,
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg-fallback {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 90% 70% at 50% 40%, rgba(0, 119, 190, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0, 255, 209, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, #000d1a 0%, #001830 35%, #002040 70%, #001020 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 10, 20, 0.5) 0%,
    rgba(0, 16, 32, 0.3) 40%,
    rgba(0, 10, 20, 0.7) 100%
  );
  z-index: 1;
}

/* Animated SVG wave in hero bg */
.hero__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* Animated particles in hero */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  animation: particleDrift var(--dur-p, 8s) ease-in-out var(--delay-p, 0s) infinite;
}

@keyframes particleDrift {
  0%   { opacity: 0; transform: translate(0, 60px) scale(0.5); }
  20%  { opacity: 0.6; }
  80%  { opacity: 0.3; }
  100% { opacity: 0; transform: translate(var(--tx, 20px), -40px) scale(1.2); }
}

.hero__eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: var(--sp-lg);
  display: block;
  opacity: 0.85;
}

.hero__title {
  margin-bottom: var(--sp-md);
  background: linear-gradient(135deg, #ffffff 0%, #D6EAF8 40%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(0, 255, 209, 0.25));
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: var(--sp-xl);
  font-style: italic;
}

.hero__tagline {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: var(--sp-xl);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* OceanCare donation badge */
.oceancare-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: rgba(0, 51, 102, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 102, 204, 0.5);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--aqua);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  margin-bottom: var(--sp-xl);
}
.oceancare-badge:hover, .oceancare-badge:focus {
  background: rgba(0, 51, 102, 0.85);
  border-color: var(--aqua);
  color: var(--white);
  transform: translateY(-2px);
  text-decoration: none;
}
.oceancare-badge__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.oceancare-badge__donate {
  color: var(--cyan);
}

/* App store badges */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  justify-content: center;
  margin-bottom: var(--sp-2xl);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.6rem;
  background: rgba(0, 31, 63, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: var(--radius-lg);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.badge:hover, .badge:focus {
  border-color: var(--cyan);
  background: rgba(0, 51, 102, 0.65);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 255, 209, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.badge__icon { font-size: 1.6rem; }
.badge__label-sm {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.badge__label-lg {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Screenshots */
.screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  max-width: 520px;
  margin: 0 auto var(--sp-2xl);
}

.screenshot-slot {
  aspect-ratio: 9/19.5;
  background: rgba(0, 31, 63, 0.5);
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 255, 209, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.screenshot-slot:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 255, 209, 0.15);
}
.screenshot-slot:nth-child(2):hover {
  transform: translateY(-6px) rotate(1deg);
}

.screenshot-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-lg);
  text-align: center;
}
.screenshot-placeholder__icon { font-size: 2.5rem; opacity: 0.3; }
.screenshot-placeholder__text {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--muted-dark);
  line-height: 1.4;
}

/* --- Stat Counters Row --- */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xl) var(--sp-2xl);
  justify-content: center;
  margin: var(--sp-2xl) 0;
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--white) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.25rem;
  display: block;
}

.stat-item__label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Fact chips row --- */
.facts-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
  margin: var(--sp-xl) 0;
}

.fact-chip {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  background: rgba(0, 255, 209, 0.06);
  border: 1px solid rgba(0, 255, 209, 0.18);
  border-radius: 999px;
  color: var(--cyan-dim);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.fact-chip:hover {
  background: rgba(0, 255, 209, 0.1);
  border-color: rgba(0, 255, 209, 0.3);
}

/* --- Feature Cards (glassmorphism) --- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: border-color var(--dur) var(--ease), transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 209, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.feature-card:hover {
  border-color: rgba(0, 255, 209, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 255, 209, 0.05);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 4px);
  margin-bottom: var(--sp-lg);
  background: var(--navy-mid);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-md);
  display: block;
  filter: drop-shadow(0 0 12px rgba(0, 255, 209, 0.4));
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-sm);
  letter-spacing: -0.01em;
}
.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.65;
}

/* --- Section Titles --- */
.section-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--sp-md);
  display: block;
  opacity: 0.85;
}

.section-title {
  color: var(--white);
  margin-bottom: var(--sp-lg);
}

/* --- OceanCare Partner Section --- */
.partner-section {
  padding: var(--sp-2xl) 0;
  position: relative;
}
.partner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.25) 0%, rgba(0, 119, 190, 0.1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partner-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 102, 204, 0.35);
  border-radius: var(--radius-xl);
  padding: var(--sp-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.partner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0066cc, var(--cyan), #0066cc, transparent);
}

.partner-card__header {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  flex-wrap: wrap;
  margin-bottom: var(--sp-lg);
}

.oceancare-logo-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 51, 102, 0.8);
  border: 1px solid rgba(0, 102, 204, 0.6);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}
.oceancare-logo-badge__icon svg {
  width: 36px;
  height: 36px;
}
.oceancare-logo-badge__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.oceancare-logo-badge__tagline {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--aqua);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.partner-pledge {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-md);
}
.partner-pledge span {
  background: linear-gradient(135deg, var(--aqua), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.partner-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin: var(--sp-lg) 0;
}
.partner-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--off-white);
}
.partner-stat__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* --- Why Section / text content --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}

/* --- Animated wave divider --- */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: var(--sp-xl) 0;
}
.wave-divider svg { display: block; width: 100%; }

/* Animated depth line */
.depth-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: var(--sp-xl) auto;
  animation: depthPulse 3s ease-in-out infinite;
}
@keyframes depthPulse {
  0%, 100% { opacity: 0.35; transform: scaleX(1); }
  50%       { opacity: 1;    transform: scaleX(1.6); }
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}
.reveal-group.is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: none; }
.reveal-group.is-visible > *:nth-child(n+5) { transition-delay: 0.45s; opacity: 1; transform: none; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > * {
    opacity: 1;
    transform: none;
    transition: opacity 0.3s ease;
  }
  .reveal-group.is-visible > * {
    transition-delay: 0s !important;
  }
  body::before, body::after { animation: none; }
  .depth-line { animation: none; }
  .particle { display: none; }
  .hero__waves .wave { animation: none; }
  .badge:hover, .feature-card:hover, .screenshot-slot:hover { transform: none; }
}

/* --- Legal / Prose Pages --- */
.legal-header {
  padding: var(--sp-2xl) 0 var(--sp-xl);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-2xl);
}
.legal-header h1 { margin-bottom: var(--sp-sm); }
.legal-meta {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--muted-dark);
}

.prose h2 {
  margin-top: var(--sp-2xl);
  margin-bottom: var(--sp-md);
  color: var(--cyan);
  font-size: 1.375rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--sp-sm);
}
.prose h3 {
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-sm);
  color: var(--off-white);
  font-size: 1.125rem;
}
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { word-break: break-word; }
.prose .highlight-box {
  background: rgba(0, 255, 209, 0.05);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  padding: var(--sp-lg);
  margin: var(--sp-lg) 0;
}
.prose .highlight-box p:last-child { margin-bottom: 0; }

/* Transparency table */
.transparency-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  margin: var(--sp-lg) 0;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.transparency-table th {
  background: rgba(0, 51, 102, 0.6);
  color: var(--cyan);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.transparency-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 255, 209, 0.06);
  color: var(--muted);
  vertical-align: top;
}
.transparency-table tr:last-child td { border-bottom: none; }
.transparency-table tr:hover td { background: rgba(0, 255, 209, 0.03); color: var(--off-white); }

/* --- Donations Page --- */
.donations-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: var(--sp-3xl) 0 var(--sp-2xl);
  overflow: hidden;
}
.donations-hero__bg {
  position: absolute;
  inset: 0;
}
.donations-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.donations-hero__bg-fallback {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 70% at 30% 60%, rgba(0, 72, 140, 0.7) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(0, 119, 190, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #000d1a 0%, #001830 60%, #001020 100%);
}
.donations-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,10,20,0.65) 0%, rgba(0,15,30,0.35) 50%, rgba(0,10,20,0.8) 100%);
}
.donations-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.donations-pledge-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(0, 102, 204, 0.4);
  border-radius: var(--radius-xl);
  padding: var(--sp-2xl);
  max-width: 680px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.donations-pledge-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0066cc, var(--cyan), #0066cc);
}

/* --- Support Page --- */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-md);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-lg);
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--off-white);
  list-style: none;
  gap: var(--sp-md);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}
details[open] .accordion summary::after { transform: rotate(45deg); }
.accordion summary:hover { background: rgba(0, 255, 209, 0.05); color: var(--cyan); }
.accordion__body {
  padding: var(--sp-lg);
  background: rgba(0, 10, 24, 0.3);
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--muted);
}
.accordion__body p:last-child { margin-bottom: 0; }
.accordion__body ol, .accordion__body ul { color: var(--muted); }

/* --- Contact Form --- */
.contact-form { display: grid; gap: var(--sp-lg); }
.form-group { display: grid; gap: var(--sp-xs); }
.form-label {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--off-white);
  letter-spacing: 0.02em;
}
.form-label .required { color: var(--cyan); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(0, 31, 63, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 51, 102, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 255, 209, 0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted-dark); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300FFD1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select option { background: #002040; }
.form-textarea { resize: vertical; min-height: 140px; }

.form-check { display: flex; gap: var(--sp-md); align-items: flex-start; }
.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--cyan);
  cursor: pointer;
}
.form-check-label { font-family: var(--font-ui); font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.form-check-label a { color: var(--cyan); }

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--cyan-dim), var(--cyan));
  color: var(--abyss);
  box-shadow: 0 4px 24px rgba(0, 255, 209, 0.3);
}
.btn--primary:hover, .btn--primary:focus {
  background: linear-gradient(135deg, var(--cyan), var(--white));
  color: var(--abyss);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0, 255, 209, 0.4);
}
.btn--outline {
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--off-white);
}
.btn--outline:hover, .btn--outline:focus {
  border-color: var(--cyan);
  color: var(--cyan);
  text-decoration: none;
  background: rgba(0, 255, 209, 0.06);
  transform: translateY(-2px);
}
.btn--ocean {
  background: linear-gradient(135deg, #003366, #0066cc);
  color: var(--white);
  border: 1px solid rgba(0, 102, 204, 0.4);
}
.btn--ocean:hover, .btn--ocean:focus {
  background: linear-gradient(135deg, #004080, #0077BE);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 102, 204, 0.35);
}

.form-success {
  display: none;
  background: rgba(0, 255, 209, 0.08);
  border: 1px solid var(--cyan);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  text-align: center;
  color: var(--cyan);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 600;
}
.form-fallback {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--muted-dark);
  margin-top: var(--sp-md);
  text-align: center;
}

/* --- Cookie Banner --- */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 760px;
  z-index: 9999;
  background: rgba(0, 16, 32, 0.95);
  border: 1px solid rgba(0, 255, 209, 0.2);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: var(--sp-lg);
  display: none;
}
#cookie-banner.is-visible { display: block; }

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  align-items: center;
  justify-content: space-between;
}
.cookie-banner__text {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}
.cookie-banner__text a { color: var(--cyan); font-size: inherit; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: var(--sp-sm); flex-shrink: 0; }

.cookie-btn {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
#cookie-accept { background: var(--cyan); color: var(--abyss); border-color: var(--cyan); }
#cookie-accept:hover, #cookie-accept:focus { background: var(--white); border-color: var(--white); }
#cookie-essential { background: transparent; color: var(--muted); border-color: rgba(0, 255, 209, 0.25); }
#cookie-essential:hover, #cookie-essential:focus { color: var(--white); border-color: var(--muted); }

/* --- Responsive --- */
@media (min-width: 600px) {
  .features { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .features { grid-template-columns: repeat(4, 1fr); }
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .screenshots { max-width: 460px; }
}

@media (max-width: 599px) {
  .stats-row { gap: var(--sp-lg); }
  .stat-item__number { font-size: 2.2rem; }
  .partner-card { padding: var(--sp-lg); }
  .donations-pledge-card { padding: var(--sp-lg); }
  #cookie-banner { bottom: 1rem; width: calc(100% - 2rem); }
}

/* --- Utility classes --- */
.text-center { text-align: center; }
.text-muted   { color: var(--muted); }
.text-cyan    { color: var(--cyan); }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-xl { margin-bottom: var(--sp-xl); }

/* Sub-links */
.sub-links { display: flex; flex-wrap: wrap; gap: var(--sp-md); margin: var(--sp-md) 0; }
.sub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  background: rgba(0, 255, 209, 0.04);
}
.sub-link:hover, .sub-link:focus {
  background: rgba(0, 255, 209, 0.08);
  border-color: var(--cyan);
  color: var(--white);
  text-decoration: none;
}

/* Print */
@media print {
  body::before, body::after { display: none; }
  .site-header, #cookie-banner, .lang-switcher { display: none; }
  body { background: white; color: black; }
}

/* --- Screenshots / phone-frame mockups --- */
.screens {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.phone-frame {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  background: #0a0e1a;
  border-radius: 38px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #1a2238,
    0 30px 60px -20px rgba(0, 31, 63, 0.6),
    0 18px 40px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.phone-frame:hover { transform: translateY(-6px) rotate(0deg) scale(1.02); }
.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #0a0e1a;
  border-radius: 14px;
  z-index: 2;
}
.phone-frame__screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  display: block;
  background: #f0f4f8;
}
.phone-frame--left  { transform: rotate(-3deg); }
.phone-frame--right { transform: rotate(3deg); }
.phone-frame--left:hover  { transform: translateY(-6px) rotate(-3deg) scale(1.02); }
.phone-frame--right:hover { transform: translateY(-6px) rotate(3deg) scale(1.02); }
@media (max-width: 720px) {
  .screens { gap: 1.5rem; }
  .phone-frame { width: 220px; padding: 9px; border-radius: 30px; }
  .phone-frame__screen { border-radius: 22px; }
  .phone-frame::before { width: 70px; height: 17px; top: 11px; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-frame, .phone-frame:hover,
  .phone-frame--left, .phone-frame--right,
  .phone-frame--left:hover, .phone-frame--right:hover {
    transform: none;
    transition: none;
  }
}
