/* --- Global Styles & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #0a0a0f;
    --neon-red: #ff2b2b;
    --electric-blue: #5865F2;
    --text-white: #ffffff;
    --text-muted: #a3a3c2;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
}

/* --- Loader Screens --- */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}
.loader-logo {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--neon-red), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}
.loader-bar {
    width: 150px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.loader-bar::before {
    content: '';
    position: absolute;
    height: 100%; width: 40%;
    background: var(--neon-red);
    animation: loading 1.5s infinite linear;
}
@keyframes loading {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* --- Canvas Particles & Ambient Blobs --- */
#particles-js {
    position: fixed;
    width: 100%; height: 100%;
    z-index: 1;
    top: 0; left: 0;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    animation: floatBlob 10s infinite alternate ease-in-out;
}
.blob-1 {
    width: 400px; height: 400px;
    background: var(--neon-red);
    top: 15%; left: -10%;
}
.blob-2 {
    width: 500px; height: 500px;
    background: var(--electric-blue);
    bottom: 20%; right: -10%;
    animation-delay: 3s;
}
@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 60px) scale(1.1); }
}

/* Mouse Follow Glow */
.mouse-glow {
    position: fixed;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(88,101,242,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

/* --- Premium Navbar --- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-white);
    letter-spacing: 1px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--text-white);
}

/* --- Buttons Styling --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--neon-red);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(255, 43, 43, 0.3);
    border: 1px solid transparent;
}
.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(255, 43, 43, 0.5);
    transform: translateY(-2px);
}
.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--electric-blue);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
    transform: translateY(-2px);
}
.small-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Button Shine Animation Effect */
.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 30%; height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(25deg);
    transition: none;
}
.shine-effect:hover::after {
    left: 140%;
    transition: left 0.8s ease-in-out;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 60px;
    position: relative;
    z-index: 3;
    text-align: center;
}
.hero-content {
    max-width: 850px;
}
.hero-logo-container {
    width: 120px; height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--neon-red), var(--electric-blue));
    border-radius: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 40px rgba(88, 101, 242, 0.4);
    animation: floatHeroLogo 4s infinite ease-in-out;
}
.hero-logo {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
}
@keyframes floatHeroLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.glow-text {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 5px;
    background: linear-gradient(to right, #fff 30%, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subtitle {
    font-size: 1.6rem;
    color: var(--electric-blue);
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Core Grid Blueprint Configurations --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1xl));
    max-width: 1200px;
    margin: 0 auto;
    gap: 25px;
    padding: 0 30px;
}

/* --- Luxury Glassmorphism Cards --- */
.features, .commands, .faq, .stats {
    padding: 100px 0;
    position: relative;
    z-index: 3;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: 1px;
}
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: left;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}
.glass-card:hover {
    border-color: rgba(255,255,255,0.15);
}
.card-icon {
    font-size: 2.2rem;
    margin-bottom: 25px;
    display: inline-block;
}
.red-glow { color: var(--neon-red); filter: drop-shadow(0 0 12px rgba(255,43,43,0.5)); }
.blue-glow { color: var(--electric-blue); filter: drop-shadow(0 0 12px rgba(88,101,242,0.5)); }

.glass-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}
.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Statistics Section --- */
.stats {
    background: linear-gradient(to bottom, transparent, rgba(88,101,242,0.03), transparent);
}
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 30px;
    text-align: center;
}
.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Commands Section --- */
.commands .grid-container {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.command-card {
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s;
}
.command-card:hover {
    background: var(--glass-bg);
    border-color: var(--neon-red);
    box-shadow: 0 10px 25px rgba(255, 43, 43, 0.1);
    transform: translateY(-4px);
}
.cmd-name {
    font-family: monospace;
    color: var(--neon-red);
    font-size: 1.2rem;
    font-weight: bold;
}
.cmd-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- FAQ Section (Animated Accordion) --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-question {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}
.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--electric-blue);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.faq-item.active {
    border-color: rgba(88, 101, 242, 0.3);
    background: rgba(255,255,255,0.05);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 3;
}
.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
}
.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}
.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .glow-text { font-size: 3rem; }
    .subtitle { font-size: 1.2rem; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .btn { width: 100%; justify-content: center; }
    .stat-item h3 { font-size: 2.5rem; }
}