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

:root {
    --primary-color: #5865F2;
    --secondary-color: #7289da;
    --dark-bg: #2C2F33;
    --darker-bg: #23272A;
    --light-bg: #36393F;
    --text-light: #FFFFFF;
    --text-muted: #B9BBBE;
    --accent: #43B581;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* Header */
header {
    background-image: url('login-background (1).png');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

header p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Navigation */
nav {
    background: var(--darker-bg);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

nav a:hover {
    color: var(--text-light);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Sections */
section {
    background: white;
    margin-bottom: 3rem;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--darker-bg);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

section h3 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--light-bg);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Code blocks */
pre {
    background: var(--darker-bg);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
    border-left: 4px solid var(--primary-color);
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
}

/* Lists */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.5rem;
    font-size: 1.1rem;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.btn-secondary {
    background: var(--accent);
}

.btn-secondary:hover {
    background: #3ca374;
}

.cta-buttons {
    text-align: center;
    margin: 2rem 0;
}

/* Footer */
footer {
    background: var(--darker-bg);
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Architecture Grid */
.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.architecture-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.architecture-card h4 {
    color: var(--darker-bg);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    section {
        padding: 2rem 1.5rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    nav ul {
        gap: 1rem;
    }

    .features-grid,
    .architecture-grid {
        grid-template-columns: 1fr;
    }
}

/* Highlight boxes */
.highlight-box {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.highlight-box strong {
    color: #1976D2;
}
