@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #030712;
    --card-bg: #0f172a;
    --input-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --blue: #3b82f6;
    --green: #22c55e;
    --purple: #a855f7;
    --border: rgba(255, 255, 255, 0.1);
    --transition: 0.3s ease;
}

/* Base Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', sans-serif; 
    background: var(--bg); 
    color: var(--text-primary); 
    line-height: 1.6; 
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Global Navigation */
nav {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.25rem; font-weight: 700; text-decoration: none; color: white; display: flex; align-items: center; }
.logo-icon { width: 32px; height: 32px; background: var(--blue); border-radius: 6px; margin-right: 12px; display: flex; align-items: center; justify-content: center; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.95rem; font-weight: 500; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: white; }

/* Uniform Hero Spacing and Typography */
.page-hero {
    padding: 120px 0 80px; /* Shared vertical spacing */
}
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    font-weight: 700;
}
.hero-subtitle {
    max-width: 650px; 
    color: var(--text-muted); 
    font-size: 1.25rem; 
    margin-bottom: 2.5rem;
}

/* Grids & Cards */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { 
    background: var(--card-bg); 
    padding: 2.5rem; 
    border-radius: 16px; 
    border: 1px solid var(--border); 
    transition: var(--transition);
}
.card:hover { border-color: var(--blue); transform: translateY(-4px); }

/* UI Elements */
.btn { 
    display: inline-block; 
    padding: 0.8rem 1.8rem; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: var(--transition);
    border: none;
}
.btn-blue { background: var(--blue); color: white; }
.btn-outline { border: 1px solid var(--border); color: white; }

/* Form Fields */
input, textarea {
    width: 100%; padding: 0.8rem 1rem; background: var(--input-bg); 
    border: 1px solid var(--border); border-radius: 8px; color: white; 
    font-family: inherit; outline: none; transition: var(--transition);
}
input:focus, textarea:focus { border-color: var(--blue); }

/* Global Footer */
footer { padding: 80px 0 40px; border-top: 1px solid var(--border); margin-top: 100px; background: #020617; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { margin-top: 1.5rem; color: var(--text-muted); max-width: 320px; }
.footer-col h4 { margin-bottom: 1.5rem; color: white; font-size: 1rem; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.8rem; font-size: 0.9rem; }
.footer-col a:hover { color: white; }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.85rem; border-top: 1px solid var(--border); padding-top: 2rem; }

/* Responsive */
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; letter-spacing: -1px; }
    .page-hero { padding: 80px 0 40px; }
}