:root {
    --bg:       #0a0c0f;
    --surface:  #111418;
    --surface2: #181c22;
    --border:   #1f252e;
    --accent:   #4fffb0;
    --accent2:  #4fc3ff;
    --accent3:  #ff6b6b;
    --text:     #e8edf5;
    --muted:    #6b7a90;
    --php:      #7b7fb5;
    --react:    #61dafb;
    --node:     #6abf69;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ─── NOISE OVERLAY ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 180px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ─── TYPOGRAPHY ─── */
.display-font { font-family: 'DM Serif Display', serif; }
.mono         { font-family: 'DM Mono', monospace; }

h1, h2, h3, h4 { font-family: 'DM Serif Display', serif; line-height: 1.15; }

.section-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--accent), transparent);
    max-width: 80px;
    opacity: 0.5;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ─── GLOW ELEMENTS ─── */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.12;
}

/* ─── NAVBAR ─── */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}
#navbar.scrolled {
    background: rgba(10,12,15,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
    padding: 0.9rem 0;
}
.nav-logo {
    font-family: 'DM Mono', monospace;
    font-size: 1.05rem;
    color: var(--text) !important;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.navbar-nav .nav-link {
    font-size: 0.82rem;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.06em;
    color: var(--muted) !important;
    padding: 0.4rem 1rem !important;
    transition: color 0.2s;
    text-transform: lowercase;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--text) !important; }
.nav-cta {
    font-family: 'DM Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--accent) !important;
    border: 1px solid var(--accent);
    border-radius: 3px;
    padding: 0.4rem 1.1rem !important;
    transition: all 0.2s;
}
.nav-cta:hover {
    background: var(--accent);
    color: var(--bg) !important;
}
.navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.3rem 0.6rem;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(232,237,245,.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─── HERO ─── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-available {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(79, 255, 176, 0.07);
    border: 1px solid rgba(79, 255, 176, 0.2);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 2rem;
}
.hero-available .dot {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}
.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.hero-title .accent-word { color: var(--accent); font-style: italic; }
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 440px;
    margin: 1.5rem 0 2.5rem;
    line-height: 1.75;
}
.hero-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 3rem;
}
.stack-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    padding: 0.35rem 0.85rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
    border: 1px solid var(--border);
    color: var(--muted);
    transition: all 0.2s;
}
.stack-tag:hover { border-color: var(--accent); color: var(--accent); }
.stack-tag.php  { border-color: rgba(123,127,181,0.3); color: var(--php); }
.stack-tag.react{ border-color: rgba(97,218,251,0.3); color: var(--react); }
.stack-tag.node { border-color: rgba(106,191,105,0.3); color: var(--node); }

.hero-code-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.9;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.code-header {
    background: var(--surface2);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-body { padding: 1.25rem 1.5rem; }
.c-muted  { color: var(--muted); }
.c-green  { color: var(--accent); }
.c-blue   { color: var(--accent2); }
.c-purple { color: var(--php); }
.c-orange { color: #f4a261; }
.c-red    { color: var(--accent3); }

/* ─── BUTTONS ─── */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--bg);
    font-family: 'DM Mono', monospace;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.btn-primary-custom:hover {
    background: #3be09a;
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79,255,176,0.2);
}
.btn-secondary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text);
    font-family: 'DM Mono', monospace;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.btn-secondary-custom:hover {
    border-color: var(--text);
    color: var(--text);
    transform: translateY(-2px);
}

/* ─── STATS BAR ─── */
#stats {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
}
.stat-item { text-align: center; padding: 0.5rem; }
.stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--text);
    line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 0.4rem;
}
.stat-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    margin: 0 auto;
}

/* ─── SECTION BASICS ─── */
section { padding: 7rem 0; }

/* ─── ABOUT ─── */
#about { background: var(--bg); position: relative; }
.about-img-wrap {
    position: relative;
    display: inline-block;
}
.about-img {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(20%) contrast(1.05);
    display: block;
}
/* ─── ABOUT CODING VISUAL ─── */
.about-code-visual {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4/5;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}
.acv-topbar {
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.acv-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.acv-filename {
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    color: var(--muted);
    margin-left: 0.5rem;
    letter-spacing: 0.04em;
}
.acv-body {
    flex: 1;
    padding: 1.1rem 1.25rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    line-height: 1.85;
    overflow: hidden;
    position: relative;
}
.acv-line { display: flex; gap: 0.6rem; opacity: 0; animation: acv-fade-in 0.4s forwards; }
.acv-ln { color: var(--border); min-width: 1.5rem; text-align: right; user-select: none; }
.acv-code { white-space: pre; }
/* staggered line appearances */
.acv-line:nth-child(1)  { animation-delay: 0.1s; }
.acv-line:nth-child(2)  { animation-delay: 0.25s; }
.acv-line:nth-child(3)  { animation-delay: 0.4s; }
.acv-line:nth-child(4)  { animation-delay: 0.55s; }
.acv-line:nth-child(5)  { animation-delay: 0.7s; }
.acv-line:nth-child(6)  { animation-delay: 0.85s; }
.acv-line:nth-child(7)  { animation-delay: 1.0s; }
.acv-line:nth-child(8)  { animation-delay: 1.15s; }
.acv-line:nth-child(9)  { animation-delay: 1.3s; }
.acv-line:nth-child(10) { animation-delay: 1.45s; }
.acv-line:nth-child(11) { animation-delay: 1.6s; }
.acv-line:nth-child(12) { animation-delay: 1.75s; }
.acv-line:nth-child(13) { animation-delay: 1.9s; }
.acv-line:nth-child(14) { animation-delay: 2.05s; }
.acv-line:nth-child(15) { animation-delay: 2.2s; }
.acv-line:nth-child(16) { animation-delay: 2.35s; }
.acv-line:nth-child(17) { animation-delay: 2.5s; }
.acv-line:nth-child(18) { animation-delay: 2.65s; }
@keyframes acv-fade-in {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0); }
}
.acv-cursor {
    display: inline-block;
    width: 7px; height: 1em;
    background: var(--accent);
    vertical-align: text-bottom;
    margin-left: 1px;
    animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
/* syntax colors */
.sk { color: #c678dd; }   /* keyword: const/function/return */
.sf { color: var(--accent2); }  /* function name */
.ss { color: #e5c07b; }   /* string */
.sc { color: var(--muted); font-style: italic; } /* comment */
.sn { color: #d19a66; }   /* number / prop */
.sp { color: var(--text); } /* punctuation */
.sa { color: var(--accent); } /* accent / var */
/* bottom status bar */
.acv-statusbar {
    background: var(--accent);
    padding: 0.3rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    color: var(--bg);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
/* git badge */
.acv-git { display: flex; align-items: center; gap: 0.4rem; }
/* floating badges */
.acv-badge {
    position: absolute;
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: var(--surface2);
    white-space: nowrap;
    pointer-events: none;
}
.acv-badge.b1 { bottom: 3.5rem; right: -1rem; color: var(--php); border-color: rgba(123,127,181,0.4); animation: float 5s ease-in-out infinite; }
.acv-badge.b2 { bottom: 6rem;   right: -1.5rem; color: var(--react); border-color: rgba(97,218,251,0.3); animation: float 6s ease-in-out infinite 1s; }
.acv-badge.b3 { bottom: 8.5rem; right: -0.75rem; color: var(--node); border-color: rgba(106,191,105,0.3); animation: float 7s ease-in-out infinite 0.5s; }
.about-accent-box {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 80px; height: 80px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    opacity: 0.5;
}
.about-accent-box2 {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 50px; height: 50px;
    border: 1px solid var(--accent2);
    border-radius: 2px;
    opacity: 0.3;
}
.about-text p {
    color: var(--muted);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}
.about-text strong { color: var(--text); }
.about-detail-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.about-detail-row:first-child { border-top: 1px solid var(--border); }
.about-detail-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    min-width: 80px;
    text-transform: uppercase;
}

/* ─── SERVICES ─── */
#services { background: var(--surface); position: relative; }
.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.service-card:hover { border-color: rgba(79,255,176,0.2); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 44px; height: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: var(--accent);
}
.service-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}
.service-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.s-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.67rem;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    background: var(--surface);
    color: var(--muted);
    letter-spacing: 0.05em;
}

/* ─── PROJECTS ─── */
#projects { background: var(--bg); }
.project-filter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.filter-btn {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(79,255,176,0.05);
}
.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}
.project-card:hover {
    border-color: rgba(79,255,176,0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.project-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--surface2);
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.project-img-inner {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    flex-direction: column;
    gap: 0.75rem;
}
.project-img-inner i { font-size: 2rem; opacity: 0.3; }
.proj-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,12,15,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.project-card:hover .proj-overlay { opacity: 1; }
.proj-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.45rem 1rem;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s;
}
.proj-link:hover { border-color: var(--accent); color: var(--accent); }
.project-body { padding: 1.5rem; }
.project-body h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.project-body p { font-size: 0.87rem; color: var(--muted); margin-bottom: 1rem; }
.project-tech { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.p-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    padding: 0.2rem 0.55rem;
    border-radius: 2px;
    letter-spacing: 0.05em;
}
.p-tag.php   { background: rgba(123,127,181,0.12); color: var(--php); }
.p-tag.react { background: rgba(97,218,251,0.1); color: var(--react); }
.p-tag.node  { background: rgba(106,191,105,0.1); color: var(--node); }
.p-tag.other { background: var(--surface2); color: var(--muted); }

/* ─── SKILLS ─── */
#skills { background: var(--surface); }
.skill-group { margin-bottom: 2.5rem; }
.skill-group-title {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.skill-group-title::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--accent);
    opacity: 0.5;
}
.skill-item { margin-bottom: 1rem; }
.skill-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}
.skill-name { font-size: 0.88rem; font-weight: 500; }
.skill-pct {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    color: var(--muted);
}
.skill-bar {
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}
.skill-fill {
    height: 100%;
    border-radius: 2px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(to right, var(--accent), var(--accent2));
}
.skill-fill.php-color {
    background: linear-gradient(to right, var(--php), #9b9fe8);
}
.skill-fill.react-color {
    background: linear-gradient(to right, var(--react), #a8e6ff);
}
.skill-fill.node-color {
    background: linear-gradient(to right, var(--node), #97e495);
}
.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tool-pill {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--muted);
    transition: all 0.2s;
    letter-spacing: 0.04em;
}
.tool-pill:hover { border-color: var(--accent2); color: var(--accent2); }

/* ─── PROCESS ─── */
#process { background: var(--bg); }
.process-step {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s;
    position: relative;
}
.process-step:hover { border-color: rgba(79,255,176,0.2); }
.process-num {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: var(--border);
    line-height: 1;
    min-width: 50px;
    transition: color 0.3s;
}
.process-step:hover .process-num { color: var(--accent); opacity: 0.4; }
.process-step h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.88rem; color: var(--muted); }

/* ─── TESTIMONIALS ─── */
#testimonials { background: var(--surface); }
.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem; right: 1.5rem;
    font-family: 'DM Serif Display', serif;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.08;
    line-height: 1;
}
.testimonial-text {
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    color: var(--accent);
}
.author-name { font-size: 0.9rem; font-weight: 600; }
.author-role { font-family: 'DM Mono', monospace; font-size: 0.7rem; color: var(--muted); }
.star-row { display: flex; gap: 2px; margin-bottom: 1rem; color: #f4a261; font-size: 0.8rem; }

/* ─── CONTACT ─── */
#contact { background: var(--bg); }
.contact-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}
.contact-left {
    padding: 3.5rem;
    background: var(--surface2);
    height: 100%;
}
.contact-left h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-left p { color: var(--muted); margin-bottom: 2rem; }
.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.contact-icon {
    width: 38px; height: 38px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.contact-detail-text { font-size: 0.88rem; }
.contact-detail-label { font-family: 'DM Mono', monospace; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.1rem; }
.social-links { display: flex; gap: 0.6rem; margin-top: 2rem; }
.social-btn {
    width: 40px; height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }
.contact-right { padding: 3.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label-custom {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
    display: block;
}
.form-control-custom {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 0.75rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    outline: none;
}
.form-control-custom:focus { border-color: var(--accent); }
.form-control-custom::placeholder { color: var(--muted); opacity: 0.5; }
textarea.form-control-custom { resize: vertical; min-height: 130px; }
.form-select-custom {
    width: 100%;
    background: var(--bg) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7a90' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 0.75rem center / 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    appearance: none;
    outline: none;
    transition: border-color 0.2s;
}
.form-select-custom:focus { border-color: var(--accent); }
.form-select-custom option { background: var(--surface); }

/* ─── FOOTER ─── */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
}
.footer-logo { font-family: 'DM Mono', monospace; font-size: 1rem; color: var(--text); }
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-link {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }

/* ─── SCROLL ANIMATIONS ─── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── BACK TO TOP ─── */
#back-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 40px; height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    font-size: 0.9rem;
}
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { border-color: var(--accent); color: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
    .contact-left { padding: 2.5rem 1.5rem; }
    .contact-right { padding: 2.5rem 1.5rem; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .stat-divider { display: none; }
    section { padding: 5rem 0; }
}
