:root {
    --primary: #00d4aa;
    --primary-dark: #00b894;
    --secondary: #0a0a0f;
    --accent: #6c5ce7;
    --text: #e0e0e0;
    --text-muted: #888;
    --background: #0a0a0f;
    --background-card: #141419;
    --background-lighter: #1a1a22;
    --border: #2a2a35;
    --success: #00d4aa;
    --warning: #fdcb6e;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.terminal-cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--secondary) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

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

.terminal-header {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.terminal-prompt {
    color: var(--primary);
}

.terminal-command {
    color: var(--text-muted);
}

.section-terminal {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-terminal.light .terminal-prompt,
.section-terminal.light .terminal-command {
    color: rgba(255, 255, 255, 0.7);
}

.hero {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-main {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.hero-content {
    flex: 1;
}

.match-badge {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge-icon {
    background: var(--primary);
    color: var(--secondary);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

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

.badge-text strong {
    color: var(--text);
}

.badge-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--primary);
    padding-left: 1rem;
    border-left: 1px solid var(--border);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 550px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tag {
    background: var(--background-lighter);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-card {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.hero-photo {
    flex-shrink: 0;
    width: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border);
}

.hero-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--success);
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.profile-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.profile-card h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.profile-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.profile-stats .stat {
    text-align: center;
}

.profile-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.profile-stats .stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.profile-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-highlights span {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 1rem;
    border-left: 2px solid var(--primary);
}

.about,
.approach,
.experience,
.case-studies,
.skills {
    padding: 6rem 0;
}

.about {
    background: var(--background-card);
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.requirement-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.requirement-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.req-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.req-icon {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 212, 170, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.req-header h3 {
    font-size: 1.1rem;
    color: #fff;
}

.label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.req-need .label {
    color: var(--warning);
}

.req-offer .label {
    color: var(--success);
}

.req-need,
.req-offer {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.req-need {
    background: rgba(253, 203, 110, 0.05);
    border-left: 3px solid var(--warning);
}

.req-offer {
    background: rgba(0, 212, 170, 0.05);
    border-left: 3px solid var(--success);
}

.req-need p,
.req-offer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.framework-quote {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.framework-quote blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: #fff;
    margin-bottom: 0.75rem;
}

.framework-quote cite {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.pillar-card {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.pillar-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.pillar-letter {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.pillar-card h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

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

.behaviour-change {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.behaviour-change h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.bc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bc-step {
    text-align: center;
    padding: 1rem;
}

.step-num {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.bc-step h4 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.bc-step p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ethics-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 8px;
}

.ethics-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.ethics-values {
    display: flex;
    gap: 1rem;
}

.ethics-values span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.experience {
    background: var(--background-card);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding: 1.5rem 0;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 2rem;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--background-card);
    transform: translateX(-5px);
}

.timeline-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.timeline-company {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.timeline-content > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.timeline-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-achievements span {
    background: var(--background);
    border: 1px solid var(--border);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.case-card {
    background: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.case-card:hover {
    border-color: var(--primary);
}

.case-header {
    margin-bottom: 1rem;
}

.case-duration {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--primary);
}

.case-header h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-top: 0.5rem;
}

.case-card > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.case-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.case-methods span {
    background: var(--background);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.case-result {
    padding: 1rem;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.portfolio-link {
    text-align: center;
}

.skills {
    background: var(--background-card);
}

.skills-checklist {
    max-width: 800px;
}

.skill-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.skill-item.checked {
    border-color: var(--success);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--success);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.skill-content strong {
    display: block;
    color: #fff;
    margin-bottom: 0.25rem;
}

.skill-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact {
    padding: 6rem 0;
    background: var(--primary);
    color: var(--secondary);
}

.contact h2 {
    color: var(--secondary);
}

.contact .section-subtitle {
    color: rgba(10, 10, 15, 0.7);
}

.contact-grid {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-card {
    background: rgba(10, 10, 15, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    text-align: center;
}

.contact-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.contact-card a,
.contact-card span {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

.footer {
    padding: 2rem 0;
    background: var(--secondary);
    text-align: center;
    border-top: 1px solid var(--border);
}

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

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .match-badge {
        flex-direction: column;
        gap: 0.5rem;
    }

    .badge-role {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border);
        padding-top: 0.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 1.5rem;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-sidebar {
        max-width: 400px;
        margin: 0 auto;
    }

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

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bc-steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .bc-steps {
        grid-template-columns: 1fr;
    }

    .ethics-bar {
        flex-direction: column;
        gap: 0.75rem;
    }

    .contact-info {
        flex-direction: column;
    }
}
