        :root {
            --primary-blue: #4F46E5;
            --primary-purple: #7C3AED;
            --primary-pink: #EC4899;
            --primary-orange: #F97316;
            --primary-green: #10B981;
            --primary-cyan: #06B6D4;
            --primary-yellow: #FBBF24;
            --dark-blue: #1E1B4B;
            --light-bg: #F8FAFC;
            --white: #FFFFFF;
            --text-dark: #1E293B;
            --text-muted: #64748B;
            --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
            --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
            --shadow-color: 0 8px 30px rgba(79, 70, 229, 0.3);
            --border-radius: 20px;
            --border-radius-lg: 32px;
        }

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

        html {
            scroll-behavior: smooth;
        }

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

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: 'Fredoka', sans-serif;
        }

        /* Navbar */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            padding: 1rem 2rem;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            padding: 0.75rem 2rem;
            box-shadow: var(--shadow-md);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

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

        .logo-icon {
            width: 48px;
            height: 48px;
            background: var(--gradient-1);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-color);
            position: relative;
            overflow: hidden;
        }

        .logo-icon::before {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 6px;
            transform: rotate(10deg);
        }

        .logo-icon::after {
            content: '';
            position: absolute;
            width: 12px;
            height: 12px;
            background: var(--primary-yellow);
            border-radius: 4px;
            top: 8px;
            right: 8px;
        }

        .logo-text {
            font-family: 'Fredoka', sans-serif;
            font-size: 1.75rem;
            font-weight: 700;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

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

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 600;
            font-size: 1rem;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--gradient-1);
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--primary-purple);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

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

        .user-avatar-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--gradient-1);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s ease;
            color: white;
            font-weight: 700;
            position: relative;
            /* Essential for overlaying image */
        }

        .user-avatar-btn:hover {
            transform: scale(1.05);
        }

        .user-avatar-btn img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* User Menu Dropdown */
        .user-menu-container {
            position: relative;
        }

        .dropdown-menu {
            position: absolute;
            top: 120%;
            right: 0;
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            min-width: 260px;
            padding: 1rem;
            display: none;
            /* Hidden by default */
            flex-direction: column;
            gap: 0.5rem;
            z-index: 1001;
            transform-origin: top right;
            animation: scaleIn 0.2s ease-out;
        }

        .dropdown-menu.active {
            display: flex;
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .dropdown-header {
            padding: 0.5rem 1rem 1rem;
            border-bottom: 1px solid #f1f5f9;
            margin-bottom: 0.5rem;
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .dropdown-header .user-name {
            font-weight: 700;
            color: var(--dark-blue);
            font-size: 1rem;
        }

        .dropdown-header .user-email {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            border-radius: 10px;
            color: var(--text-dark);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .dropdown-item i {
            width: 20px;
            text-align: center;
            color: var(--primary-purple);
        }

        .dropdown-item:hover {
            background: #F8FAFC;
            color: var(--primary-purple);
            transform: translateX(5px);
        }

        .dropdown-item.danger {
            color: #EF4444;
        }

        .dropdown-item.danger i {
            color: #EF4444;
        }

        .dropdown-item.danger:hover {
            background: #FEF2F2;
        }

        .btn {
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-family: 'Quicksand', sans-serif;
            font-weight: 700;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            border: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-ghost {
            background: transparent;
            color: var(--text-dark);
        }

        .btn-ghost:hover {
            background: rgba(79, 70, 229, 0.1);
            color: var(--primary-purple);
        }

        .btn-primary {
            background: var(--gradient-1);
            color: white;
            box-shadow: var(--shadow-color);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(79, 70, 229, 0.4);
        }

        .btn-secondary {
            background: white;
            color: var(--primary-purple);
            border: 2px solid var(--primary-purple);
        }

        .btn-secondary:hover {
            background: var(--primary-purple);
            color: white;
        }

        .btn-large {
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
        }

        .mobile-menu-btn span {
            display: block;
            width: 28px;
            height: 3px;
            background: var(--text-dark);
            margin: 6px 0;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            background: linear-gradient(180deg, #EEF2FF 0%, #F8FAFC 100%);
            position: relative;
            overflow: hidden;
            padding: 8rem 2rem 4rem;
            display: flex;
            align-items: center;
        }

        .hero-bg-shapes {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            overflow: hidden;
        }

        .shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.6;
            animation: float 6s ease-in-out infinite;
        }

        .shape-1 {
            width: 400px;
            height: 400px;
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(124, 58, 237, 0.1));
            top: -100px;
            right: -100px;
            animation-delay: 0s;
        }

        .shape-2 {
            width: 300px;
            height: 300px;
            background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(249, 115, 22, 0.1));
            bottom: -50px;
            left: -100px;
            animation-delay: 2s;
        }

        .shape-3 {
            width: 200px;
            height: 200px;
            background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.1));
            top: 40%;
            left: 10%;
            animation-delay: 4s;
        }

        .shape-4 {
            width: 150px;
            height: 150px;
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(249, 115, 22, 0.15));
            top: 20%;
            right: 20%;
            animation-delay: 1s;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-30px) rotate(5deg);
            }
        }

        .hero-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-content {
            animation: slideInLeft 0.8s ease-out;
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: white;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--primary-purple);
            box-shadow: var(--shadow-md);
            margin-bottom: 1.5rem;
            animation: bounce 2s ease-in-out infinite;
        }

        @keyframes bounce {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-5px);
            }
        }

        .hero-badge span {
            font-size: 1.2rem;
        }

        .hero-title {
            font-size: 4rem;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            color: var(--dark-blue);
        }

        .hero-title .highlight {
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
        }

        .hero-title .highlight-2 {
            background: var(--gradient-2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-description {
            font-size: 1.25rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            max-width: 500px;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .hero-stats {
            display: flex;
            gap: 3rem;
            margin-top: 3rem;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-family: 'Fredoka', sans-serif;
            font-size: 2.5rem;
            font-weight: 700;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 600;
        }

        .hero-visual {
            position: relative;
            animation: slideInRight 0.8s ease-out;
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .hero-mockup {
            background: white;
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-lg);
            padding: 1.5rem;
            position: relative;
            transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
            transition: transform 0.5s ease;
        }

        .hero-mockup:hover {
            transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
        }

        .mockup-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #F1F5F9;
            margin-bottom: 1rem;
        }

        .mockup-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .mockup-dot.red {
            background: #EF4444;
        }

        .mockup-dot.yellow {
            background: #FBBF24;
        }

        .mockup-dot.green {
            background: #10B981;
        }

        .mockup-title {
            margin-left: 1rem;
            font-weight: 600;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .mockup-content {
            display: grid;
            grid-template-columns: 200px 1fr;
            gap: 1rem;
            min-height: 350px;
        }

        .blocks-panel {
            background: #F8FAFC;
            border-radius: 16px;
            padding: 1rem;
        }

        .blocks-panel h4 {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .block-item {
            padding: 0.75rem 1rem;
            border-radius: 12px;
            margin-bottom: 0.5rem;
            font-size: 0.85rem;
            font-weight: 600;
            color: white;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .block-item:hover {
            transform: translateX(5px);
            box-shadow: var(--shadow-md);
        }

        .block-motion {
            background: var(--primary-blue);
        }

        .block-looks {
            background: var(--primary-purple);
        }

        .block-sound {
            background: var(--primary-pink);
        }

        .block-events {
            background: var(--primary-orange);
        }

        .block-control {
            background: var(--primary-yellow);
            color: var(--text-dark);
        }

        .block-sensing {
            background: var(--primary-cyan);
        }

        .code-area {
            background: #1E1B4B;
            border-radius: 16px;
            padding: 1.5rem;
            position: relative;
            overflow: hidden;
        }

        .code-blocks {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .code-block {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            border-radius: 10px;
            font-size: 0.85rem;
            font-weight: 600;
            color: white;
            animation: slideIn 0.5s ease-out forwards;
            opacity: 0;
        }

        .code-block:nth-child(1) {
            animation-delay: 0.2s;
        }

        .code-block:nth-child(2) {
            animation-delay: 0.4s;
        }

        .code-block:nth-child(3) {
            animation-delay: 0.6s;
        }

        .code-block:nth-child(4) {
            animation-delay: 0.8s;
        }

        .code-block:nth-child(5) {
            animation-delay: 1s;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .code-block.nested {
            margin-left: 1.5rem;
        }

        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
        }

        .floating-block {
            position: absolute;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-size: 0.75rem;
            font-weight: 600;
            color: white;
            box-shadow: var(--shadow-md);
            animation: floatBlock 4s ease-in-out infinite;
        }

        .floating-block-1 {
            background: var(--primary-green);
            top: -30px;
            right: 20px;
            animation-delay: 0s;
        }

        .floating-block-2 {
            background: var(--primary-pink);
            bottom: -20px;
            left: -30px;
            animation-delay: 1s;
        }

        .floating-block-3 {
            background: var(--primary-orange);
            top: 50%;
            right: -40px;
            animation-delay: 2s;
        }

        @keyframes floatBlock {

            0%,
            100% {
                transform: translateY(0) rotate(-5deg);
            }

            50% {
                transform: translateY(-15px) rotate(5deg);
            }
        }

        /* Features Section */
        .features {
            padding: 6rem 2rem;
            background: white;
            position: relative;
        }

        .section-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-badge {
            display: inline-block;
            background: var(--gradient-1);
            color: white;
            padding: 0.5rem 1.25rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .section-title {
            font-size: 3rem;
            font-weight: 700;
            color: var(--dark-blue);
            margin-bottom: 1rem;
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: var(--text-muted);
            max-width: 600px;
            margin: 0 auto;
        }

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

        .feature-card {
            background: var(--light-bg);
            border-radius: var(--border-radius);
            padding: 2.5rem;
            text-align: center;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-1);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
            background: white;
        }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2.5rem;
            transition: transform 0.4s ease;
        }

        .feature-card:hover .feature-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .feature-icon.blue {
            background: linear-gradient(135deg, #E0E7FF, #C7D2FE);
        }

        .feature-icon.purple {
            background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
        }

        .feature-icon.pink {
            background: linear-gradient(135deg, #FCE7F3, #FBCFE8);
        }

        .feature-icon.green {
            background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
        }

        .feature-icon.orange {
            background: linear-gradient(135deg, #FFEDD5, #FED7AA);
        }

        .feature-icon.cyan {
            background: linear-gradient(135deg, #CFFAFE, #A5F3FC);
        }

        .feature-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark-blue);
            margin-bottom: 0.75rem;
        }

        .feature-description {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.7;
        }

        /* Notebooks Section */
        .notebooks {
            padding: 6rem 2rem;
            background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
            position: relative;
            overflow: hidden;
        }

        .notebooks-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .notebooks-visual {
            position: relative;
        }

        .notebook-preview {
            position: relative;
            z-index: 2;
        }

        .notebook-card {
            background: white;
            border-radius: var(--border-radius-lg);
            padding: 1.5rem;
            box-shadow: var(--shadow-lg);
            position: relative;
            transition: transform 0.4s ease;
        }

        .notebook-card:hover {
            transform: translateY(-10px);
        }

        .notebook-main {
            position: relative;
            z-index: 3;
        }

        .notebook-secondary {
            position: absolute;
            top: -20px;
            right: -30px;
            transform: rotate(5deg) scale(0.9);
            z-index: 2;
            opacity: 0.8;
        }

        .notebook-tertiary {
            position: absolute;
            top: -35px;
            right: -50px;
            transform: rotate(10deg) scale(0.8);
            z-index: 1;
            opacity: 0.6;
        }

        .notebook-cover {
            height: 200px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            position: relative;
            overflow: hidden;
        }

        .notebook-cover.gradient-1 {
            background: var(--gradient-1);
        }

        .notebook-cover.gradient-2 {
            background: var(--gradient-2);
        }

        .notebook-cover.gradient-3 {
            background: var(--gradient-3);
        }

        .notebook-cover-icon {
            font-size: 4rem;
            opacity: 0.9;
        }

        .notebook-info h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--dark-blue);
            margin-bottom: 0.5rem;
        }

        .notebook-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .notebook-meta span {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .notebooks-content h2 {
            font-size: 3rem;
            font-weight: 700;
            color: var(--dark-blue);
            margin-bottom: 1.5rem;
        }

        .notebooks-content h2 .highlight {
            background: var(--gradient-2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .notebooks-content p {
            font-size: 1.15rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .notebooks-features {
            display: grid;
            gap: 1.25rem;
            margin-bottom: 2rem;
        }

        .notebook-feature {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            padding: 1rem;
            background: white;
            border-radius: 16px;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
        }

        .notebook-feature:hover {
            transform: translateX(10px);
            box-shadow: var(--shadow-md);
        }

        .notebook-feature-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .notebook-feature-icon.blue {
            background: #E0E7FF;
        }

        .notebook-feature-icon.green {
            background: #D1FAE5;
        }

        .notebook-feature-icon.purple {
            background: #EDE9FE;
        }

        .notebook-feature-text h4 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--dark-blue);
            margin-bottom: 0.25rem;
        }

        .notebook-feature-text p {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin: 0;
        }

        /* Challenges Section */
        /* Challenges CTA Section */
        .challenges-cta {
            padding: 6rem 2rem;
            background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4C1D95 100%);
            position: relative;
            overflow: hidden;
        }

        .challenges-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 10% 90%, rgba(124, 58, 237, 0.4) 0%, transparent 40%),
                radial-gradient(circle at 90% 10%, rgba(236, 72, 153, 0.3) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 60%);
            pointer-events: none;
        }

        .challenges-cta-container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .challenges-cta-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .challenges-cta-text {
            color: white;
        }

        .challenges-cta-text .section-badge {
            background: linear-gradient(135deg, #F59E0B, #FBBF24);
            color: #1E1B4B;
        }

        .challenges-cta-title {
            font-family: 'Fredoka', sans-serif;
            font-size: 3rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .challenges-cta-title .highlight {
            background: linear-gradient(135deg, #F59E0B, #FBBF24, #F97316);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .challenges-cta-description {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.7;
            margin-bottom: 2rem;
        }

        .challenges-cta-stats {
            display: flex;
            gap: 2rem;
            margin-bottom: 2.5rem;
        }

        .cta-stat {
            text-align: center;
        }

        .cta-stat-number {
            font-family: 'Fredoka', sans-serif;
            font-size: 2.5rem;
            font-weight: 700;
            color: #FBBF24;
            line-height: 1;
        }

        .cta-stat-label {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
            margin-top: 0.5rem;
        }

        .challenges-cta-btn {
            background: linear-gradient(135deg, #F59E0B, #F97316) !important;
            color: white !important;
            padding: 1rem 2.5rem !important;
            font-size: 1.1rem !important;
            box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
        }

        .challenges-cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 40px rgba(245, 158, 11, 0.5);
        }

        /* Challenge Preview Card */
        .challenges-cta-visual {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .challenge-preview-card {
            background: white;
            border-radius: 24px;
            padding: 2rem;
            width: 100%;
            max-width: 320px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: rotate(3deg);
            transition: transform 0.4s ease;
        }

        .challenge-preview-card:hover {
            transform: rotate(0deg) scale(1.02);
        }

        .preview-header {
            margin-bottom: 1.5rem;
        }

        .preview-badge {
            background: linear-gradient(135deg, #F59E0B, #F97316);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 800;
            letter-spacing: 1px;
        }

        .preview-robot {
            font-size: 5rem;
            text-align: center;
            margin: 1.5rem 0;
            animation: bounce 2s ease-in-out infinite;
        }

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

        .preview-content h4 {
            font-family: 'Fredoka', sans-serif;
            font-size: 1.2rem;
            color: var(--dark-blue);
            text-align: center;
            margin-bottom: 1rem;
        }

        .preview-levels {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .preview-levels .level {
            padding: 0.4rem 0.8rem;
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 700;
        }

        .preview-levels .level.easy {
            background: #D1FAE5;
            color: #065F46;
        }

        .preview-levels .level.medium {
            background: #FEF3C7;
            color: #92400E;
        }

        .preview-levels .level.hard {
            background: #FEE2E2;
            color: #991B1B;
        }

        /* Floating Badges */
        .floating-badges {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .floating-badge {
            position: absolute;
            background: white;
            padding: 0.5rem 1rem;
            border-radius: 12px;
            font-weight: 700;
            font-size: 0.9rem;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            animation: float 4s ease-in-out infinite;
        }

        .floating-badge.badge-1 {
            top: 10%;
            right: 0;
            background: linear-gradient(135deg, #10B981, #059669);
            color: white;
            animation-delay: 0s;
        }

        .floating-badge.badge-2 {
            bottom: 20%;
            left: 0;
            font-size: 1.5rem;
            animation-delay: 1s;
        }

        .floating-badge.badge-3 {
            top: 50%;
            right: -10%;
            background: linear-gradient(135deg, #7C3AED, #5B21B6);
            color: white;
            animation-delay: 2s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-15px) rotate(3deg); }
        }

        /* Responsive */
        @media (max-width: 900px) {
            .challenges-cta-content {
                grid-template-columns: 1fr;
                gap: 3rem;
                text-align: center;
            }

            .challenges-cta-title {
                font-size: 2.25rem;
            }

            .challenges-cta-stats {
                justify-content: center;
            }

            .challenges-cta-visual {
                order: -1;
            }

            .challenge-preview-card {
                transform: rotate(0deg);
            }

            .floating-badges {
                display: none;
            }
        }

        /* Discover Section */
        .discover {
            padding: 6rem 2rem;
            background: white;
        }

        .discover-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .discover-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 3rem;
        }

        .discover-tabs {
            display: flex;
            gap: 0.5rem;
            background: var(--light-bg);
            padding: 0.5rem;
            border-radius: 50px;
        }

        .discover-tab {
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            border: none;
            background: transparent;
            font-family: 'Quicksand', sans-serif;
            font-weight: 600;
            color: var(--text-muted);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .discover-tab.active {
            background: white;
            color: var(--primary-purple);
            box-shadow: var(--shadow-sm);
        }

        .discover-tab:hover:not(.active) {
            color: var(--text-dark);
        }

        .discover-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }

        .project-card {
            background: var(--light-bg);
            border-radius: var(--border-radius);
            overflow: hidden;
            transition: all 0.4s ease;
            cursor: pointer;
        }

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

        .project-thumbnail {
            height: 180px;
            position: relative;
            overflow: hidden;
        }

        .project-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .project-card:hover .project-thumbnail img {
            transform: scale(1.1);
        }

        .project-thumbnail-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
        }

        .project-thumbnail-placeholder.bg-1 {
            background: var(--gradient-1);
        }

        .project-thumbnail-placeholder.bg-2 {
            background: var(--gradient-2);
        }

        .project-thumbnail-placeholder.bg-3 {
            background: var(--gradient-3);
        }

        .project-thumbnail-placeholder.bg-4 {
            background: linear-gradient(135deg, #10B981, #06B6D4);
        }

        .project-play {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: var(--primary-purple);
            box-shadow: var(--shadow-lg);
            transition: transform 0.3s ease;
        }

        .project-card:hover .project-play {
            transform: translate(-50%, -50%) scale(1);
        }

        .project-info {
            padding: 1.25rem;
        }

        .project-info h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--dark-blue);
            margin-bottom: 0.5rem;
        }

        .project-author {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
        }

        .project-author-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--gradient-1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            position: relative;
        }

        .project-author-name {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .project-stats {
            display: flex;
            gap: 1rem;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .project-stats span {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        /* Testimonials */
        .testimonials {
            padding: 6rem 2rem;
            background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 100%);
        }

        .testimonials-container {
            max-width: 1400px;
            margin: 0 auto;
        }

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

        .testimonial-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--shadow-md);
            position: relative;
            transition: all 0.4s ease;
        }

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

        .testimonial-quote {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            font-size: 3rem;
            color: var(--primary-purple);
            opacity: 0.2;
            font-family: Georgia, serif;
        }

        .testimonial-content {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 1.5rem;
            font-style: italic;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .testimonial-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .testimonial-avatar.bg-1 {
            background: linear-gradient(135deg, #E0E7FF, #C7D2FE);
        }

        .testimonial-avatar.bg-2 {
            background: linear-gradient(135deg, #FCE7F3, #FBCFE8);
        }

        .testimonial-avatar.bg-3 {
            background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
        }

        .testimonial-info h4 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--dark-blue);
            margin-bottom: 0.25rem;
        }

        .testimonial-info p {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        /* CTA Section */
        .cta {
            padding: 6rem 2rem;
            background: var(--gradient-1);
            position: relative;
            overflow: hidden;
        }

        .cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        .cta-container {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .cta-title {
            font-size: 3.5rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1.5rem;
        }

        .cta-description {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-white {
            background: white;
            color: var(--primary-purple);
            box-shadow: var(--shadow-lg);
        }

        .btn-white:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }

        .btn-outline-white {
            background: transparent;
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.5);
        }

        .btn-outline-white:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: white;
        }

        .cta-note {
            margin-top: 2rem;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }

        /* Footer */
        .footer {
            background: var(--dark-blue);
            padding: 4rem 2rem 2rem;
            color: white;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .footer-main {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 2rem;
            padding-bottom: 3rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-brand {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .footer-brand .logo {
            margin-bottom: 1.5rem;
        }

        .footer-brand .logo-text {
            color: white;
            -webkit-text-fill-color: white;
        }

        .footer-description {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 1.5rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        .footer-social {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.25rem;
        }

        .social-link:hover {
            background: var(--primary-purple);
            transform: translateY(-3px);
        }

        .footer-column h4 {
            display: none;
            /* Hide 'Plataforma' title for cleaner centered look */
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 2rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s ease;
        }

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

        .footer-bottom {
            padding-top: 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .footer-copyright {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }

        .footer-legal {
            display: flex;
            gap: 2rem;
        }

        .footer-legal a {
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }

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

        /* Responsive */
        @media (max-width: 1200px) {
            .hero-container {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-content {
                order: 1;
            }

            .hero-visual {
                order: 2;
            }

            .hero-description {
                margin: 0 auto 2rem;
            }

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

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

            .notebooks-container {
                grid-template-columns: 1fr;
            }

            .notebooks-visual {
                order: 1;
            }

            .notebooks-content {
                order: 2;
                text-align: center;
            }

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

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

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

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

        /* Tablet & Mobile Navigation */
        @media (max-width: 992px) {
            .navbar {
                padding: 1rem;
            }

            .nav-links {
                display: none;
            }

            .nav-actions {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }
        }

        @media (max-width: 768px) {
            /* Styles already handled by 992px query:
               - Navbar padding
               - Hiding nav-links/actions
               - Showing mobile-menu-btn
            */


            .hero {
                padding: 6rem 1rem 3rem;
            }

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

            .hero-mockup {
                transform: none;
            }

            .mockup-content {
                grid-template-columns: 1fr;
            }

            .hero-stats {
                gap: 1.5rem;
            }

            .stat-number {
                font-size: 2rem;
            }

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

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

            .discover-header {
                flex-direction: column;
                gap: 1.5rem;
            }

            .discover-tabs {
                width: 100%;
                overflow-x: auto;
                white-space: nowrap;
                justify-content: flex-start;
                -webkit-overflow-scrolling: touch;
                /* Hide scrollbar */
                -ms-overflow-style: none;
                scrollbar-width: none;
                padding-bottom: 5px;
                /* Prevent scrollbar clipping */
            }

            .discover-tabs::-webkit-scrollbar {
                display: none;
            }

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

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

            /* Improved Mobile Challenge Cards */
            .challenge-card {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
                padding: 1.5rem 1rem;
            }

            .challenge-icon {
                margin: 0 auto;
            }

            .challenge-tags {
                justify-content: center;
                margin-top: 0.5rem;
            }

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

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

            .footer-main {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-brand .logo {
                justify-content: center;
            }

            .footer-social {
                justify-content: center;
            }

            .footer-bottom {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }
        }

        /* Mobile Menu */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: white;
            z-index: 999;
            padding: 2rem;
            flex-direction: column;
        }

        .mobile-menu.active {
            display: flex;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .mobile-menu-close {
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: var(--text-dark);
        }

        .mobile-menu-links {
            list-style: none;
            display: grid;
            gap: 1.5rem;
        }

        .mobile-menu-links a {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-dark);
            text-decoration: none;
        }

        .mobile-menu-actions {
            margin-top: auto;
            display: grid;
            gap: 1rem;
        }

        /* Animations on scroll */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease-out;
        }

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }

