/* ==========================================================================
   I AM SPECIAL - Official Website & Store Compliance Stylesheet
   Modern, Kid-Friendly, Elegant & Fully Responsive
   ========================================================================== */

:root {
  /* Brand Palette - Cheerful, Vibrant, Reassuring */
  --primary: #0284c7;           /* Sky Blue 600 */
  --primary-light: #38bdf8;     /* Sky Blue 400 */
  --primary-dark: #0369a1;      /* Sky Blue 700 */
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;

  --accent-yellow: #f59e0b;     /* Amber / Sun */
  --accent-yellow-light: #fde68a;
  --accent-coral: #f43f5e;      /* Playful Rose / Coral */
  --accent-green: #10b981;      /* Emerald Mint */
  --accent-green-light: #d1fae5;
  --accent-purple: #8b5cf6;     /* Playful Violet */
  --accent-purple-light: #ede9fe;
  --accent-orange: #f97316;     /* Orange */

  /* Neutral Tones */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --text-main: #1e293b;         /* Slate 800 */
  --text-muted: #64748b;        /* Slate 500 */
  --text-light: #94a3b8;        /* Slate 400 */
  --border-color: #e2e8f0;      /* Slate 200 */
  --border-focus: #38bdf8;

  /* Typography */
  --font-heading: 'Fredoka', 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(2, 132, 199, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(2, 132, 199, 0.12), 0 8px 16px -6px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.35);

  /* Border Radii */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #e0f2fe;
  line-height: 1.6;
  font-weight: 500;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Single Unified Tropical Background Fixed While Scrolling */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: 
    linear-gradient(180deg, rgba(240, 249, 255, 0.75) 0%, rgba(240, 249, 255, 0.82) 45%, rgba(240, 249, 255, 0.88) 100%),
    url('/assets/images/backgrounds/island_detail_background_2.webp') center center / cover no-repeat;
  pointer-events: none;
  transform: translateZ(0);
}

/* Accessible outline */
:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background-color: #ffffff;
}

.section-tint {
  background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 100%);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-100);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Header & Sticky Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #334155;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #1e293b;
  border-radius: var(--radius-sm);
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-store-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: btnShimmerSweep 5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes btnShimmerSweep {
  0%, 65% { left: -75%; }
  100% { left: 165%; }
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.5);
}

.btn-secondary {
  background-color: #ffffff;
  color: #1e293b;
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-coral {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.3);
}

.btn-coral:hover {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  border-radius: 1rem;
  text-decoration: none;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-fast);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.btn-store-badge:hover {
  background-color: #1e293b;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.35);
}

.btn-store-badge.disabled {
  background-color: #334155;
  opacity: 0.85;
  cursor: not-allowed;
}

.btn-store-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-weight: 600;
  font-family: var(--font-body);
}

.store-main {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}

.store-badge-pill {
  font-size: 0.65rem;
  background-color: #f59e0b;
  color: #000000;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-weight: 800;
  margin-left: 0.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 5rem 0 6.5rem 0;
  overflow: hidden;
  background: transparent;
}

.hero-tropical-boat {
  position: absolute;
  bottom: 6%;
  left: 2.5%;
  width: 75px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
  animation: floatBoat 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-tropical-dolphins {
  position: absolute;
  top: 15%;
  right: 2.5%;
  width: 95px;
  height: auto;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
  animation: floatBob 7s ease-in-out infinite alternate;
  pointer-events: none;
}

/* ==========================================================================
   Animated Tropical Ocean Waves Divider
   ========================================================================== */
.tropical-wave-wrap {
  display: none;
}

.tropical-wave-svg {
  position: relative;
  display: block;
  width: 100%;
  height: 60px;
}

.wave-layer {
  animation: waveDrift 14s ease-in-out infinite alternate;
}

.wave-layer-1 {
  fill: rgba(56, 189, 248, 0.45);
  animation-duration: 9s;
}

.wave-layer-2 {
  fill: rgba(14, 165, 233, 0.35);
  animation-duration: 13s;
  animation-delay: -4s;
}

.wave-layer-3 {
  fill: #f8fafc;
  animation-duration: 18s;
  animation-delay: -7s;
}

@keyframes waveDrift {
  0% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(-15px) scaleY(1.12); }
  100% { transform: translateX(0) scaleY(1); }
}

/* ==========================================================================
   Hero Phone Auto-Slider Dynamics
   ========================================================================== */
.hero-screen-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), transform 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.85s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 25;
  background: rgba(15, 23, 42, 0.6);
  padding: 5px 10px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: none;
  padding: 0;
}

.hero-slider-dot.active {
  width: 18px;
  border-radius: 6px;
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

/* ==========================================================================
   Interactive 3D Tilt & Micro-Dynamics
   ========================================================================== */
.interactive-tilt {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* Scroll-Triggered Entrance Animations */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(25px);
  transition: opacity 0.85s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Magical Sparkle Particle Trail */
.sparkle-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 16px;
  line-height: 1;
  animation: sparkleFade 0.9s forwards ease-out;
}

@keyframes sparkleFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, -25px))) scale(1.3) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px) * 1.5), calc(-50% + var(--dy, -45px))) scale(0.2) rotate(360deg);
  }
}

/* Ambient Floating Ocean Bubbles */
.ambient-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(56, 189, 248, 0.25) 60%, rgba(2, 132, 199, 0.15) 100%);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.6), 0 2px 6px rgba(2, 132, 199, 0.1);
  pointer-events: none;
  animation: bubbleFloat 10s infinite linear;
  z-index: 2;
}

@keyframes bubbleFloat {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  15% {
    opacity: 0.75;
  }
  85% {
    opacity: 0.75;
  }
  100% {
    transform: translateY(-400px) translateX(25px);
    opacity: 0;
  }
}

.hero-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50px;
  filter: blur(1px);
  animation: floatCloud 24s infinite linear;
}

.hero-cloud-1 { top: 12%; left: -8%; width: 180px; height: 50px; }
.hero-cloud-2 { top: 35%; right: -5%; width: 220px; height: 60px; animation-duration: 32s; }

@keyframes floatCloud {
  0% { transform: translateX(0); }
  50% { transform: translateX(40px); }
  100% { transform: translateX(0); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #ffffff;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
  border: 1px solid #e0f2fe;
}

.hero-badge-icon {
  font-size: 1.1rem;
}

.hero-badge-text {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.hero-title .highlight-blue {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight-orange {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #cbd5e1;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Hero Visual & Phone Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-backdrop {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(244, 63, 94, 0.15) 70%, transparent 100%);
  filter: blur(40px);
  z-index: 1;
}

/* Device Mockup */
.device-mockup {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 610px;
  background: #111827;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(2, 132, 199, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.2) inset,
              0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-normal);
}

.device-mockup:hover {
  transform: translateY(-6px) scale(1.02);
}

.device-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Character Cutouts */
.floating-char {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  animation: floatBob 6s ease-in-out infinite alternate;
}

.floating-char-boy {
  left: -25px;
  bottom: 30px;
  height: 215px;
  width: auto;
  animation-delay: 0s;
}

.floating-char-girl {
  right: -25px;
  top: 60px;
  height: 220px;
  width: auto;
  animation-delay: 1.5s;
}

.floating-island-badge {
  position: absolute;
  right: -35px;
  bottom: 80px;
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-xl);
  z-index: 4;
  border: 2px solid #e0f2fe;
  animation: floatBob 7s ease-in-out infinite alternate;
  animation-delay: 2.5s;
}

.floating-island-badge img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.floating-badge-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.floating-badge-sub {
  font-size: 0.75rem;
  color: var(--accent-orange);
  font-weight: 700;
}

@keyframes floatBob {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(2deg); }
}

/* ==========================================================================
   Stats Banner
   ========================================================================== */
.stats-banner {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 3rem 0;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.35);
  margin-top: -3rem;
  margin-bottom: 5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 0 1rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: #fde68a; /* Sun yellow */
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.95;
}

/* ==========================================================================
   Island Worlds Section
   ========================================================================== */
.islands-showcase {
  background: transparent;
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0;
}

.island-ship-decor {
  position: absolute;
  bottom: 25px;
  right: 3.5%;
  width: 95px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.16));
  animation: floatBoat 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.island-dolphin-decor {
  position: absolute;
  top: 35px;
  left: 2.5%;
  width: 75px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
  animation: floatBob 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.islands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 3;
}

.island-card {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  transition: all var(--transition-bounce);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.island-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px -5px rgba(2, 132, 199, 0.3), 0 0 0 3px #38bdf8;
  background: #ffffff;
}

.island-card-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.island-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-bounce);
}

.island-card:hover .island-card-icon img {
  transform: scale(1.18) rotate(5deg);
}

.island-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.island-tag-pink { background: #ffe4e6; color: #e11d48; }
.island-tag-blue { background: #e0f2fe; color: #0284c7; }
.island-tag-green { background: #dcfce7; color: #16a34a; }
.island-tag-yellow { background: #fef3c7; color: #d97706; }
.island-tag-purple { background: #f3e8ff; color: #9333ea; }
.island-tag-orange { background: #ffedd5; color: #ea580c; }

.island-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.island-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Games & Features Deep Dive
   ========================================================================== */
.section-tint {
  background: transparent;
  position: relative;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4.5rem;
  margin-bottom: 6rem;
  direction: ltr;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row .feature-content {
  order: 1;
}

.feature-row .feature-visual {
  order: 2;
}

.feature-row.reverse .feature-content {
  order: 2;
}

.feature-row.reverse .feature-visual {
  order: 1;
}

html[dir="rtl"] .feature-content {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .feature-list-item {
  direction: rtl;
  text-align: right;
}

.feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   Realistic Mobile & Tablet Hardware Frames
   ========================================================================== */
.mobile-frame {
  position: relative;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  aspect-ratio: 9 / 19.5;
  background: #0f172a;
  border-radius: 40px;
  padding: 8px;
  box-shadow: 
    0 0 0 2px #334155,
    0 0 0 4.5px #0f172a,
    0 14px 32px -6px rgba(2, 132, 199, 0.25),
    0 22px 45px -10px rgba(15, 23, 42, 0.4);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

/* Side button accents */
.mobile-frame::before {
  content: '';
  position: absolute;
  left: -5.5px;
  top: 70px;
  width: 3px;
  height: 42px;
  background: #334155;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 54px 0 #334155;
}

.mobile-frame::after {
  content: '';
  position: absolute;
  right: -5.5px;
  top: 85px;
  width: 3px;
  height: 36px;
  background: #334155;
  border-radius: 0 2px 2px 0;
}

/* Large Mobile Frame for Feature Rows */
.mobile-frame-lg {
  max-width: 310px;
  border-radius: 48px;
  padding: 10px;
  box-shadow: 
    0 0 0 2.5px #334155,
    0 0 0 5.5px #0f172a,
    0 20px 45px -8px rgba(2, 132, 199, 0.32),
    0 30px 60px -15px rgba(15, 23, 42, 0.48);
}

.mobile-frame-lg .mobile-screen {
  border-radius: 38px;
}

.mobile-island {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 16px;
  background: #000000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.mobile-frame-lg .mobile-island {
  top: 16px;
  width: 82px;
  height: 20px;
  padding-right: 8px;
}

.mobile-lens {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #2563eb 20%, #030712 85%);
  box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.6);
}

.mobile-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #000000;
}

.mobile-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mobile-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 30%, transparent 60%);
  pointer-events: none;
  z-index: 15;
}

.mobile-home-bar {
  position: absolute;
  bottom: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  z-index: 20;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.mobile-frame-lg .mobile-home-bar {
  bottom: 15px;
  width: 90px;
  height: 4.5px;
}

/* Tablet Device Frame */
.tablet-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  background: #0f172a;
  border-radius: 30px;
  padding: 10px;
  box-shadow: 
    0 0 0 2px #334155,
    0 0 0 4.5px #0f172a,
    0 16px 36px -8px rgba(2, 132, 199, 0.25),
    0 24px 50px -12px rgba(15, 23, 42, 0.4);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.tablet-camera {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #334155;
  border-radius: 50%;
  z-index: 20;
}

.tablet-screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #000000;
}

.tablet-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tablet-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 35%, transparent 60%);
  pointer-events: none;
  z-index: 15;
}

.tablet-home-bar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  z-index: 20;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-100);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.feature-heading {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.feature-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-list-item svg {
  width: 22px;
  height: 22px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-list-item strong {
  color: #0f172a;
  display: block;
}

.feature-list-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Screenshots Gallery & Tabs
   ========================================================================== */
.gallery-section {
  background: transparent;
  padding: 5.5rem 0 6.5rem 0;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  background: #ffffff;
  color: #475569;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #cbd5e1;
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.gallery-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform var(--transition-normal);
  background: transparent;
  border: none;
  box-shadow: none;
}

.gallery-item:hover .mobile-frame,
.gallery-item:hover .tablet-frame {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    0 0 0 2.5px #38bdf8,
    0 0 0 5.5px #0284c7,
    0 25px 50px -10px rgba(2, 132, 199, 0.4),
    0 30px 60px -15px rgba(15, 23, 42, 0.5);
}

.gallery-caption {
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  background: #ffffff;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  position: relative;
}

.gallery-item:hover .gallery-caption {
  color: var(--primary);
  border-color: #38bdf8;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  z-index: 2000;
  padding: 2rem;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================================================
   Parent Safety & Reassurance Section
   ========================================================================== */
.safety-section {
  background: transparent;
  border: none;
}

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

.safety-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: all var(--transition-normal);
}

.safety-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #86efac;
}

.safety-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.safety-icon svg {
  width: 28px;
  height: 28px;
}

.safety-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.safety-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Call to Action (CTA) Section
   ========================================================================== */
.cta-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: 
    linear-gradient(135deg, rgba(2, 132, 199, 0.92) 0%, rgba(3, 105, 161, 0.94) 100%),
    url('/assets/images/backgrounds/island_detail_background_3.webp') center / cover no-repeat;
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(2, 132, 199, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.25);
}

.cta-character-left {
  position: absolute;
  left: 28px;
  bottom: 0;
  height: 175px;
  max-height: 60%;
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.cta-character-right {
  position: absolute;
  right: 28px;
  bottom: 0;
  height: 180px;
  max-height: 60%;
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cta-title {
  font-size: 2.75rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.cta-desc {
  font-size: 1.2rem;
  color: #e0f2fe;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-guarantees {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  color: #bae6fd;
  font-size: 0.9rem;
  font-weight: 600;
}

.cta-guarantee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  font-size: 0.95rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-desc {
  color: #94a3b8;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
  margin-top: 1rem;
  text-align: center;
}

/* ==========================================================================
   Compliance & Legal Pages (Privacy, Terms, Delete Account)
   ========================================================================== */
.legal-page {
  padding: 4.5rem 0 6.5rem 0;
  background: transparent;
}

.legal-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-100);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.legal-title {
  font-size: 2.75rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.legal-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.legal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  line-height: 1.8;
  color: #334155;
}

.legal-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin: 2.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 1.5rem 0 0.75rem 0;
}

.legal-card p {
  margin-bottom: 1.25rem;
}

.legal-card ul, .legal-card ol {
  margin: 1rem 0 1.5rem 1.75rem;
}

.legal-card li {
  margin-bottom: 0.5rem;
}

.legal-callout {
  background: #f0f9ff;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.legal-callout-warning {
  background: #fffbeb;
  border-left-color: #f59e0b;
}

.legal-callout-danger {
  background: #fff1f2;
  border-left-color: #f43f5e;
}

.legal-callout-success {
  background: #f0fdf4;
  border-left-color: #10b981;
}

.legal-callout h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   Account & Data Deletion Form & Guide
   ========================================================================== */
.deletion-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.option-box {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.option-box.highlight {
  border-color: #38bdf8;
  background: #f0f9ff;
}

.option-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.option-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.steps-list {
  list-style: decimal;
  margin-left: 1.25rem;
  margin-top: 1rem;
}

.steps-list li {
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: #334155;
}

/* Form Elements */
.delete-form {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.form-label .req {
  color: #f43f5e;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.75rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #334155;
  cursor: pointer;
  user-select: none;
}

.form-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-coral);
  margin-top: 3px;
  flex-shrink: 0;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.form-alert {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-alert.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-alert.error {
  display: block;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-badges {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .islands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
    direction: ltr;
  }

  .feature-row.reverse .feature-content {
    order: 1;
  }

  .feature-row.reverse .feature-visual {
    order: 2;
  }

  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .deletion-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 4.25rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    gap: 1.25rem;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta-wrap .btn-primary {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

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

  .stat-item::after {
    display: none;
  }

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

  .cta-card {
    padding: 3rem 1.5rem;
  }

  .cta-character-left, .cta-character-right {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-card {
    padding: 1.75rem;
  }
}

/* ==========================================================================
   High-Conversion & Download Encouragement Elements
   ========================================================================== */

/* Hero Social Proof Strip */
.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.12);
  border: 1px solid #bae6fd;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.hero-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.hero-rating-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
}

.hero-rating-text strong {
  color: #0284c7;
}

.hero-free-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Download Guarantee Pills under hero buttons */
.download-guarantee {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: -1rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}

.download-guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.download-guarantee-item svg {
  width: 16px;
  height: 16px;
  color: #10b981;
}

/* Pulse Glow Animation on Active Download Buttons */
.btn-pulse {
  animation: downloadPulse 3s infinite ease-in-out;
}

@keyframes downloadPulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.35), 0 0 0 0 rgba(2, 132, 199, 0.5);
  }
  50% {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.45), 0 0 0 10px rgba(2, 132, 199, 0);
  }
}

/* ==========================================================================
   Why Parents Choose I am Special (Comparison Section)
   ========================================================================== */
.comparison-section {
  padding: 5rem 0;
  position: relative;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.compare-card {
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-normal);
}

.compare-card:hover {
  transform: translateY(-6px);
}

.compare-card-others {
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid #fed7aa;
}

.compare-card-special {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.95) 100%);
  border: 3px solid #38bdf8;
  box-shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.25);
  position: relative;
}

.compare-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.badge-others {
  background: #ffedd5;
  color: #c2410c;
}

.badge-special {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.compare-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.compare-icon-cross {
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-icon-check {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Floating Sticky Download Bar
   ========================================================================== */
.floating-install-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 150%);
  z-index: 999;
  width: calc(100% - 36px);
  max-width: 760px;
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-pill);
  padding: 1.1rem 1.6rem;
  box-shadow: 0 18px 40px -5px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.floating-install-bar.visible {
  transform: translate(-50%, 0);
}

.floating-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.floating-bar-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.floating-bar-text,
.floating-bar-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.floating-bar-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.floating-bar-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.4;
}

.floating-bar-stars {
  color: #f59e0b;
}

.floating-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.floating-btn-install {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.72rem 1.5rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.45);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.floating-btn-install:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.6);
}

.floating-btn-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border-radius: 50%;
}

.floating-btn-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.mobile-only-link {
  display: none;
}

/* Responsive updates for new sections */
@media (max-width: 1024px) {
  .mobile-only-link {
    display: block;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .floating-bar-sub {
    display: none;
  }

  .floating-install-bar {
    bottom: 14px;
    padding: 0.85rem 1.15rem;
    gap: 0.75rem;
  }

  .floating-bar-logo {
    width: 40px;
    height: 40px;
  }

  .floating-btn-install {
    padding: 0.6rem 1.15rem;
    font-size: 0.88rem;
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Multi-Language (i18n) & Arabic (RTL) Styles
   ========================================================================== */

/* Language Switcher Pill */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  border-radius: var(--radius-pill);
  padding: 3px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
  margin-right: 0.6rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[dir="rtl"] .lang-toggle {
  margin-right: 0;
  margin-left: 0.6rem;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 0.35rem 0.75rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  color: #64748b;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1.2;
}

.lang-btn:hover:not(.active) {
  color: var(--primary);
  background: rgba(2, 132, 199, 0.08);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.lang-sep {
  color: #cbd5e1;
  font-size: 0.75rem;
  user-select: none;
}

/* RTL Typography & Layout Direction */
html[dir="rtl"] {
  --font-heading: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Tajawal', 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] body {
  font-family: var(--font-body);
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .brand-name,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-title,
html[dir="rtl"] .cta-title,
html[dir="rtl"] .island-title,
html[dir="rtl"] .stat-num,
html[dir="rtl"] .compare-title,
html[dir="rtl"] .btn,
html[dir="rtl"] .floating-bar-title,
html[dir="rtl"] .floating-btn-install {
  font-family: var(--font-heading);
  letter-spacing: normal;
}

/* ==========================================================================
   Arabic Only: Enhanced Line Heights for Headers & Sticky Bottom Bar
   ========================================================================== */
html[dir="rtl"] .hero-title {
  line-height: 1.45;
}

html[dir="rtl"] .section-title {
  line-height: 1.4;
}

html[dir="rtl"] .cta-title {
  line-height: 1.4;
}

html[dir="rtl"] .compare-title {
  line-height: 1.4;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  line-height: 1.42;
}

html[dir="rtl"] .legal-title {
  line-height: 1.45;
}

html[dir="rtl"] .brand-name {
  line-height: 1.35;
}

/* Arabic Only: Sticky Bottom Bar */
html[dir="rtl"] .floating-install-bar {
  direction: ltr;
  padding: 1.15rem 1.65rem;
}

html[dir="rtl"] .floating-bar-left {
  direction: ltr;
}

html[dir="rtl"] .floating-bar-text,
html[dir="rtl"] .floating-bar-info {
  direction: rtl;
  text-align: right;
  gap: 0.4rem;
}

html[dir="rtl"] .floating-bar-title {
  line-height: 1.55;
  font-size: 1.05rem;
}

html[dir="rtl"] .floating-bar-sub {
  line-height: 1.6;
  font-size: 0.84rem;
}

html[dir="rtl"] .floating-btn-install {
  line-height: 1.45;
  padding: 0.75rem 1.5rem;
}

@media (max-width: 640px) {
  html[dir="rtl"] .hero-title {
    line-height: 1.38;
  }

  html[dir="rtl"] .section-title {
    line-height: 1.38;
  }

  html[dir="rtl"] .floating-install-bar {
    padding: 0.9rem 1.15rem;
  }

  html[dir="rtl"] .floating-bar-title {
    line-height: 1.45;
  }

  html[dir="rtl"] .floating-btn-install {
    line-height: 1.4;
  }
}

/* RTL Hero Character & Decor Positioning */
html[dir="rtl"] .floating-char-boy {
  left: auto;
  right: -25px;
}

html[dir="rtl"] .floating-char-girl {
  right: auto;
  left: -25px;
}

html[dir="rtl"] .floating-island-badge {
  right: auto;
  left: -35px;
}

html[dir="rtl"] .hero-tropical-boat {
  left: auto;
  right: 15px;
  transform: scaleX(-1);
}

html[dir="rtl"] .hero-tropical-dolphins {
  right: auto;
  left: 20px;
  transform: scaleX(-1);
}

/* RTL CTA Characters */
html[dir="rtl"] .cta-character-left {
  left: auto;
  right: 28px;
  transform: scaleX(-1);
}

html[dir="rtl"] .cta-character-right {
  right: auto;
  left: 28px;
  transform: scaleX(-1);
}

/* RTL Comparison Ribbon & Lists */
html[dir="rtl"] .compare-ribbon {
  right: auto;
  left: 24px;
}

html[dir="rtl"] .compare-list li {
  text-align: right;
}

html[dir="rtl"] .floating-bar-left {
  text-align: right;
}

/* RTL Footer Links */
html[dir="rtl"] .footer-links {
  padding-right: 0;
}

