/* ══════════════════════════════════════════════════
   developer.css — ZSM Digital Developer Page
   Dev card, skills, tech stack, philosophy
   ══════════════════════════════════════════════════ */

    /* Dev card palette — monochrome aligned with site */
    --base-dark: #0a0a0b;
    --trace-dull: #3a3a3a;
    --trace-bright: #888888;
    --trace-glow: #cccccc;
    --logic-cyan: #22c55e;
    --surface-grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

/* ─── Navbar ─── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; width: 100%;
    background: rgba(5, 5, 5, 0.85);
    padding: 16px 40px;
    display: flex; align-items: center; justify-content: space-between;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}
.logo { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-weight: 600; font-size: 16px; }
.logo-icon { width: 32px; height: 32px; background: url('/static/images/logo.png') center/contain no-repeat; filter: brightness(1.2); }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a { color: #999; text-decoration: none; font-weight: 400; font-size: 14px; transition: all 0.3s ease; letter-spacing: 0.01em; }
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-buttons { display: flex; align-items: center; gap: 16px; }
.login-btn { color: #999; text-decoration: none; font-weight: 400; font-size: 14px; transition: color 0.3s ease; }
.login-btn:hover { color: white; }
.signup-btn { background: white; color: #000; padding: 10px 22px; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 14px; transition: all 0.3s ease; }
.signup-btn:hover { background: #e5e5e5; transform: translateY(-1px); }

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 140px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 100%);
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 13px; color: #999;
    margin-bottom: 40px;
    position: relative; z-index: 1;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: #22c55e; border-radius: 50%; }

.hero h1 {
    font-size: 4.5rem; font-weight: 300; margin-bottom: 24px;
    line-height: 1.1; color: white; letter-spacing: -0.03em; font-style: italic;
    position: relative; z-index: 1;
}
.hero h1 strong { font-weight: 400; }

.hero p {
    font-size: 1.15rem; color: #666; max-width: 560px;
    margin: 0 auto 40px; line-height: 1.7; font-weight: 400;
    position: relative; z-index: 1;
}

.hero-cta {
    display: flex; gap: 16px; justify-content: center;
    position: relative; z-index: 1;
}
.hero-cta .primary-btn {
    background: white; color: #000; padding: 14px 28px;
    border-radius: 8px; text-decoration: none; font-weight: 500;
    font-size: 14px; transition: all 0.3s ease; border: none; cursor: pointer;
}
.hero-cta .primary-btn:hover { background: #e5e5e5; transform: translateY(-1px); }
.hero-cta .secondary-btn {
    background: rgba(255,255,255,0.05); color: #ccc; padding: 14px 28px;
    border-radius: 8px; text-decoration: none; font-weight: 500;
    font-size: 14px; transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-cta .secondary-btn:hover { background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.2); }

/* ─── Dev Card Section ─── */
.card-section {
    padding: 60px 20px 120px;
    display: flex; align-items: center; justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-context {
    max-width: 420px;
}
.card-context h2 {
    font-size: 2.5rem; font-weight: 400; margin-bottom: 20px;
    line-height: 1.2; letter-spacing: -0.02em;
}
.card-context h2 .highlight { font-weight: 300; font-style: italic; }
.card-context p { color: #888; line-height: 1.7; font-size: 1rem; margin-bottom: 16px; }
.card-context .mono-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: #555; margin-top: 24px;
    border-left: 2px solid rgba(255,255,255,0.15);
    padding-left: 16px;
}

/* ─── The Copper-Plate Card (restyled) ─── */
.copper-plate {
    position: relative;
    width: 420px; height: 600px;
    background: radial-gradient(circle at 50% 0%, #151515 0%, #0a0a0b 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), inset 0 0 40px rgba(255,255,255,0.02);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    flex-shrink: 0;
}
.copper-plate::before {
    content: "";
    position: absolute; inset: 0;
    background-image: var(--surface-grain);
    opacity: 0.08; mix-blend-mode: overlay; pointer-events: none;
}

.traces-layer {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.etched-lines {
    position: absolute; width: 100%; height: 100%;
    stroke: var(--trace-dull); stroke-width: 1; fill: none;
    opacity: 0.3;
    transition: stroke 0.4s ease, opacity 0.4s ease;
}
.copper-plate:hover .etched-lines { stroke: var(--trace-bright); opacity: 0.6; }

.card-content {
    position: relative; z-index: 10;
    padding: 40px; height: 100%;
    display: flex; flex-direction: column; justify-content: space-between;
}

/* Profile Image */
.profile-pic-wrapper {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 0 30px rgba(255,255,255,0.05);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.copper-plate:hover .profile-pic-wrapper {
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 0 40px rgba(255,255,255,0.08);
}
.profile-pic-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.4s ease;
}
.copper-plate:hover .profile-pic-wrapper img { filter: grayscale(0%); }

.header-block {
    border-left: 2px solid rgba(255,255,255,0.25);
    padding-left: 20px;
    transform: translateY(20px); opacity: 0;
    animation: slideUp 0.8s forwards cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.id-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--trace-glow);
    letter-spacing: 4px; text-transform: uppercase;
    margin-bottom: 8px; display: block;
}
.card-name {
    font-size: 32px; font-weight: 800; color: #fff;
    line-height: 0.9; text-transform: uppercase; letter-spacing: -1px;
}
.card-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; color: var(--trace-bright);
    margin-top: 10px; display: block;
}

.card-stats-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(255,255,255,0.06);
    padding: 2px; margin-top: 30px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    transform: translateY(20px); opacity: 0;
    animation: slideUp 0.8s forwards cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}
.card-stat-node {
    background: var(--base-dark); padding: 18px;
    display: flex; flex-direction: column;
}
.card-stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; color: #555;
    text-transform: uppercase; margin-bottom: 8px;
}
.card-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px; color: #eee;
}

.terminal-block {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--trace-bright);
    background: rgba(0,0,0,0.5); padding: 15px;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    transform: translateY(20px); opacity: 0;
    animation: slideUp 0.8s forwards cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
}
.terminal-block::after {
    content: "";
    position: absolute; bottom: 0; right: 0;
    width: 10px; height: 10px;
    background: var(--trace-glow);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.cursor {
    display: inline-block; width: 6px; height: 12px;
    background: var(--trace-glow); vertical-align: middle;
    margin-left: 4px;
    animation: blink 1s infinite;
}
.status-dot {
    width: 6px; height: 6px; background: var(--logic-cyan);
    border-radius: 50%; display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--logic-cyan);
}

.glow-point {
    position: absolute;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none; z-index: 5; mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes slideUp { to { transform: translateY(0); opacity: 1; } }
@keyframes blink { 50% { opacity: 0; } }

/* ─── Skills Section ─── */
.skills-section {
    padding: 120px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.skills-section h2 {
    font-size: 2.5rem; font-weight: 400; text-align: center;
    margin-bottom: 20px; letter-spacing: -0.02em;
}
.skills-section h2 .highlight { font-weight: 300; font-style: italic; }
.skills-subtitle {
    color: #888; font-size: 1rem; text-align: center;
    margin-bottom: 60px; max-width: 500px; margin-left: auto; margin-right: auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.skill-card {
    background: rgba(255,255,255,0.02);
    border-radius: 16px; padding: 36px 28px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.skill-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}
.skill-icon {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.skill-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.skill-card p { color: #888; line-height: 1.6; font-size: 0.9rem; }

/* ─── Tech Stack ─── */
.stack-section {
    padding: 80px 20px 120px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.stack-section h2 {
    font-size: 2.5rem; font-weight: 400;
    margin-bottom: 20px; letter-spacing: -0.02em;
}
.stack-section h2 .highlight { font-weight: 300; font-style: italic; }
.stack-subtitle {
    color: #888; font-size: 1rem;
    margin-bottom: 50px;
}
.stack-grid {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.stack-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; color: #aaa;
    padding: 10px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}
.stack-tag:hover {
    color: white;
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

/* ─── Philosophy Section ─── */
.philosophy-section {
    padding: 100px 20px;
    max-width: 900px;
    margin: 0 auto;
}
.philosophy-section h2 {
    font-size: 2.5rem; font-weight: 400; text-align: center;
    margin-bottom: 50px; letter-spacing: -0.02em;
}
.philosophy-section h2 .highlight { font-weight: 300; font-style: italic; }

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.philosophy-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}
.philosophy-item:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}
.philosophy-item .number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: #555; margin-bottom: 12px;
    letter-spacing: 2px;
}
.philosophy-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.philosophy-item p { color: #888; line-height: 1.6; font-size: 0.9rem; }

/* ─── CTA ─── */
.cta-section {
    background: rgba(255, 255, 255, 0.02);
    margin: 80px 20px;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 900px;
    margin-left: auto; margin-right: auto;
}
.cta-section h2 { font-size: 2rem; font-weight: 400; margin-bottom: 16px; }
.cta-section p { color: #888; margin-bottom: 36px; font-size: 1rem; }
.cta-btn {
    background: white; color: #000;
    padding: 14px 28px; border-radius: 8px;
    text-decoration: none; font-weight: 500; font-size: 14px;
    transition: all 0.3s ease; border: none; cursor: pointer;
    display: inline-block;
}
.cta-btn:hover { background: #e5e5e5; transform: translateY(-2px); }


/* ── Developer Responsive ── */
/* ─── Mobile ─── */
.hamburger { display: none; flex-direction: column; cursor: pointer; padding: 8px; border-radius: 8px; transition: all 0.3s ease; }
.hamburger:hover { background: rgba(255, 255, 255, 0.05); }
.hamburger span { width: 20px; height: 2px; background: white; margin: 3px 0; transition: all 0.3s ease; border-radius: 2px; transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scale(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none; position: absolute; top: calc(100% + 10px); left: 20px; right: 20px;
    background: rgba(10, 10, 12, 0.98); border-radius: 16px; padding: 24px 20px;
    backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    opacity: 0; transform: translateY(-10px); transition: all 0.3s ease;
}
.mobile-menu.active { display: block; opacity: 1; transform: translateY(0); }
.mobile-nav-links { list-style: none; margin-bottom: 20px; }
.mobile-nav-links a { color: #999; text-decoration: none; font-weight: 400; font-size: 15px; display: block; padding: 12px 16px; border-radius: 10px; transition: all 0.3s ease; }
.mobile-nav-links a:hover { color: white; background: rgba(255, 255, 255, 0.05); }
.mobile-buttons { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.mobile-buttons .login-btn { text-align: center; padding: 12px 20px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: #999; border: 1px solid rgba(255, 255, 255, 0.08); transition: all 0.3s ease; font-weight: 400; }
.mobile-buttons .login-btn:hover { background: rgba(255, 255, 255, 0.08); color: white; }
.mobile-buttons .signup-btn { text-align: center; padding: 12px 20px; border-radius: 8px; background: white; color: #000; border: none; transition: all 0.3s ease; font-weight: 500; }
.mobile-buttons .signup-btn:hover { background: #e5e5e5; }

.mobile-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.mobile-overlay.active { display: block; opacity: 1; }

@media (max-width: 1100px) {
    .card-section { flex-direction: column-reverse; gap: 50px; text-align: center; }
    .card-context { max-width: 100%; }
    .card-context .mono-tag { border-left: none; padding-left: 0; text-align: center; }
}

@media (max-width: 900px) {
    .navbar { padding: 14px 20px; }
    .nav-links, .nav-buttons { display: none; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 2.8rem; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .philosophy-grid { grid-template-columns: 1fr; }
    .copper-plate { width: 360px; height: 560px; }
}

@media (max-width: 600px) {
    .hero { padding: 120px 20px 60px; }
    .hero h1 { font-size: 2.2rem; }
    .skills-grid { grid-template-columns: 1fr; }
    .copper-plate { width: 320px; height: 540px; }
    .cta-section { margin: 60px 10px; padding: 40px 20px; }
    .hero-cta { flex-direction: column; align-items: center; }
}

/* Meet Your Developer */
.meet-dev-section {
    padding: 100px 40px;
    background: var(--bg-color);
    position: relative;
}
.meet-dev-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}
.meet-dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}
.meet-dev-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
}
.meet-dev-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: white;
}
.meet-dev-text p {
    font-size: 1rem;
    color: #888;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}
.meet-dev-video {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 11, 0.8);
    position: relative;
    cursor: pointer;
}
.meet-dev-video video {
    width: 100%;
    display: block;
    border-radius: 12px;
}
.meet-dev-video .video-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 4px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.meet-dev-video:hover .video-pill,
.meet-dev-video .video-pill.visible {
    opacity: 1;
}
.video-pill button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}
.video-pill button:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.video-pill button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.meet-dev-video .video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.meet-dev-video .video-play-overlay.hidden {
    opacity: 0;
}
.video-play-overlay .play-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-circle svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    margin-left: 3px;
}
@media (max-width: 768px) {
    .meet-dev-section { padding: 60px 20px; }
    .meet-dev-text h2 { font-size: 1.8rem; }
    .meet-dev-video .video-pill { opacity: 1; }
}

/* --- Inline replacements --- */
.dev-node-badge { margin-bottom: 8px; }
.dev-node-label { color: #fff; font-size: 9px; text-transform: uppercase; }
