/* style.css - Shared across all 5 pages */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0c12;
    color: #ededee;
    line-height: 1.5;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

:root {
    --primary: #6d5ff8;
    --primary-glow: #8b7eff;
    --surface: #11131c;
    --surface-elevated: #191e2a;
    --border: #2a2f3f;
    --text-muted: #9ca3af;
    --gradient-primary: linear-gradient(135deg, #6d5ff8 0%, #a855f7 100%);
    --shadow-glow: 0 20px 40px -20px rgba(109, 95, 248, 0.3);
    --transition: all 0.3s ease;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(10, 12, 18, 0.8);
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

.logo span {
    color: var(--primary-glow);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: white;
}

.cta-button {
    background: var(--gradient-primary);
    padding: 8px 20px;
    border-radius: 100px;
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    z-index: 49;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px;
    color: var(--text-muted);
    text-decoration: none;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.btn-outline {
    border: 1px solid var(--border);
    padding: 12px 28px;
    border-radius: 100px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(109, 95, 248, 0.1);
}

/* Page header */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Space Grotesk', monospace;
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards grid */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    margin-top: 60px;
    background: var(--surface);
}

.footer-bottom {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .page-header h1 {
        font-size: 2rem;
    }
}