/* ===========================
   VIOLENT Platform Styles
   Premium Gold/Black/Yellow Theme
   =========================== */

:root {
    /* Colors */
    --black: #000000;
    --deep-black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --mid-gray: #2a2a2a;
    --gold: #FFD700;
    --metallic-gold: #d4af37;
    --electric-yellow: #FFFF00;
    --light-gray: #666;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #d4af37 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-glow: radial-gradient(circle, rgba(255,215,0,0.2) 0%, transparent 70%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.6);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.8);
    --shadow-glow: 0 0 20px rgba(255,215,0,0.3);
    --shadow-glow-lg: 0 0 40px rgba(255,215,0,0.5);
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-image {
    height: 50px;
    width: auto;
    animation: logoGlow 2s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255,215,0,0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(255,215,0,0.6)); }
}

.logo-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--shadow-glow);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--light-gray);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-gold);
    color: var(--black);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    transition: var(--transition-fast);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(255,215,0,0.05) 0%, transparent 50%);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.hero-logo-image {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(255,215,0,0.6));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    line-height: 1;
}

.title-line {
    display: inline-block;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255,215,0,0.5));
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255,215,0,0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(255,215,0,0.6)); }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--light-gray);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* ===== Buttons ===== */
.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--black);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gradient-gold);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

/* ===== Features Section ===== */
.features {
    padding: 8rem 2rem;
    background: var(--deep-black);
    position: relative;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--light-gray);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    background: rgba(26, 26, 26, 0.9);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 16px;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.feature-card p {
    color: var(--light-gray);
    line-height: 1.8;
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 8rem 2rem;
    background: var(--black);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--dark-gray);
    border: 2px solid rgba(255, 215, 0, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
}

.pricing-card-featured {
    background: var(--gradient-dark);
    border: 2px solid var(--gold);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: var(--black);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.pricing-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.pricing-price {
    margin-bottom: 2rem;
}

.price {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    color: var(--light-gray);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: var(--light-gray);
    border-bottom: 1px solid rgba(255, 215, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '';
    display: none;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ===== Hero Enhancements ===== */
.hero-grid-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255,215,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,215,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    color: var(--gold);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 8rem 2rem;
    background: var(--black);
    position: relative;
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.how-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.how-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 16px;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.how-step:hover {
    background: rgba(255,215,0,0.04);
    border-color: rgba(255,215,0,0.15);
}

.step-number {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 50px;
    line-height: 1;
}

.step-content h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Code Window */
.code-window {
    background: #0d1117;
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.code-header {
    background: #161b22;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,215,0,0.1);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.code-title {
    color: var(--light-gray);
    font-size: 0.85rem;
    font-family: 'Consolas', 'Monaco', monospace;
}

.code-body {
    padding: 1.5rem;
    margin: 0;
    font-family: 'Consolas', 'Fira Code', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    overflow-x: auto;
    color: #c9d1d9;
}

.code-comment { color: #8b949e; }
.code-keyword { color: #ff7b72; }
.code-func { color: #d2a8ff; }
.code-string { color: #a5d6ff; }

/* ===== Discord Section ===== */
.discord-section {
    padding: 8rem 2rem;
    background: var(--deep-black);
    position: relative;
    overflow: hidden;
}

.discord-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 50%, rgba(88,101,242,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.discord-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.discord-badge {
    display: inline-block;
    background: rgba(88,101,242,0.15);
    border: 1px solid rgba(88,101,242,0.3);
    color: #7289da;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.discord-desc {
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.bot-commands {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.bot-cmd {
    display: flex;
    flex-direction: column;
    padding: 0.8rem 1rem;
    background: rgba(26,26,26,0.6);
    border: 1px solid rgba(255,215,0,0.08);
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.bot-cmd:hover {
    border-color: rgba(255,215,0,0.2);
    background: rgba(255,215,0,0.04);
}

.cmd-name {
    color: var(--gold);
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
    font-weight: 600;
}

.cmd-desc {
    color: var(--light-gray);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: #5865F2;
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: none;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(88,101,242,0.4);
}

/* Discord Embed Preview */
.discord-embed-preview {
    background: #2f3136;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.embed-bar {
    width: 4px;
    background: var(--gold);
    flex-shrink: 0;
}

.embed-content {
    padding: 1.2rem;
    flex: 1;
}

.embed-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: #dcddde;
    font-weight: 600;
}

.embed-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.embed-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem;
}

.embed-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.embed-field {
    background: rgba(0,0,0,0.1);
    padding: 0.6rem;
    border-radius: 4px;
}

.field-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: #72767d;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.field-value {
    font-size: 0.85rem;
    color: #dcddde;
}

.field-value code {
    background: rgba(0,0,0,0.2);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-family: 'Consolas', monospace;
    font-size: 0.8rem;
    color: var(--gold);
}

.embed-footer {
    font-size: 0.7rem;
    color: #72767d;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 0.6rem;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 6rem 2rem;
    background: var(--black);
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: rgba(26,26,26,0.6);
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255,215,0,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

.cta-box p {
    color: var(--light-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    flex-wrap: wrap;
}

/* ===== Enhanced Footer ===== */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--light-gray);
    max-width: 280px;
    line-height: 1.6;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--light-gray);
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--gold);
}

/* ===== Responsive Additions ===== */
@media (max-width: 768px) {
    .how-grid,
    .discord-grid {
        grid-template-columns: 1fr;
    }

    .bot-commands {
        grid-template-columns: 1fr;
    }

    .embed-fields {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--deep-black);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand .logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--light-gray);
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light-gray);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    color: var(--light-gray);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.05);
}

/* ===== Page Management ===== */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-featured {
        transform: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* ===== Loading Animation ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
