:root {
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --code-bg: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Material Icons */
.material-icons-outlined {
    font-size: inherit;
    vertical-align: middle;
}

/* Navbar */
.navbar {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
    color: var(--primary);
}

.logo-img {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

/* Hero */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--text-muted);
}

.hero-code {
    max-width: 500px;
    margin: 0 auto;
}

.hero-code pre {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    text-align: left;
    overflow-x: auto;
}

.hero-code code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-muted);
}

/* Features */
.features {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(37, 99, 235, 0.05) 100%);
}

.features h2,
.code-examples h2,
.projects h2,
.cta h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--primary);
    display: block;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Code Examples */
.code-examples {
    padding: 80px 0;
}

.code-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.code-example {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.code-example h3 {
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.code-example pre {
    padding: 24px;
    margin: 0;
    overflow-x: auto;
}

.code-example code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--text);
}

/* Projects */
.projects {
    padding: 80px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.project-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.project-links a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.project-links a:hover {
    color: var(--text);
    text-decoration: underline;
}

/* CTA */
.cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(37, 99, 235, 0.1) 100%);
}

.cta p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section ul a:hover {
    color: var(--text);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--text);
}

/* About Page */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 18px;
}

.about-content {
    padding: 40px 0 80px;
}

.about-section {
    max-width: 800px;
    margin: 0 auto 48px;
}

.about-section h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.about-section p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-section a {
    color: var(--primary-light);
    text-decoration: none;
}

.about-section a:hover {
    color: var(--text);
    text-decoration: underline;
}

.about-section ul {
    color: var(--text-muted);
    margin-left: 24px;
    margin-bottom: 16px;
}

.about-section ul li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .code-tabs {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
