  /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

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

    .delay-1 { animation-delay: 0.1s; opacity: 0; }
    .delay-2 { animation-delay: 0.2s; opacity: 0; }
    .delay-3 { animation-delay: 0.3s; opacity: 0; }

    /* Feature card hover effect */
    .feature-card {
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }

    /* Curved decorative background */
    .feature-card .card-curve {
      position: absolute;
      top: 0;
      left: 0;
      width: 120px;
      height: 120px;
      border-radius: 0 0 100% 0;
      opacity: 0.15;
      transition: all 0.3s ease;
    }

    .feature-card:hover .card-curve {
      width: 140px;
      height: 140px;
      opacity: 0.25;
    }

    .feature-card .card-curve-inner {
      position: absolute;
      top: 0;
      left: 0;
      width: 80px;
      height: 80px;
      border-radius: 0 0 100% 0;
      opacity: 0.3;
    }

    /* Color variants */
    .card-curve.indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }
    .card-curve.purple { background: linear-gradient(135deg, #a855f7, #9333ea); }
    .card-curve.pink { background: linear-gradient(135deg, #ec4899, #db2777); }
    .card-curve.green { background: linear-gradient(135deg, #22c55e, #16a34a); }
    .card-curve.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }

    .card-curve-inner.indigo { background: #6366f1; }
    .card-curve-inner.purple { background: #a855f7; }
    .card-curve-inner.pink { background: #ec4899; }
    .card-curve-inner.green { background: #22c55e; }
    .card-curve-inner.blue { background: #3b82f6; }

    /* Accent line on left */
    .feature-card .card-accent {
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      border-radius: 2xl 0 0 2xl;
    }

    .card-accent.indigo { background: linear-gradient(180deg, #6366f1, #a5b4fc); }
    .card-accent.purple { background: linear-gradient(180deg, #a855f7, #d8b4fe); }
    .card-accent.pink { background: linear-gradient(180deg, #ec4899, #f9a8d4); }
    .card-accent.green { background: linear-gradient(180deg, #22c55e, #86efac); }
    .card-accent.blue { background: linear-gradient(180deg, #3b82f6, #93c5fd); }

    /* Carousel */
    .carousel-container {
      display: flex;
      gap: 1rem;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      padding-bottom: 1rem;
    }

    .carousel-container::-webkit-scrollbar {
      display: none;
    }

    .carousel-item {
      scroll-snap-align: start;
      flex: 0 0 calc(100% - 1rem);
    }

    @media (min-width: 640px) {
      .carousel-item {
        flex: 0 0 calc(50% - 0.75rem);
      }
    }

    @media (min-width: 1024px) {
      .carousel-item {
        flex: 0 0 calc(25% - 0.75rem);
      }
    }

    /* Character card backgrounds */
    .character-card[data-character="george&jeremy"] {
      background: linear-gradient(135deg, rgba(255, 183, 3, 0.65), rgba(255, 102, 102, 0.65));
      border-color: #f59e0b;
    }

    .character-card[data-character="laura"] {
      background: linear-gradient(135deg, rgba(236, 72, 153, 0.7), rgba(251, 113, 133, 0.7), rgba(253, 186, 116, 0.7));
      border-color: #ec4899;
    }

    .character-card[data-character="arnold"] {
      background: linear-gradient(135deg, rgba(33, 97, 255, 0.75), rgba(255, 115, 0, 0.55));
      border-color: #ff7300;
    }

    .character-card[data-character="chris&tammy"] {
      background: linear-gradient(135deg, rgba(91, 33, 182, 0.65), rgba(72, 72, 74, 0.65));
      border-color: #5b21b6;
    }

    .character-card {
      transition: all 0.3s ease;
    }

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

    /* Audio player button */
    .play-btn {
      transition: all 0.2s ease;
    }

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


    /* Toggle switch */
    .toggle-dot {
      transition: transform 0.3s ease;
    }

    /* ===== HERO SECTION - Clean Duolingo-inspired ===== */
    .hero-section {
      background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 50%, #faf5ff 100%);
      min-height: 70vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    /* Gradient text for headline */
    .hero-gradient-text {
      background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* Primary CTA button */
    .hero-btn-primary {
      background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
      box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
    }

    .hero-btn-primary:hover {
      box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    }

    /* Floating decorative shapes */
    .hero-shape {
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
    }

    .hero-shape-1 {
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
      top: 10%;
      left: -100px;
      animation: float 8s ease-in-out infinite;
    }

    .hero-shape-2 {
      width: 200px;
      height: 200px;
      background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
      top: 60%;
      right: -50px;
      animation: float 6s ease-in-out infinite reverse;
    }

    .hero-shape-3 {
      width: 120px;
      height: 120px;
      background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
      bottom: 20%;
      left: 10%;
      animation: float 7s ease-in-out infinite 1s;
    }

    .hero-shape-4 {
      width: 80px;
      height: 80px;
      background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
      top: 25%;
      right: 15%;
      animation: float 5s ease-in-out infinite 0.5s;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(-20px) scale(1.05); }
    }

    /* Mascot container */
    .hero-mascot-container {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    /* Subtle glow behind mascot */
    .hero-mascot-glow {
      position: absolute;
      width: 80%;
      height: 80%;
      background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
      border-radius: 50%;
      filter: blur(40px);
    }

    /* Mascot image styling */
    .hero-mascot {
      filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.15));
      animation: mascotBounce 4s ease-in-out infinite;
    }

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

    /* Floating badges around mascot */
    .hero-badge {
      position: absolute;
      display: flex;
      align-items: center;
      gap: 6px;
      background: white;
      padding: 8px 14px;
      border-radius: 50px;
      font-size: 13px;
      font-weight: 600;
      color: #374151;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      border: 1px solid rgba(99, 102, 241, 0.1);
      white-space: nowrap;
      z-index: 20;
    }

    .hero-badge i {
      font-size: 14px;
    }

    .hero-badge-1 {
      top: 15%;
      right: 5%;
      animation: badgeFloat 5s ease-in-out infinite;
    }

    .hero-badge-2 {
      bottom: 25%;
      left: 0%;
      animation: badgeFloat 6s ease-in-out infinite 0.5s;
    }

    .hero-badge-3 {
      bottom: 10%;
      right: 10%;
      animation: badgeFloat 5.5s ease-in-out infinite 1s;
    }

    @keyframes badgeFloat {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-8px) rotate(2deg); }
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
      }

      .hero-badge {
        display: none;
      }
    }

    @media (max-width: 640px) {
      .hero-mascot {
        max-width: 280px;
      }
    }

    /* ===== HERO WAVES - Layered brand color transition ===== */
    .hero-waves {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 120px;
      overflow: hidden;
    }

    .hero-wave {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    /* Back wave - deep indigo */
    .hero-wave-1 path {
      fill: rgba(99, 102, 241, 0.15);
    }

    /* Middle-back wave - purple blend */
    .hero-wave-2 path {
      fill: rgba(139, 92, 246, 0.12);
    }

    /* Middle-front wave - light purple */
    .hero-wave-3 path {
      fill: rgba(167, 139, 250, 0.1);
    }

    /* Front wave - fades to section background */
    .hero-wave-4 path {
      fill: #f9fafb;
    }

    @media (max-width: 768px) {
      .hero-waves {
        height: 80px;
      }
    }

    /* ===== MOBILE NAV ===== */
    #mobile-menu {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
    }

    #mobile-menu.open {
      max-height: 500px;
    }

    .mobile-nav-link {
      transform: translateX(-10px);
      opacity: 0;
      transition: all 0.2s ease-out;
    }

    #mobile-menu.open .mobile-nav-link {
      transform: translateX(0);
      opacity: 1;
    }

    #mobile-menu.open .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
    #mobile-menu.open .mobile-nav-link:nth-child(2) { transition-delay: 0.1s; }
    #mobile-menu.open .mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
    #mobile-menu.open .mobile-nav-link:nth-child(4) { transition-delay: 0.2s; }

    /* Extra small breakpoint for logo text */
    @media (min-width: 475px) {
      .xs\:inline { display: inline; }
    }
    @media (max-width: 474px) {
      .hidden.xs\:inline { display: none; }
    }