/* MkookieTech Portfolio — Terminal Brutalism Aesthetic */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    --bg-void:       #07090f;
    --bg-deep:       #0c0f1a;
    --bg-panel:      #111520;
    --bg-card:       #141826;
    --cyan:          #00ffe7;
    --cyan-dim:      #00ffe730;
    --cyan-mid:      #00ffe780;
    --coral:         #ff4f5e;
    --coral-dim:     #ff4f5e25;
    --amber:         #ffaa00;
    --text-primary:  #e8eaf2;
    --text-muted:    #6b7290;
    --text-faint:    #2a2f4a;
    --border:        #1e2540;
    --border-bright: #2a3260;
    --font-mono:     'JetBrains Mono', monospace;
    --font-display:  'Syne', sans-serif;
    --font-body:     'DM Sans', sans-serif;
    --grid-line: rgba(0, 255, 231, 0.03);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

/* Grid texture background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Scanline overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
    );
    pointer-events: none;
    z-index: 0;
}

.container, section, nav, footer {
    position: relative;
    z-index: 1;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.85em;
    letter-spacing: 0.05em;
}

.text-cyan   { color: var(--cyan); }
.text-coral  { color: var(--coral); }
.text-amber  { color: var(--amber); }
.text-muted-custom { color: var(--text-muted); }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--cyan); }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-mid); }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-void);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    gap: 1.5rem;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 2px solid var(--text-faint);
    border-top-color: var(--cyan);
    animation: spin 0.8s linear infinite;
}

.preloader-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: blink 1s step-end infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */
.custom-navbar {
    background: rgba(7, 9, 15, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.1rem 0;
    transition: all 0.3s ease;
}

.custom-navbar.scrolled {
    padding: 0.65rem 0;
    border-bottom-color: var(--cyan-dim);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border: 2px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 1rem;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.brand-slogan {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--cyan);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted) !important;
    font-weight: 400;
    padding: 0.5rem 0.9rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '//';
    color: var(--cyan);
    opacity: 0;
    margin-right: 4px;
    transition: opacity 0.2s ease;
    font-size: 0.7em;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-primary) !important;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    opacity: 1;
}

.navbar-toggler {
    border: 1px solid var(--border-bright);
    color: var(--text-primary);
}

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--cyan);
}

.section-label::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--cyan);
    transform: rotate(45deg);
}

.section-title-main {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
}

/* ============================================================
   SECTION STRUCTURE
   ============================================================ */
.section-padding {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-deep);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Radial glow */
.hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,255,231,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,79,94,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: fadeSlideDown 0.7s ease both;
}

.hero-eyebrow-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--cyan);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    animation: fadeSlideDown 0.7s 0.15s ease both;
}

.hero-title .highlight {
    color: transparent;
    -webkit-text-stroke: 2px var(--cyan);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--cyan);
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    animation: revealText 1.2s 0.8s cubic-bezier(0.77,0,0.175,1) forwards;
}

@keyframes revealText {
    to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    animation: fadeSlideDown 0.7s 0.3s ease both;
}

.hero-subtitle .role-tag {
    color: var(--coral);
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.75;
    animation: fadeSlideDown 0.7s 0.45s ease both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeSlideDown 0.7s 0.6s ease both;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    animation: fadeSlideDown 0.9s 0.3s ease both;
}

.terminal-window {
    width: 100%;
    max-width: 480px;
    background: var(--bg-panel);
    border: 1px solid var(--border-bright);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    font-family: var(--font-mono);
    font-size: 0.82rem;
}

.terminal-titlebar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-deep);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red   { background: #ff5f57; }
.terminal-dot.amber { background: #ffbd2e; }
.terminal-dot.green { background: #28ca41; }

.terminal-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-left: auto;
    margin-right: auto;
}

.terminal-body {
    padding: 1.5rem 1.25rem;
    line-height: 2;
}

.t-line {
    display: flex;
    gap: 0.5rem;
    color: var(--text-muted);
    opacity: 0;
    animation: termAppear 0.3s ease forwards;
}

.t-line:nth-child(1)  { animation-delay: 0.8s; }
.t-line:nth-child(2)  { animation-delay: 1.1s; }
.t-line:nth-child(3)  { animation-delay: 1.4s; }
.t-line:nth-child(4)  { animation-delay: 1.7s; }
.t-line:nth-child(5)  { animation-delay: 2.0s; }
.t-line:nth-child(6)  { animation-delay: 2.3s; }
.t-line:nth-child(7)  { animation-delay: 2.6s; }
.t-line:nth-child(8)  { animation-delay: 2.9s; }
.t-line:nth-child(9)  { animation-delay: 3.2s; }
.t-line:nth-child(10) { animation-delay: 3.5s; }

@keyframes termAppear {
    from { opacity: 0; transform: translateX(-4px); }
    to   { opacity: 1; transform: translateX(0); }
}

.t-prompt { color: var(--cyan); flex-shrink: 0; }
.t-cmd    { color: var(--text-primary); }
.t-out    { color: var(--amber); padding-left: 1rem; }
.t-ok     { color: #28ca41; }
.t-cursor {
    display: inline-block;
    width: 8px;
    height: 1em;
    background: var(--cyan);
    margin-left: 2px;
    vertical-align: middle;
    animation: blink 0.8s step-end infinite;
}

/* Stats row in hero */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    animation: fadeSlideDown 0.7s 0.75s ease both;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
    display: block;
}

.hero-stat-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    position: relative;
}

.btn-primary {
    background: var(--cyan);
    color: var(--bg-void);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-primary:hover {
    background: var(--text-primary);
    color: var(--bg-void);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan);
}

.btn-outline-gold:hover {
    background: var(--cyan-dim);
    transform: translateY(-2px);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-text p:last-child { margin-bottom: 0; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 2.5rem;
    background: var(--border);
    border: 1px solid var(--border);
}

.stat-item {
    background: var(--bg-panel);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: background 0.2s ease;
}

.stat-item:hover {
    background: var(--bg-card);
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
    display: block;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.4rem;
    display: block;
}

.tech-orbit {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 320px;
    margin: 0 auto;
}

.tech-chip {
    background: var(--bg-panel);
    border: 1px solid var(--border-bright);
    padding: 1.25rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    transition: all 0.25s ease;
    cursor: default;
}

.tech-chip i {
    font-size: 1.75rem;
    color: var(--cyan);
    transition: transform 0.3s ease;
}

.tech-chip:hover {
    border-color: var(--cyan);
    background: var(--cyan-dim);
    color: var(--text-primary);
    transform: translateY(-4px);
}

.tech-chip:hover i {
    transform: scale(1.15);
}

/* ============================================================
   SKILLS SECTION
   ============================================================ */
.skill-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.skill-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.6rem;
}

.skill-name {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-primary);
    letter-spacing: 0.08em;
}

.skill-pct {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--cyan);
}

.skill-track {
    height: 3px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--cyan);
    position: relative;
    transition: width 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.skill-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    background: var(--cyan);
    transform: rotate(45deg);
}

.skill-sub {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-faint);
    margin-top: 0.5rem;
    letter-spacing: 0.06em;
}

.skill-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    height: 100%;
}

.skill-cat-card {
    background: var(--bg-panel);
    padding: 2rem 1.5rem;
    transition: background 0.2s ease;
    position: relative;
    overflow: hidden;
}

.skill-cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--cyan);
    transition: height 0.3s ease;
}

.skill-cat-card:hover::before {
    height: 100%;
}

.skill-cat-card:hover {
    background: var(--bg-card);
}

.skill-cat-card i {
    font-size: 1.75rem;
    color: var(--coral);
    margin-bottom: 1rem;
    display: block;
}

.skill-cat-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.skill-cat-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.project-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--coral));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.project-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-6px);
}

.project-card:hover::after {
    transform: scaleX(1);
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 3.5rem;
    color: var(--border-bright);
    transition: all 0.3s ease;
}

.project-placeholder i {
    transition: color 0.3s ease, transform 0.3s ease;
}

.project-card:hover .project-placeholder i {
    color: var(--cyan);
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 44px;
    height: 44px;
    border: 1px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 1rem;
    transition: all 0.2s ease;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.project-link:hover {
    background: var(--cyan);
    color: var(--bg-void);
}

.project-content {
    padding: 1.5rem;
}

.project-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-faint);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    display: block;
}

.project-content h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.project-card:hover .project-content h4 {
    color: var(--cyan);
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1rem;
    line-height: 1.65;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: var(--coral);
    border: 1px solid var(--coral-dim);
    padding: 0.2rem 0.6rem;
    text-transform: uppercase;
    background: var(--coral-dim);
}

/* ============================================================
   EXPERIENCE / TIMELINE
   ============================================================ */
.timeline {
    position: relative;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-bright);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 2rem;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content li {
    padding-left: 0;
    padding-right: 1.25rem;
}

.timeline-item:nth-child(odd) .timeline-content li::before {
    left: auto;
    right: 0;
}

.timeline-node {
    position: absolute;
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--cyan);
    transform: translateX(-50%) rotate(45deg);
    z-index: 2;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border: 1px solid var(--cyan);
    white-space: nowrap;
    min-width: 140px;
    text-align: center;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0.8rem;
}

.timeline-content {
    flex: 1;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 1.5rem;
    transition: border-color 0.2s ease;
}

.timeline-content:hover {
    border-color: var(--border-bright);
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.timeline-content h5 {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--coral);
    margin-bottom: 0.9rem;
    letter-spacing: 0.06em;
    font-weight: 400;
}

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

.timeline-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.timeline-content li {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-left: 1.25rem;
    padding-bottom: 0.35rem;
    position: relative;
}

.timeline-content li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: bold;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: var(--text-faint);
    font-weight: 800;
}

.testimonial-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
}

.testimonial-content p {
    color: var(--text-muted);
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.author-info h5 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.author-info span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cyan);
    letter-spacing: 0.08em;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    transition: border-color 0.2s ease;
}

.contact-item:hover {
    border-color: var(--cyan);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--cyan);
    flex-shrink: 0;
}

.contact-details h5 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    font-weight: 400;
}

.contact-details p {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-links a:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-dim);
}

/* Contact Form */
.contact-form {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-deep);
    border: 1px solid var(--border-bright);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    outline: none;
    border-radius: 0;
}

.form-control:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 1px var(--cyan-dim);
}

.form-control::placeholder {
    color: var(--text-faint);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

.footer-content p {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.footer-links {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--cyan);
}

/* ============================================================
   WOW.JS VISIBILITY
   ============================================================ */
.wow { visibility: hidden; }
.animated { visibility: visible; }

/* ============================================================
   PROJECT DETAIL PAGES
   ============================================================ */
.project-icon { display: inline-block; }

.project-tech-large {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.project-tech-large .tech-tag {
    font-size: 0.82rem;
    padding: 0.4rem 1rem;
}

.project-details {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 2.5rem;
}

.project-details h3 {
    color: var(--cyan);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.project-details p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.feature-item {
    padding: 1.5rem;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.feature-item:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
}

.feature-item i {
    font-size: 1.75rem;
    margin-bottom: 0.9rem;
    display: block;
    color: var(--cyan);
}

.feature-item h5 {
    font-family: var(--font-display);
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.65;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    color: var(--text-muted);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.tech-list li:last-child { border-bottom: none; }
.tech-list strong { color: var(--cyan); font-family: var(--font-mono); }

.project-stats h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cyan);
}

.project-stats p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================================
   WORKFLOW / SUPPORT / LEGAL
   ============================================================ */
.workflow-steps { margin-top: 2rem; }

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 44px;
    height: 44px;
    background: var(--cyan);
    color: var(--bg-void);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h5 { color: var(--text-primary); margin-bottom: 0.4rem; }
.step-content p  { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.contact-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
}

.contact-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
}

.contact-card .contact-icon {
    font-size: 2rem;
    color: var(--cyan);
    display: block;
    margin: 0 auto 1rem;
    width: auto;
    height: auto;
    border: none;
}

.contact-card h4 {
    font-family: var(--font-display);
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.contact-card p { color: var(--text-muted); margin: 0; }
.contact-card a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.2s ease;
}
.contact-card a:hover { color: var(--amber); }

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-panel);
    border: 1px solid var(--border-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-dim);
    transform: translateY(-4px);
}

.support-content {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 2.5rem;
}

.support-content h3 { color: var(--cyan); margin-bottom: 1.75rem; }

.support-option {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.support-option:hover {
    border-color: var(--cyan);
    transform: translateX(4px);
}

.support-option-icon { font-size: 1.75rem; flex-shrink: 0; color: var(--cyan); }
.support-option-content h4 { color: var(--text-primary); margin-bottom: 0.35rem; }
.support-option-content p { color: var(--text-muted); margin: 0; font-size: 0.9rem; }
.support-option-content a { color: var(--cyan); text-decoration: none; }
.support-option-content a:hover { color: var(--amber); }

.faq-section h4 { color: var(--cyan); }

.faq-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }
.faq-item h5 { color: var(--text-primary); margin-bottom: 0.6rem; }
.faq-item p { color: var(--text-muted); margin: 0; line-height: 1.75; font-size: 0.92rem; }

.contact-support {
    background: var(--bg-panel);
    border: 1px solid var(--border);
}

.contact-support h4 { color: var(--cyan); }
.contact-support p  { color: var(--text-muted); }

.legal-content {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 2.5rem;
}

.legal-content h3 {
    color: var(--cyan);
    font-size: 1.3rem;
    margin-top: 2.25rem;
    margin-bottom: 0.9rem;
}

.legal-content h3:first-child { margin-top: 0; }
.legal-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem; }
.legal-content ul { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.25rem; padding-left: 1.5rem; }
.legal-content ul li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--cyan); text-decoration: none; }
.legal-content a:hover { color: var(--amber); text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .timeline::before { left: 20px; }
    .timeline-node { left: 20px; }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 56px;
    }

    .timeline-item:nth-child(odd) .timeline-content { text-align: left; }
    .timeline-item:nth-child(odd) .timeline-content li { padding-left: 1.25rem; padding-right: 0; }
    .timeline-item:nth-child(odd) .timeline-content li::before { left: 0; right: auto; }
    .timeline-date { min-width: 110px; font-size: 0.68rem; }
}

@media (max-width: 768px) {
    .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
    .skill-category-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; }
    .section-padding { padding: 70px 0; }

    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    .contact-form { padding: 1.5rem; }
}

@media (max-width: 576px) {
    .brand-name { font-size: 1.1rem; }
    .brand-slogan { font-size: 0.6rem; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
    .stat-num { font-size: 1.8rem; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
}

/* ============================================================
   BACKGROUND UTILITY
   ============================================================ */
.bg-dark { background: var(--bg-deep) !important; }

/* Section divider accent */
.section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.section-divider-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.section-divider-dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    transform: rotate(45deg);
    flex-shrink: 0;
}
