/* Modern StormCode.tech Styles - Inspired by StormAntiCheat */

/* Header Styles */
#main-header {
    padding: 16px 0;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    width: 100%;
}

#main-header.scrolled .header-wrapper {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(46, 46, 46, 0.9) !important;
    border-radius: 16px;
    padding: 12px 24px;
    margin: 0px 24px 0 24px;
}

.header-wrapper {
    transition: all 0.3s ease;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 12px 24px;
    margin: 0 24px;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    position: absolute;
    left: 0;
}

.logo-img {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-text h1 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.logo-text span {
    background: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc, #a855f7, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 400% 100%;
    animation: purplePinkShift 5s ease-in-out infinite;
}

nav {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
    font-size: 0.95rem;
}

nav a:hover {
    color: #fff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    right: 0;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* User Menu Dropdown */
.user-menu-wrapper {
    position: relative;
}

.user-menu-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.user-menu-wrapper.active .user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.user-menu-item:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #fff;
}

.user-menu-item i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

.user-menu-item.logout {
    color: #ef4444;
}

.user-menu-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.user-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 60px 24px;
    background: #0F0F0F;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #E97BFF;
    box-shadow: 0 0 10px #E97BFF;
    pointer-events: none;
    filter: blur(1px);
}

@keyframes particleFadeInOut {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: scale(1) rotate(45deg);
    }
    85% {
        opacity: 1;
        transform: scale(1) rotate(315deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    transition: all 0.3s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    margin-bottom: 32px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-badge svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 32px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero h2 .gradient-text {
    background: linear-gradient(90deg, #a78bfa 0%, #ec4899 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    background-size: 200% 100%;
    animation: colorShiftLR 4s ease infinite;
}

@keyframes colorShiftLR {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.scroll-indicator {
    margin-top: 60px;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Button Styles */
.btn {
    padding: 14px 32px;
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    background: transparent;
    color: #a78bfa;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    border-color: rgba(139, 92, 246, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

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

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

.btn-outline {
    background: transparent;
    border: 2px solid #8b5cf6;
    color: #8b5cf6;
}

.btn-outline:hover {
    background: #8b5cf6;
    color: white;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #0F0F0F;
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.features-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 20px;
}

.features-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.features-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 280px;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-box i {
    font-size: 28px;
    color: #a78bfa;
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.85rem;
    margin: 0;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Lyra AI Section */
.lyra-ai-section {
    padding: 80px 0;
    background: #0F0F0F;
}

.lyra-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lyra-info h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.lyra-info p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.lyra-chat-window {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.lyra-chat-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lyra-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.lyra-info-header {
    display: flex;
    flex-direction: column;
}

.lyra-name {
    font-weight: 600;
    color: #fff;
}

.lyra-status {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lyra-status i {
    color: #10b981;
    font-size: 0.6rem;
}

.lyra-chat-messages {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 200px;
}

.lyra-message {
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
}

.lyra-message.user {
    background: rgba(139, 92, 246, 0.2);
    align-self: flex-end;
    margin-left: auto;
}

.lyra-message.bot {
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: #0F0F0F;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 16px 20px 8px;
    color: #fff;
}

.product-description {
    color: var(--text-secondary);
    margin: 0 20px 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 20px 16px;
}

.btn-order {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    justify-content: center;
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
    background: #0F0F0F;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.tool-card.coming-soon {
    opacity: 0.6;
}

.tool-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tool-icon i {
    font-size: 32px;
    color: #a78bfa;
}

.tool-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.tool-link {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tool-link:hover {
    gap: 12px;
}

.tool-link.disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    background: #0F0F0F;
}

.cta-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    background: #0F0F0F;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.footer-brand span {
    background: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc, #a855f7, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 400% 100%;
    animation: purplePinkShift 5s ease-in-out infinite;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

.footer-links a:hover {
    color: #a78bfa;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    color: #a78bfa;
    transform: translateY(-2px);
}

.social-link.discord:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: #5865f2;
    color: #5865f2;
}

.social-link.youtube:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    color: #ff0000;
}

.social-link.tiktok:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: #fff;
    color: #fff;
}

.social-link.github:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

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

@keyframes purplePinkShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 200% 50%;
    }
    75% {
        background-position: 300% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lyra-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    nav {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 15, 15, 0.98);
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        z-index: 999;
        border-bottom: 1px solid rgba(139, 92, 246, 0.2);
        padding: 20px 0;
    }
    
    nav.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
        position: absolute;
        right: 0;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
    
    .cta-box h3 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}
