/*
Theme Name: SerxhioDev
Theme URI: https://serxhio.dev
Author: Serxhio
Author URI: https://serxhio.dev
Description: A dark, modern portfolio theme for web developers.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: serxhiodev
*/

/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
    --color-bg: #000000;
    --color-bg-light: #060606;
    --color-bg-card: #0d0d0d;
    --color-bg-card-hover: #141414;
    --color-white: #dfdfdf;
    --color-text: #dfdfdf;
    --color-text-muted: rgba(223, 223, 223, 0.5);
    --color-accent: #f3d33d;
    --color-accent-light: #f5dc5f;
    --color-accent-dark: #d4b832;
    --color-border: rgba(156, 156, 156, 0.06);
    --color-border-accent: rgba(243, 211, 61, 0.15);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container-width: 1200px;
    --container-padding: 2rem;

    --transition-fast: 0.2s ease;
    --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 12px 48px rgba(243, 211, 61, 0.08);
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

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


/* */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

button {
    cursor: pointer;
}

/* ==========================================================================
   3. Background Grid Pattern (global subtle texture)
   ========================================================================== */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(243, 211, 61, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(243, 211, 61, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(243, 211, 61, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

/* Alternating subtle yellow tint on even sections */
.testimonials {
    background: linear-gradient(180deg, rgba(243, 211, 61, 0.015) 0%, transparent 30%, transparent 70%, rgba(243, 211, 61, 0.015) 100%);
}

/* Section divider line */
.section + .section::before,
.testimonials::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 900px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(243, 211, 61, 0.35), transparent);
}

/* Yellow ambient glow between sections */
.section + .section::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 120px;
    background: radial-gradient(ellipse, rgba(243, 211, 61, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--color-border-accent);
    border-radius: 50px;
    background: rgba(243, 211, 61, 0.05);
}

.section__title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #dfdfdf;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    letter-spacing: 0.02em;
}

.btn--primary {
    background: var(--color-accent);
    color: #000000;
}

.btn--primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(243, 211, 61, 0.35);
}

.btn--outline {
    border: 1.5px solid rgba(156, 156, 156, 0.2);
    color: var(--color-white);
}

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

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ==========================================================================
   6. Header / Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--color-border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.site-logo__img {
    height: 38px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 400;
    color: #dfdfdf;
    letter-spacing: 0.02em;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-menu a:hover,
.nav-menu a.current-menu-item > a,
.nav-menu .current-menu-item > a {
    color: var(--color-white);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after {
    width: 100%;
}

.nav-menu a.nav-menu__cta,
.nav-menu .menu-item:last-child > a {
    background: var(--color-accent);
    color: #0a0a0a;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    transition: background var(--transition-fast);
}

.nav-menu a.nav-menu__cta:hover,
.nav-menu .menu-item:last-child > a:hover {
    background: var(--color-accent-light);
    color: #0a0a0a;
}

.nav-menu a.nav-menu__cta::after,
.nav-menu .menu-item:last-child > a::after {
    display: none;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   7. Hero Section
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Large accent glow */
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 211, 61, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

/* Secondary glow bottom-left */
.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 211, 61, 0.07) 0%, transparent 55%);
    pointer-events: none;
}

/* Decorative geometric rings */
.hero__grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}

.hero__decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero__decor::before {
    content: '';
    position: absolute;
    top: 12%;
    right: 8%;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(243, 211, 61, 0.12);
    border-radius: 50%;
    animation: floatSlow 20s ease-in-out infinite;
}

.hero__decor::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 3%;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(243, 211, 61, 0.06);
    border-radius: 50%;
    animation: floatSlow 15s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(2deg); }
    50% { transform: translate(-5px, -25px) rotate(-1deg); }
    75% { transform: translate(-15px, -10px) rotate(1deg); }
}

/* ---- Floating code symbols ---- */
.floating-symbols {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-symbol {
    position: absolute;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: rgba(243, 211, 61, 0.18);
    font-weight: 700;
    animation: symbolFloat 8s ease-in-out infinite;
    will-change: transform;
}

.floating-symbol:nth-child(2) { animation-delay: -1s; animation-duration: 10s; font-size: 1.3rem; }
.floating-symbol:nth-child(3) { animation-delay: -3s; animation-duration: 12s; font-size: 0.85rem; color: rgba(156, 156, 156, 0.06); }
.floating-symbol:nth-child(4) { animation-delay: -2s; animation-duration: 9s; font-size: 1.1rem; }
.floating-symbol:nth-child(5) { animation-delay: -5s; animation-duration: 11s; font-size: 0.9rem; color: rgba(156, 156, 156, 0.05); }
.floating-symbol:nth-child(6) { animation-delay: -4s; animation-duration: 14s; font-size: 1.2rem; }
.floating-symbol:nth-child(7) { animation-delay: -6s; animation-duration: 13s; font-size: 1.5rem; color: rgba(243, 211, 61, 0.08); }
.floating-symbol:nth-child(8) { animation-delay: -7s; animation-duration: 16s; font-size: 0.95rem; }
.floating-symbol:nth-child(9) { animation-delay: -2.5s; animation-duration: 11s; font-size: 1.4rem; color: rgba(156, 156, 156, 0.04); }
.floating-symbol:nth-child(10) { animation-delay: -4.5s; animation-duration: 13s; font-size: 0.9rem; }
.floating-symbol:nth-child(11) { animation-delay: -1.5s; animation-duration: 17s; font-size: 0.75rem; color: rgba(243, 211, 61, 0.06); }
.floating-symbol:nth-child(12) { animation-delay: -6.5s; animation-duration: 14s; font-size: 0.8rem; color: rgba(156, 156, 156, 0.05); }

@keyframes symbolFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    25% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
    50% { transform: translateY(-35px) rotate(-3deg); opacity: 0.7; }
    75% { transform: translateY(-15px) rotate(2deg); opacity: 0.9; }
}

/* ---- Particles container ---- */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(243, 211, 61, 0.25);
    animation: particleDrift linear infinite;
    will-change: transform, opacity;
}

@keyframes particleDrift {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

/* ---- Terminal accent ---- */
.hero__terminal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(156, 156, 156, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.75rem;
    font-size: 0.8rem;
}

.hero__terminal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(156, 156, 156, 0.15);
}

.hero__terminal-dot:first-child { background: #ff5f57; }
.hero__terminal-dot:nth-child(2) { background: #ffbd2e; }
.hero__terminal-dot:nth-child(3) { background: #28c840; }

.hero__terminal code {
    font-family: 'Courier New', Courier, monospace;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.hero__terminal-cursor {
    color: var(--color-accent);
    animation: cursorBlink 1s step-end infinite;
}

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

/* Decorative ring left side of hero */
.hero__decor-left {
    position: absolute;
    bottom: 10%;
    left: -5%;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(243, 211, 61, 0.08);
    border-radius: 50%;
    pointer-events: none;
    animation: floatSlow 18s ease-in-out infinite reverse;
}

.hero__decor-left::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 60px;
    width: 100px;
    height: 100px;
    border: 1px dashed rgba(243, 211, 61, 0.1);
    border-radius: 50%;
    animation: floatSlow 22s ease-in-out infinite;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

/* Hero intro line */
.hero__intro {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    color: #dfdfdf;
    margin-bottom: 0;
    letter-spacing: -0.01em;
}

.hero__accent {
    color: var(--color-accent);
    font-weight: 700;
}

/* "Web" row with icon */
.hero__title-row {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
}

/* Giant "Software" / "Developer" */
.hero__title {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #dfdfdf;
    margin: 0;
}

/* WordPress icon circle */
.hero__icon {
    flex-shrink: 0;
    width: clamp(80px, 12vw, 150px);
    height: clamp(80px, 12vw, 150px);
    border-radius: 50%;
    background: rgba(156, 156, 156, 0.06);
    border: 1px solid rgba(243, 211, 61, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__icon-wp {
    width: 55%;
    height: 55%;
    opacity: 0.4;
}

/* Subtitle row: text + Identity Online */
.hero__subtitle-row {
    margin-top: 1.5rem;
    margin-bottom: 2.75rem;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: #dfdfdf;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.hero__highlight {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(90deg, #f3d33d, #e8c632, #f5da4a, #dbb830, #f3d33d, #eece38, #f3d33d);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero__buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* ---- Floating tech badges ---- */
.floating-badges {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-badge {
    position: absolute;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    background: rgba(243, 211, 61, 0.06);
    border: 1px solid rgba(243, 211, 61, 0.12);
    border-radius: 4px;
    padding: 0.3rem 0.65rem;
    animation: badgeFloat 10s ease-in-out infinite;
    will-change: transform;
}

.floating-badge:nth-child(2) { animation-delay: -2s; animation-duration: 13s; }
.floating-badge:nth-child(3) { animation-delay: -5s; animation-duration: 11s; }
.floating-badge:nth-child(4) { animation-delay: -3s; animation-duration: 15s; }
.floating-badge:nth-child(5) { animation-delay: -7s; animation-duration: 12s; }
.floating-badge:nth-child(6) { animation-delay: -4s; animation-duration: 14s; }
.floating-badge:nth-child(7) { animation-delay: -6s; animation-duration: 16s; }

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
    25% { transform: translateY(-12px) rotate(2deg); opacity: 0.1; }
    50% { transform: translateY(-22px) rotate(-1deg); opacity: 0.1; }
    75% { transform: translateY(-8px) rotate(1deg); opacity: 0.1; }
}

/* ---- Floating code snippets (brackets / functions) ---- */
.floating-snippets {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-snippet {
    position: absolute;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(243, 211, 61, 0.07);
    white-space: nowrap;
    animation: snippetFloat 14s ease-in-out infinite;
    will-change: transform;
}

.floating-snippet:nth-child(2) { animation-delay: -3s; animation-duration: 16s; font-size: 0.65rem; }
.floating-snippet:nth-child(3) { animation-delay: -6s; animation-duration: 18s; font-size: 0.75rem; color: rgba(156, 156, 156, 0.05); }
.floating-snippet:nth-child(4) { animation-delay: -2s; animation-duration: 13s; font-size: 0.6rem; }
.floating-snippet:nth-child(5) { animation-delay: -8s; animation-duration: 17s; font-size: 0.8rem; color: rgba(243, 211, 61, 0.05); }
.floating-snippet:nth-child(6) { animation-delay: -4s; animation-duration: 15s; font-size: 0.55rem; color: rgba(156, 156, 156, 0.04); }
.floating-snippet:nth-child(7) { animation-delay: -7s; animation-duration: 19s; font-size: 0.7rem; }
.floating-snippet:nth-child(8) { animation-delay: -1s; animation-duration: 14s; font-size: 0.65rem; color: rgba(243, 211, 61, 0.06); }
.floating-snippet:nth-child(9) { animation-delay: -5s; animation-duration: 16s; font-size: 0.6rem; color: rgba(156, 156, 156, 0.04); }
.floating-snippet:nth-child(10) { animation-delay: -9s; animation-duration: 20s; font-size: 0.75rem; }

@keyframes snippetFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    25% { transform: translateY(-15px) rotate(1deg); opacity: 1; }
    50% { transform: translateY(-28px) rotate(-2deg); opacity: 0.7; }
    75% { transform: translateY(-10px) rotate(1.5deg); opacity: 0.85; }
}

/* ---- Yellow accent streaks in hero ---- */
.hero__accent-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero__accent-lines span {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(243, 211, 61, 0.15), transparent);
    height: 1px;
}

.hero__accent-lines span:nth-child(1) {
    top: 30%;
    left: 0;
    width: 40%;
    animation: streakSlide 8s ease-in-out infinite;
}

.hero__accent-lines span:nth-child(2) {
    top: 60%;
    right: 0;
    width: 35%;
    animation: streakSlide 10s ease-in-out infinite reverse;
    animation-delay: -3s;
}

.hero__accent-lines span:nth-child(3) {
    top: 85%;
    left: 20%;
    width: 25%;
    animation: streakSlide 12s ease-in-out infinite;
    animation-delay: -6s;
}

@keyframes streakSlide {
    0%, 100% { opacity: 0; transform: translateX(-30px); }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; transform: translateX(30px); }
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 2;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ==========================================================================
   7b. Section Background Code Watermarks
   ========================================================================== */

.section__bg-code {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.section__bg-code span {
    display: block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: rgba(156, 156, 156, 0.03);
    white-space: nowrap;
    line-height: 1.7;
}

/* ---- Section floating code symbols ---- */
.section__float-symbols {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.section__float-symbols span {
    position: absolute;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: rgba(243, 211, 61, 0.14);
    font-weight: 700;
    animation: symbolFloat 12s ease-in-out infinite;
}

.section__float-symbols span:nth-child(2) {
    animation-delay: -4s;
    animation-duration: 15s;
    color: rgba(243, 211, 61, 0.08);
}

.section__float-symbols span:nth-child(3) {
    animation-delay: -7s;
    animation-duration: 18s;
    font-size: 1.1rem;
    color: rgba(243, 211, 61, 0.1);
}

/* ---- Section corner brackets ---- */
.section__decor-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 0;
}

.section__decor-corner--tl {
    top: 3rem;
    left: 3rem;
    border-top: 1px solid rgba(243, 211, 61, 0.2);
    border-left: 1px solid rgba(243, 211, 61, 0.2);
}

.section__decor-corner--br {
    bottom: 3rem;
    right: 3rem;
    border-bottom: 1px solid rgba(243, 211, 61, 0.2);
    border-right: 1px solid rgba(243, 211, 61, 0.2);
}

/* ---- Section glow orbs ---- */
.section__glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.section__glow--left {
    top: 20%;
    left: -10%;
    background: radial-gradient(circle, rgba(243, 211, 61, 0.08) 0%, transparent 60%);
}

.section__glow--right {
    bottom: 10%;
    right: -10%;
    background: radial-gradient(circle, rgba(243, 211, 61, 0.07) 0%, transparent 60%);
}

/* ---- Yellow scatter orbs (extra ambient light) ---- */
.section__yellow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.section__yellow-orb--sm {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(243, 211, 61, 0.06) 0%, transparent 65%);
}

.section__yellow-orb--md {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(243, 211, 61, 0.05) 0%, transparent 60%);
}

.section__yellow-orb--lg {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(243, 211, 61, 0.04) 0%, transparent 55%);
}

/* ---- Dot grid pattern ---- */
.section__decor-dots {
    position: absolute;
    top: 10%;
    left: 3%;
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(rgba(243, 211, 61, 0.25) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.7;
}

.section__decor-dots--br {
    top: auto;
    left: auto;
    bottom: 8%;
    right: 3%;
}

.section__decor-dots--tr {
    top: 8%;
    left: auto;
    right: 4%;
}

.section__decor-dots--bl {
    top: auto;
    left: 4%;
    bottom: 12%;
}

/* ---- Section accent lines (yellow horizontal streaks) ---- */
.section__accent-line {
    position: absolute;
    height: 1px;
    width: 180px;
    pointer-events: none;
    z-index: 0;
}

.section__accent-line--left {
    top: 50%;
    left: 0;
    background: linear-gradient(90deg, rgba(243, 211, 61, 0.35), transparent);
}

.section__accent-line--right {
    top: 40%;
    right: 0;
    background: linear-gradient(270deg, rgba(243, 211, 61, 0.35), transparent);
}

/* ---- Yellow vertical accent bars ---- */
.section__yellow-bar {
    position: absolute;
    width: 2px;
    pointer-events: none;
    z-index: 0;
}

.section__yellow-bar--left {
    top: 15%;
    left: 5%;
    height: 80px;
    background: linear-gradient(180deg, rgba(243, 211, 61, 0.25), transparent);
}

.section__yellow-bar--right {
    bottom: 15%;
    right: 5%;
    height: 100px;
    background: linear-gradient(0deg, rgba(243, 211, 61, 0.25), transparent);
}

/* ---- Yellow cross / plus markers ---- */
.section__yellow-cross {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    font-size: 1.2rem;
    color: rgba(243, 211, 61, 0.15);
    font-weight: 300;
    line-height: 1;
}

/* ---- Yellow diamond markers ---- */
.section__yellow-diamond {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(243, 211, 61, 0.12);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 0;
}

/* ---- Yellow horizontal rule accents ---- */
.section__yellow-hr {
    position: absolute;
    height: 1px;
    width: 60px;
    background: rgba(243, 211, 61, 0.2);
    pointer-events: none;
    z-index: 0;
}

/* ---- Yellow gradient edge strips (top/bottom of sections) ---- */
.section__edge-glow {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    pointer-events: none;
    z-index: 0;
}

.section__edge-glow--top {
    top: 0;
    background: linear-gradient(90deg, transparent 10%, rgba(243, 211, 61, 0.08) 30%, rgba(243, 211, 61, 0.15) 50%, rgba(243, 211, 61, 0.08) 70%, transparent 90%);
    box-shadow: 0 0 30px 10px rgba(243, 211, 61, 0.03);
}

.section__edge-glow--bottom {
    bottom: 0;
    background: linear-gradient(90deg, transparent 10%, rgba(243, 211, 61, 0.06) 30%, rgba(243, 211, 61, 0.1) 50%, rgba(243, 211, 61, 0.06) 70%, transparent 90%);
    box-shadow: 0 0 30px 10px rgba(243, 211, 61, 0.02);
}

/* ==========================================================================
   8. Portfolio Grid — IMAGE + TITLE always visible
   ========================================================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000000;
    border: 1px solid rgb(243 211 61 / 20%);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(243, 211, 61, 0.2);
}

.portfolio-card__image-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0d0d0d;
    border-bottom: 1px solid rgb(243 211 61 / 20%);

}

.portfolio-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-card__image {
    transform: scale(1.04);
}

.portfolio-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-accent);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -32px auto 0;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.portfolio-card:hover .portfolio-card__icon {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(243, 211, 61, 0.35);
}

.portfolio-card__icon-img {
    width: 24px;
    height: 24px;
    color: #111;
}

.portfolio-card__body {
    padding: 1.25rem 1.5rem 1.75rem;
    text-align: center;
}

.portfolio-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
}


.portfolio__cta {
    text-align: center;
    margin-top: 3.5rem;
}

/* ==========================================================================
   9. Testimonials Slider
   ========================================================================== */

.testimonials {
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

/* Accent glow behind testimonials */
.testimonials::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(243, 211, 61, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-slider {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.testimonials-track-wrap {
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    min-width: 100%;
    flex: 0 0 100%;
    text-align: center;
}

.testimonial-card__stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.testimonial-card__stars svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

.testimonial-card__text {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.testimonial-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border: 2px solid var(--color-border-accent);
}

.testimonial-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

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

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(156, 156, 156, 0.15);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.testimonials-dot.active {
    background: var(--color-accent);
    width: 24px;
    border-radius: 4px;
}

.testimonials-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(243, 211, 61, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all var(--transition-fast);
    padding: 0;
}

.testimonials-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.testimonials-arrow:hover {
    background: rgba(243, 211, 61, 0.1);
    border-color: var(--color-accent);
}

.testimonials-arrow--prev {
    left: -55px;
}

.testimonials-arrow--next {
    right: -55px;
}

/* ==========================================================================
   10. Contact Section
   ========================================================================== */

.contact {
    position: relative;
    overflow: hidden;
}

/* Glow behind contact */
.contact::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 211, 61, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.contact__wrapper {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.85rem 1.25rem;
    background: rgba(156, 156, 156, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(156,156,156,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #dfdfdf;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-accent);
    background: rgba(243, 211, 61, 0.03);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

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

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

/* ==========================================================================
   12. Single Portfolio
   ========================================================================== */

.single-hero {
    position: relative;
    overflow: hidden;
    padding-top: 8rem;
    padding-bottom: 0;
}

.single-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    transition: color var(--transition-fast);
}

.single-hero__back:hover {
    color: var(--color-accent);
}

.single-hero__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.85rem;
    background: rgba(243, 211, 61, 0.1);
    color: var(--color-accent);
    border-radius: 50px;
    border: 1px solid var(--color-border-accent);
    margin-bottom: 1rem;
}

.single-hero__title-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.single-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.single-hero__nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color var(--transition-base), color var(--transition-base);
    flex-shrink: 0;
}

.single-hero__nav-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.single-hero__excerpt {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.single-hero__technologies {
    margin-bottom: 2rem;
}

.single-hero__tech-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: rgba(156, 156, 156, 0.06);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.tech-badge:hover {
    border-color: var(--color-accent);
    background: rgba(243, 211, 61, 0.06);
}

.tech-badge__icon {
    display: flex;
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

.tech-badge__icon svg {
    width: 100%;
    height: 100%;
}

.tech-badge__label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(156, 156, 156, 0.8);
}

.single-hero__link .btn {
    display: inline-flex;
    gap: 0.5rem;
}

.single-featured {
    margin-bottom: 4rem;
}

.single-featured img {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.single-content {
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 0;
}

.single-content h2,
.single-content h3,
.single-content h4 {
    color: var(--color-white);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-content h2 {
    font-size: 1.75rem;
}

.single-content h3 {
    font-size: 1.35rem;
}

.single-content p {
    margin-bottom: 1.25rem;
    color: var(--color-text);
    line-height: 1.8;
}

.single-content ul,
.single-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.single-content li {
    margin-bottom: 0.5rem;
    list-style: disc;
    color: var(--color-text);
}

.single-content img {
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

/* Screenshots Gallery — Browser Window */
.single-screenshots {
    padding: 4rem 0;
}

.single-screenshots__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.6rem;
    text-align: center;
}

.single-screenshots__hint {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Device tabs */
.screenshots-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.screenshots-tabs__btn {
    padding: 0.65rem 2rem;
    background: transparent;
    border: 1px solid #2a2a2a;
    border-left-width: 0;
    color: rgba(255, 255, 255, 0.45);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color var(--transition-base), background var(--transition-base), border-bottom-color var(--transition-base);
}

.screenshots-tabs__btn:first-child {
    border-left-width: 1px;
    border-radius: 6px 0 0 6px;
}

.screenshots-tabs__btn:last-child {
    border-radius: 0 6px 6px 0;
}

.screenshots-tabs__btn:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.04);
}

.screenshots-tabs__btn.active {
    color: var(--color-accent);
    border-color: #2a2a2a;
    border-bottom-color: var(--color-accent);
    background: rgba(243, 211, 61, 0.07);
    position: relative;
    z-index: 1;
}

/* Tab panels */
.screenshots-panel[hidden] {
    display: none;
}

/* Device-specific card max-widths */
.screenshot-card--tablet {
    max-width: 680px;
    margin: 0 auto;
}

.screenshot-card--mobile {
    max-width: 390px;
    margin: 0 auto;
    border-radius: 16px;
}

.screenshot-card--mobile .screenshot-card__browser {
    padding: 10px 14px;
}

.screenshot-card--mobile .screenshot-card__dot {
    width: 10px;
    height: 10px;
}

/* Device-specific slider ratios */
.screenshots-slider[data-device="tablet"] {
    --slide-ratio: 0.65;
}

.screenshots-slider[data-device="mobile"] {
    --slide-ratio: 0.38;
}

/* Slider wrapper */
.screenshots-slider {
    --slide-ratio: 0.78;
    position: relative;
    overflow: hidden;
}

.screenshots-slider__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.screenshots-slider__slide {
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 1rem;
    opacity: 0.35;
    transform: scale(0.92);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.screenshots-slider__slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.screenshots-slider--no-transition .screenshots-slider__slide {
    transition: none;
}

/* Slider arrows */
.screenshots-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #2a2a2a;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(8px);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-base), border-color var(--transition-base);
    z-index: 2;
}

.screenshots-slider__arrow:hover {
    background: rgba(40, 40, 40, 0.95);
    border-color: var(--color-accent);
}

.screenshots-slider__arrow svg {
    width: 20px;
    height: 20px;
}

.screenshots-slider__arrow--prev {
    left: calc(11% - 52px);
}

.screenshots-slider__arrow--next {
    right: calc(11% - 52px);
}

/* Slider dots */
.screenshots-slider__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.screenshots-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #333;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition-base), transform var(--transition-base);
}

.screenshots-slider__dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* Browser card */
.screenshot-card {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    background: #1a1a1a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.screenshot-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Browser tab bar */
.screenshot-card__browser {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: #1e1e1e;
    border-bottom: 1px solid #2a2a2a;
}

/* Browser bar title */
.screenshot-card__url {
    flex: 1;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 3px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 4px;
    text-align: center;
}

/* Traffic light dots */
.screenshot-card__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3a3a3a;
}

.screenshot-card__dot:nth-child(1) {
    background: #ff5f57;
}

.screenshot-card__dot:nth-child(2) {
    background: #febc2e;
}

.screenshot-card__dot:nth-child(3) {
    background: #28c840;
}

/* Viewport with scrollable screenshot */
.screenshot-card__viewport {
    background: #000;
    max-height: 463px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 156, 156, 0.2) transparent;
}

.screenshot-card__viewport::-webkit-scrollbar {
    width: 6px;
}

.screenshot-card__viewport::-webkit-scrollbar-track {
    background: transparent;
}

.screenshot-card__viewport::-webkit-scrollbar-thumb {
    background: rgba(156, 156, 156, 0.2);
    border-radius: 3px;
}

.screenshot-card__viewport::-webkit-scrollbar-thumb:hover {
    background: rgba(156, 156, 156, 0.4);
}

.screenshot-card__image {
    width: 100%;
    display: block;
}

/* Placeholder state */
.screenshot-card__viewport--placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-card__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(156, 156, 156, 0.25);
}

.screenshot-card__placeholder svg {
    width: 48px;
    height: 48px;
}

.screenshot-card__placeholder span {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* ==========================================================================
   Screenshot Lightbox
   ========================================================================== */

.screenshot-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.screenshot-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.screenshot-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
}

.screenshot-lightbox__stage {
    position: relative;
    z-index: 1;
    width: 90vw;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.screenshot-lightbox__img {
    max-width: 90vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    transition: opacity 0.2s ease;
    display: block;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
}

.screenshot-lightbox.is-zoomed .screenshot-lightbox__img {
    border-radius: 0;
}

/* Zoom hint */
.screenshot-lightbox__zoom-hint {
    position: fixed;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.05em;
    pointer-events: none;
}

.screenshot-lightbox__close {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base);
}

.screenshot-lightbox__close svg {
    width: 18px;
    height: 18px;
}

.screenshot-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.screenshot-lightbox__arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base);
}

.screenshot-lightbox__arrow svg {
    width: 20px;
    height: 20px;
}

.screenshot-lightbox__arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.screenshot-lightbox__arrow--prev { left: 1.5rem; }
.screenshot-lightbox__arrow--next { right: 1.5rem; }

.screenshot-lightbox__counter {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

@media (max-width: 767px) {
    .screenshots-slider,
    .screenshots-slider[data-device="tablet"],
    .screenshots-slider[data-device="mobile"] {
        --slide-ratio: 1;
    }
    .screenshots-slider__slide {
        opacity: 1 !important;
        transform: scale(1) !important;
    }
    .screenshots-slider__slide {
        padding: 0 0.5rem;
    }
    .screenshots-slider__arrow {
        width: 36px;
        height: 36px;
    }
    .screenshots-slider__arrow svg {
        width: 16px;
        height: 16px;
    }
    .screenshots-slider__arrow--prev {
        left: 0.5rem;
    }
    .screenshots-slider__arrow--next {
        right: 0.5rem;
    }
    .screenshot-card__browser {
        padding: 10px 12px;
        gap: 6px;
    }
    .screenshot-card__dot {
        width: 10px;
        height: 10px;
    }
    .screenshot-card__viewport {
        max-height: 360px;
    }
}

/* ==========================================================================
   13. Archive Portfolio
   ========================================================================== */

.archive-header {
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: center;
    position: relative;
}

.archive-header__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.archive-header__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.archive-portfolio {
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

/* ---- Portfolio Filters ---- */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.portfolio-filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.portfolio-filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--color-white);
}

.portfolio-filter-btn--active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #111;
    font-weight: 600;
}

/* Cards hidden by filter */
.portfolio-card--hidden {
    display: none;
}

.portfolio-no-results {
    text-align: center;
    color: var(--color-text-muted);
    margin-top: 2rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination a {
    background: var(--color-bg-card);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}

.pagination a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pagination .current {
    background: var(--color-accent);
    color: #000000;
    font-weight: 700;
}

/* ==========================================================================
   14. Page Template
   ========================================================================== */

.page-header {
    padding-top: 8rem;
    padding-bottom: 3rem;
    text-align: center;
}

.page-header__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.page-content {
    max-width: 760px;
    margin: 0 auto;
    padding-bottom: 6rem;
}

.page-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

/* ==========================================================================
   15. Scroll Reveal Animations
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   16. Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 5rem 0;
    }

    .section__title {
        font-size: 2rem;
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-base), visibility var(--transition-base);
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    .nav-menu a.nav-menu__cta,
    .nav-menu .menu-item:last-child > a {
        padding: 0.6rem 2rem;
        margin-top: 0.5rem;
    }

    .hero__title {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .hero__icon {
        width: 70px;
        height: 70px;
    }

    .hero__icon span {
        font-size: 1.1rem;
    }

    .hero__highlight {
        font-size: clamp(2.5rem, 9vw, 4rem);
    }

    .hero__buttons {
        flex-direction: row;
        align-items: center;
    }

    .hero__decor,
    .hero__decor-left,
    .hero__accent-lines,
    .section__bg-code,
    .section__float-symbols,
    .section__decor-corner,
    .section__decor-dots,
    .section__accent-line,
    .section__yellow-bar,
    .section__yellow-cross,
    .section__yellow-diamond,
    .section__yellow-hr,
    .section__edge-glow {
        display: none;
    }

    .section {
        padding: 4rem 0;
    }

    .section__title {
        font-size: 2rem;
    }

    .section__subtitle {
        font-size: 1rem;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 2rem 1rem;
    }

    .testimonial-card__text {
        font-size: 1.1rem;
    }

    .testimonial-card__name {
        font-size: 1.05rem;
    }

    .portfolio-card__title {
        font-size: 1.3rem;
    }

    .contact__wrapper {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .testimonials-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero__intro {
        font-size: 1.2rem;
    }

    .hero__title {
        font-size: clamp(3.5rem, 15vw, 5rem);
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__icon {
        width: 55px;
        height: 55px;
    }

    .hero__highlight {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .contact-form .btn {
        width: 100%;
    }

    .contact__wrapper {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   17. Utility Classes
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
