/* ====================== */
/* === CSS VARIABLES === */
/* ====================== */
:root {
    --color-bg: #0a0718;
    --color-surface: rgba(18, 14, 33, 0.7);
    --color-text: #eae9f2;
    --color-text-light: #a6a2c9;
    --color-primary: #8b5cf6;
    --color-primary-light: #b89aff;
    --color-secondary: #d946ef;
    --color-accent: #f472b6;
    --color-accent-alt: #fcd34d;
    --color-pastel-green: #2dd4bf;
    --color-pastel-pink: #f9a8d4;
    --color-pastel-purple: #a78bfa;
    --color-pastel-yellow: #fcd34d;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 999px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-soft: 0 20px 60px rgba(139, 92, 246, 0.25);
    --font-serif: 'Space Grotesk', sans-serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --transition-fast: 200ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(217, 70, 239, 0.1) 0%, transparent 40%);
}

::selection {
    background-color: var(--color-primary-light);
    color: #000;
}

/* ====================== */
/* === TYPOGRAPHY === */
/* ====================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0.2em;
    left: 0;
    width: 100%;
    height: 0.3em;
    background: linear-gradient(90deg, var(--color-pastel-purple), var(--color-secondary));
    z-index: -1;
    border-radius: 2px;
    opacity: 0.4;
}


/* ====================== */
/* === BUTTONS GLOBAL === */
/* ====================== */

/* Base Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    color: white;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Primary dengan efek glow */
.btn-primary-glow {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    color: white;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.5);
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary-glow:hover::before {
    left: 100%;
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(139, 92, 246, 0.5);
    position: relative;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: var(--radius-full);
}

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

.btn-outline:hover::before {
    width: 100%;
}

/* Dark Button (white background) */
.btn-dark {
    background: white;
    color: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Light Button (transparent with border) */
.btn-light {
    background: transparent;
    color: white;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.btn-light:hover {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

/* Small Button */
.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Large Button */
.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* Disabled state */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Icon animations */
.btn i {
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

/* Full width button */
.btn-block {
    width: 100%;
    justify-content: center;
}

/* ====================== */
/* === SECTION BADGE GLOBAL === */
/* ====================== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
    background: rgba(139, 92, 246, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.section-badge:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

/* Variant - dengan icon */
.section-badge i,
.section-badge .badge-icon {
    font-size: 0.8rem;
}

/* Variant - secondary color */
.section-badge.secondary {
    color: var(--color-secondary);
    background: rgba(217, 70, 239, 0.1);
    border-color: rgba(217, 70, 239, 0.3);
}

.section-badge.secondary:hover {
    background: rgba(217, 70, 239, 0.2);
    border-color: rgba(217, 70, 239, 0.5);
}

/* Variant - accent */
.section-badge.accent {
    color: var(--color-accent-alt);
    background: rgba(252, 211, 77, 0.1);
    border-color: rgba(252, 211, 77, 0.3);
}

/* Variant - small */
.section-badge.sm {
    font-size: 0.65rem;
    padding: 4px 12px;
}

/* Variant - large */
.section-badge.lg {
    font-size: 0.85rem;
    padding: 8px 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .section-badge {
        font-size: 0.7rem;
        padding: 4px 14px;
    }
}

/* ====================== */
/* === DECORATIVE ELEMENTS === */
/* ====================== */
.decorative-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--color-pastel-purple);
    top: 10%;
    right: 5%;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    bottom: 20%;
    left: 5%;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: var(--color-pastel-green);
    top: 50%;
    right: 15%;
}

.floating-sticker {
    position: absolute;
    font-size: 2rem;
    animation: float 15s infinite ease-in-out alternate;
    opacity: 0.3;
}

.sticker-1 {
    top: 20%;
    left: 5%;
}

.sticker-2 {
    top: 60%;
    right: 10%;
}

.sticker-3 {
    bottom: 10%;
    left: 15%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(5deg);
    }

    66% {
        transform: translateY(20px) rotate(-5deg);
    }
}

/* Hero glow containment on mobile/tablet — clip original blobs, do not replace them */
@media (max-width: 991.98px) {
    .decorative-elements {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }
}

/* Keep the ambient color blobs inside the desktop hero instead of following the scroll. */
@media (min-width: 992px) {
    .decorative-elements {
        position: absolute;
        height: 100vh;
        overflow: hidden;
    }
}

/* ====================== */
/* === NAVIGATION UPDATED === */
/* ====================== */
.navbar {
    background: transparent !important;
    /* Transparant saat di atas */
    backdrop-filter: none;
    padding: 1.25rem 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 7, 24, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Brand */
.navbar-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand {
    font-size: 1.3rem;
}

.brand-icon {
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-icon {
    transform: rotate(90deg);
}

/* Navbar Nav Container */
.navbar-nav {
    background: transparent;
    padding: 0 !important;
    border-radius: 0;
    border: none;
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}

/* Nav Links */
.nav-link {
    font-family: var(--font-mono) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-full) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    position: relative !important;
    overflow: hidden !important;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    background: rgba(139, 92, 246, 0.15) !important;
}

.navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Dropdown Toggle */
.nav-link.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.3s ease;
}

.nav-link.dropdown-toggle:hover::after {
    transform: translateY(2px);
}

.dropdown.show .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown Menu - Glassmorphism */
.dropdown-menu {
    background: transparent !important;
    border: none !important;
    padding: 0.5rem !important;
    margin-top: 0.5rem !important;
    min-width: 240px;
}

.glass-dropdown {
    background: rgba(18, 14, 33, 0.8) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.2) inset !important;
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-family: var(--font-sans) !important;
    font-size: 0.9rem !important;
    padding: 0.6rem 1rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.2s ease !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-item:hover {
    background: rgba(139, 92, 246, 0.2) !important;
    color: white !important;
    transform: translateX(5px);
}

.dropdown-divider {
    border-top: 1px solid rgba(139, 92, 246, 0.3) !important;
    margin: 0.5rem 0 !important;
}

/* Underline animation for desktop */
@media (min-width: 992px) {
    .nav-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
        transform: translateX(-50%);
        transition: width 0.3s ease;
        opacity: 0;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        width: 70%;
        opacity: 1;
    }

    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%);
        width: 6px;
        height: 6px;
        background: var(--color-primary);
        border-radius: 50%;
        animation: pulse 2s infinite;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1.2);
    }
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .navbar {
        background: transparent !important;
    }

    .navbar.scrolled {
        background: rgba(10, 7, 24, 0.95) !important;
    }

    .navbar-nav {
        background: rgba(10, 7, 24, 0.8) !important;
        backdrop-filter: blur(16px) !important;
        flex-direction: column !important;
        padding: 80px 1rem 1.5rem !important;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
        border: 1px solid rgba(139, 92, 246, 0.2);
        margin-top: 0.5rem !important;
        max-height: 80vh;
        overflow-y: auto;
        position: relative;
        z-index: 1000;
    }

    .nav-item {
        width: 100%;
        margin: 0.25rem 0 !important;
        position: relative;
    }

    .nav-link {
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        width: 100%;
        text-align: left;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(139, 92, 246, 0.1);
        border-radius: var(--radius-md) !important;
    }

    /* Dropdown Toggle Styling */
    .nav-link.dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-link.dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.5em;
        vertical-align: middle;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        transition: transform 0.3s ease;
        float: none;
        margin-top: 0;
    }

    .nav-link.dropdown-toggle.show::after {
        transform: rotate(180deg);
    }

    /* Dropdown Menu Styling - FIXED VERSION */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
        padding: 0 0 0 1rem !important;
        margin: 0.25rem 0 !important;
        box-shadow: none !important;
        display: none;
        transition: none;
        width: 100%;
        float: none;
    }

    .dropdown-menu.show {
        display: block !important;
    }

    /* Glass Dropdown Styling */
    .glass-dropdown {
        background: rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(8px) !important;
        border: 1px solid rgba(139, 92, 246, 0.2) !important;
        border-radius: var(--radius-md) !important;
        padding: 0.5rem !important;
        width: 100%;
    }

    .dropdown-item {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
        border-radius: var(--radius-sm) !important;
        transition: all 0.2s ease !important;
        white-space: normal;
        word-break: break-word;
    }

    .dropdown-item:hover {
        background: rgba(139, 92, 246, 0.3) !important;
        color: white !important;
        transform: translateX(5px);
    }

    .dropdown-divider {
        border-top: 1px solid rgba(139, 92, 246, 0.3) !important;
        margin: 0.5rem 0 !important;
    }

    /* Navbar Toggler */
    .navbar-toggler {
        border: none !important;
        padding: 0.5rem !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: var(--radius-md) !important;
        background: rgba(139, 92, 246, 0.15) !important;
        transition: all 0.3s ease !important;
    }

    .navbar-toggler:hover {
        background: rgba(139, 92, 246, 0.3) !important;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3) !important;
        outline: none !important;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    /* Small mobile adjustments */
    @media (max-width: 576px) {
        .navbar-brand {
            font-size: 1.2rem;
        }

        .brand-icon {
            font-size: 1rem;
        }

        .dropdown-item {
            padding: 0.6rem 0.8rem !important;
            font-size: 0.85rem !important;
        }
    }
}

/* Small mobile adjustments */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .brand-icon {
        font-size: 1rem;
    }
}

/* ====================== */
/* === CONTAINER === */
/* ====================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 2;
}

/* ====================== */
/* === GLASS CARD STYLE === */
/* ====================== */
.glass-card {
    background: rgba(18, 14, 33, 0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.7);
}

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

.hero-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Greeting */
.hero-greeting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.greeting-wave {
    font-size: 2rem;
    animation: wave 2s infinite;
    transform-origin: 70% 70%;
    display: inline-block;
}

@keyframes wave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-8deg);
    }

    60% {
        transform: rotate(14deg);
    }

    80% {
        transform: rotate(-4deg);
    }
}

.greeting-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    color: #8b5cf6;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(139, 92, 246, 0.1);
    padding: 6px 18px;
    border-radius: 100px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Name */
.hero-name {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.1s forwards;
}

.name-gradient {
    background: linear-gradient(135deg, #ffffff, #8b5cf6, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.name-gradient::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #d946ef, transparent);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    animation: expandLine 0.8s ease 0.4s forwards;
}

@keyframes expandLine {
    to {
        transform: scaleX(1);
    }
}

/* Role rotator */
.hero-role {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.role-prefix {
    font-size: 1.5rem;
    color: #a0a0c0;
    font-weight: 500;
}

/* Description */
.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #b0b0d0;
    max-width: 700px;
    margin: 0 auto 48px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.highlight-year {
    color: #8b5cf6;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.highlight-year::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, transparent);
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.stat-block {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: white;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8b5cf6;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #8b5cf6, transparent);
}

/* CTA Buttons wrapper */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.5s forwards;
}

/* Tech Stack */
.hero-tech {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid rgba(139, 92, 246, 0.15);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

.tech-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-items span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #c0c0e0;
    background: rgba(139, 92, 246, 0.08);
    padding: 5px 14px;
    border-radius: 30px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.2s ease;
}

.tech-items span:hover {
    background: rgba(139, 92, 246, 0.2);
    color: white;
    transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    opacity: 0.62;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.28));
}

.scroll-mouse {
    position: relative;
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(139, 92, 246, 0.5);
    border-radius: 12px;
    background: rgba(10, 7, 24, 0.35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.scroll-indicator:hover .scroll-mouse {
    border-color: rgba(184, 154, 255, 0.82);
    box-shadow:
        0 0 14px rgba(139, 92, 246, 0.32),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.scroll-mouse-wheel {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 3px;
    height: 6px;
    border-radius: 999px;
    background: rgba(184, 154, 255, 0.92);
    transform: translateX(-50%);
    animation: scrollMouseWheel 1.85s ease-in-out infinite;
}

@keyframes scrollMouseWheel {
    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    55% {
        opacity: 0.35;
        transform: translateX(-50%) translateY(11px);
    }
}

.scroll-indicator-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.scroll-text {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #a0a0c0;
    line-height: 1;
}

.scroll-indicator:hover .scroll-text {
    color: #c4b5fd;
}

.scroll-arrow {
    font-size: 0.58rem;
    line-height: 1;
    color: rgba(139, 92, 246, 0.72);
    transition: color 0.3s ease, transform 0.3s ease;
}

.scroll-indicator:hover .scroll-arrow {
    color: rgba(184, 154, 255, 0.95);
    transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-mouse-wheel {
        animation: none;
    }
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .role-prefix {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 20px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .hero-actions {
        gap: 15px;
    }

    .tech-items span {
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .scroll-indicator {
        bottom: 18px;
        opacity: 0.72;
        gap: 0;
    }

    .scroll-mouse {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-divider {
        display: none;
    }
}

/* ====================== */
/* === CLIENTS / TECH STACK SECTION === */
/* ====================== */
.clients {
    padding: var(--space-xl) 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.clients-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    align-items: center;
}

.clients-content {
    position: relative;
}

.clients-badge {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.clients-title {
    margin-bottom: var(--space-sm);
    color: white;
}

.clients-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 300px;
}

.clients-slider-container {
    position: relative;
    overflow: hidden;
    padding: var(--space-md) 0;
}

.clients-swiper {
    overflow: hidden;
}

.swiper-wrapper {
    transition-timing-function: linear !important;
}

.clients-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    padding: 0 var(--space-sm);
}

.client-item {
    background: rgba(18, 14, 33, 0.5);
    backdrop-filter: blur(8px);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.client-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.client-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-image {
    max-width: 80%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.7;
    transition: var(--transition-base);
}

.client-item:hover .client-image {
    filter: grayscale(0%);
    opacity: 1;
}

.clients-swiper .swiper-pagination,
.clients-swiper .swiper-button-next,
.clients-swiper .swiper-button-prev {
    display: none !important;
}

@media (max-width: 1024px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

    .clients-subtitle {
        max-width: 100%;
        margin: 0 auto;
    }

    .clients-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .clients-group {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .client-item {
        height: 120px;
        padding: var(--space-md);
    }

    .client-image {
        max-height: 60px;
    }
}

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

    .client-item {
        height: 100px;
        padding: var(--space-sm);
    }

    .client-image {
        max-height: 50px;
    }
}

/* ====================== */
/* === ABOUT ME SECTION === */
/* ====================== */
.about {
    padding: var(--space-xl) 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.about-description {
    margin-bottom: var(--space-lg);
}

.about-text {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.about-text.lead {
    font-size: 1.25rem;
    color: var(--color-text);
    font-weight: 500;
}

.about-quote {
    position: relative;
    background: rgba(139, 92, 246, 0.05);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    margin: var(--space-lg) 0;
    border-left: 4px solid var(--color-primary);
}

.quote-icon {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-primary-light);
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.2;
}

.about-quote p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text);
    position: relative;
    z-index: 1;
    margin: 0;
}

.about-expertise {
    margin-bottom: var(--space-lg);
}

.about-expertise h4 {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.expertise-tag {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    padding: var(--space-xs) var(--space-md);
    background: rgba(18, 14, 33, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-text);
    transition: all var(--transition-base);
    cursor: default;
}

.expertise-tag:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.about-cta {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    margin-bottom: var(--space-xl);
}

.about-image-main {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: transform var(--transition-base);
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image-glow {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg,
            var(--color-pastel-purple),
            var(--color-secondary));
    border-radius: var(--radius-xl);
    filter: blur(30px);
    opacity: 0.3;
    z-index: 1;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(18, 14, 33, 0.8);
    backdrop-filter: blur(8px);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(139, 92, 246, 0.3);
    z-index: 3;
    animation: floatBadge 6s infinite ease-in-out;
}

.badge-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1s;
}

.badge-3 {
    top: 50%;
    right: -30px;
    animation-delay: 2s;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text strong {
    font-size: 0.875rem;
    color: var(--color-text);
}

.badge-text span {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ====================== */
/* === Skill Section === */
/* ====================== */
.skills-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* Header styles */
.skills-header {
    text-align: center;
    margin-bottom: 60px;
}

.skills-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.gradient {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.skills-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #a0a0c0;
    max-width: 550px;
    margin: 0 auto;
}

/* Skills Grid - 3x2 responsive */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

/* Skill Card glassmorphism */
.skill-card {
    background: rgba(20, 18, 35, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 28px;
    padding: 28px;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #d946ef);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 25px 40px -12px rgba(139, 92, 246, 0.35);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-icon {
    font-size: 2.6rem;
    margin-bottom: 18px;
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.skill-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.skill-info p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #b0b0d0;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Skill level bar */
.skill-level {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.level-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #d946ef);
    border-radius: 10px;
    width: 0%;
    transition: width 1s ease;
    position: relative;
}

.skill-card:hover .level-fill {
    animation: shine 1.2s ease;
}

@keyframes shine {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 6px #8b5cf6;
    }

    100% {
        opacity: 0.8;
    }
}

.level-text {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: #c084fc;
    background: rgba(139, 92, 246, 0.2);
    padding: 4px 10px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

/* Skill tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 6px;
}

.skill-tags span {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 5px 12px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    color: #cdc9ff;
    transition: all 0.2s;
}

.skill-tags span:hover {
    background: #8b5cf6;
    color: white;
    border-color: #8b5cf6;
}

/* Marquee / Tools strip */
.skills-footer {
    margin-top: 20px;
}

.tech-marquee {
    width: 100%;
    overflow: hidden;
    background: rgba(10, 10, 25, 0.6);
    border-radius: 60px;
    padding: 14px 0;
    margin-bottom: 32px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(4px);
}

.marquee-content {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: marqueeScroll 22s linear infinite;
    width: fit-content;
}

.marquee-content span {
    font-family: 'Space Grotesk', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    color: #b4adff;
    letter-spacing: 1px;
    background: rgba(139, 92, 246, 0.1);
    padding: 6px 20px;
    border-radius: 40px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.2s;
}

.marquee-content span:hover {
    background: #8b5cf6;
    color: white;
    transform: scale(1.02);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .skills-section {
        padding: 70px 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .skill-card {
        padding: 22px;
    }

    .marquee-content span {
        padding: 4px 14px;
        font-size: 0.75rem;
    }

    .tech-marquee {
        padding: 10px 0;
    }
}

/* ====================== */
/* === CLIENTS GRID 3 KOLOM (dalam about) === */
/* ====================== */
.about-clients {
    margin-top: var(--space-lg);
    text-align: center;
    position: relative;
    z-index: 3;
    background: rgba(18, 14, 33, 0.4);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.clients-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.clients-label span {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.label-line {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.client-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.client-card {
    background: rgba(18, 14, 33, 0.6);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 100%;
}

.client-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.client-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.client-logo-wrapper img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.client-card:hover .client-logo-wrapper img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.clients-note {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: var(--space-md);
    font-style: italic;
}

@media (max-width: 1024px) {
    .about-grid {
        gap: var(--space-lg);
    }

    .floating-badge {
        display: none;
    }

    .client-card {
        height: 90px;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-visual {
        order: -1;
    }

    .about-image-main {
        max-width: 350px;
    }

    .about-cta {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .about {
        padding: var(--space-lg) 0;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-text.lead {
        font-size: 1.125rem;
    }

    .expertise-tags {
        gap: var(--space-xs);
    }

    .expertise-tag {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }

    .about-cta {
        flex-direction: column;
        width: 100%;
    }

    .about-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .client-grid-3col {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }

    .client-card {
        height: 80px;
        padding: var(--space-sm);
    }
}

@media (max-width: 640px) {
    .client-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ====================== */
/* === FEATURES / EXPERTISE SECTION (3x2 Grid) === */
/* ====================== */
.features {
    padding: var(--space-xl) 0;
    background: transparent;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.section-badge {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-md);
    color: white;
}

.section-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.feature-card {
    background: rgba(18, 14, 33, 0.6);
    backdrop-filter: blur(12px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
    color: white;
}

.feature-card p {
    font-size: 1rem;
    color: var(--color-text-light);
}

.feature-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--color-pastel-purple);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

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

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

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }
}

/* ====================== */
/* === PROCESS SECTION === */
/* ====================== */
.process {
    padding: var(--space-xl) 0;
    background: transparent;
    position: relative;
}

.process .section-header {
    max-width: 820px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
}

.process .section-subtitle {
    max-width: 760px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: min(100%, 1180px);
    margin: clamp(40px, 5vw, 64px) auto 0;
    align-items: stretch;
}

.process-grid .process-card {
    --process-accent: var(--color-primary-light);
    background: rgba(18, 14, 33, 0.6);
    backdrop-filter: blur(12px);
    padding: clamp(26px, 2.4vw, 36px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    outline: 2px solid transparent;
    outline-offset: 4px;
    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        background var(--transition-base),
        box-shadow var(--transition-base),
        outline-color var(--transition-fast);
}

.process-card:nth-child(1) {
    --process-accent: #a78bfa;
}

.process-card:nth-child(2) {
    --process-accent: #22d3ee;
}

.process-card:nth-child(3) {
    --process-accent: #60a5fa;
}

.process-card:nth-child(4) {
    --process-accent: #8b5cf6;
}

.process-grid .process-card:focus-visible {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--process-accent) 64%, transparent);
    outline-color: color-mix(in srgb, var(--process-accent) 68%, transparent);
    background: color-mix(in srgb, var(--process-accent) 8%, rgba(18, 14, 33, 0.66)) !important;
    box-shadow: 0 20px 34px -24px color-mix(in srgb, var(--process-accent) 72%, transparent);
}

.process-grid .process-card:focus-visible .process-number {
    color: color-mix(in srgb, var(--process-accent) 42%, transparent);
}

.process-grid .process-card:focus-visible .process-icon {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--process-accent) 70%, transparent);
}

.process-number {
    font-family: var(--font-mono);
    font-size: clamp(2.7rem, 4vw, 3.4rem);
    font-weight: 700;
    color: color-mix(in srgb, var(--process-accent) 22%, transparent);
    position: absolute;
    top: 14px;
    right: 18px;
    line-height: 1;
    pointer-events: none;
    transition: color var(--transition-base);
}

.process-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 26px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--process-accent) 34%, transparent);
    border-radius: 16px;
    background: color-mix(in srgb, var(--process-accent) 10%, transparent);
    color: var(--process-accent);
    font-size: 1.55rem;
    box-shadow: 0 12px 28px -22px color-mix(in srgb, var(--process-accent) 70%, transparent);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.process-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: white;
    line-height: 1.25;
}

.process-card p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.65;
}

.process-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.process-tags span {
    font-size: 0.7rem;
    padding: 5px 10px;
    background: color-mix(in srgb, var(--process-accent) 12%, transparent);
    border-radius: var(--radius-full);
    color: var(--color-text-light);
    border: 1px solid color-mix(in srgb, var(--process-accent) 28%, transparent);
    line-height: 1.35;
}

@media (hover: hover) {
    .process-grid .process-card:hover {
        transform: translateY(-8px);
        border-color: color-mix(in srgb, var(--process-accent) 64%, transparent);
        background: color-mix(in srgb, var(--process-accent) 8%, rgba(18, 14, 33, 0.66)) !important;
        box-shadow: 0 20px 34px -24px color-mix(in srgb, var(--process-accent) 72%, transparent);
    }

    .process-grid .process-card:hover .process-number {
        color: color-mix(in srgb, var(--process-accent) 42%, transparent);
    }

    .process-grid .process-card:hover .process-icon {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--process-accent) 70%, transparent);
    }
}

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

@media (max-width: 700px) {
    .process-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
        gap: 20px;
    }

    .process-grid .process-card {
        padding: 24px;
    }

    .process-icon {
        margin-bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-grid .process-card,
    .process-number,
    .process-icon {
        transition: none !important;
    }

    .process-grid .process-card:hover,
    .process-grid .process-card:focus-visible,
    .process-grid .process-card:hover .process-icon,
    .process-grid .process-card:focus-visible .process-icon {
        transform: none;
    }
}

/* ====================== */
/* === ACHIEVMENTS SECTION === */
/* ====================== */
/* Achievements Section */
.achievements {
    padding: var(--space-xl) 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.achievement-card {
    background: rgba(18, 14, 33, 0.6);
    backdrop-filter: blur(12px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    transition: var(--transition-base);
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 25px rgba(139, 92, 246, 0.2);
}

.achievement-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.achievement-content h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: white;
}

.achievement-org {
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-family: var(--font-mono);
}

.achievement-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
}

.achievements-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: rgba(18, 14, 33, 0.4);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

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

    .achievements-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievement-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ====================== */
/* === OPEN SOURCE SECTION === */
/* ====================== */
/* Open Source Section */
.opensource {
    padding: var(--space-xl) 0;
}

.opensource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.repo-card {
    background: rgba(18, 14, 33, 0.6);
    backdrop-filter: blur(12px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    text-decoration: none;
    transition: var(--transition-base);
    display: block;
}

.repo-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 30px rgba(139, 92, 246, 0.3);
}

.repo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-sm);
}

.repo-header i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.repo-name {
    font-weight: 600;
    color: white;
    flex: 1;
}

.repo-stars {
    font-size: 0.8rem;
    color: var(--color-accent-alt);
}

.repo-desc {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

.repo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.repo-tags span {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-text-light);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.opensource-footer {
    text-align: center;
    margin-top: var(--space-lg);
}

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

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

/* ====================== */
/* === FAQ SECTION - SMOOTH ANIMATION === */
/* ====================== */
.faq {
    padding: var(--space-xl) 0;
}

.faq-grid {
    max-width: 800px;
    margin: var(--space-lg) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    background: rgba(18, 14, 33, 0.6);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.faq-question {
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    z-index: 2;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    flex: 1;
    padding-right: 15px;
}

.faq-item:hover .faq-question h3 {
    color: var(--color-primary);
}

.faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-primary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(135deg);
    background: var(--color-primary);
    color: white;
}

.faq-answer {
    max-height: 0;
    padding: 0 var(--space-md);
    overflow: hidden;
    color: var(--color-text-light);
    border-top: 0 solid rgba(139, 92, 246, 0.2);
    will-change: max-height, padding, border;
    line-height: 1.6;
    transition: none;
    /* GSAP akan handle animasi */
}

.faq-answer p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Active state styling */
.faq-item.active {
    border-color: var(--color-primary);
    background: rgba(18, 14, 33, 0.8);
}

/* ====================== */
/* === BLOG LAYOUT WITH SIDEBAR === */
/* ====================== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

/* Main Blog Grid */
.blog-main {
    width: 100%;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

/* Featured Post (first post bisa dibuat lebih besar) */
.insight-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.insight-card.featured .insight-image {
    height: 100%;
    min-height: 300px;
}

.insight-card.featured .insight-content {
    padding: var(--space-lg);
}

.insight-card.featured h3 {
    font-size: 1.5rem;
}

/* Insight Card Enhancements */
.insight-card {
    background: rgba(18, 14, 33, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    position: relative;
}

.insight-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 30px rgba(139, 92, 246, 0.3);
}

.insight-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.insight-card.featured .insight-image {
    height: 100%;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

/* Badges */
.insight-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.insight-featured {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    z-index: 2;
}

.insight-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    transition: all var(--transition-base);
    backdrop-filter: blur(4px);
    border: 2px solid white;
    z-index: 2;
}

.insight-card:hover .insight-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Content */
.insight-content {
    padding: var(--space-md);
}

.insight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.insight-meta i {
    margin-right: 4px;
    font-size: 0.7rem;
}

.insight-content h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
    color: white;
    line-height: 1.4;
}

.insight-content p {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Tags */
.insight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-md);
}

.tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-full);
    color: var(--color-text-light);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all var(--transition-fast);
}

.tag:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Link */
.insight-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    overflow: hidden;
}

.insight-link i {
    transition: transform var(--transition-fast);
}

.insight-card:hover .insight-link i {
    transform: translateX(5px);
}

.link-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.insight-card:hover .link-glow {
    width: 100%;
}

/* ====================== */
/* === SIDEBAR STYLES === */
/* ====================== */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.sidebar-widget {
    background: rgba(18, 14, 33, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    color: white;
    position: relative;
    display: inline-block;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

/* Search Widget */
.search-form {
    display: flex;
    gap: 8px;
}

.search-form input {
    flex: 1;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 0.9rem;
}

.search-form input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.search-form button {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.search-form button:hover {
    background: var(--color-secondary);
    transform: scale(1.05);
}

/* Categories Widget */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    padding-bottom: 8px;
}

.category-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.category-list a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.category-list .count {
    font-size: 0.8rem;
    color: var(--color-text-light);
    background: rgba(139, 92, 246, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud {
    font-size: 0.8rem;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-full);
    color: var(--color-text-light);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.tag-cloud:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.recent-post {
    display: flex;
    gap: var(--space-sm);
    text-decoration: none;
    color: inherit;
    padding: 8px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.recent-post:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(5px);
}

.recent-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.recent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-content {
    flex: 1;
}

.recent-content h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: white;
    line-height: 1.3;
}

.recent-date {
    font-size: 0.7rem;
    color: var(--color-text-light);
}

/* Newsletter Widget */
.newsletter-widget p {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-light);
}

.sidebar-newsletter {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.sidebar-newsletter input {
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-text);
}

.sidebar-newsletter input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.subscribe-btn {
    width: 100%;
    justify-content: center;
}

.newsletter-note {
    font-size: 0.7rem !important;
    margin-top: 8px !important;
    color: var(--color-text-light) !important;
    opacity: 0.7;
}

.blog-newsletter-message {
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.blog-newsletter-message.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.blog-newsletter-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Author Widget */
.author-widget {
    text-align: center;
}

.author-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-sm);
    border: 3px solid var(--color-primary);
    padding: 3px;
}

.author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-name {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: white;
}

.author-bio {
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-light);
}

.author-social {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
}

.author-social .social-link {
    width: 36px;
    height: 36px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}

.author-social .social-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

/* Archive Select Container */
.archive-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    transition: all var(--transition-fast);
}

/* Hover State */
.archive-select:hover {
    border-color: var(--color-primary);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Focus State */
.archive-select:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* Active/Open State */
.archive-select:active {
    transform: scale(0.98);
}

/* Disabled State */
.archive-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: rgba(139, 92, 246, 0.1);
}

/* Option Styling - Note: Limited browser support for option styling */
.archive-select option {
    background: var(--color-bg);
    color: var(--color-text);
    padding: 10px;
    font-family: var(--font-sans);
}

.archive-select option:hover,
.archive-select option:focus,
.archive-select option:checked,
.archive-select option:selected {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

/* For Firefox */
.archive-select option:checked {
    background: var(--color-primary);
    color: white;
}

/* Custom dropdown arrow for better cross-browser support */
@supports not (background-image: url("data:image/svg+xml,%3Csvg...%3E")) {
    .archive-select {
        background-image: none;
        padding-right: 30px;
        position: relative;
    }

    /* Fallback arrow using pseudo-element */
    .sidebar-widget:has(.archive-select) {
        position: relative;
    }

    .sidebar-widget:has(.archive-select)::after {
        content: '▼';
        font-size: 0.8rem;
        color: var(--color-primary);
        position: absolute;
        right: 30px;
        bottom: 30px;
        pointer-events: none;
    }
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-lg);
}

.pagination-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 14, 33, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-text-light);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination-item:hover,
.pagination-item.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.pagination-dots {
    color: var(--color-text-light);
    padding: 0 4px;
}

.pagination-next {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: 40px;
    background: rgba(18, 14, 33, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-text-light);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination-next:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateX(5px);
}

/* ====================== */
/* === RESPONSIVE === */
/* ====================== */
@media (max-width: 1200px) {
    .blog-layout {
        grid-template-columns: 1fr 280px;
        gap: var(--space-md);
    }
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        order: -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insight-card.featured {
        grid-column: span 2;
    }
}

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

    .insight-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .insight-card.featured .insight-image {
        height: 200px;
    }

    .blog-pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .insight-meta {
        flex-direction: column;
        gap: 4px;
    }

    .pagination-item {
        width: 35px;
        height: 35px;
    }

    .pagination-next {
        padding: 0 12px;
    }
}

/* ====================== */
/* === PROJECTS SECTION === */
/* ====================== */
.projects {
    padding: var(--space-xl) 0;
    background: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.project-card {
    background: rgba(18, 14, 33, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 30px rgba(139, 92, 246, 0.3);
}

.project-large {
    grid-column: span 2;
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-large .project-image {
    height: 380px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.project-picture img {
    display: block;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.project-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: var(--color-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: var(--space-sm);
    align-self: flex-start;
}

.project-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.project-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.project-meta {
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.project-meta i {
    transition: transform var(--transition-fast);
}

.project-card:hover .project-meta i {
    transform: translate(4px, -4px);
}

.projects-footer {
    text-align: center;
    margin-top: var(--space-xl);
}

@media (max-width: 1024px) {
    .project-large {
        grid-column: span 1;
    }

    .project-large .project-image {
        height: 280px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .project-image {
        height: 250px;
    }

    .project-title {
        font-size: 1.3rem;
    }
}

/* ====================== */
/* === TESTIMONIALS SECTION === */
/* ====================== */
.testimonials {
    padding: var(--space-xl) 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.testimonials-carousel {
    margin-top: var(--space-lg);
    position: relative;
}

.testimonial-item {
    padding: var(--space-xs);
    height: auto;
}

.testimonial-card {
    background: rgba(18, 14, 33, 0.6);
    backdrop-filter: blur(12px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 30px rgba(139, 92, 246, 0.2);
}

.quote-icon {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-primary-light);
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.15;
    line-height: 1;
}

.testimonial-rating {
    margin-bottom: var(--space-sm);
    color: var(--color-accent-alt);
    font-size: 0.9rem;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: var(--space-md);
    margin-top: auto;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-primary);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--color-text);
}

.author-info p {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin: 0;
}

.owl-carousel .owl-stage-outer {
    overflow: visible;
    padding: var(--space-sm) 0;
}

.owl-item {
    opacity: 0.3;
    transition: var(--transition-base);
}

.owl-item.active {
    opacity: 1;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--space-lg);
}

.owl-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.owl-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: var(--color-text-light) !important;
    opacity: 0.3 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
}

.owl-dot.active {
    width: 30px !important;
    border-radius: 20px !important;
    background: var(--color-primary) !important;
    opacity: 1 !important;
}

.owl-dot:hover {
    opacity: 0.8 !important;
    background: var(--color-primary-light) !important;
}

.owl-nav,
.nav-btn,
.prev-btn,
.next-btn,
.testimonial-nav,
.owl-carousel .owl-nav,
.owl-carousel .owl-nav button {
    display: none !important;
}

@media (max-width: 768px) {
    .testimonial-card {
        min-height: 260px;
        padding: var(--space-md);
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
    }
}

/* ====================== */
/* === CONTACT SECTION === */
/* ====================== */
.contact {
    padding: var(--space-lg) 0;
    background: transparent;
}

.contact-header-compact {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.contact-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-xs);
    background: rgba(139, 92, 246, 0.1);
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

.contact-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: var(--space-xs);
    line-height: 1.2;
    color: white;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 450px;
    margin: 0 auto;
}

.contact-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: stretch;
}

.contact-info-compact,
.contact-form-compact {
    background: rgba(18, 14, 33, 0.6);
    backdrop-filter: blur(12px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.quick-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.quick-contact-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    position: relative;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.2s ease;
}

.quick-contact-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--color-primary);
}

.quick-icon {
    width: 36px;
    height: 36px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.quick-detail {
    flex: 1;
}

.quick-detail h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    margin-bottom: 2px;
}

.quick-detail p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    line-height: 1.2;
}

.mini-copy {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--color-text-light);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mini-copy:hover {
    background: var(--color-primary);
    color: white;
}

.social-links-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xs);
    margin: var(--space-md) 0;
}

.social-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.social-compact i {
    font-size: 0.8rem;
}

.social-compact:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.response-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    background: rgba(139, 92, 246, 0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    color: var(--color-primary);
    border: 1px dashed rgba(139, 92, 246, 0.3);
}

.form-row-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group-compact {
    margin-bottom: var(--space-sm);
}

.form-group-compact input,
.form-group-compact select,
.form-group-compact textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.2);
    color: var(--color-text);
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.form-group-compact input:focus,
.form-group-compact select:focus,
.form-group-compact textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group-compact textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 120px;
}

.form-group-compact select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-sm);
}

.contact-message {
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.contact-message.success {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.contact-message.error {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-message.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@media (max-width: 992px) {
    .contact-grid-compact {
        grid-template-columns: 1fr;
    }

    .quick-contact-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .contact {
        padding: var(--space-md) 0;
    }

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

    .social-links-compact {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* ====================== */
/* === FOOTER === */
/* ====================== */
.footer {
    position: relative;
    padding: var(--space-lg) 0 var(--space-md);
    background: rgba(10, 7, 18, 0.8);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.brand-wrapper {
    margin-bottom: var(--space-xs);
}

.brand-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-block;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.brand-dot {
    color: var(--color-secondary);
    font-size: 2.5rem;
    line-height: 1;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
    max-width: 280px;
    margin: 0;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: var(--space-xs);
}

.footer-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    color: var(--color-text-light);
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 1rem;
}

.footer-social-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.footer-newsletter {
    margin-top: var(--space-xs);
}

.newsletter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.newsletter-form {
    display: flex;
    align-items: center;
    max-width: 260px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-full);
    padding: 4px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    color: var(--color-text);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--color-text-light);
    opacity: 0.5;
}

.newsletter-form button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    border: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--color-secondary);
    transform: rotate(90deg);
}

.newsletter-message {
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.newsletter-message.success {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.newsletter-message.error {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.link-group {
    display: flex;
    flex-direction: column;
}

.link-group h4 {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-group li {
    margin: 0;
    padding: 0;
}

.link-group a {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.link-group a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.2s ease;
    color: var(--color-primary);
}

.link-group a:hover,
.link-group a.footer-link-active {
    color: var(--color-primary);
    transform: translateX(15px);
}

.link-group a:hover::before,
.link-group a.footer-link-active::before {
    opacity: 1;
    left: -5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    margin-top: var(--space-sm);
}

.bottom-left {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.copyright {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin: 0;
}

.divider {
    color: var(--color-primary);
    font-size: 0.8rem;
    opacity: 0.5;
}

.crafted {
    font-size: 0.8rem;
    color: var(--color-text-light);
    opacity: 0.7;
    font-style: italic;
}

.bottom-right {
    display: flex;
    align-items: center;
}

.back-to-top {
    display: grid;
    align-items: center;
    justify-items: center;
    position: fixed;
    right: clamp(16px, 2.5vw, 36px);
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 9998;
    width: 54px;
    height: 54px;
    padding: 0;
    background: rgba(10, 7, 24, 0.72);
    border-radius: 50%;
    color: var(--color-text);
    text-decoration: none;
    border: 0;
    box-shadow: 0 10px 32px rgba(3, 1, 18, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.back-to-top.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px) scale(0.94);
}

.back-to-top:not(.is-hidden):hover {
    background: rgba(20, 13, 45, 0.92);
    color: white;
    transform: translateY(-2px) scale(1.03);
}

.scroll-progress {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: rotate(-90deg);
}

.scroll-progress-track,
.scroll-progress-value {
    fill: none;
    stroke-width: 2.4;
}

.scroll-progress-track {
    stroke: color-mix(in srgb, var(--color-primary) 22%, transparent);
}

.scroll-progress-value {
    stroke: var(--color-primary-light);
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    filter: drop-shadow(0 0 4px color-mix(in srgb, var(--color-primary) 70%, transparent));
    transition: stroke-dashoffset 0.08s linear;
}

.back-to-top i {
    grid-area: 1 / 1;
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

html.is-returning-top .navbar-brand .brand-icon {
    transform-origin: center;
    transform: rotate(-90deg);
    will-change: transform;
}

.back-to-top.is-scrolling {
    background: rgba(20, 13, 45, 0.92);
    border-color: var(--color-primary-light);
    color: white;
    pointer-events: none;
}

.back-to-top.is-scrolling i {
    animation: backToTopArrow 0.55s ease-in-out infinite alternate;
}

@keyframes backToTopArrow {
    from {
        transform: translateY(1px);
    }

    to {
        transform: translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }

    .scroll-progress-value {
        transition: none;
    }

    .back-to-top.is-scrolling i {
        animation: none;
    }
}

@media (max-width: 576px) {
    .back-to-top {
        right: 14px;
        bottom: max(14px, env(safe-area-inset-bottom));
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-brand-section {
        text-align: center;
        align-items: center;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-newsletter {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
        text-align: center;
    }

    .link-group {
        align-items: center;
    }

    .link-group h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .bottom-left {
        flex-direction: column;
        gap: 4px;
    }

    .divider {
        display: none;
    }
}

/* ====================== */
/* === DEDICATED SPACE GAME === */
/* ====================== */
.space-background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.space-background canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.space-game {
    position: relative;
    padding: clamp(56px, 7vw, 96px) 0;
    isolation: isolate;
}

.space-game-inner {
    width: min(1480px, calc(100% - clamp(32px, 6vw, 96px)));
    margin: 0 auto;
}

.space-game-stage {
    position: relative;
    width: 100%;
    height: clamp(600px, 64vh, 760px);
    min-width: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: crosshair;
    touch-action: pan-y pinch-zoom;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.space-game-stage canvas {
    position: absolute !important;
    inset: 0 !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

@media (max-width: 768px) {
    .space-game {
        padding: 48px 0;
    }

    .space-game-inner {
        width: calc(100% - 24px);
    }

    .space-game-stage {
        height: clamp(460px, 68vh, 560px);
        height: clamp(460px, 68svh, 560px);
    }
}

/* ====================== */
/* === SCROLL ANIMATIONS === */
/* ====================== */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================== */
/* === CUSTOM SCROLLBAR === */
/* ====================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* ====================== */
/* === CUSTOM CURSOR === */
/* ====================== */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

/* ====================== */
/* === GLOBAL RESPONSIVE === */
/* ====================== */
@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-lg: 3rem;
        --space-md: 1.5rem;
    }

    .container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 3rem;
        --space-lg: 2rem;
        --space-md: 1rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }
}

/* ====================== */
/* === JEREDEV CONTENT ADAPTATION === */
/* ====================== */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform var(--transition-fast);
}

.skip-link:focus {
    transform: translateY(0);
}

.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;
}

html[data-theme="matrix"] {
    --color-bg: #030a07;
    --color-surface: rgba(4, 24, 16, 0.72);
    --color-text: #e8fff3;
    --color-text-light: #a4c8b6;
    --color-primary: #00e676;
    --color-primary-light: #6dffa9;
    --color-secondary: #00b86b;
    --color-accent: #7cffb2;
    --color-pastel-purple: #00e676;
    --shadow-soft: 0 20px 60px rgba(0, 230, 118, 0.2);
}

html[data-theme="oceanic"] {
    --color-bg: #03101b;
    --color-surface: rgba(5, 27, 45, 0.72);
    --color-text: #eefaff;
    --color-text-light: #a9cbd9;
    --color-primary: #22d3ee;
    --color-primary-light: #7eeeff;
    --color-secondary: #3b82f6;
    --color-accent: #67e8f9;
    --color-pastel-purple: #22d3ee;
    --shadow-soft: 0 20px 60px rgba(34, 211, 238, 0.2);
}

html[data-theme="matrix"] body {
    background-image:
        radial-gradient(circle at 30% 40%, rgba(0, 230, 118, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 184, 107, 0.08) 0%, transparent 40%);
}

html[data-theme="oceanic"] body {
    background-image:
        radial-gradient(circle at 30% 40%, rgba(34, 211, 238, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.09) 0%, transparent 40%);
}

.navbar-brand,
.navbar.scrolled .navbar-brand,
.nav-link:hover,
.nav-link.active,
.stat-label,
.tech-label,
.highlight,
.brand-dot,
.copyright,
.back-to-top,
.contact-badge,
.quick-detail h3,
.link-group h3 {
    color: var(--color-primary);
}

.name-gradient,
.skills-title .gradient {
    background-image: linear-gradient(135deg, #fff, var(--color-primary), var(--color-secondary));
}

.name-gradient::after,
.link-group h3::after {
    background-image: linear-gradient(90deg, var(--color-primary), var(--color-secondary), transparent);
}

.greeting-text,
.tech-items span {
    color: var(--color-primary);
    border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.highlight::after {
    background-image: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.scroll-line,
.stat-divider {
    background-image: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
}

.theme-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.theme-switcher button {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-light);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-switcher button:hover,
.theme-switcher button[aria-pressed="true"] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 16%, transparent);
    color: var(--color-primary-light);
    box-shadow: 0 0 18px color-mix(in srgb, var(--color-primary) 28%, transparent);
}

.hero-role {
    margin-bottom: 28px;
}

.role-prefix {
    color: var(--color-primary-light);
}

.hero-stats .stat-number {
    max-width: 220px;
    font-size: clamp(1rem, 2vw, 1.55rem);
}

.about-grid--content-only {
    grid-template-columns: minmax(0, 920px);
    justify-content: center;
}

.about-grid--content-only .about-content {
    text-align: left;
}

.about-expertise h3 {
    margin-bottom: 18px;
    color: var(--color-text);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.projects-grid {
    align-items: stretch;
}

.project-card {
    color: inherit;
}

.project-card:focus-visible,
.quick-contact-item:focus-visible {
    outline: 3px solid var(--color-primary-light);
    outline-offset: 4px;
}

.project-card:focus-visible .project-overlay {
    opacity: 1;
}

.project-image img {
    height: 100%;
    object-fit: cover;
}

.project-image img.fit-contain {
    object-fit: contain;
    padding: 20px;
    background: rgba(3, 5, 14, 0.92);
}

.project-overlay {
    justify-content: flex-end;
}

.project-desc {
    max-width: 46ch;
}

.project-meta {
    gap: 12px;
}

.project-meta .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.project-meta .project-tags span {
    color: var(--color-text-light);
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto var(--space-lg);
    padding: 10px;
}

.project-filter-button.btn {
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid rgba(139, 92, 246, 0.28);
    background: rgba(139, 92, 246, 0.06);
    color: var(--color-text-light);
    font-size: 0.78rem;
}

.project-filter-button:hover,
.project-filter-button[aria-pressed="true"] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 18%, transparent);
    color: var(--color-text);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.projects-grid {
    grid-auto-flow: dense;
}

.project-image img {
    object-position: top center;
}

.project-meta {
    align-items: flex-start;
}

.project-meta-content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 10px;
}

.project-meta-title {
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.3;
}

.project-meta .project-tags span {
    padding: 3px 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-full);
    background: rgba(139, 92, 246, 0.08);
    font-size: 0.68rem;
    line-height: 1.2;
}

.skill-card {
    display: flex;
    flex-direction: column;
}

.skill-card .skill-tags {
    margin-top: auto;
}

.skill-icon {
    color: var(--color-primary);
}

.skills-footer {
    margin-top: 54px;
}

.marquee-content {
    width: max-content;
}

.service-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card.is-featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-soft);
}

.service-price {
    margin: 14px 0 8px;
    color: var(--color-primary-light);
    font-family: var(--font-mono);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
}

.service-review {
    margin-top: auto;
    padding-top: 18px;
    color: var(--color-text);
    font-size: 0.9rem;
}

.quick-contact-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-content: center;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.quick-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
}

.quick-detail {
    min-width: 0;
    max-width: 100%;
}

.quick-detail h3 {
    margin-bottom: 2px;
    font-size: clamp(0.67rem, 0.2vw + 0.62rem, 0.76rem);
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.quick-detail p {
    max-width: 100%;
    font-size: clamp(0.8rem, 0.28vw + 0.7rem, 0.94rem);
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.contact .container {
    max-width: 1440px;
}

.contact-grid-compact {
    grid-template-columns: minmax(0, 1.28fr) minmax(400px, 0.72fr);
    gap: clamp(20px, 2vw, 36px);
}

.contact-info-compact,
.contact-form-compact {
    min-width: 0;
    padding: clamp(20px, 2.2vw, 40px);
}

.quick-contact-row {
    grid-template-columns:
        minmax(180px, 0.85fr)
        minmax(270px, 1.35fr);
    gap: clamp(10px, 1vw, 16px);
    height: 100%;
    margin-bottom: 0;
}

.quick-contact-item {
    min-height: clamp(88px, 7vw, 118px);
    padding: clamp(12px, 1vw, 16px);
}

.contact-form-inner,
.form-row-compact,
.form-group-compact {
    min-width: 0;
}

.form-group-compact input,
.form-group-compact textarea {
    min-width: 0;
    max-width: 100%;
    font-size: clamp(0.88rem, 0.22vw + 0.82rem, 1rem);
    line-height: 1.45;
}

.form-group-compact input {
    min-height: 50px;
}

.form-group-compact textarea {
    min-height: clamp(108px, 9vw, 132px);
}

.submit-btn {
    min-height: 48px;
    white-space: normal;
}

.form-status {
    min-height: 1.5em;
    margin: 12px 0 0;
    font-size: 0.86rem;
}

.form-status.error {
    color: #fca5a5;
}

.form-status.success {
    color: var(--color-primary-light);
}

.link-group h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 22px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.link-group h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 32px;
    height: 2px;
}

.footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: var(--space-md);
    width: 100%;
}

.footer-bottom > .crafted {
    grid-column: 1;
    justify-self: start;
    text-align: left;
}

.footer-bottom > .copyright {
    grid-column: 2;
    justify-self: center;
    text-align: center;
    white-space: nowrap;
}

.footer-bottom > .bottom-right {
    grid-column: 3;
    justify-self: end;
}

.noscript-message {
    margin-top: 24px;
    text-align: center;
}

@media (max-width: 1399.98px) and (min-width: 1200px) {
    .contact-grid-compact {
        grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    }

    .quick-contact-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .contact .container {
        max-width: 1140px;
    }

    .contact-grid-compact {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
    }

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

    .quick-contact-item {
        min-height: 76px;
    }
}

@media (max-width: 991.98px) {
    .theme-switcher {
        justify-content: center;
        margin: 18px 0 0;
        padding: 18px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .contact-grid-compact {
        grid-template-columns: 1fr;
    }

    .quick-contact-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .quick-contact-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quick-contact-item {
        min-height: 82px;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .hero-stats .stat-number {
        max-width: none;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-large {
        grid-column: auto;
    }

    .contact-grid-compact {
        gap: 24px;
    }

    .contact-info-compact,
    .contact-form-compact {
        padding: clamp(16px, 5vw, 24px);
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-bottom > .copyright {
        grid-column: 1;
        grid-row: 1;
        white-space: normal;
    }

    .footer-bottom > .crafted {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        text-align: center;
    }

    .footer-bottom > .bottom-right {
        grid-column: 1;
        grid-row: 3;
        justify-self: center;
    }
}

@media (max-width: 576px) {
    .quick-contact-row {
        grid-template-columns: 1fr;
    }

    .quick-contact-item {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 78px;
        padding: 12px 14px;
    }

    .quick-icon {
        width: 38px;
        height: 38px;
    }

    .quick-detail p {
        font-size: clamp(0.84rem, 3.5vw, 0.95rem);
    }

    .form-group-compact input,
    .form-group-compact textarea {
        padding: 12px 14px;
        font-size: 1rem;
    }
}

@media (hover: none) {
    .project-overlay {
        padding: 1.25rem;
        opacity: 1;
    }

    .project-desc {
        font-size: 0.8rem;
        line-height: 1.45;
    }
}

/* ====================== */
/* === HERO: CONVERSION CONTENT === */
/* ====================== */
.hero-wrapper {
    max-width: 1160px;
}

.hero-name--conversion {
    max-width: 1100px;
    margin-inline: auto;
    font-size: clamp(2.7rem, 6.4vw, 5.25rem);
    line-height: 1.06;
    text-wrap: balance;
}

.hero-name--conversion .name-gradient {
    white-space: normal;
}

.hero-description--conversion {
    max-width: 860px;
    margin-bottom: 30px;
    text-wrap: pretty;
}

.hero-offer {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 12px auto 0;
}

.hero-benefits {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: center;
    gap: clamp(16px, 2.2vw, 32px);
    max-width: 1040px;
    margin: 0 auto 34px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.benefit-block {
    min-width: 0;
    text-align: center;
}

.benefit-title,
.benefit-copy {
    display: block;
}

.benefit-title {
    margin-bottom: 6px;
    color: #ffffff;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    font-weight: 800;
    line-height: 1.25;
    text-wrap: balance;
}

.benefit-copy {
    color: var(--color-primary-light);
    font-family: var(--font-mono);
    font-size: clamp(0.62rem, 0.9vw, 0.72rem);
    line-height: 1.45;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-wrap: balance;
}

.benefit-divider {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
}

.hero-actions--conversion {
    margin-bottom: 34px;
}

.hero-actions--conversion .btn {
    min-height: 52px;
    white-space: nowrap;
}

.hero-actions--conversion .btn-primary {
    min-width: 250px;
}

.hero-actions--conversion .btn-tertiary {
    border-color: color-mix(in srgb, var(--color-primary) 34%, transparent);
    color: #d8d8ec;
}

.hero-actions--conversion .btn:focus-visible {
    outline: 3px solid var(--color-primary-light);
    outline-offset: 4px;
}

.hero-actions--conversion .btn:active {
    transform: translateY(0) scale(0.98);
}

.hero-stats.hero-proof {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
    align-items: center;
    gap: clamp(18px, 3vw, 40px);
    width: min(100%, 820px);
    margin: 0 auto 30px;
    animation-delay: 0.6s;
}

.hero-proof .stat-block {
    min-width: 0;
}

.hero-proof .stat-number,
.hero-stats.hero-proof .stat-number {
    max-width: none;
    font-size: clamp(1.55rem, 3vw, 2rem);
}

.hero-proof .stat-number--descriptive,
.hero-stats.hero-proof .stat-number--descriptive {
    font-size: clamp(1rem, 2vw, 1.35rem);
}

.hero-proof .stat-label {
    display: block;
    line-height: 1.35;
}

.hero.has-live-presence .hero-stats.hero-proof {
    margin-bottom: 12px;
}

.hero-presence {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    max-width: min(100%, 340px);
    margin: 0 auto 18px;
    padding: 6px 13px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--color-surface) 54%, transparent);
    color: color-mix(in srgb, var(--color-text) 88%, var(--color-primary-light));
    box-shadow: 0 8px 24px rgba(5, 3, 18, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.hero-presence[hidden] {
    display: none;
}

.hero-presence-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: var(--radius-full);
    background: var(--color-pastel-green);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-pastel-green) 10%, transparent);
    animation: heroPresencePulse 3.2s ease-in-out infinite;
}

.hero-presence-message {
    transition: opacity 160ms ease, transform 160ms ease;
}

.hero-presence-message strong {
    color: var(--color-text);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hero-presence.is-updating .hero-presence-message {
    opacity: 0;
    transform: translateY(2px);
}

@keyframes heroPresencePulse {
    0%,
    100% {
        opacity: 0.72;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

.hero-tech--support {
    max-width: 1040px;
    margin-inline: auto;
    padding-block: 16px;
    animation-delay: 0.7s;
}

.hero-tech--support .tech-label,
.hero-tech--support .tech-items {
    opacity: 0.72;
}

.hero-tech--support .tech-items {
    justify-content: center;
}

@media (max-width: 900px) {
    .hero-name--conversion {
        font-size: clamp(2.55rem, 7.5vw, 4.25rem);
    }

    .hero-actions--conversion {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 680px);
        margin-inline: auto;
    }

    .hero-actions--conversion .btn-primary {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hero-name--conversion {
        font-size: clamp(2.3rem, 8.8vw, 3.8rem);
    }

    .hero-role {
        margin-bottom: 22px;
    }

    .hero-role .role-prefix {
        font-size: clamp(1rem, 3.4vw, 1.2rem);
        line-height: 1.45;
        text-wrap: balance;
    }

    .hero-description--conversion {
        margin-bottom: 26px;
        padding-inline: 0;
    }

    .hero-benefits {
        gap: 14px;
        margin-bottom: 30px;
    }

    .hero-stats.hero-proof {
        flex-direction: initial;
        gap: 14px;
    }

    .hero-proof .stat-divider {
        display: block;
    }
}

@media (max-width: 576px) {
    .hero-greeting {
        margin-bottom: 24px;
    }

    .hero-name--conversion {
        font-size: clamp(2rem, 9.5vw, 2.75rem);
        line-height: 1.08;
    }

    .hero-description--conversion {
        font-size: 0.95rem;
        line-height: 1.62;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
        width: min(100%, 360px);
        margin-bottom: 28px;
    }

    .benefit-block {
        padding-block: 2px;
    }

    .benefit-title {
        margin-bottom: 3px;
        font-size: 0.95rem;
    }

    .benefit-copy {
        font-size: 0.62rem;
    }

    .benefit-divider {
        width: 52px;
        height: 1px;
        justify-self: center;
        background: linear-gradient(to right, transparent, var(--color-primary), transparent);
    }

    .hero-actions--conversion {
        grid-template-columns: 1fr;
        gap: 12px;
        width: min(100%, 360px);
        margin-bottom: 30px;
    }

    .hero-actions--conversion .btn,
    .hero-actions--conversion .btn-primary {
        grid-column: auto;
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: 12px 16px;
        font-size: 0.82rem;
    }

    .hero-stats.hero-proof {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: min(100%, 300px);
        margin-bottom: 24px;
    }

    .hero-proof > .stat-block {
        width: 100%;
        padding-block: 1px;
    }

    .hero-proof > .stat-block:nth-child(1) {
        order: 3;
    }

    .hero-proof > .stat-block:nth-child(3) {
        order: 2;
    }

    .hero-proof > .stat-block:nth-child(5) {
        order: 1;
    }

    .hero-proof .stat-number,
    .hero-stats.hero-proof .stat-number {
        font-size: clamp(1.55rem, 7vw, 1.8rem);
    }

    .hero-proof .stat-number--descriptive,
    .hero-stats.hero-proof .stat-number--descriptive {
        font-size: clamp(1rem, 4.7vw, 1.15rem);
    }

    .hero-proof .stat-label {
        font-size: clamp(0.62rem, 2.8vw, 0.7rem);
        letter-spacing: 0.06em;
    }

    .hero-proof .stat-divider {
        display: none;
    }

    .hero-tech--support {
        gap: 12px;
        padding-block: 14px;
    }

    .hero.has-live-presence .hero-stats.hero-proof {
        margin-bottom: 10px;
    }

    .hero-presence {
        max-width: min(100%, 300px);
        margin-bottom: 16px;
        padding: 6px 12px;
        font-size: 0.74rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-presence-dot {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-presence-message {
        transition: none;
    }
}

@media (max-width: 360px) {
    .hero-name--conversion {
        font-size: 1.9rem;
    }

    .hero-description--conversion {
        font-size: 0.9rem;
    }

    .hero-actions--conversion .btn {
        font-size: 0.76rem;
    }
}

@media (max-height: 900px) and (min-width: 1024px) {
    .hero {
        padding-block: 105px 60px;
    }

    .hero-greeting {
        margin-bottom: 22px;
    }

    .hero-name--conversion {
        margin-bottom: 18px;
    }

    .hero-role {
        margin-bottom: 20px;
    }

    .hero-description--conversion {
        margin-bottom: 24px;
    }

    .hero-benefits,
    .hero-actions--conversion {
        margin-bottom: 26px;
    }

    .hero-stats.hero-proof {
        margin-bottom: 22px;
    }

    .hero-tech--support {
        padding-block: 12px;
    }
}

/* ====================== */
/* === ABOUT: PERSONAL PRESENTATION === */
/* ====================== */
.about-grid--content-only {
    grid-template-columns: minmax(0, 1040px);
}

.about-content--personal {
    width: 100%;
}

.about-title--personal {
    max-width: 980px;
    margin-bottom: clamp(32px, 5vw, 54px);
    font-size: clamp(2.25rem, 4.7vw, 3.65rem);
    line-height: 1.12;
    text-wrap: balance;
}

.about-description--personal {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: clamp(18px, 2.5vw, 28px);
    margin-bottom: clamp(44px, 6vw, 68px);
}

.about-description--personal .about-text {
    margin: 0;
}

.about-intro {
    grid-column: 1 / -1;
    max-width: 940px;
    font-size: clamp(1.08rem, 1.6vw, 1.28rem);
    line-height: 1.75;
    text-wrap: pretty;
}

.about-emphasis {
    color: var(--color-text);
    font-weight: 700;
}

.about-emphasis--brand {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-expertise--differentials {
    margin-bottom: 0;
}

.about-expertise--differentials > h3 {
    margin-bottom: clamp(24px, 3vw, 34px);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.35;
    text-wrap: balance;
}

.expertise-tags--differentials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
}

.expertise-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 158px;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(20px, 2.4vw, 26px);
    overflow: hidden;
    border-color: color-mix(in srgb, var(--color-primary) 28%, transparent);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--color-primary) 8%, transparent), transparent 68%),
        rgba(18, 14, 33, 0.68);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: var(--font-sans);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    width: 54px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 0 16px color-mix(in srgb, var(--color-primary) 58%, transparent);
    pointer-events: none;
}

.about-expertise .expertise-card h4 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: clamp(0.88rem, 1.2vw, 0.98rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    text-wrap: balance;
}

.expertise-card p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.6;
    text-wrap: pretty;
}

.expertise-card:hover {
    border-color: color-mix(in srgb, var(--color-primary) 70%, transparent);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--color-primary) 16%, transparent), transparent 72%),
        rgba(18, 14, 33, 0.78);
    color: var(--color-text);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--color-primary) 72%, transparent);
}

@media (max-width: 900px) {
    .about-description--personal {
        grid-template-columns: 1fr;
    }

    .about-intro {
        grid-column: auto;
    }

    .expertise-tags--differentials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .about-title--personal {
        margin-bottom: 30px;
        font-size: clamp(1.9rem, 8.6vw, 2.45rem);
        line-height: 1.16;
    }

    .about-description--personal {
        gap: 16px;
        margin-bottom: 42px;
    }

    .about-intro {
        font-size: 1.02rem;
        line-height: 1.68;
    }

    .expertise-tags--differentials {
        gap: 12px;
    }

    .expertise-card {
        min-height: 0;
        padding: 20px;
    }

    .about-expertise .expertise-card h4 {
        font-size: 0.88rem;
    }

    .expertise-card p {
        font-size: 0.9rem;
        line-height: 1.55;
    }
}

@media (max-width: 420px) {
    .expertise-tags--differentials {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .about-title--personal {
        font-size: 1.82rem;
    }

    .about-intro {
        font-size: 0.92rem;
    }
}

/* ====================== */
/* === HERO: TECHNOLOGY MARQUEE === */
/* ====================== */
.hero-tech--marquee {
    flex-wrap: nowrap;
}

.hero-tech--marquee .tech-label {
    flex: 0 0 auto;
    white-space: nowrap;
}

.hero-tech-marquee-window {
    min-width: 0;
    flex: 1 1 auto;
    margin-bottom: 0;
}

.hero-tech-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marqueeScroll 22s linear infinite;
    will-change: transform;
}

.hero-tech-group {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 48px;
    padding-inline-end: 48px;
}

.hero-tech-group span {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-tech-track {
        animation-duration: 32s;
    }

    .hero-tech-group {
        gap: 20px;
        padding-inline-end: 20px;
    }
}

@media (max-width: 576px) {
    .hero-tech--marquee {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-tech--marquee .tech-label {
        width: 100%;
        text-align: center;
    }
}

/* ====================== */
/* === LOCAL 3D ROBOT SHOWCASE === */
/* ====================== */
.robot-showcase {
    position: relative;
    padding-block: clamp(72px, 9vw, 120px);
    overflow: visible;
}

.robot-showcase-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1.22fr);
    align-items: center;
    gap: clamp(36px, 6vw, 84px);
    overflow: visible;
}

.robot-showcase-copy,
.robot-showcase-viewer {
    min-width: 0;
}

.robot-showcase-copy {
    text-align: left;
}

.robot-showcase-copy .section-title {
    max-width: 620px;
    margin: 18px 0 20px;
    text-align: left;
    text-wrap: balance;
}

.robot-showcase-copy .section-title > .highlight::after {
    content: none;
}

.robot-title-line {
    display: block;
}

.robot-title-line--stroke {
    margin-top: -0.08em;
    margin-bottom: -0.04em;
}

.robot-pagina-web-stroke {
    --pagina-web-glow: #00ff66;
    --pagina-web-size: clamp(2.35rem, 4.8vw, 4.35rem);
    display: inline-block;
    font-size: var(--pagina-web-size);
    line-height: 1;
    max-width: min(100%, calc(100vw - 32px));
}

.robot-pagina-web-stroke__svg {
    display: block;
    width: 5.59em;
    height: 1em;
    max-width: 100%;
    overflow: visible;
}

.robot-pagina-web-stroke__base,
.robot-pagina-web-stroke__lit {
    font-family: var(--font-serif);
    font-size: 92px;
    font-weight: 700;
    letter-spacing: -0.02em;
    fill: transparent;
}

.robot-pagina-web-stroke__base {
    stroke: rgba(140, 200, 230, 0.22);
    stroke-width: 1.5;
}

.robot-pagina-web-stroke__lit {
    stroke: var(--pagina-web-glow);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 70 560;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 6px rgba(0, 255, 102, 0.55))
        drop-shadow(0 0 14px rgba(0, 255, 136, 0.25));
    animation: robot-pagina-web-stroke-chase 6.5s linear infinite;
}

@keyframes robot-pagina-web-stroke-chase {
    to {
        stroke-dashoffset: -630;
    }
}

@media (min-width: 1440px) {
    .robot-pagina-web-stroke {
        --pagina-web-size: clamp(3.5rem, 3.8vw, 4.75rem);
    }

    .robot-showcase-copy .section-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.05em;
        max-width: 485px;
        line-height: 1;
        text-wrap: pretty;
    }

    .robot-showcase-copy .section-title > .robot-title-line {
        line-height: 0.98;
    }

    .robot-title-line--stroke {
        margin-top: 0;
        margin-bottom: 0;
    }

    .robot-showcase-copy .section-title > .robot-title-accent {
        white-space: nowrap;
    }
}

@media (min-width: 1920px) {
    .robot-showcase-copy .section-title {
        max-width: 500px;
        gap: 0.06em;
    }
}

@media (max-width: 600px) {
    .robot-title-line--stroke {
        margin-top: 0;
        margin-bottom: 0;
    }

    .robot-pagina-web-stroke {
        --pagina-web-size: clamp(2.05rem, 11.2vw, 3.15rem);
        width: min(100%, calc(100vw - 32px));
    }

    .robot-pagina-web-stroke__svg {
        width: 100%;
        height: auto;
        aspect-ratio: 548 / 98;
    }
}

@media (prefers-reduced-motion: reduce) {
    .robot-pagina-web-stroke__lit {
        animation: none;
        stroke-dasharray: none;
        opacity: 0.7;
        filter: drop-shadow(0 0 6px var(--pagina-web-glow));
    }
}

.robot-title-accent {
    background: linear-gradient(90deg, #00f0ff, #8b5cf6, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.robot-title-aurora-text {
    display: inline-block;
    max-width: 100%;
    color: var(--color-primary-light);
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    vertical-align: baseline;
    white-space: normal;
}

.robot-title-aurora-text.robot-title-line {
    display: block;
}

.robot-title-aurora-text:not(:defined)::before {
    content: attr(text);
}

.robot-showcase-copy .section-subtitle {
    max-width: 560px;
    margin: 0;
    text-align: left;
    text-wrap: pretty;
}

.robot-showcase-cta {
    width: fit-content;
    margin-top: 30px;
}

.robot-benefits {
    width: 100%;
    max-width: 560px;
    margin-top: 24px;
    border-top: 1px solid rgba(139, 92, 246, 0.22);
}

.robot-benefit-item,
.robot-benefit-item:hover,
.robot-benefit-item.active {
    overflow: visible;
    border: 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.robot-benefit-question {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 64px;
    padding: 16px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    appearance: none;
}

.robot-benefit-question:focus-visible {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 4px;
}

.robot-benefit-number {
    color: var(--color-primary-light);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.robot-benefit-title {
    min-width: 0;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.robot-benefit-question:hover .robot-benefit-title,
.robot-benefit-question[aria-expanded="true"] .robot-benefit-title {
    color: var(--color-primary-light);
}

.robot-benefit-toggle {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(139, 92, 246, 0.34);
    background: rgba(139, 92, 246, 0.08);
    color: var(--color-primary-light);
    font-size: 1.35rem;
    line-height: 1;
    transition:
        transform 0.35s cubic-bezier(0.68, -0.25, 0.265, 1.25),
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.robot-benefit-item.active .robot-benefit-toggle {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
    transform: rotate(135deg);
}

.robot-benefit-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 40px 0 56px;
    border: 0;
    color: var(--color-text-light);
    line-height: 1.6;
    will-change: max-height, padding-bottom;
}

.robot-benefit-item.active .robot-benefit-answer {
    max-height: none;
    padding-bottom: 18px;
}

.robot-benefit-answer p {
    margin: 0;
    font-size: 0.92rem;
    opacity: 0.9;
}

.robot-showcase-viewer {
    position: relative;
    width: 100%;
    max-width: none;
    height: clamp(650px, 48vw, 750px);
    justify-self: end;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.robot-showcase-viewer model-viewer {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: visible;
    background: transparent;
    touch-action: pan-y;
    --poster-color: transparent;
    --progress-bar-height: 0px;
}

.robot-showcase-viewer model-viewer:focus-visible {
    outline: none;
}

.robot-model-poster,
.robot-model-fallback {
    position: absolute;
    inset: 0;
    place-content: center;
    place-items: center;
    gap: 14px;
    padding: 24px;
    color: var(--color-text-light);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.robot-model-poster {
    display: grid;
    background: transparent;
}

.robot-model-orbit,
.robot-model-fallback-icon {
    display: block;
    width: 58px;
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--color-primary-light) 72%, transparent);
    border-radius: 50%;
    box-shadow:
        inset 0 0 18px color-mix(in srgb, var(--color-primary) 28%, transparent),
        0 0 22px color-mix(in srgb, var(--color-primary) 28%, transparent);
}

.robot-model-orbit {
    border-right-color: transparent;
    animation: robotModelLoading 1.2s linear infinite;
}

.robot-model-progress {
    display: none;
}

.robot-model-fallback {
    display: none;
    background: transparent;
}

.robot-showcase-viewer.is-error model-viewer {
    visibility: hidden;
}

.robot-showcase-viewer.is-error .robot-model-fallback {
    display: grid;
}

.robot-model-fallback-icon {
    position: relative;
}

.robot-model-fallback-icon::before,
.robot-model-fallback-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--color-primary-light);
    transform: translate(-50%, -50%);
}

.robot-model-fallback-icon::before {
    width: 24px;
    height: 1px;
}

.robot-model-fallback-icon::after {
    width: 1px;
    height: 24px;
}

@keyframes robotModelLoading {
    to {
        transform: rotate(1turn);
    }
}

@media (min-width: 901px) {
    .robot-showcase > .container {
        width: 100%;
        max-width: 1600px;
        padding-inline: clamp(24px, 3vw, 52px);
    }
}

@media (min-width: 1920px) {
    .robot-showcase-viewer {
        height: clamp(760px, 32vw, 840px);
    }
}

@media (max-width: 900px) {
    .robot-showcase-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .robot-showcase-copy .section-title,
    .robot-showcase-copy .section-subtitle {
        max-width: 720px;
    }

    .robot-showcase-viewer {
        max-width: none;
        height: clamp(520px, 78vw, 680px);
        justify-self: center;
    }

    .robot-benefit-item,
    .robot-benefit-item:hover {
        overflow: hidden;
        border: 0;
        border-bottom: 1px solid rgba(139, 92, 246, 0.12);
        border-radius: 0;
        background: rgba(10, 7, 24, 0.58);
        box-shadow: none;
        padding-inline: 12px;
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }

    .robot-benefit-item.active {
        background: rgba(10, 7, 24, 0.82);
        border-bottom-color: rgba(139, 92, 246, 0.18);
    }

    @supports not (
        (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
    ) {
        .robot-benefit-item,
        .robot-benefit-item:hover {
            background: rgba(10, 7, 24, 0.78);
        }

        .robot-benefit-item.active {
            background: rgba(10, 7, 24, 0.92);
        }
    }
}

@media (max-width: 600px) {
    .robot-showcase {
        padding-block: 64px;
    }

    .robot-showcase-grid {
        gap: 26px;
    }

    .robot-showcase-copy,
    .robot-showcase-copy .section-title,
    .robot-showcase-copy .section-subtitle {
        text-align: center;
    }

    .robot-showcase-cta {
        margin: 26px auto 0;
    }

    .robot-benefits {
        max-width: none;
        margin-top: 22px;
        text-align: left;
        padding-inline: 4px;
    }

    .robot-benefit-question {
        grid-template-columns: 34px minmax(0, 1fr) 28px;
        gap: 10px;
        min-height: 58px;
        padding: 14px 0;
    }

    .robot-benefit-number {
        font-size: 0.78rem;
    }

    .robot-benefit-title {
        font-size: 0.92rem;
        color: rgba(234, 233, 242, 0.96);
        text-shadow: 0 1px 8px rgba(10, 7, 24, 0.45);
    }

    .robot-benefit-question[aria-expanded="true"] .robot-benefit-title {
        color: var(--color-primary-light);
    }

    .robot-benefit-toggle {
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
    }

    .robot-benefit-answer {
        padding-right: 12px;
        padding-left: 44px;
    }

    .robot-benefit-answer p {
        font-size: 0.84rem;
        line-height: 1.55;
        opacity: 1;
        color: rgba(196, 192, 220, 0.94);
    }

    .robot-showcase-viewer {
        height: clamp(420px, 125vw, 600px);
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .hero-tech-track {
        width: 100%;
        animation: none !important;
        transform: none !important;
        will-change: auto;
    }

    .hero-tech-group {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding-inline-end: 0;
    }

    .hero-tech-group[aria-hidden="true"] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) and (max-width: 768px) {
    .hero-tech--marquee {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-tech--marquee .tech-label {
        text-align: center;
    }
}

/* ====================== */
/* PROJECTS: ONE CARD PER ROW */
/* ====================== */
.projects-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: clamp(36px, 5vw, 64px);
}

.projects-grid .project-card,
.projects-grid .project-card.project-large {
    grid-column: auto;
    width: min(100%, 1120px);
    max-width: 1120px;
    min-width: 0;
    margin-inline: auto;
}

.projects-grid .project-image,
.projects-grid .project-large .project-image {
    height: clamp(360px, 38vw, 500px);
}

@media (max-width: 768px) {
    .projects-grid {
        gap: 32px;
    }

    .projects-grid .project-card,
    .projects-grid .project-card.project-large {
        display: flex;
        width: 100%;
        max-width: 680px;
        flex-direction: column;
    }

    .projects-grid .project-image,
    .projects-grid .project-large .project-image {
        display: flex;
        height: auto;
        overflow: visible;
        flex-direction: column;
    }

    .projects-grid .project-image img,
    .projects-grid .project-image img.fit-contain {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        padding: 0;
        object-fit: contain;
        object-position: center;
        background: rgba(3, 5, 14, 0.92);
    }

    .projects-grid .project-picture {
        height: auto;
    }

    .projects-grid .project-picture img {
        object-fit: cover;
        object-position: top center;
    }

    .projects-grid .project-overlay {
        position: static;
        padding: 24px 22px 14px;
        background: transparent;
        opacity: 1;
    }

    .projects-grid .project-title {
        margin-bottom: 8px;
        font-size: clamp(1.25rem, 5vw, 1.55rem);
        line-height: 1.25;
    }

    .projects-grid .project-desc {
        max-width: none;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .projects-grid .project-meta {
        width: 100%;
        padding: 0 22px 24px;
        align-items: stretch;
        flex-direction: column;
    }

    .projects-grid .project-meta-title {
        display: none;
    }

    .projects-grid .project-meta-content {
        gap: 0;
    }

    .projects-grid .project-meta .project-tags {
        row-gap: 8px;
    }

    .projects-grid .project-meta > i {
        display: grid;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        place-items: center;
        border: 1px solid rgba(139, 92, 246, 0.32);
        border-radius: 50%;
        background: rgba(139, 92, 246, 0.08);
        color: var(--color-primary-light);
        align-self: flex-end;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        width: calc(100% + 48px);
        margin-right: -24px;
        margin-left: -24px;
        gap: 30px;
    }

    .projects-grid .project-card,
    .projects-grid .project-card.project-large {
        width: calc(100% - 36px);
        max-width: 540px;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        width: calc(100% + 32px);
        margin-right: -16px;
        margin-left: -16px;
    }

    .projects-grid .project-overlay {
        padding: 22px 18px 12px;
    }

    .projects-grid .project-meta {
        padding: 0 18px 22px;
    }
}

/* ================================ */
/* === SKILLS: MI ARSENAL        === */
/* ================================ */
.skills-section .skills-header {
    max-width: 760px;
    margin-right: auto;
    margin-bottom: clamp(52px, 6vw, 76px);
    margin-left: auto;
}

.skills-arsenal {
    width: 100%;
    margin-bottom: clamp(72px, 8vw, 108px);
}

.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: min(100%, 1080px);
    min-width: 0;
    margin: 0 auto;
}

.arsenal-grid .arsenal-item {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 116px;
    padding: 18px 10px;
    flex-direction: column;
    gap: 11px;
    overflow: visible;
    background: rgba(18, 14, 33, 0.5);
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: none;
    transform: none;
    outline: 2px solid transparent;
    outline-offset: 3px;
    transition:
        transform var(--transition-base),
        border-color var(--transition-base),
        background var(--transition-base),
        box-shadow var(--transition-base),
        outline-color var(--transition-fast);
}

.arsenal-logo.client-image-wrapper {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    color: var(--color-primary-light);
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.3));
    filter: drop-shadow(0 0 12px color-mix(in srgb, var(--color-primary) 30%, transparent));
    transition: color var(--transition-base), transform var(--transition-base), filter var(--transition-base);
}

.arsenal-icon {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    fill: currentColor;
}

.arsenal-icon use {
    fill: currentColor;
}

.arsenal-item--figma .arsenal-icon path {
    fill: currentColor;
    transition: fill var(--transition-base);
}

.arsenal-item--figma .arsenal-icon path:nth-child(1) {
    --figma-path-color: #f24e1e;
}

.arsenal-item--figma .arsenal-icon path:nth-child(2) {
    --figma-path-color: #ff7262;
}

.arsenal-item--figma .arsenal-icon path:nth-child(3) {
    --figma-path-color: #a259ff;
}

.arsenal-item--figma .arsenal-icon path:nth-child(4) {
    --figma-path-color: #1abcfe;
}

.arsenal-item--figma .arsenal-icon path:nth-child(5) {
    --figma-path-color: #0acf83;
}

.arsenal-name {
    max-width: 100%;
    color: var(--color-text);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
}

.arsenal-item:focus-visible,
.arsenal-item.is-active {
    border-color: var(--brand-color);
    border-color: color-mix(in srgb, var(--brand-color) 68%, transparent);
    outline-color: var(--brand-color);
    outline-color: color-mix(in srgb, var(--brand-color) 68%, transparent);
    background: rgba(18, 14, 33, 0.82);
    background: color-mix(in srgb, var(--brand-color) 9%, rgba(18, 14, 33, 0.58));
    box-shadow: 0 12px 30px -18px var(--brand-color);
    box-shadow: 0 16px 34px -24px color-mix(in srgb, var(--brand-color) 65%, transparent);
    transform: translateY(-5px);
}

.arsenal-item:focus-visible .arsenal-logo,
.arsenal-item.is-active .arsenal-logo {
    color: var(--brand-color);
    filter: drop-shadow(0 0 14px var(--brand-color));
    filter: drop-shadow(0 0 14px color-mix(in srgb, var(--brand-color) 48%, transparent));
    transform: translateY(-2px) scale(1.05);
}

.arsenal-item--figma:focus-visible .arsenal-icon path,
.arsenal-item--figma.is-active .arsenal-icon path {
    fill: var(--figma-path-color);
}

@media (hover: hover) {
    .arsenal-item:hover {
        border-color: var(--brand-color);
        border-color: color-mix(in srgb, var(--brand-color) 68%, transparent);
        outline-color: var(--brand-color);
        outline-color: color-mix(in srgb, var(--brand-color) 68%, transparent);
        background: rgba(18, 14, 33, 0.82);
        background: color-mix(in srgb, var(--brand-color) 9%, rgba(18, 14, 33, 0.58));
        box-shadow: 0 12px 30px -18px var(--brand-color);
        box-shadow: 0 16px 34px -24px color-mix(in srgb, var(--brand-color) 65%, transparent);
        transform: translateY(-5px);
    }

    .arsenal-item:hover .arsenal-logo {
        color: var(--brand-color);
        filter: drop-shadow(0 0 14px var(--brand-color));
        filter: drop-shadow(0 0 14px color-mix(in srgb, var(--brand-color) 48%, transparent));
        transform: translateY(-2px) scale(1.05);
    }

    .arsenal-item--figma:hover .arsenal-icon path {
        fill: var(--figma-path-color);
    }
}

.skills-detail-header {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.skills-detail-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--color-primary-light);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.skills-detail-header h3 {
    margin-bottom: 12px;
    color: var(--color-text);
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

.skills-detail-header p {
    font-size: 1rem;
}

.skills-section .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 1120px;
    margin: 0 auto;
}

.skills-section .skill-card {
    min-width: 0;
    padding: 28px;
}

.skills-section .skill-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 11px);
    justify-self: center;
}

.skills-section .skill-info p {
    margin-bottom: 20px;
}

.skills-section .skill-tags {
    align-content: flex-start;
}

.skills-section .skill-tags span {
    font-size: 0.76rem;
    line-height: 1.35;
    white-space: normal;
}

@media (max-width: 1024px) {
    .arsenal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 820px;
    }

    .arsenal-grid .arsenal-item:last-child:nth-child(3n + 1) {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .skills-section .skills-header {
        margin-bottom: 48px;
    }

    .skills-arsenal {
        margin-bottom: 68px;
    }

    .skills-section .skills-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .skills-section .skill-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .arsenal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .arsenal-grid .arsenal-item {
        min-height: 108px;
        padding: 15px 8px;
    }

    .arsenal-grid .arsenal-item:last-child:nth-child(3n + 1) {
        grid-column: auto;
    }

    .arsenal-logo.client-image-wrapper {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .arsenal-name {
        font-size: 0.72rem;
    }

    .skills-detail-header {
        margin-bottom: 30px;
    }

    .skills-detail-header p {
        font-size: 0.94rem;
    }

    .skills-section .skill-card {
        padding: 22px 20px;
    }

    .skills-section .skill-tags {
        gap: 8px;
    }

    .skills-section .skill-tags span {
        padding: 6px 10px;
        font-size: 0.74rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .arsenal-item,
    .arsenal-logo,
    .skill-card,
    .skill-card::before {
        transition: none !important;
    }

    .arsenal-item:hover,
    .arsenal-item:focus-visible,
    .arsenal-item.is-active,
    .arsenal-item:hover .arsenal-logo,
    .arsenal-item:focus-visible .arsenal-logo,
    .arsenal-item.is-active .arsenal-logo {
        transform: none;
    }
}
