:root {
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.5);
    --bg: #09090b;
    --card-bg: rgba(24, 24, 27, 0.8);
    --text-main: #fafafa;
    --text-muted: #a1a1aa;
    --accent: #ec4899;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg); color: var(--text-main); overflow-x: hidden; }

/* Stars */
.stars { position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at center, #1e1b4b 0%, #09090b 100%); }
.star { position: absolute; background: white; border-radius: 50%; opacity: 0.4; animation: drift linear infinite; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-100vh); } }

/* Logo Branding */
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.4rem; }
.mini-logo { width: 32px; height: 32px; object-fit: contain; }

.hero-logo-container { margin-bottom: 2rem; display: flex; justify-content: center; }
.main-hero-logo { 
    width: 120px; 
    height: 120px; 
    filter: drop-shadow(0 0 20px var(--primary-glow));
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}



/* Navbar */
.navbar { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 1rem 0; }
.nav-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.95rem; transition: 0.3s ease; }
.nav-links a:hover { color: white; transform: translateY(-1px); }

/* Buttons & Animations */
.cta-button, .secondary-button, .nav-btn-primary, .cta-button-outline {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button:active, .secondary-button:active { transform: scale(0.95); }
.icon { font-size: 2rem; display: block; margin-bottom: 1rem; }

.glow-button { 
    background: linear-gradient(135deg, var(--primary), var(--accent)); 
    box-shadow: 0 4px 15px var(--primary-glow); 
    border: none;
    color: white;
    padding: 1.1rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}
.glow-button:hover { 
    box-shadow: 0 8px 30px var(--primary-glow); 
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.1);
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.secondary-button { 
    padding: 1.1rem 2.2rem; 
    border: 2px solid #3f3f46; 
    border-radius: 12px; 
    text-decoration: none; 
    color: white; 
    font-weight: 600;
}
.secondary-button:hover { 
    border-color: var(--primary); 
    background: rgba(255,255,255,0.05);
    transform: translateY(-4px);
}

.cta-button-outline { 
    padding: 1.1rem 2.2rem; 
    border-radius: 12px; 
    font-weight: 700; 
    background: transparent; 
    border: 2px solid var(--primary); 
    color: white; 
}
.cta-button-outline:hover { 
    background: rgba(139, 92, 246, 0.15); 
    transform: translateY(-4px);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Hero & Bento Grid */
.hero { text-align: center; padding: 60px 20px; max-width: 900px; margin: 0 auto; }
.original-btn-style {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px var(--primary-glow);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}
.hero-title { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.gradient-text { background: linear-gradient(to right, #a78bfa, #f472b6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; padding: 2rem; }
.bento-item { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05); padding: 2.5rem; border-radius: 28px; transition: 0.4s ease; }
.bento-item.wide { grid-column: span 2; }
.bento-item.full-width { grid-column: span 3; }
.bento-item:hover { border-color: var(--primary); transform: translateY(-8px); background: rgba(30, 30, 35, 0.9); }

/* Command List Styling */
.command-list { display: flex; gap: 15px; margin: 1.5rem 0; flex-wrap: wrap; justify-content: center; }
.cmd-pill { background: #000; padding: 12px 18px; border-radius: 12px; border: 1px solid #333; transition: 0.3s; }
.cmd-pill:hover { border-color: var(--primary); transform: scale(1.05); }
.cmd-pill code { color: var(--primary); font-family: monospace; font-size: 1.1rem; font-weight: 800; }
.cmd-desc { color: var(--text-muted); font-size: 0.85rem; margin-left: 10px; }

/* Testimonials */
.testimonial { border-left: 4px solid var(--primary); display: flex; flex-direction: column; justify-content: space-between; }
.quote { font-style: italic; margin-bottom: 1rem; color: var(--text-main); font-size: 1.1rem; }
.author { color: var(--text-muted); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* Sound Wave */
.sound-wave-container { display: flex; align-items: center; justify-content: center; gap: 6px; height: 60px; margin-bottom: 2rem; }
.bar { width: 4px; height: 15px; background: var(--primary); border-radius: 10px; animation: wave 1.2s ease-in-out infinite; }
.bar:nth-child(even) { background: var(--accent); animation-delay: 0.2s; }
@keyframes wave { 0%, 100% { height: 15px; } 50% { height: 50px; } }

/* Setup Section */
.setup-card { background: #111113; border: 1px solid #27272a; padding: 4rem 2rem; border-radius: 32px; text-align: center; max-width: 800px; margin: 4rem auto; }
.button-group { display: flex; gap: 1.5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.modern-slider { width: 100%; height: 8px; appearance: none; background: #27272a; border-radius: 5px; accent-color: var(--primary); margin: 2rem 0; cursor: pointer; }
.popup-notice { display: flex; align-items: center; gap: 10px; background: rgba(245, 158, 11, 0.08); padding: 1rem; border-radius: 12px; margin-top: 1rem; margin-bottom: 2rem; justify-content: center; border: 1px solid rgba(245, 158, 11, 0.2); }
.pulse-dot { width: 8px; height: 8px; background: #f59e0b; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

footer { padding: 4rem 0; text-align: center; border-top: 1px solid #1e1e21; color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.wide, .bento-item.full-width { grid-column: span 1; }
    .nav-links { display: none; }
}

/* Pricing Section Styles */
.pricing-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
    text-align: center;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    margin-top: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    transition: 0.4s ease;
    position: relative;
}


.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    background: rgba(139, 92, 246, 0.05);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.tier-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.tier-features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.check {
    color: var(--primary);
    font-weight: bold;
}

.plan-btn {
    width: 100%;
    text-align: center;
    padding: 1rem !important;
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-10px) scale(1);
    }
}

/* "In Your Face" Free Tier */
.free-impact-section {
    max-width: 1200px;
    margin: 4rem auto 2rem;
    padding: 0 2rem;
}

.free-card-large {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 2px border-solid var(--primary);
    border-radius: 32px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    backdrop-filter: blur(10px);
}

.badge-accent {
    background: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.free-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.free-features-inline {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
    color: var(--text-muted);
}

.large-btn {
    padding: 1.5rem 3rem !important;
    font-size: 1.4rem !important;
}

/* Adjusted Paid Pricing Grid */
.small-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .free-card-large {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }
    .free-features-inline {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .small-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- Community Beta Section --- */
.beta-opportunity-section {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

.beta-glow-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.protocol-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #10b981;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: betaPulse 2s infinite;
}

@keyframes betaPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.beta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.beta-subtitle {
    color: #a1a1aa;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

/* --- Dashboard Container --- */
.beta-dashboard-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 500px;
}

.locked-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    filter: blur(12px);
    opacity: 0.15;
    pointer-events: none;
    transform: scale(0.95);
}

.locked-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 30px;
}

.crossed-price {
    font-size: 2.5rem;
    font-weight: 800;
    text-decoration: line-through;
    color: #ef4444;
}

/* --- Access Portal Card --- */
.access-portal-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 780px;
    z-index: 10;
}

.portal-content {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(30px);
    border: 1px solid #8b5cf6;
    padding: 60px 40px;
    border-radius: 40px;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.2);
}

.access-status {
    color: #8b5cf6;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.portal-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.perk-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.perk-node {
    display: flex;
    flex-direction: column;
}

.perk-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #10b981;
}

.perk-label {
    font-size: 0.7rem;
    color: #71717a;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.perk-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.beta-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    padding: 20px 50px;
    border-radius: 15px;
    color: white;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.beta-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
}

.beta-timer {
    display: block;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #71717a;
    font-style: italic;
}

@media (max-width: 850px) {
    .locked-plans-grid { display: none; }
    .access-portal-card { position: relative; top: 0; left: 0; transform: none; }
    .perk-grid { flex-direction: column; gap: 20px; }
    .perk-divider { width: 50px; height: 1px; }
}

.bot-status {
    font-size: 0.8rem;
    margin-top: 4px;
    font-weight: 600;
}
.server-card {
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Dashboard Buttons */
.nav-btn-primary, .nav-btn-secondary {
    display: block;
    width: 100%;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;

}

/* Primary "Host Bot" Button */
.nav-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    filter: brightness(1.1);
}

/* Secondary "Receiver" Buttons */
.nav-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.nav-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* 3D Press Effect for all buttons */
.nav-btn-primary:active, .nav-btn-secondary:active {
    transform: translateY(1px) scale(0.98);
}

/* Container spacing for the Receiver list */
#receiver-list-container {
    margin-top: 15px;
    max-height: 250px; /* Adds a scrollbar if you have many receivers */
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom Scrollbar for the list */
#receiver-list-container::-webkit-scrollbar { width: 4px; }
#receiver-list-container::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* Styling for the text inside buttons */
.nav-btn-primary, .nav-btn-secondary {
    font-family: 'Inter', sans-serif; /* Explicitly set font */
    font-weight: 800;                 /* Extra bold like your logo */
    text-transform: uppercase;        /* All caps for a modern dashboard look */
    letter-spacing: 0.05em;           /* Slight tracking for readability */
    font-size: 0.85rem;
    
    /* Ensure flex centering if using icons later */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    transition: all 0.2s ease;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.nav-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.nav-btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.setup-card {
    height: 100%; /* Ensures all cards in the dashboard are uniform height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Container for spacing and the fade-in animation */
/* --- FIXED GLASS BUTTON SECTION --- */

.glass-prompt-container {
    text-align: center;
    margin: 3rem auto;
    animation: gentleFade 1.2s ease-out forwards;
    opacity: 0; 
}

.prompt-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-weight: 500;
}

/* The Glass Button - Fixed with Reset */
.glass-btn {
    /* 1. RESET: Force browser to ignore default gray styles */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    box-shadow: none;
    display: inline-block;

    /* 2. GLASS STYLING */
    background: rgba(255, 255, 255, 0.03) !important; 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    
    /* 3. SHAPE & SPACING */
    border-radius: 100px;
    padding: 14px 36px;
    
    /* 4. TYPOGRAPHY */
    color: white !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    
    /* 5. INTERACTION */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

.glass-btn:active {
    transform: translateY(1px) scale(0.98);
}

/* Animation for the prompt appearing */
@keyframes gentleFade {
    from { 
        opacity: 0; 
        transform: translateY(15px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Content visibility toggle */
.free-content-hidden {
    display: none;
    margin-top: 2rem;
    animation: gentleFade 0.6s ease-out forwards;
}

.bot-status-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #71717a; /* Default Gray (Offline) */
    border-radius: 50%;
    transition: all 0.5s ease;
}

/* Pulse animation for when the bot is online */
.status-dot.online {
    background: #10b981; /* Green */
    box-shadow: 0 0 10px #10b981;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.status-dot.offline {
    background: #ef4444; /* Red */
}
