/*
Theme Name: Design Anticipation
Theme URI: https://designanticipation.com
Author: Design Anticipation LLC
Author URI: https://designanticipation.com
Description: A sophisticated dark theme for Design Anticipation LLC - spatial computing and interface innovation.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: designanticipation
*/

:root {
    --bg: #0a0a0c;
    --surface: #131318;
    --text: #e8e8ec;
    --text-muted: #8a8a96;
    --accent: #4a9eff;
    --accent-glow: rgba(74, 158, 255, 0.15);
    --border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

/* Subtle grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(74, 158, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 158, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Navigation */
.site-header {
    position: relative;
    z-index: 10;
}

nav {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links .current-menu-item a,
.nav-links .current_page_item a {
    color: var(--text);
}

/* Hero */
.hero {
    padding: 8rem 0 6rem;
    max-width: 800px;
}

.hero h1 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}

/* Feature cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 4rem 0 8rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 0 0 40px var(--accent-glow);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
}

.feature-card h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Page header */
.page-header {
    padding: 6rem 0 4rem;
    max-width: 800px;
}

.page-header h1 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.page-header .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Content */
.content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 2rem 0 6rem;
}

.content-block h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.content-block p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* Credentials */
.credentials {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.credentials h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.credentials ul {
    list-style: none;
}

.credentials li {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.credentials li:last-child {
    border-bottom: none;
}

.credentials li strong {
    color: var(--text);
    font-weight: 500;
}

/* Project cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 2rem 0 6rem;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 0 0 60px var(--accent-glow);
    transform: translateY(-4px);
}

.project-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.project-card h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.project-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.project-link:hover {
    color: var(--accent);
    gap: 0.75rem;
}

.project-link svg {
    width: 18px;
    height: 18px;
}

/* Connect card */
.connect-card {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(74, 158, 255, 0.08) 100%);
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.connect-card .project-badge {
    background: rgba(74, 158, 255, 0.2);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Generic page content */
.page-content {
    padding: 2rem 0 6rem;
    max-width: 800px;
}

.page-content h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.page-content p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.8;
}

.page-content a {
    color: var(--accent);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .hero {
        padding: 5rem 0 4rem;
    }
    
    .features {
        padding: 3rem 0 5rem;
    }
    
    .page-header {
        padding: 4rem 0 3rem;
    }
    
    .content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 0 4rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 2rem 0 4rem;
    }
}
