@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Fredoka:wght@500;600;700&display=swap');

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --coral: #f97316;
  --coral-light: #fb923c;
  --cream: #fffbeb;
  --ink: #134e4a;
  --muted: #5eead4;
  --card: #ffffff;
  --shadow: 0 12px 40px rgba(13, 148, 136, 0.15);
  --banner-dark: #0c1929;
  --banner-mid: #134e4a;
  --banner-accent: #115e59;
}

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

body {
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  background: linear-gradient(
    180deg,
    var(--banner-accent) 0%,
    #0f766e 6rem,
    #99f6e4 10rem,
    #ccfbf1 14rem,
    #ecfdf5 18rem,
    var(--cream) 100%
  );
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover {
  color: var(--coral);
}

/* Demo info banners */
.demo-banner {
  background: linear-gradient(105deg, var(--banner-dark) 0%, var(--banner-mid) 40%, var(--banner-accent) 100%);
  color: #ecfdf5;
  padding: 1.5rem 1.5rem 2rem;
  border-bottom: 6px solid var(--teal);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: margin-bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease;
}

.demo-banner-content {
  position: relative;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease;
}

body.banner-content-hidden .demo-banner-content {
  transform: translateY(110%);
  opacity: 0;
}

body.banner-collapsed .demo-banner {
  transform: translateY(100%);
  margin-bottom: calc(-1 * var(--banner-height, 280px));
  opacity: 0;
  pointer-events: none;
}

/* Shark fin lane — between banner and page, fin peeks above orange line */
.shark-lane {
  position: relative;
  z-index: 9;
  height: 5.5rem;
  margin-top: -5.5rem;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
}

body.shark-fin-run .shark-lane,
body.shark-fin-run-reverse .shark-lane {
  opacity: 1;
}

body.banner-collapsed .shark-lane {
  height: 0;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
}

.shark-fin {
  position: absolute;
  bottom: 0;
  left: 0;
  will-change: transform;
}

.shark-fin-img,
.shark-fin-icon {
  display: block;
  height: 5.5rem;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.shark-fin-img {
  object-fit: contain;
}

.shark-fin-icon {
  width: 0;
  height: 0;
  border-left: 42px solid transparent;
  border-right: 66px solid transparent;
  border-bottom: 102px solid #475569;
}

body.shark-fin-run .shark-fin {
  animation: shark-sweep 2.025s cubic-bezier(0.45, 0.05, 0.55, 0.95) forwards;
}

body.shark-fin-run-reverse .shark-fin {
  animation: shark-sweep-reverse 2.025s cubic-bezier(0.45, 0.05, 0.55, 0.95) forwards;
}

/* Hide: fin swims left → right above the orange divider */
@keyframes shark-sweep {
  0% {
    transform: translateX(-6rem) scaleX(-1);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100vw + 6rem)) scaleX(-1);
    opacity: 0;
  }
}

/* Show: fin returns right → left */
@keyframes shark-sweep-reverse {
  0% {
    transform: translateX(calc(100vw + 6rem)) scaleX(1);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    transform: translateX(-6rem) scaleX(1);
    opacity: 0;
  }
}

.site-shell {
  position: relative;
  z-index: 10;
  background: linear-gradient(
    180deg,
    var(--banner-accent) 0%,
    #0f766e 4rem,
    #99f6e4 8rem,
    #ccfbf1 12rem,
    #ecfdf5 16rem,
    var(--cream) 100%
  );
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.banner-animating .banner-toggle-logo {
  pointer-events: none;
  opacity: 0.65;
}

.banner-toggle-logo {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.banner-toggle-logo:hover {
  transform: scale(1.08);
  opacity: 0.9;
}

body.banner-collapsed .banner-toggle-logo {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 50%;
}

.demo-banner-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.demo-banner-mascot {
  flex-shrink: 0;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: transparent;
}

.demo-banner-octopus {
  width: 240px;
  height: 240px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.demo-banner-copy {
  flex: 1;
  min-width: 260px;
  text-align: center;
}

.demo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(255, 255, 255, 0.03) 12px,
    rgba(255, 255, 255, 0.03) 24px
  );
  pointer-events: none;
}

.demo-banner-label {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #0c1929;
  background: linear-gradient(135deg, #fef08a, #fbbf24);
  padding: 0.4rem 1.5rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 0 #d97706, 0 8px 24px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.demo-banner-text {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.55;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
  .demo-banner-layout {
    flex-direction: column;
  }

  .demo-banner-mascot,
  .demo-banner-octopus {
    width: 160px;
    height: 160px;
  }
}

/* Header */
.site-header {
  background: var(--card);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-shell .site-footer {
  position: relative;
  z-index: 10;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--coral);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

nav a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  background: var(--teal);
  color: white;
}

/* Main layout */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
}

.hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 8px 16px rgba(13, 148, 136, 0.25));
  animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 1.25rem;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  color: white;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.45);
  color: white;
}

.btn-secondary {
  background: var(--teal);
  color: white;
  margin-left: 0.5rem;
}

.btn-secondary:hover {
  background: var(--teal-dark);
  color: white;
  transform: translateY(-2px);
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.feature-card {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--muted);
  transform: translateY(-4px);
}

.feature-card .emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  color: var(--teal-dark);
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

/* Reviews */
.section-title {
  text-align: center;
  font-size: 1.75rem;
  color: var(--teal-dark);
  margin: 2.5rem 0 1.25rem;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .reviews {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.review-card::before {
  content: '"';
  font-family: 'Fredoka', sans-serif;
  font-size: 4rem;
  color: var(--muted);
  position: absolute;
  top: 0.25rem;
  left: 1rem;
  line-height: 1;
  opacity: 0.5;
}

.stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}

.review-author {
  font-weight: 800;
  color: var(--teal-dark);
  font-size: 0.9rem;
}

.review-location {
  font-size: 0.85rem;
  color: #64748b;
}

/* Pricing */
.page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--teal-dark);
}

.page-header p {
  max-width: 560px;
  margin: 0.5rem auto 0;
}

.package-section {
  margin-bottom: 2.5rem;
}

.package-section h2 {
  font-size: 1.5rem;
  color: var(--coral);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.package-card {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.package-card.featured {
  border-color: var(--coral);
  position: relative;
}

.package-card.featured::after {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  right: 1rem;
  background: var(--coral);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.package-card h3 {
  color: var(--teal-dark);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.package-price {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  color: var(--coral);
  margin: 0.5rem 0;
}

.package-price span {
  font-size: 0.9rem;
  color: #64748b;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}

.package-card ul {
  list-style: none;
  flex: 1;
  margin: 1rem 0;
}

.package-card li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.package-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-card {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.contact-card h3 {
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card p {
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-note {
  text-align: center;
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 1rem;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--teal-dark);
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: auto;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: white;
}

@media (max-width: 600px) {
  .btn-secondary {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .hero .cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}
