@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

body {
    background: #0f1416;
    overflow-x: hidden;
    color: white;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #454b4d, transparent),
        radial-gradient(2px 2px at 60px 70px, #454b4d, transparent),
        radial-gradient(1px 1px at 50px 50px, #454b4d, transparent),
        radial-gradient(1px 1px at 130px 80px, #454b4d, transparent),
        radial-gradient(2px 2px at 90px 10px, #454b4d, transparent);
    background-size: 200px 200px;
    animation: stars 200s linear infinite;
    opacity: 0.3;
}

@keyframes stars {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

.gradient-bg {
    background: radial-gradient(circle at 50% 0%, rgba(57, 58, 58, 0.1) 0%, transparent 50%);
}

.bento-container {
    background-color: rgba(17, 18, 18, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(69, 75, 77, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.bento-container:hover {
    transform: translateY(-2px);
    border-color: rgba(107, 143, 155, 0.3);
}

.purchase-button {
    background-color: rgba(17, 18, 18, 0.5);
    border: 1px solid rgba(107, 143, 155, 0.2);
    transition: all 0.3s ease;
}

.purchase-button:hover {
    border-color: rgba(107, 143, 155, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(57, 58, 58, 0.1);
}

.scroll-container {
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.fade-edges {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-gradient {
    background: linear-gradient(180deg, transparent 0%, #0f1416 100%);
}

@keyframes moveDotCurve {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

.moving-dot-curve {
    offset-path: path('M 50 50 Q 150 120 250 150 Q 150 220 50 280');
    animation: moveDotCurve 5s ease-in-out infinite;
}

#feature-card-1, #feature-card-2, #feature-card-3 {
    transition: all 0.7s ease-in-out;
    opacity: 0;
    transform: translateY(30px);
}

#feature-card-1.active,
#feature-card-2.active,
#feature-card-3.active {
    opacity: 1;
    transform: translateY(0);
}

#feature-card-1 {
    transition-delay: 0s;
}

#feature-card-2 {
    transition-delay: 0.1s;
}

#feature-card-3 {
    transition-delay: 0.2s;
}

@keyframes featureSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#feature-card-1.active {
    animation: featureSlideIn 0.6s ease forwards;
}

#feature-card-2.active {
    animation: featureSlideIn 0.6s ease 0.1s forwards;
}

#feature-card-3.active {
    animation: featureSlideIn 0.6s ease 0.2s forwards;
}

#navbar {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-hidden {
    transform: translateY(-100%);
}

.bento-container.icon-hover {
    border-color: rgba(107, 143, 155, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.bento-container.icon-hover h3 {
    transition: color 0.3s ease;
}

.bento-container.icon-hover p {
    transition: color 0.3s ease;
}

.icon-neon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.icon-neon:hover {
    transform: scale(1.15) rotate(-5deg);
}

.icon-neon[data-color="#6e130f"]:hover {
    box-shadow: 0 0 25px #6e130f, 0 0 50px #6e130f, 0 0 75px rgba(110, 19, 15, 0.5) !important;
}

.icon-neon[data-color="#1DB954"]:hover {
    box-shadow: 0 0 25px #1DB954, 0 0 50px #1DB954, 0 0 75px rgba(29, 185, 84, 0.5) !important;
}

.icon-neon[data-color="#d62976"]:hover {
    box-shadow: 0 0 25px #d62976, 0 0 50px #d62976, 0 0 75px rgba(214, 41, 118, 0.5) !important;
}

.icon-neon[data-color="#ffffff"]:hover {
    box-shadow: 0 0 25px #ffffff, 0 0 50px #ffffff, 0 0 75px rgba(255, 255, 255, 0.4) !important;
}

.icon-neon[data-color="#00f2ea"]:hover {
    box-shadow: 0 0 25px #00f2ea, 0 0 50px #00f2ea, 0 0 75px rgba(0, 242, 234, 0.5) !important;
}

.icon-neon[data-color="#ff5e00"]:hover {
    box-shadow: 0 0 25px #ff5e00, 0 0 50px #ff5e00, 0 0 75px rgba(255, 94, 0, 0.5) !important;
}

@keyframes neonPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.icon-neon.pulsing {
    animation: neonPulse 0.8s ease-in-out infinite;
}

.bento-container:has(.icon-neon:hover) {
    border-color: rgba(107, 143, 155, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.bento-container:has(.icon-neon:hover) h3 {
    transition: color 0.3s ease;
}

.bento-container:has(.icon-neon[data-color="#6e130f"]:hover) h3 {
    color: #6e130f;
}

.bento-container:has(.icon-neon[data-color="#1DB954"]:hover) h3 {
    color: #1DB954;
}

.bento-container:has(.icon-neon[data-color="#d62976"]:hover) h3 {
    color: #d62976;
}

.bento-container:has(.icon-neon[data-color="#ffffff"]:hover) h3 {
    color: #ffffff;
}

.bento-container:has(.icon-neon[data-color="#00f2ea"]:hover) h3 {
    color: #00f2ea;
}

.bento-container:has(.icon-neon[data-color="#ff5e00"]:hover) h3 {
    color: #ff5e00;
}

.bento-container:has(.icon-neon:hover) p {
    transition: color 0.3s ease;
}

.bento-container:has(.icon-neon[data-color="#6e130f"]:hover) p {
    color: rgba(110, 19, 15, 0.7);
}

.bento-container:has(.icon-neon[data-color="#1DB954"]:hover) p {
    color: rgba(29, 185, 84, 0.7);
}

.bento-container:has(.icon-neon[data-color="#d62976"]:hover) p {
    color: rgba(214, 41, 118, 0.7);
}

.bento-container:has(.icon-neon[data-color="#ffffff"]:hover) p {
    color: rgba(255, 255, 255, 0.6);
}

.bento-container:has(.icon-neon[data-color="#00f2ea"]:hover) p {
    color: rgba(0, 242, 234, 0.7);
}

.bento-container:has(.icon-neon[data-color="#ff5e00"]:hover) p {
    color: rgba(255, 94, 0, 0.7);
}

.icon-neon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: inherit;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.icon-neon:hover::after {
    opacity: 0.5;
}

.icon-neon:hover img {
    filter: brightness(1.2) drop-shadow(0 0 8px currentColor);
    transition: all 0.3s ease;
}

@keyframes breathe {
    0%, 100% {
        box-shadow: 0 0 15px var(--neon-color, #6e130f), 0 0 30px rgba(110, 19, 15, 0.4);
    }
    50% {
        box-shadow: 0 0 25px var(--neon-color, #6e130f), 0 0 50px rgba(110, 19, 15, 0.6);
    }
}

.icon-neon.breathe {
    animation: breathe 2s ease-in-out infinite;
}

.integration-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.integration-card .integration-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.command-category {
    cursor: pointer;
    transition: all 0.3s ease;
}

.command-category:hover {
    border-color: #92C8D2;
}

.command-category.active {
    border-color: #92C8D2;
    background: rgba(146, 200, 210, 0.05);
}

.command-subcommands {
    display: none;
    padding-top: 12px;
    border-top: 1px solid rgba(146, 200, 210, 0.1);
    margin-top: 12px;
}

.command-subcommands.open {
    display: block;
}

.command-subcommand {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 6px;
    transition: background 0.2s ease;
}

.command-subcommand:hover {
    background: rgba(146, 200, 210, 0.08);
}

.command-subcommand .perm-badge {
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(146, 200, 210, 0.15);
    color: #92C8D2;
    border: 1px solid rgba(146, 200, 210, 0.15);
}

.command-main {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 8px;
    transition: background 0.2s ease;
}

.command-main:hover {
    background: rgba(146, 200, 210, 0.1);
}

.command-main .perm-badge {
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(146, 200, 210, 0.15);
    color: #92C8D2;
    border: 1px solid rgba(146, 200, 210, 0.15);
}

#search-input {
    background: rgba(17, 18, 18, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(69, 75, 77, 0.2);
    color: white;
}

#search-input:focus {
    border-color: #92C8D2;
    outline: none;
}

#search-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}