/* =====================================================
   Reef Monkey Studios
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600&family=Pacifico&display=swap');

:root {
  --bg:          #061326;
  --surface:     #091D3A;
  --surface-2:   #0C2248;
  --aqua:        #12E6FF;
  --aqua-dim:    rgba(18,230,255,0.08);
  --aqua-glow:   rgba(18,230,255,0.18);
  --aqua-glow-lg:rgba(18,230,255,0.08);
  --lagoon:      #00B4D8;
  --orange:      #FF8A3D;
  --orange-dim:  rgba(255,138,61,0.1);
  --white:       #FFFFFF;
  --muted:       rgba(255,255,255,0.52);
  --border:      rgba(18,230,255,0.12);
  --border-hi:   rgba(18,230,255,0.28);

  --font-heading: 'Exo 2', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-pacific: 'Pacifico', cursive;

  --ease:      0.25s ease;
  --radius:    10px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--white); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: all var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--aqua), var(--lagoon));
  color: var(--bg);
  border: none;
  font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px var(--aqua-glow), 0 6px 20px rgba(0,0,0,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost:hover {
  border-color: var(--aqua);
  color: var(--aqua);
  transform: translateY(-2px);
}

/* ---- Page logo bar (legal pages) ---- */
.page-logo-bar {
  text-align: center;
  padding: 2.5rem 0 0;
  background: var(--bg);
}
.page-logo-bar img { height: 90px; width: auto; }

/* ---- Hero logo ---- */
.hero-logo { margin-bottom: 1.5rem; display: flex; justify-content: center; }
.hero-logo img { height: 200px; width: auto; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../UseThese/hero_bg.png') center/cover no-repeat;
  background-attachment: fixed;
}

/* Left-to-right gradient overlay — keeps left text readable, lets the image breathe on the right */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6,19,38,0.97) 0%,
    rgba(6,19,38,0.90) 32%,
    rgba(6,19,38,0.60) 58%,
    rgba(6,19,38,0.15) 100%
  );
}

/* Bottom fade into next section */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.75rem;
}
.hero-eyebrow::before { display: none; }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 40px rgba(6,19,38,0.5);
}

.hero-title .accent {
  color: var(--aqua);
  text-shadow:
    0 0 30px rgba(18,230,255,0.7),
    0 0 60px rgba(18,230,255,0.3),
    0 2px 40px rgba(6,19,38,0.5);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 460px;
  line-height: 1.78;
  margin: 0 auto 2.75rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Aqua line decoration at bottom of hero */
.hero-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aqua), transparent);
  opacity: 0.3;
  z-index: 1;
}

/* Hero grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18,230,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,230,255,0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

/* Hero ambient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-orb-1 {
  width: 900px; height: 900px;
  top: -150px; right: -80px;
  background: radial-gradient(circle, rgba(18,230,255,0.16) 0%, rgba(18,230,255,0.04) 50%, transparent 70%);
  animation: orbDrift 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 560px; height: 560px;
  bottom: 0%; right: 15%;
  background: radial-gradient(circle, rgba(255,138,61,0.14) 0%, rgba(255,138,61,0.03) 50%, transparent 70%);
  animation: orbDrift 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 420px; height: 420px;
  top: 35%; left: 52%;
  background: radial-gradient(circle, rgba(0,180,216,0.12) 0%, rgba(0,180,216,0.03) 50%, transparent 70%);
  animation: orbDrift 18s ease-in-out infinite 3s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(22px, -28px) scale(1.06); }
  66%  { transform: translate(-16px, 18px) scale(0.94); }
}

/* Hero badge pills */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(18,230,255,0.1);
  justify-content: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(18,230,255,0.06);
  border: 1px solid rgba(18,230,255,0.14);
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}
.hero-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 6px var(--aqua);
  flex-shrink: 0;
  animation: dotPulse 2.4s ease-in-out infinite;
}
.hero-badge:nth-child(2) .hero-badge-dot { background: var(--orange); box-shadow: 0 0 6px var(--orange); animation-delay: 0.8s; }
.hero-badge:nth-child(3) .hero-badge-dot { background: var(--lagoon); box-shadow: 0 0 6px var(--lagoon); animation-delay: 1.6s; }
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.6); }
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
  cursor: pointer;
  animation: scrollCue 2.6s ease-in-out infinite;
  text-decoration: none;
}
.hero-scroll-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 8px var(--aqua);
}
.hero-scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--aqua), transparent);
}
@keyframes scrollCue {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 0.75; }
}

/* ---- Wave Divider ---- */
.wave { line-height: 0; overflow: hidden; display: block; }
.wave svg { display: block; width: 100%; }

/* ---- About ---- */
.about {
  padding: 7rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Subtle dot grid */
.about::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(18,230,255,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Ambient aqua glow top-left */
.about::after {
  content: '';
  position: absolute;
  top: -150px; left: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(18,230,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.about-eyebrow::before { display: none; }

.about-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.about-title .accent { color: var(--aqua); }

.about-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.about-text b { color: rgba(255,255,255,0.85); font-weight: 600; }

.about-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-detail {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.about-detail-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--aqua-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}

.about-detail a { color: var(--aqua); transition: opacity var(--ease); }
.about-detail a:hover { opacity: 0.75; }

/* About visual */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.about-img-glow {
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(18,230,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100% { transform:scale(1); opacity:0.8; } 50% { transform:scale(1.12); opacity:1; } }

.about-img {
  width: 300px; height: 300px;
  object-fit: cover;
  border-radius: 28px;
  position: relative;
  box-shadow: 0 0 0 1px var(--border), 0 24px 80px rgba(0,0,0,0.5), 0 0 60px rgba(18,230,255,0.08);
  animation: floatImg 6s ease-in-out infinite;
}
@keyframes floatImg { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }

/* Aqua corner accent on image */
.about-img-wrap {
  position: relative;
  display: inline-block;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -8px; left: -8px;
  width: 40px; height: 40px;
  border-top: 2px solid var(--aqua);
  border-left: 2px solid var(--aqua);
  border-radius: 4px 0 0 0;
  opacity: 0.7;
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -8px; right: -8px;
  width: 40px; height: 40px;
  border-bottom: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  border-radius: 0 0 4px 0;
  opacity: 0.7;
}

/* ---- Contact ---- */
.contact {
  padding: 7rem 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(18,230,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.contact-heading .accent { color: var(--aqua); }

.contact-sub {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.78;
  margin-bottom: 2.5rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.contact-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--aqua-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.contact-item a { color: var(--aqua); transition: opacity var(--ease); }
.contact-item a:hover { opacity: 0.75; }

/* Form */
.contact-form-wrap {
  background: rgba(9,29,58,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  backdrop-filter: blur(8px);
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(6,19,38,0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
}

.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-input:focus, .form-textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(18,230,255,0.1);
}
.form-textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-message {
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: none;
}
.form-message--ok { display: block; background: rgba(79,204,160,0.12); border: 1px solid rgba(79,204,160,0.25); color: #4FCCA0; }
.form-message--err { display: block; background: rgba(255,107,107,0.1); border: 1px solid rgba(255,107,107,0.2); color: #FF8A8A; }

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---- Footer ---- */
footer {
  background: #040F1E;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand { max-width: 280px; }
.footer-logo-img { height: 68px; width: auto; margin-bottom: 1rem; }
.footer-tagline {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.7;
}
.footer-tagline span { color: var(--aqua); }

.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.87rem; color: var(--muted); transition: color var(--ease); }
.footer-links a:hover { color: var(--aqua); }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.25); transition: color var(--ease); }
.footer-legal a:hover { color: var(--aqua); }

/* ---- Page Hero (legal pages) ---- */
.page-hero {
  padding: 5rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(18,230,255,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(18,230,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  position: relative;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1rem;
  position: relative;
  letter-spacing: 0.01em;
}

.page-hero-title .accent { color: var(--aqua); }
.page-hero-sub { font-size: 1rem; color: var(--muted); max-width: 480px; margin: 0 auto; line-height: 1.8; position: relative; }

/* ---- Legal ---- */
.legal-section { padding: 4rem 0 6rem; }

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
}

.legal-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 1.5rem;
}

.legal-inner h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 2.25rem 0 0.75rem;
  letter-spacing: 0.01em;
}

.legal-inner h3 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--aqua);
  margin: 1.5rem 0 0.5rem;
}

.legal-inner p { color: var(--muted); line-height: 1.85; margin-bottom: 0.9rem; font-size: 0.93rem; }
.legal-inner ul, .legal-inner ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-inner li { color: var(--muted); font-size: 0.93rem; line-height: 1.85; margin-bottom: 0.4rem; }
.legal-inner ul li { list-style: disc; }
.legal-inner ol li { list-style: decimal; }
.legal-inner a { color: var(--aqua); text-decoration: underline; }
.legal-inner strong { color: rgba(255,255,255,0.85); }

.legal-note {
  background: var(--aqua-dim);
  border: 1px solid var(--border);
  border-left: 3px solid var(--aqua);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
}
.legal-note p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }

/* ---- Scroll Animations ---- */
.fade-in  { opacity:0; transform:translateY(24px); transition:opacity 0.65s ease, transform 0.65s ease; }
.fade-left  { opacity:0; transform:translateX(-30px); transition:opacity 0.65s ease, transform 0.65s ease; }
.fade-right { opacity:0; transform:translateX(30px); transition:opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible, .fade-left.visible, .fade-right.visible { opacity:1; transform:none; }
.d1 { transition-delay:0.08s; }
.d2 { transition-delay:0.16s; }
.d3 { transition-delay:0.24s; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-logo img { height: 140px; }

  .hero { background-attachment: scroll; }
  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(6,19,38,0.85) 0%,
      rgba(6,19,38,0.75) 50%,
      rgba(6,19,38,0.98) 100%
    );
  }
  .hero-content { padding: 3rem 0 4rem; max-width: 100%; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }

  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: none; }

  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .legal-inner { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
}
