        :root {
            --bg-color: #05050A; /* Deep Space */
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --card-bg: rgba(255, 255, 255, 0.02);
            --card-border: rgba(255, 255, 255, 0.05);
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-main);
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* Ambient Animated Background */
        .ambient-bg {
            position: fixed;
            top: 0; left: 0; width: 100vw; height: 100vh;
            z-index: -1;
            overflow: hidden;
            background: radial-gradient(circle at top, #1e1b4b 0%, #05050A 40%);
        }

        .ambient-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(100px);
            opacity: 0.4;
            animation: float 20s infinite alternate ease-in-out;
        }

        .orb-1 {
            width: 400px; height: 400px;
            background: var(--primary);
            top: -100px; left: -100px;
        }

        .orb-2 {
            width: 500px; height: 500px;
            background: var(--secondary);
            bottom: -200px; right: -100px;
            animation-delay: -5s;
        }

        @keyframes float {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(50px, 50px) scale(1.1); }
        }

        /* Navbar */
        .navbar {
            position: fixed;
            top: 0; left: 0; right: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 40px;
            background: rgba(5, 5, 10, 0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--card-border);
            z-index: 100;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 12px;
            letter-spacing: -0.5px;
        }

        .logo-icon {
            width: 32px; height: 32px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            font-weight: bold;
            box-shadow: 0 0 15px rgba(217, 70, 239, 0.4);
        }

        .nav-links { display: flex; gap: 24px; align-items: center; }
        .nav-link {
            color: var(--text-muted);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }
        .nav-link:hover { color: white; }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 10px 24px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
            border: none;
            cursor: pointer;
        }
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(217, 70, 239, 0.4);
        }

        /* Hero */
        .hero {
            padding: 160px 20px 80px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
        }

        .hero h1 {
            font-size: 5.5rem;
            font-weight: 800;
            line-height: 1.1;
            margin: 0 0 24px 0;
            letter-spacing: -2px;
            background: linear-gradient(to right, #ffffff, #a5b4fc, #f0abfc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
            max-width: 1000px;
            animation: fadeUp 1s ease-out;
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--text-muted);
            max-width: 600px;
            line-height: 1.6;
            margin: 0 0 40px 0;
            animation: fadeUp 1s ease-out 0.2s backwards;
        }

        /* Search Bar */
        .search-container {
            position: relative;
            width: 100%;
            max-width: 650px;
            animation: fadeUp 1s ease-out 0.4s backwards;
        }
        .search-container input {
            width: 100%;
            padding: 20px 32px;
            padding-right: 140px;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--card-border);
            color: white;
            font-size: 1.1rem;
            box-sizing: border-box;
            backdrop-filter: blur(10px);
            transition: all 0.3s;
            box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
        }
        .search-container input:focus {
            outline: none;
            border-color: rgba(99, 102, 241, 0.5);
            background: rgba(255, 255, 255, 0.05);
            box-shadow: 0 0 20px rgba(99, 102, 241, 0.1), inset 0 2px 10px rgba(0,0,0,0.2);
        }
        .search-container .search-btn {
            position: absolute;
            right: 8px; top: 8px; bottom: 8px;
            padding: 0 32px;
        }

        /* Pills */
        .pills {
            display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; justify-content: center;
            animation: fadeUp 1s ease-out 0.6s backwards;
        }
        .pill {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            padding: 8px 20px;
            border-radius: 30px;
            color: #c7d2fe;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s;
        }
        .pill:hover {
            background: rgba(99, 102, 241, 0.15);
            border-color: rgba(99, 102, 241, 0.4);
            color: white;
            transform: translateY(-2px);
        }



        /* Section Global */
        .section {
            padding: 100px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        .section-header {
            text-align: center; margin-bottom: 60px;
        }
        .section-title {
            font-size: 3rem; font-weight: 800; margin: 0 0 16px;
            letter-spacing: -1px;
        }
        .section-subtitle {
            color: var(--text-muted); font-size: 1.15rem; max-width: 600px; margin: 0 auto;
        }

        /* Carousel Track */
        .carousel {
            display: flex; gap: 24px; overflow-x: auto; padding: 20px 10px;
            scroll-snap-type: x mandatory;
        }
        .carousel::-webkit-scrollbar {
            height: 8px;
        }
        .carousel::-webkit-scrollbar-track {
            background: rgba(255,255,255,0.02); border-radius: 4px;
        }
        .carousel::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.1); border-radius: 4px;
        }

        /* Premium Cards */
        .card {
            min-width: 320px; width: 320px;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 20px;
            overflow: hidden;
            display: flex; flex-direction: column;
            scroll-snap-align: start;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            text-decoration: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        .card:hover {
            transform: translateY(-10px) scale(1.02);
            border-color: rgba(99, 102, 241, 0.4);
            box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(99, 102, 241, 0.2);
            z-index: 10;
        }
        
        .card-thumb {
            height: 160px;
            display: flex; align-items: center; justify-content: center;
            position: relative;
        }
        .card-thumb-txt {
            font-size: 2.5rem; font-weight: 800; color: white; opacity: 0.3;
        }
        .card-badge {
            position: absolute; top: 12px; left: 12px;
            background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
            padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
            border: 1px solid rgba(255,255,255,0.1); color: white;
        }
        .card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
        .card-title {
            color: white; font-weight: 700; font-size: 1.2rem; margin: 0 0 12px; line-height: 1.4;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
        }
        .card-author {
            display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px;
        }
        .card-meta {
            margin-top: auto; display: flex; justify-content: space-between; align-items: center;
            padding-top: 16px; border-top: 1px solid var(--card-border);
        }
        .rating { display: flex; align-items: center; gap: 6px; color: #f59e0b; font-weight: 700; }
        .rating svg { fill: #f59e0b; width: 16px; height: 16px; }
        
        .card-overlay {
            position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(5, 5, 10, 0.8); backdrop-filter: blur(4px);
            display: flex; align-items: center; justify-content: center;
            opacity: 0; transition: opacity 0.3s;
        }
        .card:hover .card-overlay { opacity: 1; }
        .card-overlay-btn {
            background: white; color: #05050A; padding: 12px 24px; border-radius: 50px;
            font-weight: 700; transform: translateY(20px); transition: transform 0.3s;
        }
        .card:hover .card-overlay-btn { transform: translateY(0); }

        /* Feature Grid */
        .features-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px;
        }
        .feat-card {
            background: var(--card-bg); border: 1px solid var(--card-border);
            padding: 40px 32px; border-radius: 24px; text-align: center;
            transition: transform 0.3s;
        }
        .feat-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.1); }
        .feat-icon {
            width: 64px; height: 64px; margin: 0 auto 24px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(217, 70, 239, 0.2));
            border-radius: 16px; display: flex; align-items: center; justify-content: center;
            color: #c084fc; border: 1px solid rgba(217, 70, 239, 0.2);
        }

        /* CTA */
        .cta-section {
            margin: 100px auto; max-width: 1200px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(217, 70, 239, 0.1));
            border: 1px solid rgba(255,255,255,0.05);
            border-radius: 32px; padding: 80px 40px; text-align: center;
            position: relative; overflow: hidden;
        }
        .cta-section::before {
            content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
            background: radial-gradient(circle, rgba(217, 70, 239, 0.1) 0%, transparent 50%);
            z-index: 0; pointer-events: none;
        }

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

        .profile-menu { position: relative; display: inline-block; }
        .profile-circle { 
            width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; cursor: pointer;
            user-select: none;
        }
        .profile-dropdown {
            position: absolute; right: 0; top: 55px; background: #13131c; border: 1px solid var(--card-border);
            border-radius: 12px; padding: 8px 0; width: 180px; display: none; z-index: 100;
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
        }
        .profile-dropdown.active { display: block; }
        .profile-dropdown a {
            display: block; padding: 10px 20px; color: var(--text-main); text-decoration: none; font-size: 0.9rem;
            transition: background 0.2s;
        }
        .profile-dropdown a:hover { background: rgba(255,255,255,0.05); }

        @media(max-width: 768px) {
            .hero h1 { font-size: 3rem; }
            .card { min-width: 280px; width: 280px; }
            .nav-link { display: none; }
        }
