/* Neutral High-Tech Theme - V3 Landscape */
:root {
    --bg-color: #0a0b0e;
    --grid-color: rgba(255, 255, 255, 0.03);

    --text-primary: #e0e0e0;
    --text-dim: #7a7a7a;
    --text-highlight: #ffffff;

    --accent-color: #00bcd4;
    /* Cyan */
    --accent-dim: rgba(0, 188, 212, 0.2);

    --card-bg: rgba(20, 22, 26, 0.85);
    --card-border: rgba(255, 255, 255, 0.1);

    --font-ui: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-ui);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
}

/* Background Grid & Scanlines */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.1));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 100;
    opacity: 0.3;
}

/* Landscape Card Structure */
.tech-card-landscape {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 900px;
    min-height: 500px;
    z-index: 1;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);

    display: flex;
    flex-direction: row;
    /* Split Layout */
    overflow: hidden;
    /* For image containment */
}

/* Decorations */
.corner-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    opacity: 0.5;
    z-index: 10;
}

.top-left {
    top: -1px;
    left: -1px;
    border-bottom: none;
    border-right: none;
}

.top-right {
    top: -1px;
    right: -1px;
    border-bottom: none;
    border-left: none;
}

.bottom-left {
    bottom: -1px;
    left: -1px;
    border-top: none;
    border-right: none;
}

.bottom-right {
    bottom: -1px;
    right: -1px;
    border-top: none;
    border-left: none;
}

.status-label {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    opacity: 0.8;
    z-index: 10;
}

/* Left Column (Content) */
.content-column {
    flex: 1.2;
    /* 60%ish */
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--card-border);
    position: relative;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), transparent);
}

.profile-header-left {
    margin-bottom: 2rem;
}

.identity-block-left h1 {
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-highlight);
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.role-terminal {
    font-family: var(--font-code);
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Bio Section */
.bio-panel-left {
    margin-bottom: 2.5rem;
}

.panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 10px;
}

.panel-label {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.panel-line {
    width: 50px;
    height: 1px;
    background-color: var(--accent-dim);
}

.bio-panel-left p {
    color: var(--text-primary);
    font-size: 1.05rem;
    max-width: 400px;
    margin-bottom: 1.2rem;
}

.tech-specs {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--text-dim);
    display: flex;
    gap: 1rem;
}

.tech-specs span {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 2px;
}

/* Buttons */
.connect-row {
    display: flex;
    gap: 1.2rem;
    margin-bottom: auto;
    /* Push footer down */
}

.tech-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 0.8rem 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-code);
    font-size: 0.85rem;
    transition: all 0.2s ease;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    fill: currentColor;
}

.tech-btn:hover {
    background: var(--accent-dim);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.tech-footer-left {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--text-dim);
    display: flex;
    justify-content: space-between;
}

/* Right Column (Image) */
.image-column {
    flex: 0.8;
    /* 40%ish */
    position: relative;
    overflow: hidden;
    background-color: #050505;
}

.image-frame {
    width: 100%;
    height: 100%;
    position: relative;
}

.full-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.5s ease;
}

.tech-card-landscape:hover .full-profile-img {
    filter: grayscale(20%) contrast(1.1);
}

/* Technical Overlay on Image */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-color), transparent 20%);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 850px) {
    .tech-card-landscape {
        flex-direction: column;
        /* Stack normally: Content first, Image second */
        width: 95%;
        max-width: 500px;
        min-height: auto;
        margin: 2rem 0;
        /* Add details spacing */
    }

    .content-column {
        border-right: none;
        border-bottom: 1px solid var(--card-border);
        padding: 2.5rem 2rem;
    }

    .image-column {
        height: 300px;
        /* Reduced height for mobile */
    }

    .full-profile-img {
        object-position: center 20%;
        /* Focus on face slightly better */
    }

    .image-overlay {
        background: linear-gradient(to bottom, var(--bg-color), transparent 20%);
    }

    .identity-block-left h1 {
        font-size: 2rem;
    }

    .connect-row {
        flex-wrap: wrap;
    }

    .tech-btn {
        flex: 1;
        justify-content: center;
    }
}