/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --text-primary: #ffffff;
    --accent-violet: #8b5cf6;
    --accent-violet-glow: rgba(139, 92, 246, 0.5);
    --accent-violet-light: #a78bfa;
    --accent-violet-dark: #6d28d9;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background Canvas */
#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 0 20px var(--accent-violet-glow),
                0 0 40px rgba(139, 92, 246, 0.3);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 0 4rem;
    animation: fadeIn 1s ease-in;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-violet-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--accent-violet-glow);
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent-violet);
    color: var(--text-primary);
    box-shadow: 0 4px 20px var(--accent-violet-glow);
}

.btn-primary:hover {
    background: var(--accent-violet-light);
    box-shadow: 0 6px 30px var(--accent-violet-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--accent-violet);
    color: var(--accent-violet-light);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

/* Bot Profile Section */
.bot-profile {
    margin: 4rem 0;
}

.profile-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.bot-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 0 30px var(--accent-violet-glow),
                0 0 60px rgba(139, 92, 246, 0.3),
                0 0 90px rgba(139, 92, 246, 0.15);
    object-fit: cover;
    display: block;
    background-color: rgba(139, 92, 246, 0.1);
    transition: box-shadow 0.3s ease;
}

.bot-avatar:hover {
    box-shadow: 0 0 40px var(--accent-violet-glow),
                0 0 80px rgba(139, 92, 246, 0.4),
                0 0 120px rgba(139, 92, 246, 0.2);
}

.profile-info {
    flex: 1;
}

.bot-name {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.bot-id {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', monospace;
    margin-bottom: 1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px currentColor;
}

.status-dot.online {
    background-color: #10b981;
    color: #10b981;
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.offline {
    background-color: #ef4444;
    color: #ef4444;
}

.status-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* About Section */
.about {
    margin: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.about-card {
    line-height: 1.8;
}

.about-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Dashboard Preview */
.dashboard-preview {
    margin: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
    stroke: #ffffff;
    fill: none;
}

.stat-card:hover .stat-icon {
    color: var(--accent-violet);
    transform: scale(1.1);
}

.stat-card:hover .stat-icon svg {
    stroke: var(--accent-violet);
}

.stat-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-violet-light);
    text-shadow: 0 0 20px var(--accent-violet-glow);
}

/* Footer */
.footer {
    margin-top: 6rem;
    padding: 3rem 0 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--accent-violet-light);
    text-shadow: 0 0 10px var(--accent-violet-glow);
}

.footer-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

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

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

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }
}

