:root {
  --sky-1: #7fe6ff;
  --sky-2: #4fd2ff;
  --sky-3: #6cc8ff;
  --sky-4: #4ba1d3;
  --accent: #ff4a4a;
  --accent-dark: #e33b3b;
  --sun: #ffc93c;
  --white: #ffffff;
  --ink: #0d3b5a;
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 35px rgba(10, 85, 140, 0.2);
  --hero-gradient: linear-gradient(180deg, #2db7ff 0%, #4fd2ff 45%, #9be7ff 100%);
  --text-title: #0d3b5a;
  --text-body: #0d3b5a;
  --mention-gradient-1: #ffffff;
  --mention-gradient-2: #e8f7ff;
  --mention-gradient-3: #cfefff;
  --mention-title: #0d3b5a;
  --mention-source: #0d3b5a;
  --mention-author: #3d6d8e;
  --mention-quote: #0d3b5a;
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Nunito", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background-color: #4fd2ff;
  background: linear-gradient(180deg,
      var(--sky-1) 0%,
      var(--sky-2) 45%,
      var(--sky-3) 75%,
      var(--sky-4) 100%);
  min-height: 100vh;
}

.sky-pattern {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 90px 90px, 140px 140px;
  background-position: 0 0, 30px 30px;
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
}

header {
  padding: 22px 6vw 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 72px;
  height: 72px;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  object-fit: contain;
}

.brand .title {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 28px;
  color: var(--white);
  text-shadow: 0 4px 10px rgba(10, 85, 140, 0.25);
  letter-spacing: 0.4px;
}

nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(135deg, rgba(0, 133, 204, 0.9), rgba(0, 94, 156, 0.9));
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 8px 16px rgba(10, 60, 90, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

nav a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(0, 156, 224, 0.95), rgba(0, 112, 178, 0.95));
  box-shadow:
    0 12px 20px rgba(10, 60, 90, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.language-control {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-control::after {
  content: "▾";
  position: absolute;
  right: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  pointer-events: none;
}

.language-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(0, 133, 204, 0.9), rgba(0, 94, 156, 0.9));
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 10px 36px 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow:
    0 8px 16px rgba(10, 60, 90, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.language-select:hover {
  background: linear-gradient(135deg, rgba(0, 156, 224, 0.95), rgba(0, 112, 178, 0.95));
  box-shadow:
    0 12px 20px rgba(10, 60, 90, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.language-select:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.hero {
  padding: 20px 6vw 40px;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.hero-carousel-shell {
  width: min(980px, 100%);
  padding: 18px 18px 10px;
  border-radius: 22px;
  background:
    repeating-linear-gradient(135deg,
      rgba(255, 195, 70, 0.12) 0px,
      rgba(255, 195, 70, 0.12) 6px,
      rgba(255, 255, 255, 0.35) 6px,
      rgba(255, 255, 255, 0.35) 12px),
    #fffaf1;
  border: 3px solid #ffb34d;
  box-shadow:
    0 22px 40px rgba(13, 18, 30, 0.2),
    inset 0 0 0 2px rgba(255, 255, 255, 0.65);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-carousel-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0f17;
  border-radius: 16px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.35),
    inset 0 18px 32px rgba(0, 0, 0, 0.24);
}

.hero-carousel-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  position: relative;
}

.hero-character {
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: min(220px, 28vw);
  height: auto;
  pointer-events: none;
  z-index: 2;
  filter:
    drop-shadow(2px 0 0 #ffffff)
    drop-shadow(-2px 0 0 #ffffff)
    drop-shadow(0 2px 0 #ffffff)
    drop-shadow(0 -2px 0 #ffffff)
    drop-shadow(2px 2px 0 #ffffff)
    drop-shadow(-2px 2px 0 #ffffff)
    drop-shadow(2px -2px 0 #ffffff)
    drop-shadow(-2px -2px 0 #ffffff)
    drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35));
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  will-change: transform;
}

.hero-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border: 0;
  background: #3d4450;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero-carousel-slide iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #000;
  pointer-events: auto;
}

.hero-carousel-pagination-bar {
  width: 100%;
  background: transparent;
  border-radius: 14px;
  padding: 10px 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  --nav-offset: 140px;
}

.hero-carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 12px;
}

.hero-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.22);
  padding: 0;
  cursor: pointer;
}

.hero-carousel-dot.is-active {
  background: #2b83ff;
}

.hero-carousel-nav {
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #0d3b5a;
  font-size: 20px;
  cursor: pointer;
  box-shadow:
    0 8px 16px rgba(15, 70, 110, 0.22),
    0 0 0 2px rgba(13, 59, 90, 0.12);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.hero-carousel-nav:hover {
  background: #ffffff;
  box-shadow:
    0 10px 18px rgba(15, 70, 110, 0.28),
    0 0 0 2px rgba(13, 59, 90, 0.18);
}

.hero-carousel-nav#hero-carousel-prev {
  left: calc(50% - var(--nav-offset));
}

.hero-carousel-nav#hero-carousel-next {
  right: calc(50% - var(--nav-offset));
}

.store-section {
  padding: 0 6vw 40px;
}

.mentions-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.section-title {
  text-align: left;
  margin: 0 auto 16px;
  padding: 0 6vw;
  max-width: 1100px;
}

.section-title h2 {
  font-family: "Baloo 2", cursive;
  font-size: 30px;
  margin: 0;
  color: #ffffff;
}

.testimonials {
  padding: 10px 0 40px;
  background: transparent !important;
}

/* Crayon frame style for mentions cards */
.testimonials .testimonial-item {
  background:
    repeating-linear-gradient(135deg,
      rgba(255, 195, 70, 0.12) 0px,
      rgba(255, 195, 70, 0.12) 6px,
      rgba(255, 255, 255, 0.35) 6px,
      rgba(255, 255, 255, 0.35) 12px),
    #fffaf1;
  border-radius: 18px;
  border: 3px solid #ffb34d;
  box-shadow:
    0 10px 18px rgba(13, 18, 30, 0.12),
    inset 0 0 0 2px rgba(255, 255, 255, 0.65);
  position: relative;
  overflow: hidden;
}

.testimonials .testimonial-item::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 14px;
  border: 2px dashed rgba(255, 125, 80, 0.65);
  pointer-events: none;
}

.testimonials .testimonial-item::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 44px;
  height: 18px;
  background: rgba(255, 196, 87, 0.75);
  transform: rotate(6deg);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(13, 18, 30, 0.12);
  pointer-events: none;
}

.testimonials .testimonial-item p {
  position: relative;
  z-index: 1;
}

.testimonials .testimonial-item h3,
.testimonials .testimonial-item h4 {
  position: relative;
  z-index: 1;
}

.store-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  flex: 0 0 230px;
}

.store-button img {
  height: 72px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.store-button--google img {
  transform: scale(0.95);
  transform-origin: center;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  height: 56px;
  width: auto;
  display: block;
  filter: drop-shadow(0 8px 12px rgba(10, 60, 90, 0.2));
}

.partner-watermark {
  position: fixed;
  right: 28px;
  bottom: 24px;
  width: min(180px, 30vw);
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}

.section {
  padding: 10px 6vw 50px;
}

.section h2 {
  font-family: "Baloo 2", cursive;
  font-size: 30px;
  margin: 0 0 10px;
  color: var(--white);
  text-shadow: 0 4px 10px rgba(10, 85, 140, 0.25);
}

.contact-card {
  background:
    repeating-linear-gradient(135deg,
      rgba(255, 195, 70, 0.12) 0px,
      rgba(255, 195, 70, 0.12) 6px,
      rgba(255, 255, 255, 0.35) 6px,
      rgba(255, 255, 255, 0.35) 12px),
    #fffaf1;
  border-radius: 28px;
  border: 3px solid #ffb34d;
  box-shadow:
    0 18px 35px rgba(10, 85, 140, 0.18),
    inset 0 0 0 2px rgba(255, 255, 255, 0.65);
  padding: 26px;
  display: grid;
  gap: 18px;
}

.hero-carousel-shell::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 18px;
  border: 2px dashed rgba(255, 125, 80, 0.65);
  pointer-events: none;
}

.hero-carousel-shell,
.contact-card {
  position: relative;
  overflow: hidden;
}

.hero-carousel-shell::after,
.contact-card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 48px;
  height: 18px;
  background: rgba(255, 196, 87, 0.75);
  transform: rotate(6deg);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(13, 18, 30, 0.12);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid #d7effa;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #f8feff;
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.consent-row input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  flex: 0 0 auto;
}

.consent-label {
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.5;
}

.consent-label a {
  color: var(--accent-dark);
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.btn-primary {
  border: none;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(255, 74, 74, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.btn-primary:disabled {
  background: #c8d4da;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

footer {
  padding: 20px 6vw 30px;
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}

footer a {
  color: var(--white);
}

@media (max-width: 980px) {
  .hero-top {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  nav {
    justify-content: flex-start;
  }
}
