/* ============================================
   Castaway Research — Island Vibes Edition
   Polynesian / Hawaiian / Tropical Theme
   ============================================ */

/* --- Google Fonts loaded in HTML --- */

:root {
  /* Tropical palette */
  --ocean-deep: #0b1628;
  --ocean-mid: #0f2038;
  --ocean-light: #143050;
  --sand-dark: #1a1510;
  --sand: #c2956a;
  --sand-light: #e8c9a0;
  --palm-green: #1a5c2a;
  --palm-light: #2d8f47;
  --palm-bright: #4ade80;
  --lava-red: #e63946;
  --lava-orange: #ff6d3a;
  --lava-glow: #ff9f43;
  --sunset-pink: #ff6b8a;
  --sunset-purple: #a855f7;
  --sky-blue: #38bdf8;
  --sky-light: #7dd3fc;
  --foam-white: #f0f9ff;
  --coral: #f97171;
  --teal: #14b8a6;
  --gold: #fbbf24;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
}

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

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

body {
  background: var(--ocean-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--teal);
  color: #fff;
}

a { color: var(--sky-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sky-light); }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

/* --- Section Labels --- */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--sky-blue));
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

/* Gradient texts */
.gradient-ocean {
  background: linear-gradient(135deg, var(--sky-blue), var(--teal), var(--palm-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-sunset {
  background: linear-gradient(135deg, var(--lava-orange), var(--sunset-pink), var(--sunset-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-lava {
  background: linear-gradient(135deg, var(--lava-red), var(--lava-orange), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-sand {
  background: linear-gradient(135deg, var(--sand), var(--gold), var(--sand-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* =========================================
   ANIMATED OCEAN WAVES
   ========================================= */
.ocean-waves {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  transform-origin: center bottom;
}

/* Wave 1 - back, slow, dark */
.wave--1 {
  height: 140px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230f2038' fill-opacity='0.6' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,218.7C672,235,768,245,864,234.7C960,224,1056,192,1152,181.3C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  background-size: 1440px 140px;
  animation: waveFlow 18s linear infinite;
  opacity: 0.8;
}

/* Wave 2 - mid, medium speed */
.wave--2 {
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23143050' fill-opacity='0.5' d='M0,256L48,240C96,224,192,192,288,186.7C384,181,480,203,576,213.3C672,224,768,224,864,208C960,192,1056,160,1152,165.3C1248,171,1344,213,1392,234.7L1440,256L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  background-size: 1440px 120px;
  animation: waveFlow 12s linear infinite reverse;
  opacity: 0.7;
}

/* Wave 3 - front, fast, bright */
.wave--3 {
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230b1628' fill-opacity='0.9' d='M0,288L48,272C96,256,192,224,288,218.7C384,213,480,235,576,245.3C672,256,768,256,864,240C960,224,1056,192,1152,186.7C1248,181,1344,203,1392,213.3L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  background-size: 1440px 100px;
  animation: waveFlow 8s linear infinite;
  opacity: 0.9;
}

/* Wave 4 - foam/sparkle wave */
.wave--4 {
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2338bdf8' fill-opacity='0.08' d='M0,288L60,282.7C120,277,240,267,360,261.3C480,256,600,256,720,266.7C840,277,960,299,1080,293.3C1200,288,1320,256,1380,240L1440,224L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  background-size: 1440px 60px;
  animation: waveFlow 6s linear infinite reverse;
}

@keyframes waveFlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Foam particles */
.foam-particles {
  position: fixed;
  bottom: 40px;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1;
  pointer-events: none;
}

.foam-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(240, 249, 255, 0.3);
  border-radius: 50%;
  animation: foamFloat 4s ease-in-out infinite;
}

.foam-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.foam-particle:nth-child(2) { left: 25%; animation-delay: 0.8s; }
.foam-particle:nth-child(3) { left: 40%; animation-delay: 1.6s; }
.foam-particle:nth-child(4) { left: 55%; animation-delay: 0.4s; }
.foam-particle:nth-child(5) { left: 70%; animation-delay: 2s; }
.foam-particle:nth-child(6) { left: 85%; animation-delay: 1.2s; }

@keyframes foamFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
  20% { opacity: 0.6; }
  50% { transform: translateY(-30px) scale(1.5); opacity: 0.3; }
  100% { transform: translateY(-50px) scale(0.5); opacity: 0; }
}


/* =========================================
   STAR SKY BACKGROUND
   ========================================= */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--dur) ease-in-out infinite;
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.1; }
  50% { opacity: var(--brightness); }
}


/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(11, 22, 40, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.nav__logo-icon {
  width: 40px;
  height: 40px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--sky-blue));
  transition: width 0.3s var(--ease-out-expo);
  border-radius: 2px;
}

.nav__links a:hover { color: var(--text-primary); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--teal), var(--sky-blue));
  color: #fff !important;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease-out-expo);
  border: none;
  cursor: pointer;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.35);
}

.nav__cta::after { display: none !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}


/* =========================================
   HERO — Island Paradise
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

/* Sunset gradient behind hero */
.hero__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255, 109, 58, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 80%, rgba(255, 107, 138, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 30% 90%, rgba(168, 85, 247, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--ocean-deep) 0%, #0d1e35 60%, #1a2a45 100%);
  z-index: 0;
}

/* Palm tree silhouettes */
.hero__palms {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 750px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s var(--ease-out-expo);
}

.hero__badge-island {
  font-size: 1.1rem;
  line-height: 1;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--palm-bright);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s both;
}

.hero__title span { display: block; }

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero__subtitle strong {
  color: var(--sand-light);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s both;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--sky-blue) 100%);
  color: #fff;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s var(--ease-out-expo);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.35);
  color: #fff;
}

.btn-primary span { position: relative; z-index: 1; }
.btn-primary svg { position: relative; z-index: 1; }

.btn-lava {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--lava-red) 0%, var(--lava-orange) 100%);
  color: #fff;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s var(--ease-out-expo);
  border: none;
  cursor: pointer;
}

.btn-lava:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.35);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s var(--ease-out-expo);
  background: transparent;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  z-index: 5;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.8s both;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* =========================================
   STATS BANNER — Tiki style
   ========================================= */
.stats {
  padding: 60px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(11, 22, 40, 0.6);
  backdrop-filter: blur(10px);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat__icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}


/* =========================================
   ABOUT / WHAT WE DO
   ========================================= */
.about {
  background: linear-gradient(180deg, var(--ocean-deep) 0%, #0d1a2e 100%);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.about__card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__card {
  background: rgba(15, 32, 56, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.about__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.about__card:nth-child(1)::before { background: linear-gradient(90deg, var(--teal), var(--sky-blue)); }
.about__card:nth-child(2)::before { background: linear-gradient(90deg, var(--palm-bright), var(--teal)); }
.about__card:nth-child(3)::before { background: linear-gradient(90deg, var(--lava-orange), var(--gold)); }
.about__card:nth-child(4)::before { background: linear-gradient(90deg, var(--sunset-pink), var(--sunset-purple)); }

.about__card:hover {
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateX(8px);
}

.about__card:hover::before { opacity: 1; }

.about__card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.about__card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.about__card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.code-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(15, 32, 56, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal);
}


/* =========================================
   CULTURE / VIBES — Tiki Bar Feel
   ========================================= */
.vibes {
  background:
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(255, 109, 58, 0.04) 0%, transparent 70%),
    linear-gradient(180deg, #0d1a2e 0%, var(--ocean-deep) 100%);
  position: relative;
  overflow: hidden;
}

/* Tiki torch decorative borders */
.vibes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lava-orange), var(--gold), var(--lava-orange), transparent);
  opacity: 0.3;
}

.vibes__marquee {
  overflow: hidden;
  white-space: nowrap;
  margin: 60px 0;
  padding: 20px 0;
}

.vibes__marquee-track {
  display: inline-flex;
  animation: marquee 35s linear infinite;
}

.vibes__marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dim);
  transition: color 0.3s;
}

.vibes__marquee-item:hover { color: var(--text-primary); }

.vibes__marquee-emoji {
  font-size: 1.2rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.vibes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.vibe-card {
  background: rgba(15, 32, 56, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.vibe-card:hover {
  transform: translateY(-8px);
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.vibe-card__icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.vibe-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.vibe-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}


/* =========================================
   OPEN ROLES
   ========================================= */
.roles {
  background: linear-gradient(180deg, var(--ocean-deep) 0%, #0d1a2e 100%);
}

.roles__header {
  text-align: center;
  margin-bottom: 60px;
}

.roles__header .section-label {
  justify-content: center;
}
.roles__header .section-label::before { display: none; }
.roles__header .section-title { margin-left: auto; margin-right: auto; }
.roles__header .section-subtitle { margin-left: auto; margin-right: auto; text-align: center; }

.roles__categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.role-filter {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.role-filter:hover, .role-filter.active {
  background: linear-gradient(135deg, var(--teal), var(--sky-blue));
  border-color: transparent;
  color: #fff;
}

.roles__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.role-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: rgba(15, 32, 56, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(5px);
}

.role-card:hover {
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.role-card__info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.role-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.role-tag {
  padding: 4px 12px;
  background: rgba(20, 184, 166, 0.12);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 500;
}

.role-tag--ocean {
  background: rgba(56, 189, 248, 0.12);
  color: var(--sky-blue);
}

.role-tag--lava {
  background: rgba(255, 109, 58, 0.12);
  color: var(--lava-orange);
}

.role-tag--palm {
  background: rgba(74, 222, 128, 0.12);
  color: var(--palm-bright);
}

.role-card__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: all 0.3s var(--ease-out-expo);
}

.role-card:hover .role-card__arrow {
  background: linear-gradient(135deg, var(--teal), var(--sky-blue));
  color: #fff;
  transform: translateX(4px);
}


/* =========================================
   BENEFITS — Warm Island Tones
   ========================================= */
.benefits {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(20, 184, 166, 0.03) 0%, transparent 60%),
    linear-gradient(180deg, #0d1a2e 0%, var(--ocean-deep) 100%);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.benefit-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: rgba(15, 32, 56, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out-expo);
  backdrop-filter: blur(5px);
}

.benefit-card:hover {
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateY(-4px);
}

.benefit-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}


/* =========================================
   VOLCANO QUOTE SECTION
   ========================================= */
.volcano-quote {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.volcano-quote__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Lava glow from below */
.volcano-quote__bg::before {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.12) 0%, rgba(255, 109, 58, 0.06) 40%, transparent 70%);
  animation: lavaGlow 4s ease-in-out infinite alternate;
}

@keyframes lavaGlow {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.volcano-quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.volcano-quote__attribution {
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.volcano-quote__attribution strong {
  color: var(--text-primary);
}


/* =========================================
   CTA — Sunset Horizon
   ========================================= */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta__box {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(56, 189, 248, 0.08), rgba(255, 109, 58, 0.06));
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  overflow: hidden;
}

.cta__box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.05) 0%, transparent 50%);
  animation: rotateSlow 25s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}


/* =========================================
   FOOTER
   ========================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  position: relative;
  z-index: 2;
  background: rgba(11, 22, 40, 0.8);
  backdrop-filter: blur(10px);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.7;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.footer__col a:hover { color: var(--text-primary); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.8rem;
}

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.footer__socials a:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(20, 184, 166, 0.1);
}


/* =========================================
   ANIMATIONS & REVEAL
   ========================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================
   ISLAND DIVIDERS (decorative wave SVGs)
   ========================================= */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider--flip {
  transform: rotate(180deg);
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .vibes__grid { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: 1fr; }
  .roles__list { gap: 12px; }
  .role-card { grid-template-columns: 1fr; }
  .role-card__arrow { justify-self: end; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost, .btn-lava { width: 100%; justify-content: center; }
  .cta__box { padding: 48px 24px; }
  .cta__actions { flex-direction: column; align-items: center; }
  .ocean-waves { height: 120px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .ocean-waves { height: 80px; }
}
