/* ============================================
   LORIS.PRO - Immersive 3D Experience
   Clean, Minimal, Purposeful
   ============================================ */

/* === VARIABLES === */
:root {
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Saira', sans-serif;

    /* Orange Palette - Professional Balance */
    --color-primary: #d9913a;
    --color-secondary: #b87830;
    --color-glow: rgba(217, 145, 58, 0.2);

    /* Backgrounds */
    --color-bg: #0a0a0b;
    --color-bg-secondary: #111113;
    --color-bg-tertiary: #18181b;
    --color-bg-elevated: #1f1f23;

    /* Text */
    --color-text: #fafafa;
    --color-text-secondary: #d4d4d8;
    --color-text-dim: #a1a1aa;
    --color-text-muted: #8a8a94;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(217, 145, 58, 0.4);

    /* Radius - Consistent */
    --radius: 6px;

    /* Spacing */
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
}

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

/* === UTILITIES === */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    /* GPU acceleration for smooth scrolling */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    /* Prevent scroll chaining for smoother experience */
    overscroll-behavior: none;
}

::selection {
    background: var(--color-primary);
    color: var(--color-bg);
}

/* === SCROLL PROGRESS BAR === */
.top-accent {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--color-primary);
    z-index: 1001;
    transition: width 0.1s linear;
}

.top-accent::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 8px 3px rgba(255, 255, 255, 0.6), 0 0 16px 6px rgba(217, 145, 58, 0.5);
}

/* === 3D CANVAS === */
#canvas-container {
    position: fixed;
    inset: 0;
    z-index: 1;
    /* GPU acceleration for 60fps rendering */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* Dark overlay to soften helix */
.helix-overlay {
    position: fixed;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(10, 10, 11, 0.95) 0%, rgba(10, 10, 11, 0.6) 50%, rgba(10, 10, 11, 0.1) 100%);
    pointer-events: none;
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
    pointer-events: none;
}

.nav > * {
    pointer-events: auto;
}

.nav-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-bg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.nav-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.nav-progress {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 1px;
    transition: width 0.1s ease;
}

.nav-contact {
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-contact:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

@media (max-width: 768px) {
    .nav {
        padding: 20px 24px;
    }

    .nav-logo {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .nav-contact {
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* === SCROLL CONTAINER === */
.scroll-container {
    position: relative;
    z-index: 10;
    /* Optimize scroll performance */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* === SECTIONS === */
.section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 60px;
    position: relative;
}

.section-hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 24px;
    }
}

.section-content {
    max-width: 900px;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    /* Floating - no box */
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
}

.section.is-active .section-content {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}


/* Wide content box */
.section-content-wide {
    max-width: 1200px;
}

.section-header {
    margin-bottom: 32px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.section-label svg {
    width: 12px;
    height: 12px;
    stroke-width: 1.5;
    color: var(--color-primary);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--color-text);
    margin-bottom: 16px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.section-title em {
    font-style: normal;
    color: var(--color-primary);
}

.section-title-hero {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.section-title-hero em {
    font-style: normal;
    color: var(--color-primary);
}

.section-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    text-align: center;
    margin: 0 auto;
    text-shadow: 0 0 8px #000, 0 0 15px #000, 0 0 30px #000, 0 0 50px #000, 0 0 80px rgba(0, 0, 0, 0.95);
}

.section-header {
    margin-bottom: 20px;
    text-align: center;
}

/* === HERO === */
.section-hero {
    flex-direction: column;
    justify-content: center;
    padding-bottom: 60px;
}

.hero-wrapper {
    max-width: 800px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(10px);
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.8s;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-content {
    flex: 1;
    max-width: 800px;
    text-align: center;
}

/* Desktop: wider hero content */
@media (min-width: 1024px) {
    .hero-wrapper,
    .hero-content {
        max-width: 920px;
    }
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(217, 145, 58, 0.06);
    border: 1px solid rgba(217, 145, 58, 0.25);
    border-radius: 50px;
    margin-bottom: 28px;
    opacity: 0;
    animation: heroElementIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 2s;
    box-shadow: 0 0 20px rgba(217, 145, 58, 0.1);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(217, 145, 58, 0.1);
    border-color: rgba(217, 145, 58, 0.4);
    box-shadow: 0 0 30px rgba(217, 145, 58, 0.2);
}

.hero-badge span:last-child {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--color-primary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--color-primary);
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--color-primary); }
    50% { opacity: 0.5; box-shadow: 0 0 20px var(--color-primary); }
}

/* Hero title */
.hero-title {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 24px;
    opacity: 0;
    animation: heroElementIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 2.1s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-line {
    display: block;
}

/* Responsive text visibility */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: inline;
    }
}

.hero-title em {
    font-style: normal;
    color: var(--color-primary);
    text-shadow: 0 0 40px rgba(217, 145, 58, 0.4);
}

/* Hero elements staggered animation */
@keyframes heroElementIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-desc {
    font-size: 20px;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    opacity: 0;
    animation: heroElementIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 2.2s;
    text-shadow: 0 0 8px #000, 0 0 15px #000, 0 0 30px #000, 0 0 50px #000, 0 0 80px rgba(0, 0, 0, 0.95);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    animation: heroElementIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 2.3s;
}

/* Hero stats sidebar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 20px;
    opacity: 0;
    animation: heroElementIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 2.5s;
}

.hero-stat {
    text-align: center;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child::after {
    display: none;
}

.hero-stat-num {
    display: inline-grid;
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Grid stacking: placeholder reserves space, value animates on top */
.hero-stat-num .stat-placeholder,
.hero-stat-num .stat-value {
    grid-area: 1 / 1;
}

/* Invisible placeholder reserves final width */
.hero-stat-num .stat-placeholder {
    visibility: hidden;
}

/* Animated value */
.hero-stat-num .stat-value {
    opacity: 0;
    transform: translateY(20px);
}

.hero-stat-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.4;
    text-shadow: 0 0 8px #000, 0 0 15px #000, 0 0 30px #000, 0 0 50px #000, 0 0 80px rgba(0, 0, 0, 0.95);
    text-align: center;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text-secondary);
    opacity: 0;
    animation: heroElementIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, floatScroll 2s ease-in-out infinite;
    animation-delay: 2.8s, 3.6s;
    transition: color 0.3s ease;
}

.hero-scroll:hover {
    color: var(--color-primary);
}

.hero-scroll span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

@keyframes floatScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Tablet: stack stats vertically to give title more room */
@media (max-width: 1100px) {
    .hero-wrapper {
        gap: 48px;
    }

    .hero-content {
        max-width: none;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-stat::after {
        display: none;
    }

    .hero-stat-num {
        font-size: 36px;
    }
}

@media (max-width: 900px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 48px;
        align-items: flex-start;
    }

    .hero-stats {
        width: 100%;
        gap: 24px;
    }

    .hero-stat-num {
        font-size: 32px;
    }

    .hero-scroll {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 40px;
        width: 100%;
    }

    @keyframes floatScroll {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(8px); }
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: left;
    }

    .hero-stat {
        text-align: left;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .hero-stat:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .hero-stat::after {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }
}

/* === SKILLS SECTION PRO === */
.section-skills {
    padding-top: 100px;
    padding-bottom: 80px;
}

.skills-header {
    text-align: center;
    margin-bottom: 48px;
}

.skills-header .section-title {
    margin-bottom: 0;
}

.skills-grid-pro {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.skill-card-pro {
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.skill-card-pro:hover {
    border-color: rgba(217, 145, 58, 0.25);
    transform: translateY(-6px);
}

.skill-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.skill-card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--color-primary);
    stroke-width: 1.5;
}

.skill-card-pro:hover .skill-card-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(217, 145, 58, 0.3);
    transform: scale(1.08);
}

.skill-card-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.skill-card-pro:hover .skill-card-title {
    color: var(--color-primary);
}

.skill-card-tech {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
    text-shadow: 0 0 8px #000, 0 0 15px #000, 0 0 30px #000;
}

@media (max-width: 1100px) {
    .skills-grid-pro {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-grid-pro {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .skill-card-pro {
        padding: 24px 16px;
    }

    .skill-card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .skill-card-icon svg {
        width: 22px;
        height: 22px;
    }

    .skill-card-title {
        font-size: 14px;
    }

    .skill-card-tech {
        font-size: 13px;
    }
}

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

/* === SKILLS TAGS === */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.skill-tag {
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    text-shadow: 0 0 8px #000, 0 0 15px #000, 0 0 30px #000, 0 0 50px #000, 0 0 80px rgba(0, 0, 0, 0.95);
}

.skill-tag:hover {
    color: var(--color-primary);
    border-color: rgba(217, 145, 58, 0.4);
}

/* === WORK SECTION - ROADMAP === */
.work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.work-header .section-title {
    text-align: left;
    margin-bottom: 0;
}

.work-intro {
    font-size: 16px;
    color: var(--color-text-muted);
}

/* Timeline container */
.work-list {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-left: 24px;
    isolation: isolate;
}

/* Vertical timeline line */
.work-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 32px;
    bottom: 32px;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* Timeline item */
.work-item {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.3s ease;
    padding-left: 32px;
    z-index: 3;
    outline: none;
    box-shadow: none;
}

.work-item:not([open]):hover,
.work-item:not([open]):focus,
.work-item:not([open]):focus-visible,
.work-item:not([open]):focus-within {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.work-item:not([open]):hover::before,
.work-item:not([open]):hover::after,
.work-item:not([open]):focus::before,
.work-item:not([open]):focus::after {
    box-shadow: none !important;
}

.work-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Timeline node */
.work-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 30px;
    width: 13px;
    height: 13px;
    background: var(--color-bg);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: 5;
}

/* Timeline segment overlay (for active state) */
.work-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
        transparent 0px,
        var(--color-primary) 20px,
        var(--color-primary) calc(100% - 20px),
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.work-header-mobile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 16px 24px 0;
    cursor: pointer;
    list-style: none;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.work-header-mobile::-webkit-details-marker {
    display: none;
}

.work-header-mobile:hover,
.work-header-mobile:focus,
.work-header-mobile:focus-visible,
.work-header-mobile:active {
    outline: none;
    box-shadow: none;
    background: transparent;
}

/* Hover state - accent on title */
.work-item:hover .work-name {
    color: var(--color-primary);
}

/* Active/Open state - matches glass elements visually */
/* Note: No backdrop-filter here - timeline structure creates blur artifacts */
.work-item[open] {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.work-item[open]::after {
    opacity: 1;
}

/* Flow line - animated connector */
.work-list .flow-line {
    position: absolute;
    left: 0;
    width: 2px;
    background: linear-gradient(to bottom,
        transparent 0px,
        var(--color-primary) 20px,
        var(--color-primary) calc(100% - 20px),
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
    transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


.work-item[open]::before {
    background: var(--color-bg);
    border-color: var(--color-primary);
    border-width: 2px;
    box-shadow: 0 0 0 0 rgba(217, 145, 58, 0.8);
    animation: nodeGlow 1.5s ease-in-out infinite;
}

@keyframes nodeGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 145, 58, 0.8);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(217, 145, 58, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(217, 145, 58, 0);
    }
}

.work-num {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-muted);
    min-width: 24px;
    transition: color 0.3s ease;
}

.work-item[open] .work-num {
    color: var(--color-primary);
}

.work-name {
    flex: 1;
    font-family: var(--font-display);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    transition: color 0.3s ease;
}

.work-item[open] .work-name {
    color: var(--color-primary);
}

.work-year {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    padding: 4px 10px;
    background: rgba(217, 145, 58, 0.1);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.work-item[open] .work-year {
    background: rgba(217, 145, 58, 0.15);
}

.work-toggle {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    stroke-width: 2;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.work-item[open] .work-toggle {
    transform: rotate(45deg);
    color: var(--color-primary);
}

.work-details {
    padding: 0 16px 24px 0;
}

.work-details-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.work-desc {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    text-shadow: 0 0 8px #000, 0 0 15px #000, 0 0 30px #000, 0 0 50px #000, 0 0 80px rgba(0, 0, 0, 0.95);
}

.work-tags {
    font-size: 14px;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
    text-shadow: 0 0 8px #000, 0 0 15px #000, 0 0 30px #000, 0 0 50px #000, 0 0 80px rgba(0, 0, 0, 0.95);
}

/* Desktop: accordion behavior */
@media (min-width: 769px) {
    .work-header-mobile {
        cursor: pointer;
    }
}

/* Mobile: simplified timeline */
@media (max-width: 768px) {
    .work-list {
        margin-left: 16px;
    }

    .work-item {
        padding-left: 24px;
    }

    .work-item::before {
        width: 12px;
        height: 12px;
        left: -5px;
        top: 26px;
    }

    .work-header-mobile {
        padding: 20px 16px 20px 0;
        cursor: pointer;
    }

    .work-details {
        padding: 0 16px 20px 0;
    }

    .work-year {
        font-size: 11px;
        padding: 3px 8px;
    }

    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .work-meta {
        display: none;
    }

    .work-cta {
        margin-top: 32px;
    }
}

/* === TESTIMONIALS === */
.testimonials-header {
    margin-bottom: 48px;
}

.testimonials-header .section-title {
    text-align: left;
    margin-bottom: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.testimonial-card:hover {
    border-color: rgba(217, 145, 58, 0.2);
}

.testimonial-featured {
    grid-row: span 2;
}

.testimonial-quote {
    color: var(--color-primary);
    opacity: 0.3;
}

.testimonial-quote svg {
    width: 32px;
    height: 32px;
    stroke-width: 1;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    flex: 1;
}

.testimonial-featured .testimonial-text {
    font-size: 17px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-bg);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.testimonial-role {
    font-size: 12px;
    color: var(--color-text-muted);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
}

.testimonial-rating svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    fill: var(--color-primary);
    stroke-width: 0;
}

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

    .testimonial-featured {
        grid-row: span 1;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .testimonial-name {
        font-size: 15px;
    }

    .testimonial-role {
        font-size: 15px;
    }
}

/* === BRANDS === */
.brands-header {
    margin-bottom: 48px;
}

.brands-header .section-title {
    text-align: left;
    margin-bottom: 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.brand-icon {
    width: 32px;
    height: 32px;
    color: var(--color-text-dim);
    transition: all 0.3s ease;
}

.brand-item:hover .brand-icon {
    color: var(--color-primary);
    transform: scale(1.1);
}

.brand-item:hover {
    border-color: rgba(217, 145, 58, 0.2);
    transform: translateY(-4px);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.brand-item:hover .brand-name {
    color: var(--color-primary);
}

.brand-type {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-align: center;
}

.brands-note {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 32px;
    font-style: italic;
    text-shadow: 0 0 8px #000, 0 0 15px #000, 0 0 30px #000, 0 0 50px #000, 0 0 80px rgba(0, 0, 0, 0.95);
}

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

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

    .brand-item {
        padding: 24px 16px;
    }

    .brand-name {
        font-size: 15px;
    }

    .brand-type {
        font-size: 13px;
    }

    .brands-note {
        font-size: 15px;
    }
}

/* === CERTIFICATIONS === */
.certifications-header {
    margin-bottom: 48px;
}

.certifications-header .section-title {
    text-align: left;
    margin-bottom: 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.cert-item:hover {
    border-color: rgba(217, 145, 58, 0.3);
}

.cert-badge {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon {
    width: 40px;
    height: 40px;
    fill: var(--color-text-dim);
    transition: fill 0.3s ease;
}

.cert-item:hover .cert-icon {
    fill: var(--color-primary);
}

.cert-content {
    flex: 1;
    min-width: 0;
}

.cert-provider {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    display: block;
    margin-bottom: 4px;
}

.cert-name {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cert-date {
    font-size: 14px;
    color: var(--color-text-muted);
}

.cert-link {
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.cert-item:hover .cert-link {
    opacity: 1;
    transform: translateX(0);
    color: var(--color-primary);
}

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

    .cert-item {
        padding: 20px;
    }

    .cert-name {
        font-size: 16px;
    }

    .cert-provider {
        font-size: 15px;
    }

    .cert-date {
        font-size: 15px;
    }
}

/* === CONTACT === */
.faq-header {
    margin-bottom: 48px;
}

.faq-header .section-title {
    text-align: left;
    margin-bottom: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item[open] {
    border-color: rgba(217, 145, 58, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    cursor: pointer;
    list-style: none;
    transition: all 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question span {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question span,
.faq-item[open] .faq-question span {
    color: var(--color-primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    stroke-width: 2;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 24px 24px;
}

.faq-answer-inner {
}

.faq-answer p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    text-shadow: 0 0 8px #000, 0 0 15px #000, 0 0 30px #000, 0 0 50px #000, 0 0 80px rgba(0, 0, 0, 0.95);
}

@media (max-width: 768px) {
    .faq-question {
        padding: 20px 16px;
    }

    .faq-question span {
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 16px 20px;
    }

    .faq-answer p {
        font-size: 15px;
    }
}

/* === CONTACT === */
.section-contact {
    padding-top: 80px;
    padding-bottom: 60px;
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin-bottom: 16px;
}

.contact-title em {
    font-style: normal;
    color: var(--color-primary);
    text-shadow: 0 0 60px rgba(217, 145, 58, 0.4);
}

.contact-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
}

.contact-main {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.contact-email-large {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 40px;
    background: rgba(217, 145, 58, 0.06);
    border: 1px solid rgba(217, 145, 58, 0.2);
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-email-large:hover {
    background: rgba(217, 145, 58, 0.1);
    border-color: rgba(217, 145, 58, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(217, 145, 58, 0.15);
}

.contact-email-text {
    font-family: var(--font-display);
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.contact-email-large:hover .contact-email-text {
    color: var(--color-primary);
}

.contact-email-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-email-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-bg);
    stroke-width: 2;
}

.contact-email-large:hover .contact-email-icon {
    transform: rotate(-12deg) scale(1.1);
}

.contact-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info-row {
    display: flex;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.contact-info-item svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    stroke-width: 1.5;
}

.contact-social {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.social-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(217, 145, 58, 0.1);
}

@media (max-width: 768px) {
    .contact-email-large {
        padding: 20px 28px;
        gap: 16px;
    }

    .contact-email-icon {
        width: 40px;
        height: 40px;
    }

    .contact-email-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-footer {
        flex-direction: column;
        gap: 24px;
    }

    .contact-info-row {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

/* === NEW PROFESSIONAL COMPONENTS === */

/* Hero CTA */
.hero-cta {
    opacity: 0;
    transform: translateY(10px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(20, 20, 22, 0.6);
    border: 1px solid rgba(217, 145, 58, 0.4);
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    background: rgba(20, 20, 22, 0.6);
    border-color: var(--color-primary);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

/* Nav icon */
.nav-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-contact:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 0;
}

.stat-card {
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.2s ease;
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.stat-icon {
    margin-bottom: 12px;
}

.stat-icon svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    stroke-width: 1.5;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.skill-card {
    padding: 16px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.2s ease;
}

.skill-card:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.skill-icon {
    margin-bottom: 10px;
}

.skill-icon svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    stroke-width: 1.5;
}

.skill-name {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 4px;
}

.skill-desc {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.project-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.2s ease;
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.project-num {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-primary);
}

.project-link-icon {
    width: 12px;
    height: 12px;
    color: var(--color-text-muted);
    stroke-width: 2;
    margin-left: auto;
    transition: color 0.2s ease;
}

.project-card:hover .project-link-icon {
    color: var(--color-text);
}

.project-card .project-name {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.project-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-dim);
    margin-bottom: 16px;
}

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

.project-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    color: var(--color-text-muted);
}

/* Contact Section */
.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    background: transparent;
    border: 1px solid rgba(217, 145, 58, 0.3);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-email-btn svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.contact-email-btn:hover {
    background: rgba(217, 145, 58, 0.06);
    border-color: rgba(217, 145, 58, 0.5);
}

.contact-email-btn:hover svg:last-child {
    transform: translateX(3px);
}

/* Social Grid */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--color-text-muted);
    transition: all 0.2s ease;
}

.social-card svg {
    width: 14px;
    height: 14px;
    stroke-width: 1.5;
}

.social-card span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.social-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--color-text);
}


/* === MARQUEE === */
.marquee-section {
    position: relative;
    z-index: 10;
    padding: 32px 0;
    overflow: hidden;
    background: rgba(217, 145, 58, 0.02);
}

.marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.marquee-item:hover {
    color: var(--color-primary);
}

.marquee-divider {
    font-size: 8px;
    color: var(--color-primary);
    opacity: 0.5;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* === EXPERIENCE / TIMELINE === */
.experience-header {
    margin-bottom: 48px;
}

.experience-header .section-title {
    text-align: left;
    margin-bottom: 0;
}

.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: flex;
    gap: 32px;
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 24px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    z-index: 1;
}


.timeline-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, var(--color-primary) 0%, rgba(217, 145, 58, 0.1) 100%);
    margin-top: 8px;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-content {
    flex: 1;
    padding-bottom: 48px;
}

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

.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.timeline-date {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.timeline-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: rgba(217, 145, 58, 0.15);
    border: 1px solid rgba(217, 145, 58, 0.3);
    border-radius: 20px;
    color: var(--color-primary);
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}


.timeline-company {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    display: block;
}

.timeline-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

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

.timeline-tags span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    color: var(--color-text-dim);
    transition: all 0.3s ease;
}


@media (max-width: 768px) {
    .timeline-item {
        gap: 20px;
    }

    .timeline-content {
        padding-bottom: 32px;
    }

    .timeline-title {
        font-size: 18px;
    }
}

/* === CTA BANNER === */
.section-cta {
    padding: 32px 60px;
}

.cta-banner {
    position: relative;
    padding: 64px;
    background: linear-gradient(135deg, rgba(217, 145, 58, 0.08) 0%, rgba(184, 120, 48, 0.04) 100%);
    border: 1px solid rgba(217, 145, 58, 0.2);
    border-radius: 16px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.cta-glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(217, 145, 58, 0.15);
    top: -200px;
    right: -100px;
    animation: ctaGlow1 8s ease-in-out infinite;
}

.cta-glow-2 {
    width: 300px;
    height: 300px;
    background: rgba(184, 120, 48, 0.1);
    bottom: -150px;
    left: -100px;
    animation: ctaGlow2 10s ease-in-out infinite;
}

@keyframes ctaGlow1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.1); }
}

@keyframes ctaGlow2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.15); }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-title em {
    font-style: normal;
    color: var(--color-primary);
    text-shadow: 0 0 40px rgba(217, 145, 58, 0.3);
}

.cta-text {
    font-size: 16px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .section-cta {
        padding: 24px;
    }

    .cta-banner {
        padding: 40px 24px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn-primary,
    .cta-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* === SERVICES SECTION === */
.services-header {
    margin-bottom: 48px;
}

.services-header .section-title {
    text-align: left;
    margin-bottom: 0;
}

/* Services */
.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-item {
    position: relative;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover,
.service-item:first-child {
    border-color: rgba(217, 145, 58, 0.2);
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-item:hover::before,
.service-item:first-child::before {
    opacity: 1;
}

.service-img {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 24px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.service-item:hover .service-img img,
.service-item:first-child .service-img img {
    opacity: 0.8;
}

.service-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 16px 0;
    transition: color 0.3s ease;
}

.service-item:hover .service-name,
.service-item:first-child .service-name {
    color: var(--color-primary);
}

.service-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-primary);
    text-decoration: none;
}

.service-link svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-link:hover svg {
    transform: translateX(4px);
}

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

@media (max-width: 640px) {
    .services-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-item {
        padding: 24px;
    }

    .service-name {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .service-desc {
        font-size: 18px;
        color: var(--color-text-dim);
    }
}

/* === SKILLS CATEGORIES === */
.skills-category {
    margin-top: 24px;
}

.skills-category:first-of-type {
    margin-top: 0;
}

.skills-category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.skills-category-title svg {
    width: 12px;
    height: 12px;
    color: var(--color-primary);
    stroke-width: 1.5;
}

.skills-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* === PROJECT ENHANCEMENTS === */
.project-year {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius);
    margin-left: auto;
    margin-right: 12px;
}

.project-meta {
    margin-bottom: 16px;
}

.project-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.project-type svg {
    width: 14px;
    height: 14px;
    stroke-width: 1.5;
}

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

.projects-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-secondary:hover svg {
    transform: translateX(4px);
}

/* === CONTACT CARDS === */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
}

.contact-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(217, 145, 58, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: var(--radius);
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    stroke-width: 1.5;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.contact-item-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

a.contact-item-value:hover {
    color: var(--color-primary);
}

.contact-available {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.contact-cta {
    display: flex;
    justify-content: center;
}

/* === SOCIAL SECTION === */
.social-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.social-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 20px;
}

/* === FOOTER === */
.footer {
    position: relative;
    z-index: 10;
    padding: 24px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    background: transparent;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px #000, 0 0 15px #000, 0 0 30px #000, 0 0 50px #000, 0 0 80px rgba(0, 0, 0, 0.95);
}

.footer-copy {
    font-size: 12px;
    color: var(--color-text-muted);
}

.footer-right {
    display: flex;
    gap: 12px;
}

.footer-social {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dim);
    background: rgba(20, 20, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-social:hover {
    color: var(--color-primary);
    background: rgba(20, 20, 22, 0.6);
    border-color: var(--color-primary);
}

@media (max-width: 768px) {
    .footer {
        padding: 24px 20px;
    }

    .footer-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer-left {
        gap: 12px;
    }

    .footer-logo {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 6px;
    }

    .footer-info {
        flex-direction: row;
        gap: 6px;
        align-items: baseline;
    }

    .footer-name {
        font-size: 15px;
    }

    .footer-copy {
        font-size: 15px;
    }


    .footer-social {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }

    .footer-social svg {
        width: 14px;
        height: 14px;
    }

    .footer-right {
        gap: 8px;
    }
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 99;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #151517;
    border: 1px solid rgba(217, 145, 58, 0.4);
    border-radius: var(--radius);
    color: var(--color-primary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #151517;
    border-color: var(--color-primary);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* === SCROLL REVEAL ANIMATIONS === */

/* Base reveal with blur + scale + translate */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    filter: blur(8px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Staggered grid items with 3D perspective */
.reveal-stagger {
    perspective: 1000px;
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(40px) rotateX(15deg);
    filter: blur(6px);
    transform-origin: center top;
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s ease;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: 0.64s; }
.reveal-stagger.is-visible > *:nth-child(10) { transition-delay: 0.72s; }
.reveal-stagger.is-visible > *:nth-child(11) { transition-delay: 0.8s; }
.reveal-stagger.is-visible > *:nth-child(12) { transition-delay: 0.88s; }
.reveal-stagger.is-visible > *:nth-child(13) { transition-delay: 0.96s; }
.reveal-stagger.is-visible > *:nth-child(14) { transition-delay: 1.04s; }
.reveal-stagger.is-visible > *:nth-child(15) { transition-delay: 1.12s; }
.reveal-stagger.is-visible > *:nth-child(16) { transition-delay: 1.2s; }
.reveal-stagger.is-visible > *:nth-child(17) { transition-delay: 1.28s; }
.reveal-stagger.is-visible > *:nth-child(18) { transition-delay: 1.36s; }
.reveal-stagger.is-visible > *:nth-child(19) { transition-delay: 1.44s; }
.reveal-stagger.is-visible > *:nth-child(20) { transition-delay: 1.52s; }
.reveal-stagger.is-visible > *:nth-child(21) { transition-delay: 1.6s; }
.reveal-stagger.is-visible > *:nth-child(22) { transition-delay: 1.68s; }
.reveal-stagger.is-visible > *:nth-child(23) { transition-delay: 1.76s; }
.reveal-stagger.is-visible > *:nth-child(24) { transition-delay: 1.84s; }

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    filter: blur(0);
}

/* Title text reveal with clip-path */
.section-title.reveal {
    clip-path: inset(0 100% 0 0);
    transform: translateY(0) scale(1);
    filter: none;
    opacity: 1;
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.section-title.reveal.is-visible {
    clip-path: inset(0 0% 0 0);
}

/* Glow pulse on cards when revealed */
.reveal-stagger.is-visible > *:hover {
    box-shadow: 0 0 30px rgba(217, 145, 58, 0.15);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .project-card-featured {
        grid-column: span 1;
    }

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

@media (max-width: 768px) {
    .nav {
        padding: 20px;
    }

    .nav-indicator {
        display: none;
    }

    .section {
        padding: 80px 20px;
    }

    /* Mobile font size fixes for readability - ENTERPRISE STANDARD min 15px */
    .section-label {
        font-size: 15px;
    }

    .hero-stat-label {
        font-size: 15px;
    }

    .stat-txt {
        font-size: 15px;
    }

    .service-desc {
        font-size: 18px;
        color: var(--color-text-dim);
    }

    .work-tags {
        font-size: 15px;
    }

    .work-desc {
        font-size: 16px;
    }

    .skill-group-items {
        font-size: 16px;
    }

    .brand-type {
        font-size: 13px;
    }

    .form-label {
        font-size: 15px;
    }

    /* Additional mobile font fixes */
    .nav-contact {
        font-size: 15px;
    }

    .work-num {
        font-size: 15px;
    }

    .work-year {
        font-size: 15px;
    }

    .service-num {
        font-size: 15px;
    }

    .faq-answer,
    .faq-answer p {
        font-size: 16px;
    }

    .timeline-badge {
        font-size: 15px;
    }

    .timeline-company {
        font-size: 15px;
    }

    .footer-copy {
        font-size: 15px;
    }

    .footer-name {
        font-size: 16px;
    }

    .contact-item-label {
        font-size: 15px;
    }

    .contact-item-value {
        font-size: 16px;
    }

    .social-label {
        font-size: 15px;
    }

    .hero-scroll span {
        font-size: 15px;
    }

    .hero-badge span:last-child {
        font-size: 15px;
    }

    .section-text {
        font-size: 16px;
    }

    .skill-group-title {
        font-size: 15px;
    }

    .project-num,
    .project-year {
        font-size: 15px;
    }

    .project-tag {
        font-size: 15px;
    }

    .timeline-tags span {
        font-size: 15px;
    }

    .skills-category-title {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .skill-card {
        padding: 20px 16px;
    }

    .skill-name {
        font-size: 15px;
    }

    .skill-desc {
        font-size: 13px;
    }

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

    .contact-info {
        flex-direction: column;
    }

    .contact-item {
        min-width: 100%;
    }

    .social-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-card {
        flex: 1;
        min-width: 140px;
    }

    .contact-email-btn {
        padding: 16px 24px;
        font-size: 14px;
    }

    .footer-text {
        flex-direction: column;
        gap: 8px;
    }

    .footer-divider {
        display: none;
    }
}

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

    .social-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .social-card {
        min-width: 100%;
    }
}

/* === CONTACT FORM === */
.contact-header .section-title-hero {
    margin-bottom: 16px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.form-input {
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    background: rgba(20, 20, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    outline: none;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-input:focus {
    border-color: var(--color-primary);
    background: rgba(20, 20, 22, 0.6);
    box-shadow: 0 0 0 3px rgba(217, 145, 58, 0.1);
}

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

.btn-submit {
    align-self: flex-start;
    margin-top: 8px;
}

#turnstile-container {
    margin-bottom: 8px;
}

.form-status {
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(217, 145, 58, 0.1);
    border: 1px solid rgba(217, 145, 58, 0.3);
    color: var(--color-primary);
}

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

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading span {
    opacity: 0;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

@media (max-width: 768px) {
    .contact-form {
        gap: 20px;
    }

    .form-input {
        padding: 14px 16px;
    }

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

/* === LANGUAGE SELECTOR OVERLAY === */
.lang-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lang-overlay.is-visible {
    opacity: 1;
}

.lang-overlay.is-hiding {
    opacity: 0;
    pointer-events: none;
}

body.lang-selecting .scroll-container {
    opacity: 0;
    pointer-events: none;
}

.lang-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 48px;
    transform: translateY(20px);
    opacity: 0;
    animation: langModalIn 0.6s ease 0.2s forwards;
}

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

.lang-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    margin: 0;
}

.lang-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-muted);
    text-align: center;
    margin: -8px 0 8px;
}

.lang-buttons {
    display: flex;
    gap: 16px;
}

.lang-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    background: rgba(20, 20, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(20, 20, 22, 0.6);
    border-color: rgba(217, 145, 58, 0.4);
}

.lang-btn.is-selected {
    transform: scale(1.05);
    border-color: var(--color-primary);
    background: rgba(217, 145, 58, 0.1);
    animation: langSelected 0.4s ease forwards;
}

.lang-btn.is-dismissed {
    animation: langDismissed 0.3s ease forwards;
}

@keyframes langSelected {
    0% { transform: scale(1.05); opacity: 1; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95) translateY(-20px); opacity: 0; }
}

@keyframes langDismissed {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.8) translateY(20px); opacity: 0; }
}

.lang-flag {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.lang-flag-icon {
    width: 48px;
    height: 32px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    filter: grayscale(1);
    opacity: 0.8;
}

.lang-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

@media (max-width: 768px) {
    .lang-modal {
        padding: 32px 24px;
    }

    .lang-title {
        font-size: 20px;
    }

    .lang-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .lang-btn {
        flex-direction: row;
        padding: 20px 32px;
        width: 100%;
        justify-content: center;
    }
}

/* === ANIMATION TIMING CONTROL === */
/* Block hero animations until language is selected */
body:not(.animate-hero) .hero-wrapper,
body:not(.animate-hero) .hero-badge,
body:not(.animate-hero) .hero-title,
body:not(.animate-hero) .hero-desc,
body:not(.animate-hero) .hero-actions,
body:not(.animate-hero) .hero-stats,
body:not(.animate-hero) .hero-scroll {
    animation: none !important;
}

/* Adjusted delays for post-language-selection animations */
body.animate-hero .hero-wrapper {
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}

body.animate-hero .hero-badge {
    animation: heroElementIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

body.animate-hero .hero-title {
    animation: heroElementIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

body.animate-hero .hero-desc {
    animation: heroElementIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

body.animate-hero .hero-actions {
    animation: heroElementIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
}

body.animate-hero .hero-stats {
    animation: heroElementIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

body.animate-hero .hero-scroll {
    animation: heroElementIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards, floatScroll 2s ease-in-out infinite;
    animation-delay: 1s, 1.8s;
}

/* ============================================
   Desktop Navigation (Desktop Only)
   ============================================ */

.desktop-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 19px 60px 16px;
    background: rgba(10, 10, 11, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(-100%);
}

@media (min-width: 769px) {
    body.animate-hero .desktop-nav {
        display: block;
        animation: navSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    }
}

@keyframes navSlideIn {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.desktop-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-nav-logo {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.desktop-nav-logo:hover {
    opacity: 0.8;
}

.desktop-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.desktop-nav-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-dim);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.desktop-nav-link:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.04);
}

.desktop-nav-link.is-active {
    color: var(--color-primary);
}

.desktop-nav .btn-primary {
    padding: 8px 14px;
    font-size: 13px;
    margin-left: 8px;
    text-transform: none;
}

/* === BOOKING MODAL === */
.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.booking-modal.active {
    opacity: 1;
    visibility: visible;
}

.booking-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.booking-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(217, 145, 58, 0.1);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-modal.active .booking-container {
    transform: translateY(0) scale(1);
}

.booking-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.booking-close:hover {
    background: rgba(217, 145, 58, 0.1);
    border-color: rgba(217, 145, 58, 0.3);
    color: var(--color-primary);
}

.booking-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.booking-label {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.booking-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 16px;
}

.booking-price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 8px 16px;
    background: rgba(217, 145, 58, 0.1);
    border: 1px solid rgba(217, 145, 58, 0.2);
    border-radius: var(--radius);
}

.booking-price-value {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

.booking-price-unit {
    font-size: 13px;
    color: var(--color-text-muted);
}

.booking-body {
    padding: 24px 32px 32px;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: bookingStepIn 0.4s ease;
}

@keyframes bookingStepIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.booking-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.booking-step-num {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary);
    padding: 4px 8px;
    background: rgba(217, 145, 58, 0.1);
    border-radius: 4px;
}

.booking-step-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Calendar */
.booking-calendar {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 20px;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-nav-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav-btn:hover {
    background: rgba(217, 145, 58, 0.1);
    border-color: rgba(217, 145, 58, 0.3);
    color: var(--color-primary);
}

.calendar-month {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.calendar-day.today {
    border-color: rgba(217, 145, 58, 0.3);
    color: var(--color-primary);
}

.calendar-day.selected {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-bg);
    font-weight: 600;
}

.calendar-day.disabled {
    color: var(--color-text-muted);
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: var(--color-text-muted);
    opacity: 0.4;
}

.calendar-day.booked {
    position: relative;
    color: var(--color-text-muted);
    opacity: 0.5;
}

.calendar-day.booked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--color-primary);
    opacity: 0.7;
    transform: rotate(-45deg);
}

/* Time slots */
.booking-times {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.time-slot {
    padding: 14px 12px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover:not(.selected) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(217, 145, 58, 0.3);
    color: var(--color-text);
}

.time-slot.selected {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-color: transparent;
    color: var(--color-bg);
    font-weight: 600;
}

/* Duration slots */
.booking-durations {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.duration-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.duration-slot:hover:not(.selected) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(217, 145, 58, 0.3);
}

.duration-slot.selected {
    background: rgba(217, 145, 58, 0.1);
    border-color: var(--color-primary);
}

.duration-hours {
    font-size: 15px;
    font-weight: 500;
}

.duration-slot.selected .duration-hours {
    color: var(--color-text);
}

.duration-price {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Booking form */
.booking-form .form-group {
    margin-bottom: 16px;
}

.booking-form .form-group:last-child {
    margin-bottom: 0;
}

.booking-form .form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.booking-form .form-input:focus {
    outline: none;
    border-color: rgba(217, 145, 58, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.booking-form .form-input::placeholder {
    color: var(--color-text-muted);
}

.booking-form .form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Footer */
.booking-footer {
    padding: 20px 32px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.booking-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: rgba(217, 145, 58, 0.05);
    border: 1px solid rgba(217, 145, 58, 0.15);
    border-radius: var(--radius);
    min-height: 48px;
}

.booking-summary:empty {
    display: none;
}

.booking-summary-date,
.booking-summary-time {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.booking-summary-date::before {
    content: '📅 ';
}

.booking-summary-time::before {
    content: '🕐 ';
}

.booking-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.booking-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.booking-status {
    margin-top: 16px;
    padding: 12px 16px;
    font-size: 13px;
    border-radius: var(--radius);
    text-align: center;
    display: none;
}

.booking-status.success {
    display: block;
    background: rgba(217, 145, 58, 0.1);
    border: 1px solid rgba(217, 145, 58, 0.3);
    color: var(--color-primary);
}

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

/* Mobile adjustments */
@media (max-width: 480px) {
    .booking-container {
        max-height: 95vh;
    }

    .booking-header,
    .booking-body,
    .booking-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .booking-title {
        font-size: 20px;
    }

    .booking-times {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .time-slot {
        padding: 12px 8px;
        font-size: 13px;
    }

    .calendar-day {
        font-size: 12px;
    }
}

/* === GLITCH TEXT EFFECT === */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    overflow: hidden;
    background: var(--color-bg);
    pointer-events: none;
    opacity: 0;
}

.glitch-text::before {
    color: var(--color-primary);
    text-shadow: 2px 0 var(--color-secondary);
}

.glitch-text::after {
    color: var(--color-secondary);
    text-shadow: -2px 0 var(--color-primary);
}

.glitch-text.glitch {
    animation: mainGlitch 0.3s linear;
}

.glitch-text.glitch::before {
    opacity: 1;
    animation: sliceTop 0.3s steps(1) forwards;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch-text.glitch::after {
    opacity: 1;
    animation: sliceBot 0.3s steps(1) forwards;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes mainGlitch {
    0%, 100% { transform: none; opacity: 1; }
    7% { transform: translateX(-3px); opacity: 0.9; }
    14% { transform: translateX(2px) skewX(1deg); }
    21% { transform: translateX(-1px); }
    28% { opacity: 0; }
    35% { opacity: 1; transform: translateX(2px); }
    42% { transform: none; }
    50% { opacity: 0; }
    57% { opacity: 1; }
    64% { transform: translateX(-2px); }
    71% { transform: translateX(1px); }
    85% { transform: none; }
}

@keyframes sliceTop {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(6px); }
    20% { transform: translateX(-4px); }
    30% { transform: translateX(8px); }
    50% { transform: translateX(-3px); }
    70% { transform: translateX(5px); }
    90% { transform: translateX(-2px); }
}

@keyframes sliceBot {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-5px); }
    20% { transform: translateX(6px); }
    30% { transform: translateX(-7px); }
    50% { transform: translateX(4px); }
    70% { transform: translateX(-4px); }
    90% { transform: translateX(3px); }
}

/* ============================================
   SECURITY SECTION - Second Hero
   ============================================ */

.section-security-hero {
    padding: 100px 60px 80px;
}

.security-header {
    margin-bottom: 48px;
}

.security-header .section-label {
    margin-bottom: 16px;
}

.security-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.security-title em {
    font-style: normal;
    color: var(--color-primary);
}

/* Main content grid */
.security-main {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Override reveal transform to preserve backdrop-filter on children */
.security-main.reveal.is-visible {
    transform: none;
    filter: none;
}

.security-intro {
    position: sticky;
    top: 120px;
}

.security-definition {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-dim);
    margin: 0 0 24px 0;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 8px #000, 0 0 15px #000, 0 0 30px #000;
}

.security-lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0 0 32px 0;
    text-shadow: 0 0 8px #000, 0 0 15px #000, 0 0 30px #000;
}

.security-creds {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-cred {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.security-cred:hover {
    border-color: rgba(217, 145, 58, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.security-cred svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    stroke-width: 1.5;
    flex-shrink: 0;
}

.security-cred span {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
}

.security-cred .cred-short {
    display: none;
}

.security-cred:hover span {
    color: var(--color-text);
}

/* Work timeline */
.security-work {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.security-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

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

.security-item:hover {
    border-color: rgba(217, 145, 58, 0.2);
}

/* Floating animation - desktop only */
@media (min-width: 769px) {
    @keyframes float1 {
        0%, 100% { transform: translateY(0) rotate(-0.5deg); }
        50% { transform: translateY(-8px) rotate(0.5deg); }
    }
    @keyframes float2 {
        0%, 100% { transform: translateY(0) rotate(0.5deg); }
        50% { transform: translateY(-8px) rotate(-0.5deg); }
    }

    .security-item {
        will-change: transform;
        margin-bottom: 24px;
    }

    .security-item:nth-child(1) { animation: float1 4s ease-in-out infinite; }
    .security-item:nth-child(2) { animation: float2 4.5s ease-in-out infinite; animation-delay: -1s; }
    .security-item:nth-child(3) { animation: float1 3.8s ease-in-out infinite; animation-delay: -2s; }
    .security-item:nth-child(4) { animation: float2 4.2s ease-in-out infinite; animation-delay: -0.5s; }
    .security-item:nth-child(5) { animation: float1 4.3s ease-in-out infinite; animation-delay: -1.5s; }
}

.security-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(217, 145, 58, 0.08);
    border: 1px solid rgba(217, 145, 58, 0.15);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.security-item-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.security-item:hover .security-item-icon {
    background: rgba(217, 145, 58, 0.15);
    border-color: rgba(217, 145, 58, 0.3);
}

.security-item-content {
    flex: 1;
}

.security-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.security-item-header h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    transition: color 0.3s ease;
}

.security-item:hover .security-item-header h3 {
    color: var(--color-primary);
}

.security-item-year {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-primary);
    padding: 4px 10px;
    background: rgba(217, 145, 58, 0.1);
    border-radius: 50px;
}

.security-item-content p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

/* Security Responsive */
@media (max-width: 900px) {
    .security-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .security-intro {
        position: static;
    }
}

@media (max-width: 768px) {
    .section-security-hero {
        padding: 60px 24px;
    }

    .security-title {
        font-size: clamp(28px, 7vw, 40px);
    }

    .security-lead {
        font-size: 18px;
        color: var(--color-text-dim);
    }

    .security-definition {
        font-size: 18px;
        color: var(--color-text-dim);
    }

    .security-creds {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .security-cred {
        flex: 1;
        min-width: 140px;
    }

    .security-cred span {
        font-size: 18px;
        color: var(--color-text-dim);
    }

    .security-cred:hover {
        transform: none;
    }

    .security-item {
        padding: 20px 16px;
        gap: 16px;
    }

    .security-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .security-item-header h3 {
        font-size: 17px;
    }

    .security-item-year {
        font-size: 15px;
    }

    .security-item-content p {
        font-size: 18px;
        color: var(--color-text-dim);
    }
}

@media (max-width: 400px) {
    .security-cred .cred-full {
        display: none;
    }

    .security-cred .cred-short {
        display: inline;
    }
}

