/* ─── Reset & Base ──────────────────────────────────────────────────────── */

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

:root {
    --bg: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --text: #e5e5e5;
    --text-muted: #888;
    --accent: #cc5500;
    --accent-hover: #b34a00;
    --border: #222;
    --radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Typography ────────────────────────────────────────────────────────── */

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

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

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

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

.btn-secondary:hover {
    border-color: var(--text-muted);
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */

.hero {
    padding: 120px 0 80px;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

/* ─── About ─────────────────────────────────────────────────────────────── */

.about {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.about-icon {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.about-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ─── Projects ──────────────────────────────────────────────────────────── */

.projects {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-card {
    display: block;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}

.project-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.project-card.project-coming-soon {
    opacity: 0.6;
    pointer-events: none;
}

.project-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-description {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tech span {
    font-size: 0.72rem;
    padding: 3px 10px;
    background: rgba(204, 85, 0, 0.1);
    border: 1px solid rgba(204, 85, 0, 0.2);
    border-radius: 100px;
    color: var(--accent);
    font-weight: 500;
}

/* ─── Contact ───────────────────────────────────────────────────────────── */

.contact {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.contact-content {
    max-width: 600px;
}

.contact-direct {
    margin-bottom: 32px;
}

.contact-email {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

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

.form-group textarea {
    resize: vertical;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */

.footer {
    padding: 40px 0;
    text-align: center;
}

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

/* ─── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
