:root {
    --primary: #00ff90;
    --primary-rgb: 0, 255, 144;
    --primary-glow: rgba(0, 255, 144, 0.3);
    --secondary: #00d1ff;
    --secondary-rgb: 0, 209, 255;
    --accent: #a855f7;
    --bg: #030712;
    --bg-darker: #010309;
    --glass: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #f9fafb;
    --text-sub: #94a3b8;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2v-4h4v-2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.btn {
    padding: 12px 28px;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-head);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    box-shadow: 0 8px 20px -6px var(--primary-glow);
    font-weight: 800;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 30px -10px var(--primary-glow);
    filter: brightness(1.2) hue-rotate(10deg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.15rem;
}

header {
    padding: 24px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    display: flex;
    justify-content: center;
}

nav.site-nav {
    max-width: 900px;
    width: 100%;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 99px;
    box-shadow: 0 4px 50px rgba(0, 0, 0, 0.5);
}

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

.nav-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: contain;
}

.glow-text {
    background: linear-gradient(135deg, #f9fafb, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    opacity: 1;
}

/* Dropdown CSS */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    min-width: 140px;
    border-radius: 12px;
    margin-top: 10px;
    padding: 8px 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

/* Invisible bridge so mouse doesn't lose hover over the margin gap */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    text-align: center;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.05);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-btn {
    cursor: default;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hero {
    min-height: 100vh;
    padding: 180px 24px 80px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-family: var(--font-head);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -2px;
}

.accent {
    color: var(--primary);
    position: relative;
    text-shadow: 0 0 40px var(--primary-glow);
}

.hero-content p {
    font-size: 1.35rem;

    color: var(--text-sub);
    margin-bottom: 40px;
    max-width: 650px;
    line-height: 1.5;
}

/* Better Footer */
.footer-section {
    margin-top: 150px;
    padding: 80px 24px 0;
    border-radius: 40px 40px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 80px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    font-family: var(--font-head);
}

.footer-brand p {
    color: var(--text-sub);
    font-size: 1rem;
    margin-bottom: 24px;
}

.social-icons {
    display: flex;
    gap: 20px;
    font-size: 1.4rem;
}

.social-icons a {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-4px);
}

.footer-links h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-sub);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 30px 0;
    text-align: center;
    color: var(--text-sub);
    font-size: 0.9rem;
}


.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(60px);
    border-radius: 50%;
}

.hero-visual img {
    max-width: 90%;
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

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

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

.section-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.03);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.feature-card h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.search-bar {
    max-width: 500px;
    margin: 0 auto 40px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 99px;
}

.search-bar input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    font-size: 1rem;
    outline: none;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.command-card {
    padding: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.command-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: scale(1.01);
}

.cmd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cmd-name {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.cmd-category {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 99px;
    font-weight: 600;
}

.cmd-desc {
    color: var(--text-sub);
    font-size: 0.9rem;
    line-height: 1.5;
}


footer {
    padding: 60px 24px;
    margin-top: 100px;
}

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

/* Creators Grid */
.creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.creator-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.creator-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 24px;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}


.creator-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.creator-info h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-family: var(--font-head);
}

.badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 99px;
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.creator-info p {
    color: var(--text-sub);
    font-size: 0.95rem;
}

.footer-links a {
    color: var(--text-sub);
    text-decoration: none;
}


@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 200px;
        gap: 40px;
    }
    .hero-content h1 { font-size: 3rem; }
    .hero-btns { justify-content: center; }
}

/* Final Animation Matrix */
.animate-up, .animate-fade, .feature-card, .command-card {
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    opacity: 1;
    transform: translateY(0);
}

body.js-enabled .animate-up:not(.hero *),
body.js-enabled .feature-card,
body.js-enabled .command-card {
    opacity: 0;
    transform: translateY(20px);
}

body.js-enabled .animate-fade:not(.hero *) {
    opacity: 0;
}


.visible, 
.animate-up.visible, 
.animate-fade.visible, 
.feature-card.visible, 
.command-card.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.35s; }



.error { color: #ff4500; font-family: monospace; text-align: center; margin-top: 40px; }
.no-results { color: var(--text-sub); text-align: center; grid-column: 1 / -1; margin-top: 40px; }

.p-40 { padding: 40px; }
.active { color: var(--primary) !important; font-weight: 700 !important; }


