/* Oahu Ocean Meditation — Custom Styles */

:root {
  --ocean-deep: #0a1628;
  --ocean-mid: #0d3b4f;
  --ocean-teal: #134e4a;
  --seafoam: #5eead4;
  --seafoam-muted: #2dd4bf;
  --text-primary: #e2e8f0;
  --text-muted: #94a3b8;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, var(--ocean-deep) 0%, var(--ocean-mid) 50%, var(--ocean-teal) 100%);
  color: var(--text-primary);
  min-height: 100vh;
}

.page-main {
  padding-top: 9.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .page-main {
    padding-top: 11rem;
    padding-bottom: 4rem;
  }
}

/* Site logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-logo:hover {
  opacity: 0.9;
}

.site-logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(45, 212, 191, 0.25));
}

.site-logo-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .site-logo-mark {
    width: 2.5rem;
    height: 2.5rem;
  }

  .site-logo-text {
    font-size: 1.125rem;
  }
}

.site-logo:hover .site-logo-text {
  color: var(--seafoam);
}

/* Page hero — breathing room below fixed nav */
.page-hero {
  margin-bottom: 2.5rem;
  padding: 2rem 1.5rem 2.25rem;
  border-radius: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(45, 212, 191, 0.04) 50%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .page-hero {
    margin-bottom: 3rem;
    padding: 2.5rem 2.5rem 2.75rem;
  }
}

.page-hero-centered {
  text-align: center;
}

.page-hero-split {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .page-hero-split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.page-hero-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--seafoam);
}

.page-hero-split .page-hero-icon {
  margin: 0 0 1rem;
}

.page-hero-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.page-hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .page-hero-title {
    font-size: 2.25rem;
  }
}

.page-hero-desc {
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.65;
  max-width: 36rem;
}

.page-hero-centered .page-hero-desc {
  margin-left: auto;
  margin-right: auto;
}

.page-hero-extra {
  margin-top: 1.25rem;
}

.page-content-section {
  margin-top: 0.5rem;
}

.page-subsection-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .page-subsection-title {
    font-size: 1.75rem;
  }
}

/* Hero */
.hero {
  background-image:
    linear-gradient(
      to bottom,
      rgba(10, 22, 40, 0.75) 0%,
      rgba(10, 22, 40, 0.55) 40%,
      rgba(13, 59, 79, 0.85) 100%
    ),
    url('../assets/hero-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
}

/* Animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.15s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.45s; opacity: 0; }

/* Glass cards */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(94, 234, 212, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

@media (hover: none) {
  .glass-card:hover {
    transform: none;
  }
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--seafoam-muted) 0%, var(--seafoam) 100%);
  color: var(--ocean-deep);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.35);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(94, 234, 212, 0.4);
  color: var(--seafoam);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(94, 234, 212, 0.1);
  border-color: var(--seafoam);
}

/* Nav */
.nav-link {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--seafoam);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

body.menu-open {
  overflow: hidden;
}

body.has-announcement {
  padding-top: 2.5rem;
}

/* Announcement bar */
.announcement-bar {
  background: rgba(45, 212, 191, 0.12);
  border-bottom: 1px solid rgba(94, 234, 212, 0.2);
}

/* Trust pills */
.trust-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

a.trust-pill {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

a.trust-pill:hover {
  color: var(--seafoam);
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.trust-pill-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.trust-pill-icon img {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 0.35rem;
  object-fit: contain;
}

/* Workflow steps */
.workflow-step {
  position: relative;
}

.workflow-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.15);
  color: var(--seafoam);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Social button */
.btn-social {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-social:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(94, 234, 212, 0.35);
  transform: translateY(-1px);
}

/* Sticky mobile CTA */
.sticky-cta {
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

@media (min-width: 768px) {
  body.has-announcement {
    padding-top: 0;
  }
}

/* Star rating */
.star-rating {
  display: inline-flex;
  gap: 0.25rem;
}

.star-btn {
  background: none;
  border: none;
  padding: 0.125rem;
  cursor: pointer;
  color: rgba(148, 163, 184, 0.4);
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-btn:hover,
.star-btn.active {
  color: #fbbf24;
}

.star-btn:hover {
  transform: scale(1.1);
}

.star-display {
  color: #fbbf24;
  letter-spacing: 0.1em;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Category navigation */
.category-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem 0.75rem;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.category-card-primary {
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.08);
}

.category-icon {
  font-size: 1.5rem;
  margin-bottom: 0.375rem;
  display: block;
}

.category-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.category-desc {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: none;
}

@media (min-width: 640px) {
  .category-desc {
    display: block;
  }
}

.video-card {
  cursor: pointer;
  text-align: left;
}

.video-card.active {
  border-color: rgba(94, 234, 212, 0.4);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.2);
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-pill:hover {
  color: var(--seafoam);
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.social-pill-icon {
  gap: 0.5rem;
}

.social-icon-mark {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 0.35rem;
  object-fit: contain;
  display: block;
}

.social-icon-mark--insight {
  width: 2rem;
  height: 2rem;
}

.social-pill-icon img {
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
  border-radius: 0.35rem;
  object-fit: contain;
  display: block;
}

/* Live badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.live-badge[data-live="true"] {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.live-badge[data-live="true"]::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-live 1.5s ease-in-out infinite;
}

.live-badge[data-live="false"] {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Kick embed placeholder */
.embed-placeholder {
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(13, 59, 79, 0.9) 100%);
  border: 2px dashed rgba(94, 234, 212, 0.25);
}

/* Wave divider */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  color: rgba(255, 255, 255, 0.03);
}

/* Section headings */
.section-label {
  color: var(--seafoam-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Icon circles */
.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form */
.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--seafoam-muted);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--seafoam);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-fade-in-up,
  .animate-delay-1,
  .animate-delay-2,
  .animate-delay-3 {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .glass-card:hover {
    transform: none;
  }

  .live-badge[data-live="true"]::before {
    animation: none;
  }

  .mobile-menu {
    transition: none;
  }
}