/* === Color Palette === */
:root {
    --bg-primary: #0a0e17;
    --bg-surface: #131927;
    --bg-surface-border: #1e2a3a;
    --text-primary: #e2e8f0;
    --text-muted: #8892a4;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --secondary: #10b981;
}

/* === Base === */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted) !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* === Navigation === */
.navbar {
    background-color: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bg-surface-border);
    padding: 1rem 0;
}

/* === Logo === */
.logo {
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Consolas', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text-primary) !important;
}

.logo:hover {
    text-decoration: none;
}

.logo-brace {
    color: var(--accent);
    font-weight: 400;
}

.logo-dot {
    color: var(--secondary);
}

/* === Hero === */
.hero-section {
    background-color: var(--bg-primary);
    padding-top: 100px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.08), transparent 70%);
    pointer-events: none;
}

.hero-pretext {
    font-size: 1rem;
    letter-spacing: 1px;
}

.hero-title {
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    position: relative;
    z-index: 1;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* === Services === */
.services-section {
    background-color: var(--bg-primary);
}

.service-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-surface-border);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent);
}

.service-tags .badge {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    margin: 0.15rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* === Contact === */
.contact-section {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--bg-surface-border);
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--accent);
}

.contact-link i {
    font-size: 1.3rem;
    color: var(--accent);
}

.btn-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.btn-icon:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}

.founder-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.founder-link:hover {
    color: #34d399;
}

/* === Footer === */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--bg-surface-border);
}

/* === Button Overrides === */
.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}

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

    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .service-card {
        text-align: center;
    }
}
