/* ==========================================================================
   Adjusted Course - Styles
   Dark, minimal, bold
   ========================================================================== */

:root {
    --bg: #0a0a0a;
    --bg-elevated: #141414;
    --bg-card: #1a1a1a;
    --text: #fafafa;
    --text-muted: #888;
    --accent: #00ff88;
    --accent-dim: rgba(0, 255, 136, 0.1);
    --border: #2a2a2a;
    --error: #ff4444;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    --max-width: 1200px;
    --radius: 8px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Grain overlay for texture */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p {
    color: var(--text-muted);
    max-width: 60ch;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3);
    opacity: 1;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    opacity: 1;
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 1rem 0;
}

.btn-ghost:hover {
    color: var(--text);
    opacity: 1;
}

.btn-full {
    width: 100%;
}

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-sm) 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text);
    font-weight: 600;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 6px;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--text);
    opacity: 1;
}

.nav-cta {
    background: var(--bg-card);
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.nav-cta:hover {
    border-color: var(--accent) !important;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-xl) 0;
    padding-top: calc(var(--space-xl) + 60px);
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    margin-bottom: var(--space-md);
}

.hero-title .strike {
    text-decoration: line-through;
    color: var(--text-muted);
    text-decoration-color: var(--error);
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    max-width: 50ch;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Stats */
.stats {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--space-lg) 0;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Problem Section */
.problem {
    padding: var(--space-xl) 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.problem-text h2 {
    margin-bottom: var(--space-md);
    color: var(--text);
}

.problem-text p {
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.problem-list {
    background: var(--bg-card);
    padding: var(--space-md);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.problem-list h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    margin-top: var(--space-md);
}

.problem-list h3:first-child {
    margin-top: 0;
}

.problem-list ul {
    list-style: none;
}

.problem-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    color: var(--text);
}

.problem-list .x {
    color: var(--error);
    font-weight: bold;
}

.problem-list .check {
    color: var(--accent);
    font-weight: bold;
}

/* Services / Pricing */
.services {
    padding: var(--space-xl) 0;
    background: var(--bg-elevated);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.section-sub {
    text-align: center;
    margin: 0 auto var(--space-lg);
    font-size: 1.1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    position: relative;
}

.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 60px rgba(0, 255, 136, 0.1);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-header {
    text-align: center;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-md);
}

.price-header h3 {
    margin-bottom: var(--space-xs);
    color: var(--text);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    font-family: var(--font-mono);
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-features {
    list-style: none;
    flex: 1;
    margin-bottom: var(--space-md);
}

.price-features li {
    padding: var(--space-xs) 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

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

.pricing-note {
    text-align: center;
    font-size: 0.95rem;
}

/* Work */
.work {
    padding: var(--space-xl) 0;
}

.work-grid {
    margin-top: var(--space-lg);
}

.work-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.work-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.work-info h3 {
    color: var(--text);
    margin-bottom: var(--space-sm);
}

.work-info p {
    margin-bottom: var(--space-sm);
}

.work-link {
    display: inline-block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.work-live {
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.work-live:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.15);
}

.work-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.work-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 20px;
    font-family: var(--font-mono);
}

.work-cta {
    text-align: center;
    margin-top: var(--space-lg);
    color: var(--text-muted);
}

/* Process */
.process {
    padding: var(--space-xl) 0;
    background: var(--bg-elevated);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.process-step {
    text-align: center;
}

.step-num {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.process-step h3 {
    color: var(--text);
    margin-bottom: var(--space-xs);
    font-size: 1.35rem;
}

.process-step p {
    font-size: 1rem;
    margin: 0 auto;
    line-height: 1.5;
}

/* Contact */
.contact {
    padding: var(--space-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-text h2 {
    margin-bottom: var(--space-md);
}

.contact-text > p {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.contact-info {
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.contact-email {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact-location {
    font-size: 0.9rem;
}

.contact-form {
    background: var(--bg-card);
    padding: var(--space-md);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 968px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .price-card.featured {
        order: -1;
    }
    
    .work-item {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links a:not(.nav-cta) {
        display: none;
    }
    
    .stats .container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-brand {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 3rem;
        --space-xl: 5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}
