:root {
    --cl-accent: #a855f7;
    --cl-accent-rgb: 168, 85, 247;
    --cl-accent-light: #c084fc;
    --cl-accent-lighter: #e9d5ff;
    --cl-accent-dark: #7c3aed;
    --cl-accent-darker: #5b21b6;
    --cl-background-primary: #050508;
    --cl-background-secondary: #0a0a10;
    --cl-background-tertiary: #111118;
    --cl-border: rgba(168, 85, 247, 0.12);
    --cl-text: #ffffff;
    --cl-text-muted: rgba(255, 255, 255, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cl-background-primary);
    color: var(--cl-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
    top: -300px;
    left: -200px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 70%);
    bottom: -200px;
    right: -150px;
    animation-delay: -10s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(-30px, -20px) scale(1.02); }
}

/* Grid Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    pointer-events: none;
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Navigation */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
}

.navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(10, 10, 16, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--cl-border);
    border-top: none;
    border-radius: 0 0 20px 20px;
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--cl-text);
    text-decoration: none;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--cl-accent) 0%, var(--cl-accent-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    padding: 10px 20px;
    color: var(--cl-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--cl-text);
    background: rgba(168, 85, 247, 0.1);
}

.btn-glow {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--cl-accent) 0%, var(--cl-accent-dark) 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.5);
    color: white;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    padding: 10px 15px;
    color: var(--cl-text-muted);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-right: 10px;
}

.cart-icon:hover {
    color: var(--cl-accent);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.cart-badge.hidden {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    z-index: 10;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cl-accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: -2s; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-delay: -4s; }
.particle:nth-child(4) { left: 50%; top: 60%; animation-delay: -6s; }
.particle:nth-child(5) { left: 70%; top: 30%; animation-delay: -8s; }
.particle:nth-child(6) { left: 80%; top: 70%; animation-delay: -10s; }
.particle:nth-child(7) { left: 90%; top: 50%; animation-delay: -12s; }
.particle:nth-child(8) { left: 40%; top: 90%; animation-delay: -14s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-100px) scale(1.5); opacity: 0.3; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--cl-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cl-accent-light);
    margin-bottom: 30px;
    animation: badgePulse 2s ease-in-out infinite;
}

.hero-badge i {
    font-size: 0.5rem;
    color: #22c55e;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.2); }
    50% { box-shadow: 0 0 0 10px rgba(168, 85, 247, 0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, var(--cl-accent-light) 50%, var(--cl-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
    text-shadow: 0 0 80px rgba(168, 85, 247, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--cl-text-muted);
    max-width: 600px;
    margin: 0 auto 10px;
}

.hero-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-hero-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--cl-accent) 0%, var(--cl-accent-dark) 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 14px;
    box-shadow: 0 4px 25px rgba(168, 85, 247, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(168, 85, 247, 0.5);
    color: white;
}

.btn-hero-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--cl-border);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: var(--cl-accent);
    background: rgba(168, 85, 247, 0.1);
    color: white;
    transform: translateY(-3px);
}

/* Browser Preview */
.browser-preview {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.browser-frame {
    background: rgba(17, 17, 24, 0.9);
    border-radius: 16px;
    border: 1px solid var(--cl-border);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(168, 85, 247, 0.1);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--cl-border);
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }

.browser-url {
    flex: 1;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--cl-text-muted);
}

.browser-content {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.1) 0%, rgba(17, 17, 24, 1) 100%);
    overflow: hidden;
}

.browser-content img {
    width: 100%;
    height: auto;
    display: block;
}

.browser-icon {
    font-size: 4rem;
    color: var(--cl-accent);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.5));
}

.browser-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--cl-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.browser-subtitle {
    color: var(--cl-text-muted);
    font-size: 1rem;
}

/* Community Section */
.community-section {
    padding: 100px 20px;
    position: relative;
    z-index: 10;
}

.community-card {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(17, 17, 24, 0.9) 0%, rgba(10, 10, 16, 0.9) 100%);
    border: 1px solid var(--cl-border);
    border-radius: 24px;
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.community-eyebrow {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--cl-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cl-accent-light);
    margin-bottom: 20px;
}

.community-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.community-title span {
    background: linear-gradient(135deg, var(--cl-accent-light), var(--cl-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.community-text {
    color: var(--cl-text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.community-features {
    list-style: none;
    margin-bottom: 30px;
}

.community-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--cl-text-muted);
}

.community-features li i {
    color: var(--cl-accent);
    font-size: 1.1rem;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.btn-discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
    color: white;
}

.visual-card {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visual-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    animation: floatOrb 10s ease-in-out infinite;
}

.visual-icon {
    font-size: 6rem;
    color: var(--cl-accent);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.5));
}

/* Section */
.section {
    padding: 100px 20px;
    position: relative;
    z-index: 10;
}

/* Page Header */
.page-header {
    padding: 160px 20px 60px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--cl-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cl-accent-light);
    margin-bottom: 20px;
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--cl-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--cl-text-muted);
}

/* Footer */
.footer {
    background: rgba(5, 5, 8, 0.9);
    border-top: 1px solid var(--cl-border);
    padding: 80px 40px 40px;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--cl-text-muted);
    line-height: 1.8;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--cl-accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--cl-text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--cl-border);
    text-align: center;
    color: var(--cl-text-muted);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(17, 17, 24, 0.8);
    border: 1px solid var(--cl-border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    color: var(--cl-accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--cl-text-muted);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Features Cards */
.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: rgba(17, 17, 24, 0.8);
    border: 1px solid var(--cl-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--cl-accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--cl-accent), var(--cl-accent-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--cl-text-muted);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 992px) {
    .community-card {
        grid-template-columns: 1fr;
        padding: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar-custom {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .community-card {
        padding: 30px;
    }
}
