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

/* ==========================================================================
   DESIGN SYSTEM — Kutak Dečje Mašte (2026 Redesign)
   Colors · Typography · Spacing · Shapes · Animations
   ========================================================================== */

:root {
  /* --- Primary Palette (pastels) --- */
  --pink: #FF6B9D;
  --pink-light: #FFE0EC;
  --pink-soft: #FFF0F5;
  --orange: #FF9F43;
  --orange-light: #FFECD2;
  --yellow: #FECA57;
  --yellow-light: #FFF8E1;
  --green: #5CD85C;
  --green-light: #E8F5E9;
  --blue: #54A0FF;
  --blue-light: #E3F2FD;
  --purple: #C56CF0;
  --purple-light: #F3E5F5;
  --red: #FF6B6B;
  --white: #FFFFFF;
  --cream: #FFFDF7;
  --light-bg: #FFFBF5;

  /* --- Text --- */
  --text-dark: #2D3436;
  --text-medium: #636E72;
  --text-light: #B2BEC3;

  /* --- Shadows --- */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 50px rgba(0,0,0,0.10);
  --shadow-hover: 0 12px 35px rgba(0,0,0,0.12);
  --shadow-pink: 0 8px 30px rgba(255,107,157,0.18);
  --shadow-blue: 0 8px 30px rgba(84,160,255,0.18);
  --shadow-purple: 0 8px 30px rgba(197,108,240,0.18);

  /* --- Shape --- */
  --radius: 24px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-pill: 50px;

  /* --- Motion --- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: all 0.3s var(--ease);
  --transition-slow: all 0.5s var(--ease);
}

/* ==========================================================================
   RESET & FOUNDATION
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background: var(--light-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', cursive;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(3deg); }
}

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

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

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes rainbow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Utility: fade on scroll via IntersectionObserver */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   WAVE SECTION DIVIDERS
   ========================================================================== */
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 2;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}
.wave-divider.flip {
  transform: scaleY(-1);
}

/* ==========================================================================
   DECORATIVE BLOB SHAPES (background)
   ========================================================================== */
.blob {
  position: absolute;
  border-radius: 50% 40% 60% 45% / 55% 50% 45% 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Baloo 2', cursive;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-medium);
  transition: color 0.2s, background-color 0.2s, transform 0.2s;
  white-space: nowrap;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-bounce);
}

.nav-links a:hover .nav-icon {
  transform: scale(1.2) rotate(-8deg);
}

.nav-links a:hover {
  color: var(--text-dark);
  background-color: var(--pink-soft);
}

.nav-links a.active {
  color: var(--pink);
  background-color: var(--pink-soft);
  font-weight: 700;
}

/* Signup button in nav */
.nav-signup {
  background: linear-gradient(135deg, var(--pink), var(--purple)) !important;
  color: var(--white) !important;
  border-radius: var(--radius-pill) !important;
  padding: 10px 24px !important;
  margin-left: 10px;
  font-weight: 700;
  font-size: 0.88rem !important;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-pink);
}

.nav-signup:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(255,107,157,0.35) !important;
  background: linear-gradient(135deg, var(--pink), var(--purple)) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================================
   HERO SECTION (subpages)
   ========================================================================== */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero.bg-pink { background: linear-gradient(160deg, var(--pink-light) 0%, var(--orange-light) 100%); }
.page-hero.bg-green { background: linear-gradient(160deg, var(--green-light) 0%, var(--yellow-light) 100%); }
.page-hero.bg-blue { background: linear-gradient(160deg, var(--blue-light) 0%, var(--purple-light) 100%); }
.page-hero.bg-yellow { background: linear-gradient(160deg, var(--yellow-light) 0%, var(--orange-light) 100%); }
.page-hero.bg-purple { background: linear-gradient(160deg, var(--purple-light) 0%, var(--pink-light) 100%); }

.page-hero .hero-emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 16px;
  animation: bounce 3s ease-in-out infinite;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.page-hero p {
  color: var(--text-medium);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: 'Baloo 2', cursive;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s var(--ease);
  border: none;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(255,107,157,0.25);
}
.btn-primary:hover {
  box-shadow: 0 10px 30px rgba(255,107,157,0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-dark);
  border: 2.5px solid var(--yellow);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--yellow-light);
  box-shadow: var(--shadow);
}

.btn-green {
  background: linear-gradient(135deg, var(--green), #2ECC71);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(92,216,92,0.25);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue), #2E86DE);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.92rem;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-emoji {
  font-size: 3.2rem;
  display: block;
  margin-bottom: 12px;
  animation: bounce 3s ease-in-out infinite;
}

.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-medium);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-alt {
  background: var(--white);
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.3s var(--ease);
  position: relative;
}

.section-alt .card {
  background: var(--light-bg);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
  overflow: hidden;
}

/* Soft pastel gradients for card images */
.card-image.bg-pink { background: linear-gradient(145deg, #FFE8F0, #FFD0E0); }
.card-image.bg-orange { background: linear-gradient(145deg, #FFF0E0, #FFE0C8); }
.card-image.bg-yellow { background: linear-gradient(145deg, #FFFCE8, #FFF5CC); }
.card-image.bg-green { background: linear-gradient(145deg, #E8F8E8, #D0F0D0); }
.card-image.bg-blue { background: linear-gradient(145deg, #E8F2FF, #D0E5FF); }
.card-image.bg-purple { background: linear-gradient(145deg, #F5E8FF, #EAD5FF); }

.card-body {
  padding: 28px;
}

.card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.card-body p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   TAGS
   ========================================================================== */
.tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-free {
  background: var(--green-light);
  color: #27AE60;
}

.tag-premium {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--white);
}

.tag-new {
  background: var(--pink-light);
  color: var(--pink);
}

.tag-age {
  background: var(--blue-light);
  color: var(--blue);
}

/* ==========================================================================
   PREMIUM LOCK OVERLAY
   ========================================================================== */
.premium-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

/* ==========================================================================
   FEATURES GRID
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 3.2rem;
  margin-bottom: 18px;
  display: block;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   CATEGORIES (FILTER)
   ========================================================================== */
.categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.category-btn {
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--blue-light);
  background: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  background: linear-gradient(145deg, var(--pink-light), var(--yellow-light), var(--blue-light));
  border-radius: var(--radius-lg);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-medium);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: 'Baloo 2', cursive;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--pink);
  display: block;
}

.stat-label {
  color: var(--text-medium);
  font-size: 0.88rem;
}

/* ==========================================================================
   INSTAGRAM SECTION
   ========================================================================== */
.instagram-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--purple-light), var(--pink-light));
}

.instagram-section h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.instagram-section p {
  color: var(--text-medium);
  margin-bottom: 28px;
}

.instagram-btn {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
  color: var(--white);
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.instagram-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(131,58,180,0.25);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  padding: 44px;
  background: linear-gradient(145deg, var(--blue-light), var(--purple-light));
  border-radius: var(--radius);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  font-size: 1.05rem;
}

.contact-item-icon {
  font-size: 1.5rem;
  width: 52px;
  height: 52px;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid #EEE;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-light);
}

.form-group textarea {
  height: 130px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #1a1d23;
  color: var(--white);
  padding: 80px 0 40px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.footer-brand p {
  color: #9CA3AF;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 22px;
  color: var(--yellow);
}

.footer-links a {
  display: block;
  color: #9CA3AF;
  padding: 6px 0;
  transition: color 0.2s, padding-left 0.2s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s var(--ease-bounce), background 0.3s;
  background: rgba(255,255,255,0.08);
}

.social-icon:hover {
  transform: translateY(-4px);
  background: var(--pink);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  text-align: center;
  color: #636E72;
  font-size: 0.9rem;
}

.footer-bottom .heart {
  color: var(--pink);
}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter {
  background: linear-gradient(135deg, var(--yellow-light), var(--orange-light));
  padding: 80px 0;
  text-align: center;
}

.newsletter h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.newsletter p {
  color: var(--text-medium);
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--orange);
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cta-banner p {
  opacity: 0.92;
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--pink);
  box-shadow: var(--shadow);
}

.cta-banner .btn:hover {
  background: var(--yellow-light);
}

/* ==========================================================================
   SCROLL TO TOP
   ========================================================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: var(--white);
  border: none;
  border-radius: 16px;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-bounce), opacity 0.3s, visibility 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 968px) {
  .page-hero h1 { font-size: 2.2rem; }
  .about-content { grid-template-columns: 1fr; }
  .about-image { height: 300px; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .section { padding: 70px 0; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 340px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 90px 28px 30px;
    box-shadow: -8px 0 30px rgba(0,0,0,0.08);
    transition: right 0.35s var(--ease);
    overflow-y: auto;
    gap: 4px;
    align-items: flex-start;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.02rem;
    border-radius: 12px;
  }

  .nav-links a.active::after { display: none; }

  .nav-links a.active {
    background-color: var(--pink-soft);
  }

  .nav-signup {
    margin-left: 0 !important;
    margin-top: 12px;
    text-align: center;
    width: 100%;
    display: block !important;
    padding: 14px 18px !important;
    font-size: 1.02rem !important;
  }

  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.9rem; }
  .section-header { margin-bottom: 40px; }

  .cards-grid { grid-template-columns: 1fr; gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }

  .page-hero { padding: 60px 0 40px; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero .hero-emoji { font-size: 2.8rem; }

  .footer-content { grid-template-columns: 1fr; gap: 32px; }

  .about-stats { flex-wrap: wrap; gap: 20px; }

  .newsletter-form { flex-direction: column; }

  .wave-divider svg { height: 40px; }
}

@media (max-width: 480px) {
  .logo { font-size: 1.2rem; }
  .page-hero h1 { font-size: 1.6rem; }
  .card-image { height: 170px; font-size: 3.5rem; }
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.6rem; }
}

/* ==========================================================================
   MOBILE MENU OVERLAY
   ========================================================================== */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  backdrop-filter: blur(4px);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   DETAIL LIST (course/guide details)
   ========================================================================== */
.detail-list {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.4s var(--ease-bounce);
}

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

.testimonial-avatar {
  font-size: 3rem;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--text-medium);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.8;
}

.testimonial-name {
  font-weight: 700;
  color: var(--pink);
}

/* ==========================================================================
   AUTH PAGES
   ========================================================================== */
.auth-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 0;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--pink);
}

.auth-tab {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  background: var(--white);
  color: var(--text-medium);
  transition: var(--transition);
}

.auth-tab.active {
  background: var(--pink);
  color: white;
}

.auth-tab:hover:not(.active) {
  background: var(--pink-soft);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-form .form-group { margin-bottom: 20px; }

.auth-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.auth-form input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8e8e8;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.auth-form input:focus {
  border-color: var(--pink);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255,107,157,0.12);
}

.auth-form .btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 8px;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.9rem;
  display: none;
}

.alert.show { display: block; }

.alert-error {
  background: #ffe0e0;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* ==========================================================================
   USER PROFILE
   ========================================================================== */
.profile-hero {
  padding: 80px 0 40px;
  text-align: center;
  background: linear-gradient(160deg, #FFF3BF, #FFD6E8, #C8E6FF);
}

.profile-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.profile-card {
  max-width: 600px;
  margin: -30px auto 40px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.profile-avatar {
  width: 84px;
  height: 84px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: white;
  margin: 0 auto 18px;
}

.profile-info {
  text-align: center;
  margin-bottom: 24px;
}

.profile-info h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.profile-info .profile-email {
  color: var(--text-light);
  font-size: 0.9rem;
}

.profile-info .profile-since {
  color: var(--text-light);
  font-size: 0.82rem;
  margin-top: 4px;
}

.profile-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.profile-section {
  padding: 40px 0;
}

.profile-section h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
}

.purchases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.purchase-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--pink);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
}

.purchase-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.purchase-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.purchase-item .purchase-date { color: var(--text-light); font-size: 0.82rem; margin-bottom: 12px; }
.purchase-item .btn { font-size: 0.85rem; padding: 8px 20px; }

.no-purchases {
  text-align: center;
  color: var(--text-light);
  padding: 40px 20px;
  font-size: 1rem;
}

.no-purchases .empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

/* ==========================================================================
   PURCHASE OVERLAY (Guide Gating)
   ========================================================================== */
.gated-content { display: none; }
.gated-content.unlocked { display: block; }

.purchase-overlay {
  max-width: 600px;
  margin: 40px auto 60px;
  text-align: center;
}

.purchase-overlay-inner {
  background: var(--white);
  border-radius: var(--radius);
  padding: 52px 40px;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255,107,157,0.15);
}

.overlay-lock-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: bounce 2.5s ease-in-out infinite;
}

.purchase-overlay h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.overlay-description {
  color: var(--text-medium);
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.overlay-price { margin-bottom: 24px; }

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--pink);
  display: block;
}

.price-label {
  color: var(--text-light);
  font-size: 0.85rem;
}

.overlay-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
  text-align: left;
}

.overlay-feature {
  padding: 12px 16px;
  background: var(--cream);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-medium);
}

.paypal-button-container {
  max-width: 350px;
  margin: 0 auto;
}

.overlay-auth-message {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.overlay-auth-message p {
  color: var(--text-medium);
  margin-bottom: 14px;
  font-size: 0.9rem;
}

/* Purchase success */
.purchase-success-message {
  max-width: 600px;
  margin: 20px auto;
  padding: 24px;
  background: #d4edda;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid #c3e6cb;
  transition: opacity 0.5s;
}

.purchase-success-message.fade-out { opacity: 0; }
.purchase-success-message .success-icon { font-size: 2.5rem; margin-bottom: 8px; }
.purchase-success-message h3 { color: #155724; margin-bottom: 6px; }
.purchase-success-message p { color: #155724; font-size: 0.9rem; }

/* ==========================================================================
   NAV USER MENU
   ========================================================================== */
.nav-user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: white !important;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
}

.nav-user:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-pink);
}

.nav-logout {
  padding: 6px 14px;
  background: transparent;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.nav-logout:hover {
  border-color: #e74c3c;
  color: #e74c3c;
  background: rgba(231,76,60,0.05);
}

/* Mobile auth */
@media (max-width: 768px) {
  .auth-container { padding: 20px 15px; }
  .profile-card { margin: -20px 15px 30px; padding: 28px; }
  .overlay-features { grid-template-columns: 1fr; }
  .purchase-overlay-inner { padding: 36px 24px; }
  .nav-user-menu { flex-direction: column; gap: 4px; }
}

/* ==========================================================================
   GUIDE PAGE — Custom Properties & Animations
   ========================================================================== */
:root {
  --guide-pink-1:    #FF6B9D;
  --guide-pink-2:    #FFB3D1;
  --guide-lavender-1: #C56CF0;
  --guide-lavender-2: #E4B5F7;
  --guide-green-1:   #5CD85C;
  --guide-green-2:   #B8F0B8;
  --guide-teal-1:    #00B894;
  --guide-teal-2:    #A0E6DA;
  --guide-blue-1:    #54A0FF;
  --guide-blue-2:    #A8D4FF;
  --guide-sky-1:     #74B9FF;
  --guide-sky-2:     #C8E6FF;
  --guide-purple-1:  #6C5CE7;
  --guide-purple-2:  #B2ACF7;
  --guide-magenta-1: #E84393;
  --guide-magenta-2: #F7A8D2;
}

@keyframes pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  70%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50%       { opacity: 0.9;  transform: scale(1.2); }
}

@keyframes drift {
  0%, 100% { transform: translateX(0) translateY(0); }
  33%       { transform: translateX(14px) translateY(-8px); }
  66%       { transform: translateX(-10px) translateY(6px); }
}

@keyframes swing {
  0%, 100% { transform: rotate(-8deg); }
  50%       { transform: rotate(8deg); }
}

@keyframes bubble-rise {
  0%   { transform: translateY(0) scale(1); opacity: 0.7; }
  80%  { opacity: 0.5; }
  100% { transform: translateY(-120px) scale(1.2); opacity: 0; }
}

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

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.faq-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-bounce);
}

.faq-card:hover {
  transform: translateY(-4px);
}

.faq-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.faq-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   COMING SOON PAGE
   ========================================================================== */
.coming-soon {
  text-align: center;
  padding: 80px 20px;
}

.coming-soon .coming-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  display: block;
}

.coming-soon h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.coming-soon p {
  color: var(--text-medium);
  max-width: 500px;
  margin: 0 auto;
  font-size: 1.05rem;
}
