/* ========== RESET / BASE ========== */
/* © 2026 Zmenix Forge. All rights reserved. */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    
    cursor: url("../cursors/phoenix-normal.cur"), auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* ========== THEME (CSS VARS) ========== */

:root {
    /* Dark mode (default) */
    --bg: #050816;
    --bg-elevated: #0b1120;
    --bg-soft: rgba(15, 23, 42, 0.9);

    --text: #e5e7eb;
    --text-muted: #9ca3af;

    --accent: #f97316;       /* phoenix flame */
    --accent-soft: #fdba74;
    --accent-2: #fb7185;
    --accent-3: #a855f7;     /* magenta/violet glow */
    --danger: #f43f5e;

    --border-subtle: rgba(148, 163, 184, 0.2);
    --surface-glow: 0 0 40px rgba(249, 115, 22, 0.25);

    --radius-lg: 1.25rem;
    --radius-xl: 2rem;

    --nav-height: 72px;
}

:root.theme-light {
    --bg: #f9fafb;
    --bg-elevated: #ffffff;
    --bg-soft: rgba(248, 250, 252, 0.95);

    --text: #020617;
    --text-muted: #6b7280;

    --border-subtle: rgba(15, 23, 42, 0.12);
    --surface-glow: 0 0 30px rgba(56, 189, 248, 0.3);
}

/* ========== LAYOUT HELPERS ========== */

.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}


/*
.section {
    padding: 5rem 0;
}*/

.section {
    position: relative;
    padding: clamp(4rem, 5vw, 5rem) 0;
    overflow: visible; /* make sure the glow can “stick out” */
}

/* Fiery glow between sections */
.section::before,
.section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3.2rem;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 50%, rgba(249, 115, 22, 0.0) 0, rgba(249, 115, 22, 0.45) 40%, rgba(249, 115, 22, 0) 75%),
        radial-gradient(circle at 90% 50%, rgba(244, 114, 182, 0.0) 0, rgba(244, 114, 182, 0.40) 40%, rgba(244, 114, 182, 0) 75%);
    opacity: 0.7;
    mix-blend-mode: screen;
    filter: blur(4px);
}

/* top glow - transitions from previous section into this one */
.section::before {
    top: -1.8rem;
}

/* bottom glow - mirrors the top so the boundary is strong */
.section::after {
    bottom: -1.8rem;
    transform: scaleY(-1);
}

/* subtle physical border between stacked sections */
.section + .section {
    border-top: 1px solid rgba(15, 23, 42, 0.9);
}









.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.section-header p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-muted);
}








/* ========== QUICK LINKS (ispod hero-a) ========== */

/* ========== QUICK LINKS - PHOENIX BRIDGE ========== */

.section.quick-links {
    position: relative;
    padding: 2.7rem 0 3.1rem;
    z-index: 2;
}

.quick-links {
    /* ako negde postoji globalno, ovo ga rafinira */
    padding-top: 0;
}

.quick-links-shell {
    position: relative;
    border-radius: 1.9rem;
    padding: 1.8rem 1.9rem 2rem;
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.32), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.28), transparent 65%),
        rgba(15, 23, 42, 0.97);
    border: 1px solid rgba(15, 23, 42, 1);
    box-shadow:
        0 24px 70px rgba(15, 23, 42, 1),
        0 0 0 1px rgba(15, 23, 42, 1);
    overflow: hidden;
}

/* phoenix okvir oko celog panela */
.quick-links-shell::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.4px;
    background:
        conic-gradient(
            from 210deg,
            rgba(249, 115, 22, 0.25),
            rgba(250, 204, 21, 0.95),
            rgba(249, 115, 22, 0.98),
            rgba(236, 72, 153, 0.95),
            rgba(56, 189, 248, 0.9),
            rgba(249, 115, 22, 0.25)
        );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.55;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: quickShellGlow 14s linear infinite;
}

@keyframes quickShellGlow {
    0% {
        opacity: 0.4;
        transform: rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: rotate(2deg);
    }
    100% {
        opacity: 0.45;
        transform: rotate(-2deg);
    }
}

/* mali header iznad dva linka */

.quick-links-header {
    text-align: center;
    margin-bottom: 1.8rem;
}

.quick-links-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-soft);
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.quick-links-main {
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

/* grid sa 2 kartice */

.quick-links-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
}

/* vertikalni “rail” između kartica (suptilno) */
.quick-links-grid::before {
    content: "";
    position: absolute;
    inset-block: -18%;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(249, 115, 22, 0.8),
        rgba(236, 72, 153, 0.6),
        rgba(56, 189, 248, 0.8),
        transparent
    );
    opacity: 0.32;
    filter: blur(1px);
    pointer-events: none;
}

/* osnovna quick-link kartica */

.quick-link-card {
    position: relative;
    border-radius: 1.4rem;
    padding: 1.5rem 1.6rem 1.6rem;
    text-decoration: none;
    color: inherit;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96)) padding-box,
        linear-gradient(135deg, rgba(249, 115, 22, 0.9), rgba(251, 191, 36, 0.85), rgba(236, 72, 153, 0.85)) border-box;
    border: 1px solid transparent;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.98),
        0 0 0 1px rgba(15, 23, 42, 1);
    overflow: hidden;
    transform: translateY(0);
    transition:
        transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.38s ease,
        background-position 0.7s ease;
    background-size: 220% 220%;
    background-position: 0% 50%;
}

.quick-link-card-alt {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96)) padding-box,
        linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(129, 140, 248, 0.9), rgba(236, 72, 153, 0.85)) border-box;
}

/* unutrašnji glow sloj */

.quick-link-glow {
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.45), transparent 60%),
        radial-gradient(circle at 120% 120%, rgba(236, 72, 153, 0.5), transparent 60%);
    opacity: 0;
    mix-blend-mode: screen;
    filter: blur(18px);
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.quick-link-card-alt .quick-link-glow {
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.5), transparent 60%),
        radial-gradient(circle at 120% 120%, rgba(129, 140, 248, 0.5), transparent 60%);
}

/* sadržaj kartice */

.quick-link-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

/* top linija sa brojem + kickerom */

.quick-link-topline {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.1rem;
}

.quick-link-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #020617;
    background: radial-gradient(circle at 30% 0%, #facc15, #f97316);
    box-shadow:
        0 0 10px rgba(249, 115, 22, 0.9),
        0 0 18px rgba(248, 250, 252, 0.7);
}

.quick-link-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-soft);
    opacity: 0.9;
}

/* naslov + tekst */

.quick-link-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.quick-link-body {
    font-size: 0.9rem;
    color: rgba(203, 213, 225, 0.96);
}

/* CTA link */

.quick-link-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--accent-soft);
    position: relative;
    padding-bottom: 0.12rem;
}

.quick-link-cta::after {
    content: "↗";
    font-size: 0.9rem;
    transform-origin: center;
    transition: transform 0.25s ease;
}

.quick-link-cta::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.16rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #facc15, #fb7185);
    transition: width 0.28s ease;
}

.quick-link-card:hover .quick-link-cta::before {
    width: 100%;
}

.quick-link-card:hover .quick-link-cta::after {
    transform: translateY(-1px) translateX(2px);
}

/* hover state */

.quick-link-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 26px 80px rgba(15, 23, 42, 1),
        0 0 0 1px rgba(15, 23, 42, 1),
        0 0 32px rgba(249, 115, 22, 0.42);
    background-position: 100% 50%;
}

.quick-link-card:hover .quick-link-glow {
    opacity: 1;
}

/* light tema */

:root.theme-light .quick-links-shell {
    background:
        radial-gradient(circle at -10% 0, rgba(249, 115, 22, 0.18), #ffffff);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(226, 232, 240, 0.9);
    border-color: rgba(148, 163, 184, 0.5);
}

:root.theme-light .quick-link-card {
    background:
        linear-gradient(135deg, #ffffff, #f9fafb) padding-box,
        linear-gradient(135deg, rgba(249, 115, 22, 0.7), rgba(251, 191, 36, 0.75), rgba(236, 72, 153, 0.7)) border-box;
    box-shadow:
        0 16px 35px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(226, 232, 240, 0.9);
}

:root.theme-light .quick-link-card-alt {
    background:
        linear-gradient(135deg, #ffffff, #f9fafb) padding-box,
        linear-gradient(135deg, rgba(56, 189, 248, 0.85), rgba(129, 140, 248, 0.8), rgba(236, 72, 153, 0.7)) border-box;
}

:root.theme-light .quick-link-body {
    color: rgba(55, 65, 81, 0.96);
}

/* responsive */

@media (max-width: 900px) {
    .quick-links-shell {
        padding: 1.7rem 1.6rem 1.9rem;
        border-radius: 1.7rem;
    }

    .quick-links-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.3rem;
    }

    .quick-links-grid::before {
        inset-block: auto;
        height: 2px;
        width: 60%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 640px) {
    .section.quick-links {
        padding-top: 2.2rem;
        padding-bottom: 2.7rem;
    }

    .quick-links-shell {
        padding: 1.5rem 1.3rem 1.7rem;
        border-radius: 1.4rem;
    }

    .quick-links-header {
        text-align: left;
        margin-bottom: 1.4rem;
    }

    .quick-links-grid::before {
        display: none;
    }

    .quick-link-card {
        padding: 1.4rem 1.3rem 1.5rem;
    }
}






/* === QUICK-LINKS PHOENIX BACKGROUND OVERRIDE === */

.section.quick-links {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 3.4rem;
    overflow: hidden; /* so the glow doesn't spill too far */
}

/* Animated fire/aurora behind the whole quick-links area */
.section.quick-links::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.25), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(248, 113, 113, 0.22), transparent 65%),
        radial-gradient(circle at 50% -10%, rgba(251, 191, 36, 0.20), transparent 60%);
    opacity: 0.9;
    mix-blend-mode: screen;
    animation: quickLinksFireDrift 26s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

/* Make sure content sits above the animated background */
.section.quick-links .container {
    position: relative;
    z-index: 1;
}

@keyframes quickLinksFireDrift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(-18px, -26px, 0) scale(1.03);
    }
}






/* === QUICK-LINK CARDS - PHOENIX THEME OVERRIDE === */

.quick-link-card,
.quick-link-card-alt {
    background:
        radial-gradient(circle at -10% 0%, rgba(249, 115, 22, 0.22), transparent 55%),
        radial-gradient(circle at 110% 120%, rgba(248, 113, 113, 0.20), transparent 60%),
        rgba(5, 8, 22, 0.98); /* var(--bg)-ish, not blue */
    border-radius: 1.8rem;
    border: 1px solid rgba(249, 115, 22, 0.55);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(15, 23, 42, 0.9);
}

/* Alt card = slightly more “golden featured” instead of cyan/blue */
.quick-link-card-alt {
    border-color: rgba(251, 191, 36, 0.8);
    background:
        radial-gradient(circle at -10% 0%, rgba(251, 191, 36, 0.25), transparent 55%),
        radial-gradient(circle at 110% 120%, rgba(248, 113, 113, 0.18), transparent 60%),
        rgba(5, 8, 22, 0.98);
}

/* Reuse your glow-on-hover but keep it warm/orange */
.quick-link-card::before,
.quick-link-card-alt::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background:
        radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.55), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(248, 113, 113, 0.35), transparent 65%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: -1;
}

















/* ========== NAVBAR ========== */

.site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 40;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    backdrop-filter: blur(18px);
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.38), transparent 60%),
        radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.32), transparent 60%),
        rgba(15, 23, 42, 0.94);
    border-bottom: 1px solid var(--border-subtle);
    transition:
        transform 280ms ease-out,
        opacity 280ms ease-out,
        background 200ms ease-out,
        box-shadow 200ms ease-out;
}

/* Header hidden state - used while intro video plays */
.site-header.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}



:root.theme-light .site-header {
    background: linear-gradient(
        to bottom,
        rgba(248, 250, 252, 0.98),
        rgba(248, 250, 252, 0.92),
        transparent
    );
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    gap: 1.5rem;
}

.nav-left,
.nav-center,
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-name {
    font-size: 1rem;
    font-weight: 600;
}

.brand-tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.95rem;
}

.nav-links a {
    position: relative;
    padding: 0.25rem 0;
    color: var(--text-muted);
}

.nav-links a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -0.25rem;
    height: 2px;
    transform-origin: center;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: transform 200ms ease-out;
    border-radius: 999px;
}

.nav-links a:hover {
    color: var(--text);
}

/* Language + theme toggles */

.nav-right {
    margin-left: auto;
    gap: 0.75rem;
}

.lang-switch {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    background: rgba(15, 23, 42, 0.9);
}

:root.theme-light .lang-switch {
    background: rgba(248, 250, 252, 0.9);
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    cursor: pointer;
    transition: background 150ms ease-out, color 150ms ease-out;
}

.lang-btn.is-active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0f172a;
    font-weight: 600;
}




/* ===== MOBILE NAV TOGGLE & MENU ===== */

.nav-toggle {
    display: none; /* desktop hidden */
    position: relative;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.55), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.35), transparent 55%),
        rgba(15, 23, 42, 0.96);
    padding: 0;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8), var(--surface-glow);
    transition:
        box-shadow 180ms ease-out,
        transform 180ms ease-out,
        border-color 180ms ease-out;
}







.site-header.is-menu-open .nav-toggle {
    border-color: rgba(248, 250, 252, 0.8);
    box-shadow:
        0 0 18px rgba(249, 115, 22, 0.9),
        0 0 40px rgba(248, 113, 113, 0.7);
}

/* Mobile layout */
@media (max-width: 900px) {
    .nav {
        gap: 0.75rem;
    }

    .nav-center {
        position: fixed;
        inset-inline: 0;
        top: var(--nav-height);
        display: flex;
        justify-content: center;
        z-index: 30;
        pointer-events: none;
    }

    .nav-links {
        width: min(480px, 100% - 1.6rem);
        margin-inline: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        padding: 1.35rem 1.6rem 1.55rem;
        border-radius: 1.5rem;
        border: 1px solid rgba(148, 163, 184, 0.35);
        background:
            radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.65), transparent 65%),
            radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.4), transparent 65%),
            rgba(15, 23, 42, 0.98);
        box-shadow: var(--surface-glow);
        backdrop-filter: blur(22px);
        transform-origin: top;
        transform: translateY(-16px) scaleY(0.9);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .site-header.is-menu-open .nav-links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scaleY(1);
    }

    .nav-links a {
        font-size: 0.96rem;
    }

    .nav-right {
        gap: 0.65rem;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}



/*
.theme-toggle {
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.9);
    padding: 0.35rem 0.7rem;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 150ms ease-out, transform 150ms ease-out, box-shadow 150ms ease-out;
}

:root.theme-light .theme-toggle {
    background: rgba(248, 250, 252, 0.95);
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.3);
}*/

/* ========== HERO ========== */

.hero {
    padding-top: calc(4.5rem + 1vh);
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 4rem); /* prva sekcija zauzima skoro ceo ekran */
    display: flex;
    align-items: center;
}



.hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 10% -10%, rgba(248, 250, 252, 0.06), transparent 55%),
        radial-gradient(circle at 110% 110%, rgba(56, 189, 248, 0.12), transparent 55%),
        radial-gradient(circle at 50% 120%, rgba(249, 115, 22, 0.18), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.hero .container {
    position: relative;
}

.hero-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr); /* phoenix zauzima više */
    gap: 3rem;
    align-items: center;
}



.hero-content {
    position: relative;
    z-index: 1;
}


/* Phoenix GIF that follows the hero title */
/* Phoenix GIF that follows the hero title */
.cursor-flame {
    position: absolute;              /* now relative to .hero-content */
    width: 80px;
    height: 80px;
    pointer-events: none;
    border-radius: 999px;
    opacity: 0;
    transform: translate(-50%, -80%); /* a bit above the cursor */
    background-image: url("../img/phoenix.gif");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.15s ease-out;
    z-index: 5;
}




@media (max-width: 768px) {
    .cursor-flame {
        display: none; /* no fancy cursor on mobile */
    }
}






.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.16), rgba(15, 23, 42, 0.92));
    color: var(--accent-soft);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.3rem);
    margin: 1.25rem 0 0.75rem;
}

.hero-subtitle {
    max-width: 720px;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.hero-bullets {
    color: var(--accent-soft);
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* HERO visual */

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.phoenix-orb {
    position: relative;
    width: min(560px, 90vw);
    aspect-ratio: 16 / 9;
    border-radius: 1.6rem;
    background:
        radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.75), transparent 55%),
        radial-gradient(circle at 70% 80%, rgba(37, 99, 235, 0.75), transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 1));
    box-shadow: 0 30px 80px rgba(15, 23, 42, 1);
    overflow: hidden;
}



/* Phoenix ilustracija unutra */

.phoenix-illustration {
    position: absolute;
    inset: -18% -10% -22%;
    width: 140%;
    height: 140%;
    max-width: none;
    object-fit: cover;
    transform: translate3d(0, 0, 0) scale(1.03);
    filter: saturate(1.18) contrast(1.03);
    opacity: 0.96;
    pointer-events: none;
    animation: phoenixFloat 18s ease-in-out infinite alternate;
}

/* blago driftovanje slike da deluje živo */
@keyframes phoenixFloat {
    0% {
        transform: translate3d(0, -4px, 0) scale(1.03);
    }
    100% {
        transform: translate3d(0, -16px, 0) scale(1.08);
    }
}




/* core */

.phoenix-core {
    position: absolute;
    inset: 26%;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 10%, #fef3c7, #f97316 45%, transparent 70%);
    mix-blend-mode: screen;
    animation: phoenixPulse 4s ease-in-out infinite alternate;
}

/* flames */

.phoenix-flame {
    position: absolute;
    border-radius: 999px;
    filter: blur(16px);
    opacity: 0.9;
}

.phoenix-flame-1 {
    inset: 10% 45% 40% -20%;
    background: radial-gradient(circle at 0% 50%, rgba(249, 115, 22, 0.9), transparent 70%);
    animation: flameFlow1 6s ease-in-out infinite alternate;
}

.phoenix-flame-2 {
    inset: -10% -10% 35% 40%;
    background: radial-gradient(circle at 100% 20%, rgba(239, 68, 68, 0.8), transparent 70%);
    animation: flameFlow2 7s ease-in-out infinite alternate;
}

.phoenix-flame-3 {
    inset: 50% -20% -20% 5%;
    background: radial-gradient(circle at 100% 80%, rgba(56, 189, 248, 0.9), transparent 70%);
    animation: flameFlow3 8s ease-in-out infinite alternate;
}

.phoenix-outline {
    position: absolute;
    inset: 14%;
    border-radius: inherit;
    border: 1px solid rgba(248, 250, 252, 0.4);
    box-shadow:
        0 0 35px rgba(248, 250, 252, 0.3),
        0 0 70px rgba(249, 115, 22, 0.35);
    mix-blend-mode: screen;
    animation: orbFloat 7s ease-in-out infinite alternate;
}

.hero-visual-caption {
    font-size: 0.8rem;
    max-width: 280px;
    text-align: center;
    color: var(--text-muted);
}

/* HERO keyframes */

@keyframes phoenixPulse {
    0% {
        transform: scale(0.98) translateY(2px);
        opacity: 0.85;
    }
    100% {
        transform: scale(1.04) translateY(-2px);
        opacity: 1;
    }
}

@keyframes orbFloat {
    0% {
        transform: translateY(4px) rotate(-1deg);
    }
    100% {
        transform: translateY(-4px) rotate(1deg);
    }
}

@keyframes flameFlow1 {
    0% {
        transform: rotate(-6deg) scale(1);
    }
    100% {
        transform: rotate(4deg) scale(1.1);
    }
}

@keyframes flameFlow2 {
    0% {
        transform: rotate(8deg) scale(1.05);
    }
    100% {
        transform: rotate(-4deg) scale(1.12);
    }
}

@keyframes flameFlow3 {
    0% {
        transform: rotate(2deg) scale(1);
    }
    100% {
        transform: rotate(-6deg) scale(1.08);
    }
}

/* Scroll hint */

.scroll-hint {
    position: absolute;
    right: 1.8rem;
    bottom: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.45rem;
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
}


.scroll-hint-circle {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15), transparent 60%);
    animation: scrollBounce 2.8s ease-in-out infinite;
}

/* mali “tail” da izgleda kao kometa ka dole */
/* Inner glow, no line outside the circle */
.scroll-hint-circle::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 20%, rgba(249, 115, 22, 0.45), transparent 65%);
}



.scroll-arrow {
    font-size: 1.1rem;
}

.scroll-hint-text {
    font-size: 0.8rem;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(6px);
    }
}

/* ========== BUTTONS ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition:
        background 160ms ease-out,
        color 160ms ease-out,
        transform 120ms ease-out,
        box-shadow 160ms ease-out,
        border-color 160ms ease-out;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #0f172a;
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.4);
}

.btn-ghost {
    border-color: var(--border-subtle);
    background: rgba(15, 23, 42, 0.5);
    color: var(--text);
}

:root.theme-light .btn-ghost {
    background: rgba(248, 250, 252, 0.9);
}

.btn-ghost:hover {
    border-color: rgba(148, 163, 184, 0.6);
}

/* ========== SERVICES - PHOENIX GRID ========== */

.section.services {
    position: relative;
    padding: 5.5rem 0 5rem;
    overflow: hidden;
}

/* pozadinski "dim + vatra" sloj */
.services-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(251, 191, 36, 0.15), transparent 55%),
        radial-gradient(circle at 90% 10%, rgba(248, 113, 113, 0.18), transparent 60%),
        radial-gradient(circle at 0% 100%, rgba(96, 165, 250, 0.18), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.16), transparent 60%);
    opacity: 0.9;
    mix-blend-mode: screen;
    filter: blur(10px);
    animation: servicesAuroraDrift 18s ease-in-out infinite alternate;
}

/* header u istom fazonu kao projekti */

.section.services .section-header--flame {
    margin-bottom: 3.4rem;
}

.section.services .services-subtitle {
    margin-top: 1.4rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.98rem;
    color: rgba(203, 213, 225, 0.9);
}

/* grid za kartice */

.services-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.85rem;
}

/* tanki "vertikalni rail" iza kartica - suptilan */

.services-grid::before {
    content: "";
    position: absolute;
    inset-block: -6%;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background:
        linear-gradient(to bottom, transparent, rgba(251, 191, 36, 0.6), rgba(248, 113, 113, 0.3), transparent);
    opacity: 0.22;
    filter: blur(1px);
    pointer-events: none;
}

/* osnovni izgled kartice */

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.6rem;
    padding: 1.75rem 1.65rem 1.9rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(148, 163, 184, 0.14), transparent 55%) padding-box,
        radial-gradient(circle at 100% 120%, rgba(15, 23, 42, 1), rgba(15, 23, 42, 1)) padding-box,
        linear-gradient(135deg, rgba(249, 115, 22, 0.85), rgba(251, 191, 36, 0.75), rgba(129, 140, 248, 0.6), rgba(236, 72, 153, 0.8)) border-box;
    border: 1px solid transparent;
    box-shadow:
        0 24px 50px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(15, 23, 42, 1);
    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        background 0.45s ease;
}

/* glow layer koji reaguje na hover */

.service-card-glow {
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at 10% 0%, rgba(251, 191, 36, 0.4), transparent 60%),
        radial-gradient(circle at 80% 100%, rgba(248, 113, 113, 0.45), transparent 65%);
    opacity: 0;
    mix-blend-mode: screen;
    filter: blur(16px);
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* mala "heat" linija dole */

.service-card-heat {
    margin-top: 1.35rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #f97316, #facc15, #fb7185, transparent);
    opacity: 0.75;
    box-shadow:
        0 0 14px rgba(249, 115, 22, 0.8),
        0 0 22px rgba(236, 72, 153, 0.7);
}

/* hover efekat - lagano podizanje i jača vatra */

.service-card:hover {
    transform: translateY(-6px) translateZ(0);
    box-shadow:
        0 30px 70px rgba(15, 23, 42, 1),
        0 0 0 1px rgba(15, 23, 42, 1),
        0 0 34px rgba(249, 115, 22, 0.35);
}

.service-card:hover .service-card-glow {
    opacity: 0.9;
}

/* header unutar kartice */

.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

.service-card-heading {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.service-card-title {
    font-size: 1.02rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* mali okrugli "core" / ikonica */

.service-icon {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
        rgba(15, 23, 42, 0.96);
    box-shadow:
        0 0 0 1px rgba(30, 64, 175, 0.6),
        0 12px 26px rgba(15, 23, 42, 0.95);
    overflow: hidden;
}

.service-icon-core {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #facc15, #f97316, #fb7185);
    box-shadow:
        0 0 10px rgba(249, 115, 22, 0.9),
        0 0 18px rgba(248, 250, 252, 0.7);
    animation: serviceCorePulse 2.1s ease-in-out infinite;
}

/* varijante po tipu usluge - boja ikone */

.service-card--web .service-icon {
    box-shadow:
        0 0 0 1px rgba(248, 113, 113, 0.6),
        0 12px 26px rgba(15, 23, 42, 0.95);
}

.service-card--cms .service-icon {
    box-shadow:
        0 0 0 1px rgba(251, 191, 36, 0.7),
        0 12px 26px rgba(15, 23, 42, 0.95);
}

.service-card--apps .service-icon {
    box-shadow:
        0 0 0 1px rgba(96, 165, 250, 0.7),
        0 12px 26px rgba(15, 23, 42, 0.95);
}

.service-card--scripts .service-icon {
    box-shadow:
        0 0 0 1px rgba(52, 211, 153, 0.7),
        0 12px 26px rgba(15, 23, 42, 0.95);
}

.service-card--design .service-icon {
    box-shadow:
        0 0 0 1px rgba(236, 72, 153, 0.8),
        0 12px 26px rgba(15, 23, 42, 0.95);
}

.service-card--edu .service-icon {
    box-shadow:
        0 0 0 1px rgba(129, 140, 248, 0.9),
        0 12px 26px rgba(15, 23, 42, 0.95);
}

/* tekst */

.service-card-lead {
    margin-bottom: 0.85rem;
    font-size: 0.93rem;
    color: rgba(226, 232, 240, 0.92);
}

.service-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.98);
}

.service-card-list li {
    position: relative;
    padding-left: 1.25rem;
}

.service-card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #f97316, #facc15);
    box-shadow:
        0 0 8px rgba(249, 115, 22, 0.7),
        0 0 14px rgba(236, 72, 153, 0.4);
}

/* animacije */

@keyframes servicesAuroraDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-12px, -10px, 0) scale(1.04);
    }
    100% {
        transform: translate3d(8px, 6px, 0) scale(1.02);
    }
}

@keyframes serviceCorePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.16);
        opacity: 0.8;
    }
}

/* responsive */

@media (max-width: 900px) {
    .section.services {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .services-grid::before {
        left: 0.4rem;
    }

    .service-card {
        padding: 1.55rem 1.45rem 1.7rem;
    }
}

@media (max-width: 640px) {
    .services-grid {
        gap: 1.4rem;
    }

    .services-grid::before {
        display: none;
    }

    .service-card-header {
        align-items: flex-start;
    }

    .service-card-title {
        font-size: 0.98rem;
    }
}

/* light tema - malo manje glow-a da ne zaslepljuje */

body.light-theme .services-aurora {
    opacity: 0.6;
    filter: blur(12px);
}

body.light-theme .service-card {
    background:
        radial-gradient(circle at 0% 0%, rgba(251, 191, 36, 0.08), transparent 55%) padding-box,
        #f9fafb padding-box,
        linear-gradient(135deg, rgba(249, 115, 22, 0.5), rgba(251, 191, 36, 0.4), rgba(129, 140, 248, 0.35), rgba(236, 72, 153, 0.45)) border-box;
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.15),
        0 0 0 1px rgba(226, 232, 240, 0.75);
}

body.light-theme .service-card-lead {
    color: rgba(31, 41, 55, 0.9);
}

body.light-theme .service-card-list {
    color: rgba(55, 65, 81, 0.98);
}










.hero-note {
    margin-top: 0.4rem;
    margin-bottom: 1.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 520px;
}

.hero-note strong {
    color: var(--accent-soft);
    font-weight: 600;
}










/* ===========================
   HOME - PROJECTS SHOWCASE v2
   Phoenix / fire aesthetic
   =========================== */

.section.projects {
    position: relative;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    background:
        radial-gradient(circle at top left, rgba(248, 113, 113, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.2), transparent 55%),
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.16), transparent 60%),
        #020617;
    overflow: hidden;
}

/* animated holographic grid behind cards */
.section.projects::before {
    content: "";
    position: absolute;
    inset: -40%;
    opacity: 0.26;
    background-image:
        linear-gradient(120deg, rgba(15, 23, 42, 0.4) 0, rgba(15, 23, 42, 0.4) 1px, transparent 1px),
        linear-gradient(-120deg, rgba(15, 23, 42, 0.4) 0, rgba(15, 23, 42, 0.4) 1px, transparent 1px);
    background-size: 42px 42px;
    transform: translate3d(0, 0, 0) rotate(1deg);
    mix-blend-mode: soft-light;
    animation: projectsGridDrift 30s linear infinite;
}

.section.projects::after {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background-image:
        radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.18) 0, transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.12) 0, transparent 60%);
    mix-blend-mode: soft-light;
}

/* Header - only the brush headline, no extra text */

.section-header--flame {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 3.25rem;
}

.section-header--flame .brush-headline {
    font-size: clamp(2.3rem, 3.4vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(120deg, #f5a742, #e85a19, #ff3e00, #fb7185, #a855f7);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brush-gradient-move 7s ease-in-out infinite;
    position: relative;
    padding-bottom: 0.6rem;
}

.section-header--flame .brush-headline::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.4rem;
    transform: translateX(-50%);
    width: min(180px, 52vw);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #f97316, #facc15, #fb7185, transparent);
    box-shadow:
        0 0 18px rgba(249, 115, 22, 0.9),
        0 0 34px rgba(236, 72, 153, 0.8);
}

/* small “embers” moving near the title */

.section-header--flame::before {
    content: "";
    position: absolute;
    top: -1.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 230px;
    height: 60px;
    background:
        radial-gradient(circle at 10% 20%, rgba(248, 250, 252, 0.7), transparent 55%),
        radial-gradient(circle at 90% 70%, rgba(249, 115, 22, 0.8), transparent 60%);
    filter: blur(14px);
    opacity: 0.18;
    mix-blend-mode: screen;
    pointer-events: none;
}

/* main vertical rail behind cards */

.projects-showcase-grid {
    position: relative;
    z-index: 2;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 2.1rem;
    perspective: 1400px;
    padding-left: min(2.2rem, 4vw);
    padding-right: min(1.6rem, 3vw);
}

.projects-showcase-grid::before {
    content: "";
    position: absolute;
    top: 0.2rem;
    bottom: 0.2rem;
    left: 0.6rem;
    width: 2px;
    border-radius: 999px;
    background:
        linear-gradient(to bottom, transparent, rgba(251, 191, 36, 0.7), rgba(248, 113, 22, 0.85), rgba(236, 72, 153, 0.9), transparent);
    opacity: 0.75;
    box-shadow:
        0 0 24px rgba(248, 113, 22, 0.8),
        0 0 40px rgba(236, 72, 153, 0.7);
}

.project-showcase {
    --tiltX: 0deg;
    --tiltY: 0deg;
    --lift: 0px;
    position: relative;
    margin-left: 1.7rem;
    border-radius: 1.9rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.32), transparent 55%),
        radial-gradient(circle at bottom right, rgba(79, 70, 229, 0.36), transparent 60%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.99), rgba(15, 23, 42, 0.97));
    box-shadow:
        0 26px 80px rgba(15, 23, 42, 1),
        0 0 0 1px rgba(15, 23, 42, 1);
    backdrop-filter: blur(22px);
    /* BASE border - tamna, da drži formu */
    border: 1px solid rgba(15, 23, 42, 1);
    transform-style: preserve-3d;
    transform:
        translateY(var(--lift))
        rotateX(var(--tiltX))
        rotateY(var(--tiltY));
    transition:
        transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.35s ease,
        background 0.4s ease;
}

/* glowing dot on the left rail for each card
.project-showcase::before {
    content: "";
    position: absolute;
    left: -1.05rem;
    top: 2.65rem;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background:
        radial-gradient(circle, #f97316 0, #f97316 35%, #facc15 55%, transparent 70%);
    box-shadow:
        0 0 18px rgba(249, 115, 22, 0.9),
        0 0 36px rgba(252, 211, 77, 0.9);
}*/

/* animated border / frame */
/* Glavni “phoenix” gradient frame */
.project-showcase::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.5px;
    background:
        conic-gradient(
            from 220deg,
            rgba(248, 250, 252, 0.08),
            rgba(250, 204, 21, 0.95),
            rgba(249, 115, 22, 0.98),
            rgba(236, 72, 153, 0.98),
            rgba(244, 114, 182, 0.9),
            rgba(248, 250, 252, 0.08)
        );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.38;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: projectFrameGlow 9s linear infinite;
}

/* kad je kartica u viewportu, malo jače */
.project-showcase.in-view::after {
    opacity: 0.7;
}


.project-showcase:hover {
    --lift: -8px;
    box-shadow:
        0 30px 96px rgba(15, 23, 42, 1),
        0 0 32px rgba(249, 115, 22, 0.75),
        0 0 42px rgba(236, 72, 153, 0.65);
    /* zlatno / narandžast border umesto belog */
    border-color: rgba(250, 204, 21, 0.95);
}








/* media section - big image */

.project-showcase-media {
    position: relative;
    padding: 1.4rem 1.4rem 0.9rem;
    transform: translateZ(35px);
}

.project-showcase-media-inner {
    position: relative;
    border-radius: 1.45rem;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(248, 250, 252, 0.12), transparent 70%);
    /* unutrašnji border koji odgovara phoenix paleti */
    border: 2px solid rgba(249, 115, 22, 0.85);
    box-shadow:
        0 26px 54px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(249, 115, 22, 0.7);
    transform-origin: center;
    transform:
        translateZ(40px)
        scale(1.01);
    transition:
        transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.45s ease,
        border-color 0.35s ease;
}

/* kad kartica tilt-uje / hoveruje, border i shadow dodatno “iskoče” */
.project-showcase.is-tilting .project-showcase-media-inner {
    box-shadow:
        0 34px 86px rgba(15, 23, 42, 1),
        0 0 0 1px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(250, 204, 21, 0.9);
    border-color: rgba(250, 204, 21, 0.95);
}


/* super subtle ember strip under the screenshot */
.project-showcase-fire {
    position: absolute;
    inset: auto 22% -6%;
    height: 26px;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at center, rgba(248, 250, 252, 0.38), transparent 65%),
        radial-gradient(ellipse at center, rgba(249, 115, 22, 0.8), transparent 80%);
    filter: blur(8px);
    opacity: 0.22;           /* mnogo manje upadljivo */
    pointer-events: none;
    mix-blend-mode: screen;
    animation: fire-glow-strip 10s ease-in-out infinite alternate;
    z-index: 0;
}

/* varijante - sve ostaju, ali su i one nežne */
.project-showcase-fire--orange {
    background:
        radial-gradient(ellipse at center, rgba(255, 248, 225, 0.5), transparent 65%),
        radial-gradient(ellipse at center, rgba(251, 146, 60, 0.85), transparent 80%);
}

.project-showcase-fire--amber {
    background:
        radial-gradient(ellipse at center, rgba(254, 243, 199, 0.55), transparent 65%),
        radial-gradient(ellipse at center, rgba(251, 191, 36, 0.85), transparent 80%);
}

.project-showcase-fire--purple {
    background:
        radial-gradient(ellipse at center, rgba(233, 213, 255, 0.55), transparent 65%),
        radial-gradient(ellipse at center, rgba(192, 38, 211, 0.9), transparent 80%);
}

.project-showcase-fire--cyan {
    background:
        radial-gradient(ellipse at center, rgba(204, 251, 241, 0.5), transparent 65%),
        radial-gradient(ellipse at center, rgba(34, 211, 238, 0.85), transparent 80%);
}

.project-showcase-fire--deep {
    background:
        radial-gradient(ellipse at center, rgba(191, 219, 254, 0.55), transparent 65%),
        radial-gradient(ellipse at center, rgba(59, 130, 246, 0.9), transparent 80%);
}

.project-showcase-fire--magenta {
    background:
        radial-gradient(ellipse at center, rgba(252, 231, 243, 0.55), transparent 65%),
        radial-gradient(ellipse at center, rgba(236, 72, 153, 0.9), transparent 80%);
}

.project-showcase-fire--teal {
    background:
        radial-gradient(ellipse at center, rgba(204, 251, 241, 0.5), transparent 65%),
        radial-gradient(ellipse at center, rgba(45, 212, 191, 0.85), transparent 80%);
}

.project-showcase-fire--rose {
    background:
        radial-gradient(ellipse at center, rgba(254, 205, 211, 0.55), transparent 65%),
        radial-gradient(ellipse at center, rgba(244, 63, 94, 0.9), transparent 80%);
}

.project-showcase-fire--gold {
    background:
        radial-gradient(ellipse at center, rgba(253, 246, 178, 0.6), transparent 65%),
        radial-gradient(ellipse at center, rgba(234, 179, 8, 0.92), transparent 80%);
}

/* nova animacija - jedva primetan “dah”, bez skakanja */
@keyframes fire-glow-strip {
    0% {
        transform: scaleX(0.9);
        opacity: 0.18;
    }
    50% {
        transform: scaleX(1.02);
        opacity: 0.3;
    }
    100% {
        transform: scaleX(0.95);
        opacity: 0.22;
    }
}



/* big project image */

.project-showcase-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transform:
        translateY(0)
        scale(1.03)
        translateZ(25px);
    transform-origin: center center;
    transition:
        transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
        filter 0.5s ease;
    filter: saturate(1.05) contrast(1.06);
}

/* dark gradient at bottom so text is readable */

.project-showcase-media-inner::after {
    content: "";
    position: absolute;
    inset: 32% 0 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.87) 78%);
    pointer-events: none;
}

/* gradient glare on hover */

.project-showcase-media-inner::before {
    content: "";
    position: absolute;
    inset: -20% -40%;
    background:
        radial-gradient(circle at 0% 0%, rgba(248, 250, 252, 0.45), transparent 55%),
        radial-gradient(circle at 80% 0%, rgba(248, 250, 252, 0.27), transparent 65%);
    opacity: 0;
    mix-blend-mode: screen;
    filter: blur(10px);
    transform: translate3d(-20%, -10%, 0);
    transition:
        opacity 0.6s ease,
        transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

/* text overlay over the image */

.project-showcase-overlay {
    position: absolute;
    inset: auto 1.8rem 1.65rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.project-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.26rem 0.8rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(248, 250, 252, 0.2);
    color: #e5e7eb;
    backdrop-filter: blur(10px);
}
/*! © 2025 Zmenix Forge. All rights reserved. */

.project-chip--primary {
    background: linear-gradient(135deg, #f97316, #fb7185, #a855f7);
    border-color: rgba(248, 250, 252, 0.7);
    color: #f9fafb;
    box-shadow:
        0 0 18px rgba(249, 115, 22, 0.9),
        0 0 26px rgba(236, 72, 153, 0.8);
}

.project-showcase-title {
    font-size: clamp(1.32rem, 1.9vw, 1.6rem);
    font-weight: 700;
    color: #f9fafb;
    text-shadow:
        0 10px 22px rgba(15, 23, 42, 0.95),
        0 0 20px rgba(15, 23, 42, 0.9);
}

/* content area under the image */

.project-showcase-content {
    padding: 1.6rem 2rem 1.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    transform: translateZ(20px);
}

.project-showcase-summary {
    color: #e5e7eb;
    font-size: 0.98rem;
    line-height: 1.7;
}

.project-showcase-list {
    margin: 0.2rem 0 0;
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.project-showcase-list li {
    list-style: disc;
}

/* links row */

.project-showcase-links {
    margin-top: 0.65rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
}

.project-link {
    position: relative;
    text-decoration: none;
    color: #f97316;
    font-weight: 500;
    padding-bottom: 0.05rem;
}

.project-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.18rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #facc15, #fb7185);
    transition: width 0.3s ease;
}

.project-link:hover::after {
    width: 100%;
}

.project-link-separator {
    color: #6b7280;
}

/* tech stack chips */

.project-stack {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-size: 0.76rem;
}

.project-stack span {
    padding: 0.16rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    background:
        radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 1));
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 1),
        0 6px 14px rgba(15, 23, 42, 0.9);
}

/* CTA block at the bottom */

.projects-cta {
    margin-top: 4.8rem;
    position: relative;
    z-index: 2;
}

.projects-cta--flame::before {
    content: "";
    position: absolute;
    inset: -50% -12%;
    background:
        radial-gradient(circle at bottom, rgba(248, 113, 22, 0.35), transparent 65%),
        radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.35), transparent 70%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.28), transparent 70%);
    opacity: 0.9;
    filter: blur(26px);
    pointer-events: none;
    mix-blend-mode: screen;
}

.projects-cta-inner {
    position: relative;
    z-index: 1;
    border-radius: 1.7rem;
    padding: 1.9rem 2.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem 2.2rem;
    align-items: center;
    justify-content: space-between; /*
    background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.25), transparent 60%),
                radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.25), transparent 60%),
                rgba(15, 23, 42, 0.97);
    border: 1px solid rgba(148, 163, 184, 0.9);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.98),
        0 0 0 1px rgba(15, 23, 42, 1);*/
}

.projects-cta-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f9fafb;
    margin-bottom: 0.25rem;
}

.projects-cta-text p {
    font-size: 0.92rem;
    color: #cbd5f5;
    max-width: 32rem;
}

.projects-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* fiery primary button */

.btn-fire {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #f97316, #fb7185, #facc15);
    background-size: 220% 220%;
    border: none;
    box-shadow:
        0 0 18px rgba(249, 115, 22, 0.85),
        0 0 40px rgba(248, 250, 252, 0.3);
    animation: brush-gradient-move 6s ease-in-out infinite;
}

.btn-fire::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.35), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.28), transparent 60%);
    mix-blend-mode: screen;
    opacity: 0;
    transform: translateX(-30%);
    transition:
        opacity 0.45s ease,
        transform 0.6s ease;
}

.btn-fire:hover::before {
    opacity: 1;
    transform: translateX(10%);
}

/* hover effects that depend on variables set by JS *//*

.project-showcase.is-tilting .project-showcase-media-inner {
    box-shadow:
        0 30px 70px rgba(15, 23, 42, 0.98),
        0 0 0 1px rgba(15, 23, 42, 0.95);
}*/

.project-showcase.is-tilting .project-showcase-media-inner::before {
    opacity: 1;
    transform: translate3d(6%, -4%, 0);
}

.project-showcase.is-tilting .project-showcase-image {
    filter: saturate(1.2) contrast(1.14);
}

/* animations */

@keyframes brush-gradient-move {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



@keyframes projectFrameGlow {
    0% {
        opacity: 0.3;
    }
    40% {
        opacity: 0.7;
    }
    100% {
        opacity: 0.4;
    }
}


@keyframes projectsGridDrift {
    0% {
        transform: translate3d(0, 0, 0) rotate(1deg);
    }
    50% {
        transform: translate3d(-14px, -18px, 0) rotate(1deg);
    }
    100% {
        transform: translate3d(4px, 12px, 0) rotate(1deg);
    }
}

/* responsive tweaks */

@media (max-width: 1024px) {
    .projects-showcase-grid {
        padding-left: 1.3rem;
        padding-right: 1.2rem;
    }

    .projects-showcase-grid::before {
        left: 0.45rem;
    }

    .project-showcase {
        margin-left: 1.3rem;
        border-radius: 1.5rem;
    }

    .project-showcase-content {
        padding-inline: 1.6rem;
    }
}

@media (max-width: 768px) {
    .projects-showcase-grid {
        gap: 1.5rem;
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }

    .projects-showcase-grid::before {
        display: none;
    }

    .project-showcase {
        margin-left: 0;
    }

    .project-showcase-media {
        padding-inline: 1.1rem;
    }

    .project-showcase-overlay {
        inset-inline: 1.2rem;
        bottom: 1.2rem;
    }

    .project-showcase-content {
        padding-inline: 1.3rem;
    }

    .projects-cta-inner {
        padding: 1.6rem 1.4rem;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .section-header--flame {
        margin-bottom: 2.6rem;
    }

    .project-showcase-content {
        padding-inline: 1.1rem;
        padding-bottom: 1.6rem;
    }

    .project-showcase-summary {
        font-size: 0.93rem;
    }

    .project-showcase-list {
        font-size: 0.86rem;
    }

    .project-stack span {
        font-size: 0.74rem;
    }

    .projects-cta-text h3 {
        font-size: 1.06rem;
    }
}









/* ----- Projects PAGE (filters + smaller cards) ----- */

.projects-page .projects-hero {
    padding-bottom: 2rem;
}

.projects-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-chip {
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.82);
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition:
        background 140ms ease-out,
        color 140ms ease-out,
        box-shadow 140ms ease-out,
        border-color 140ms ease-out,
        transform 100ms ease-out;
}

:root.theme-light .filter-chip {
    background: rgba(248, 250, 252, 0.95);
}

.filter-chip:hover {
    border-color: rgba(148, 163, 184, 0.7);
    transform: translateY(-1px);
}

.filter-chip.is-active {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #0f172a;
    border-color: transparent;
    box-shadow: 0 0 24px rgba(249, 115, 22, 0.4);
}

.projects-filter-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 520px;
}

/* Grid on projects.html remains responsive cards */
.projects-page .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.7rem;
}

.projects-grid-extended .project-card {
    border-radius: 1.4rem;
}

.project-card-extended .project-summary {
    margin-bottom: 0.5rem;
}

.project-card-extended .project-bullets {
    padding-left: 1.1rem;
    margin: 0 0 0.75rem;
    font-size: 0.86rem;
    color: var(--text);
}

.project-card-extended .project-bullets li {
    margin-bottom: 0.2rem;
}

/* Responsive for home projects */
@media (max-width: 900px) {
    .project-card-featured .project-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.8rem;
    }

    .project-media-frame {
        border-radius: 1.6rem;
    }
}














/* ========== PROCESS ========== */

.process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0.9rem;
    width: 2px;
    background: linear-gradient(
        to bottom,
        rgba(148, 163, 184, 0.6),
        rgba(56, 189, 248, 0.7)
    );
    opacity: 0.7;
}

.process-step {
    position: relative;
    padding-left: 3.4rem;
    padding-bottom: 1.6rem;
}

.process-step:last-child {
    padding-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: radial-gradient(circle at 30% 10%, rgba(249, 115, 22, 0.9), rgba(15, 23, 42, 0.9));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f9fafb;
}

.process-step h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.process-step p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}









/* ========== PROCESS PRICING PAGE ========== */

.process-page-hero {
    padding-top: 3.5rem;
}

.process-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.process-hero-subtitle {
    margin-top: 0.7rem;
    margin-bottom: 1rem;
    max-width: 640px;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.process-hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    font-size: 0.9rem;
    color: var(--text);
}

.process-hero-bullets li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.3rem;
}

.process-hero-bullets li::before {
    content: "•";
    position: absolute;
    left: 0.2rem;
    top: 0.1rem;
    font-size: 0.9rem;
    color: var(--accent-soft);
}

.process-page-notice {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(251, 191, 36, 0.55);
    font-size: 0.86rem;
    color: var(--text-muted);
    max-width: 640px;
}

.process-page-notice strong {
    color: var(--accent-soft);
}

/* Desna kartica u hero-u */

.process-hero-side {
    display: flex;
    justify-content: flex-end;
}

.process-summary-card {
    border-radius: var(--radius-xl);
    padding: 1.6rem 1.5rem;
    max-width: 360px;
    background: radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.25), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(249, 115, 22, 0.7);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 1);
}

:root.theme-light .process-summary-card {
    background: radial-gradient(circle at -10% 0, rgba(249, 115, 22, 0.18), #ffffff);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.process-summary-text {
    margin: 0.4rem 0 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.process-summary-chips {
    list-style: none;
    padding: 0;
    margin: 0 0 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.86rem;
}

.process-summary-chips li {
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

:root.theme-light .process-summary-chips li {
    background: rgba(248, 250, 252, 0.95);
}

.process-summary-foot {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Paketi */

.process-packages {
    position: relative;
}

.process-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.7rem;
    margin-bottom: 2.4rem;
}

.process-package {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 1.4rem 1.4rem 1.3rem;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.96),
        rgba(15, 23, 42, 0.92)
    );
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.95);
    overflow: hidden;
    transition:
        transform 160ms ease-out,
        box-shadow 160ms ease-out,
        border-color 160ms ease-out;
}

.process-package::before {
    content: "";
    position: absolute;
    inset: -25%;
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.28), transparent 55%),
        radial-gradient(circle at 120% 120%, rgba(56, 189, 248, 0.28), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease-out;
}

.process-package:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 1);
    border-color: rgba(249, 115, 22, 0.85);
}

.process-package:hover::before {
    opacity: 1;
}

.process-package-header {
    margin-bottom: 0.6rem;
}

.process-package-header h3 {
    margin: 0;
    font-size: 1.05rem;
}

.process-package-tag {
    margin: 0.2rem 0;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.process-package-price {
    margin: 0.2rem 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-soft);
}

.process-package-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text);
}

.process-package-steps li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.25rem;
}

.process-package-steps li::before {
    content: "›";
    position: absolute;
    left: 0.15rem;
    top: 0.05rem;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.9);
}

/* Custom napomena */

.process-custom-note {
    border-radius: var(--radius-xl);
    padding: 1.5rem 1.6rem;
    background: rgba(15, 23, 42, 0.96);
    border: 1px dashed rgba(148, 163, 184, 0.7);
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.9);
    max-width: 720px;
}

.process-custom-note h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.process-custom-note p {
    margin: 0 0 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive */

@media (max-width: 900px) {
    .process-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .process-hero-side {
        justify-content: flex-start;
    }

    .process-summary-card {
        max-width: none;
    }
}






/* ========== TEAM - PHOENIX CREW ========== */

.section.team {
    position: relative;
    padding-top: 5.2rem;
    padding-bottom: 5.4rem;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.16), transparent 55%),
        #020617;
    overflow: hidden;
}

/* holografska mreža iza tima */
.section.team::before {
    content: "";
    position: absolute;
    inset: -40%;
    opacity: 0.22;
    background-image:
        linear-gradient(120deg, rgba(15, 23, 42, 0.5) 0, rgba(15, 23, 42, 0.5) 1px, transparent 1px),
        linear-gradient(-120deg, rgba(15, 23, 42, 0.5) 0, rgba(15, 23, 42, 0.5) 1px, transparent 1px);
    background-size: 38px 38px;
    mix-blend-mode: soft-light;
    transform: translate3d(0, 0, 0) rotate(2deg);
    animation: teamGridDrift 34s linear infinite;
}

/* mekani glow iz ćoškova */
.section.team::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 100%, rgba(249, 115, 22, 0.26), transparent 60%),
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.24), transparent 60%);
    opacity: 0.9;
    mix-blend-mode: screen;
    pointer-events: none;
}

@keyframes teamGridDrift {
    0% {
        transform: translate3d(0, 0, 0) rotate(2deg);
    }
    50% {
        transform: translate3d(-18px, -12px, 0) rotate(2deg);
    }
    100% {
        transform: translate3d(10px, 16px, 0) rotate(2deg);
    }
}

/* centralni “forge panel” oko celog tima */

.team-shell {
    position: relative;
    z-index: 1;
    border-radius: 2rem;
    padding: 2.5rem 2.4rem 2.6rem;
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.34), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.26), transparent 65%),
        rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(15, 23, 42, 1);
    box-shadow:
        0 26px 80px rgba(15, 23, 42, 1),
        0 0 0 1px rgba(15, 23, 42, 1);
    overflow: hidden;
}

/* vatreni okvir oko panela */

.team-shell::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.5px;
    background:
        conic-gradient(
            from 200deg,
            rgba(249, 115, 22, 0.2),
            rgba(250, 204, 21, 0.9),
            rgba(249, 115, 22, 0.98),
            rgba(236, 72, 153, 0.95),
            rgba(56, 189, 248, 0.9),
            rgba(249, 115, 22, 0.2)
        );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.55;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: teamShellGlow 14s linear infinite;
}

@keyframes teamShellGlow {
    0% {
        opacity: 0.35;
        transform: rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: rotate(3deg);
    }
    100% {
        opacity: 0.45;
        transform: rotate(-2deg);
    }
}




/*! © 2025 Zmenix Forge. All rights reserved. */


/* Let fire be visible behind the team */
.section.team {
    position: relative;
    padding-top: 5.2rem;
    padding-bottom: 5.4rem;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.18), transparent 55%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.16), transparent 55%),
        rgba(2, 6, 23, 0);  /* was #020617 (fully opaque) */
    overflow: hidden;
}






/* HEADER unutar tima */

.section.team .section-header {
    text-align: left;
    max-width: 640px;
    margin: 0 0 2.2rem;
}

.section.team .eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent-soft);
    opacity: 0.9;
    margin-bottom: 0.35rem;
}

.section.team .section-header h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: linear-gradient(120deg, #f5a742, #e85a19, #ff3e00, #fb7185, #a855f7);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brush-gradient-move 9s ease-in-out infinite;
}

.section.team .section-subtitle {
    margin: 0;
    max-width: 540px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* LAYOUT - levo intro, desno kartice */

.team-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 2.7rem;
    align-items: flex-start;
}

/* Intro tekst */

.team-intro {
    max-width: 520px;
    font-size: 0.94rem;
    color: var(--text-muted);
}

.team-intro-text {
    margin-bottom: 1rem;
}

.team-intro-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.9rem;
}

.team-intro-list li {
    position: relative;
    padding-left: 1.1rem;
}

.team-intro-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.02rem;
    color: var(--accent-soft);
    font-size: 0.9rem;
}

/* GRID kartica - centrirano, da ne lepe ivice */

.section.team .team-grid {
    max-width: 900px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.7rem;
}

/* KARTICE - phoenix okvir + lebdenje */

.team-card {
    position: relative;
    border-radius: 1.7rem;
    padding: 1.7rem 1.6rem 1.5rem;
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.3), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.26), transparent 65%),
        rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(15, 23, 42, 1);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.95);
    overflow: hidden;
    transform: translateY(0);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease;
    animation: teamCardFloat 16s ease-in-out infinite alternate;
}

/* unutrašnji sadržaj da se odvoji od glow-a */

.team-inner {
    position: relative;
    z-index: 2;
}

/* konični border oko kartice */

.team-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1.2px;
    background:
        conic-gradient(
            from 210deg,
            rgba(249, 115, 22, 0.12),
            rgba(250, 204, 21, 0.8),
            rgba(249, 115, 22, 0.95),
            rgba(236, 72, 153, 0.9),
            rgba(56, 189, 248, 0.85),
            rgba(249, 115, 22, 0.12)
        );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.4;
    mix-blend-mode: screen;
    pointer-events: none;
}

.team-card:hover {
    animation: none; /* stop floating dok je hover */
    transform: translateY(-10px);
    box-shadow:
        0 30px 90px rgba(15, 23, 42, 1),
        0 0 30px rgba(249, 115, 22, 0.7);
    border-color: rgba(250, 204, 21, 0.95);
}

/* plutanje kartica u idle modu */

@keyframes teamCardFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(-8px);
    }
}

/* GLOW pozadina iza članova */

.team-glow {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.38), transparent 60%),
        radial-gradient(circle at 120% 120%, rgba(56, 189, 248, 0.3), transparent 60%);
    opacity: 0.55;
    mix-blend-mode: screen;
    pointer-events: none;
    filter: blur(18px);
    animation: teamGlowPulse 9s ease-in-out infinite alternate;
}

.team-glow--orange {
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.55), transparent 60%),
        radial-gradient(circle at 120% 120%, rgba(251, 191, 36, 0.3), transparent 60%);
}

.team-glow--cyan {
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.55), transparent 60%),
        radial-gradient(circle at 120% 120%, rgba(249, 115, 22, 0.28), transparent 60%);
}

.team-glow--purple {
    background:
        radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.6), transparent 60%),
        radial-gradient(circle at 120% 120%, rgba(249, 115, 22, 0.3), transparent 60%);
}

@keyframes teamGlowPulse {
    0% {
        filter: blur(20px);
        opacity: 0.45;
    }
    50% {
        filter: blur(14px);
        opacity: 0.9;
    }
    100% {
        filter: blur(20px);
        opacity: 0.55;
    }
}

/* HEADER unutar kartice */

.team-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.team-avatar-ring {
    width: 66px;
    height: 66px;
    border-radius: 999px;
    padding: 2px;
    background: conic-gradient(
        from 210deg,
        rgba(249, 115, 22, 0.95),
        rgba(250, 204, 21, 0.95),
        rgba(56, 189, 248, 0.95),
        rgba(129, 140, 248, 0.95),
        rgba(249, 115, 22, 0.95)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 25px rgba(249, 115, 22, 0.8),
        0 0 40px rgba(15, 23, 42, 1);
}

.team-avatar {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: radial-gradient(circle at 30% 10%, rgba(248, 250, 252, 0.92), rgba(15, 23, 42, 0.98));
    color: #0f172a;
}

/* specifični avatari */

.team-avatar--jovan {
    background: radial-gradient(circle at 20% 0%, rgba(249, 115, 22, 0.98), rgba(15, 23, 42, 0.98));
}

.team-avatar--stefan {
    background: radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.98), rgba(15, 23, 42, 0.98));
}

.team-avatar--fica {
    background: radial-gradient(circle at 20% 0%, rgba(129, 140, 248, 0.98), rgba(15, 23, 42, 0.98));
}

.team-name {
    margin: 0 0 0.12rem;
    font-size: 1.06rem;
}

.team-role {
    margin: 0;
    font-size: 0.86rem;
    color: var(--accent-soft);
}

/* BIO + tagovi + linkovi */

.team-bio {
    margin: 0.25rem 0 0.9rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.7rem 0 1rem;
    padding: 0;
    list-style: none;
}

.team-tags li {
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.9);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.9),
        0 8px 18px rgba(15, 23, 42, 0.9);
}

.team-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    font-size: 0.86rem;
}

.team-links a {
    color: var(--accent-soft);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.05rem;
}

.team-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.16rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #facc15, #fb7185);
    transition: width 0.28s ease;
}

.team-links a:hover::after {
    width: 100%;
}

/* LIGHT TEMA */

:root.theme-light .section.team {
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), transparent 55%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 55%),
        #f9fafb;
}

:root.theme-light .team-shell {
    background:
        radial-gradient(circle at -10% 0, rgba(249, 115, 22, 0.2), #ffffff);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
    border-color: rgba(148, 163, 184, 0.3);
}

:root.theme-light .team-card {
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.15), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.12), transparent 60%),
        #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

:root.theme-light .team-tags li {
    background: rgba(248, 250, 252, 0.96);
    border-color: rgba(148, 163, 184, 0.5);
    color: #0f172a;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .team-shell {
        padding: 2rem 1.8rem 2.2rem;
    }

    .team-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.2rem;
    }

    .section.team .team-grid {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .team-shell {
        padding: 1.8rem 1.4rem 2rem;
        border-radius: 1.6rem;
    }

    .team-card {
        padding: 1.5rem 1.4rem 1.4rem;
        border-radius: 1.5rem;
    }

    .team-header {
        gap: 0.8rem;
    }

    .team-avatar-ring {
        width: 58px;
        height: 58px;
    }

    .section.team .section-header {
        margin-bottom: 1.8rem;
    }
}









/* ========== CONTACT CTA ========== */

.contact-cta {
    padding-bottom: 4rem;
}

.contact-cta-inner {
    border-radius: var(--radius-xl);
    padding: 2.3rem 2rem;
    background: radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.2), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(249, 115, 22, 0.6);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.9);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 1.75rem;
    align-items: center;
    justify-content: space-between;
}

:root.theme-light .contact-cta-inner {
    background: radial-gradient(circle at -10% 0, rgba(56, 189, 248, 0.16), #ffffff);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.contact-cta-text h2 {
    margin: 0 0 0.4rem;
    font-size: 1.6rem;
}

.contact-cta-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 460px;
}

.contact-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}




/* ========== FOOTER - BRUSHSTROKE FIRE ========== */

.site-footer {
    position: relative;
    padding: 2.6rem 0 2.9rem;
    font-size: 0.85rem;
    color: rgba(226, 232, 240, 0.9);
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 120%, rgba(249, 115, 22, 0.45), transparent 65%),
        radial-gradient(circle at -10% -40%, rgba(248, 113, 113, 0.16), transparent 60%),
        radial-gradient(circle at 110% -20%, rgba(129, 140, 248, 0.18), transparent 60%),
        var(--bg);
    border-top: 1px solid rgba(15, 23, 42, 1);
    box-shadow: 0 -20px 45px rgba(15, 23, 42, 0.9);
}

/* subtle grid above fire */

.site-footer::before {
    content: "";
    position: absolute;
    inset: -30%;
    background-image:
        linear-gradient(120deg, rgba(15, 23, 42, 0.7) 0, rgba(15, 23, 42, 0.7) 1px, transparent 1px),
        linear-gradient(-120deg, rgba(15, 23, 42, 0.7) 0, rgba(15, 23, 42, 0.7) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.22;
    mix-blend-mode: soft-light;
    transform: rotate(2deg);
    animation: footerGridDrift 32s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* animated fire canvas at bottom */
/*
.footer-fire-layer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 220px;
    pointer-events: none;
    z-index: 0;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

#footer-fire-canvas {
    width: 100%;
    height: 100%;
    display: block;
}*/

/* layout */

.footer-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem 1.8rem;
}

/* left side - logo + note + copy */

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-logo-lockup {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.footer-logo-title {
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: linear-gradient(120deg, #f5a742, #e85a19, #ff3e00, #fb7185, #a855f7);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brush-gradient-move 9s ease-in-out infinite;
}

.footer-logo-note {
    font-size: 0.82rem;
    color: rgba(148, 163, 184, 0.92);
    max-width: 420px;
}

.footer-copy {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.98);
}

/* right side - links */

.footer-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: rgba(148, 163, 184, 0.95);
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.06rem;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.14rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #facc15, #fb7185);
    transition: width 0.25s ease;
}

.footer-links a:hover::after {
    width: 100%;
}







/* Fiery transition into the footer */
.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -2.4rem;
    height: 2.4rem;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 100%, rgba(249, 115, 22, 0.0) 0, rgba(249, 115, 22, 0.5) 40%, rgba(249, 115, 22, 0) 75%),
        radial-gradient(circle at 85% 100%, rgba(244, 114, 182, 0.0) 0, rgba(244, 114, 182, 0.45) 40%, rgba(244, 114, 182, 0) 75%);
    opacity: 0.9;
    mix-blend-mode: screen;
    filter: blur(4px);
}





/*! © 2025 Zmenix Forge. All rights reserved. */






/* TEAM + FOOTER share the same fire background */
.forge-fire-strip {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(248, 250, 252, 0.06) 0, transparent 55%),
        radial-gradient(circle at bottom, rgba(251, 191, 36, 0.16) 0, transparent 60%),
        var(--bg);
}

/* Single, shared fire layer for team + footer */
.forge-fire-strip .footer-fire-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    /* if mask gives you trouble, you can comment out these two lines */
    mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.7) 35%,
        rgba(0, 0, 0, 0.0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.7) 35%,
        rgba(0, 0, 0, 0.0) 100%
    );
}

.forge-fire-strip #footer-fire-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* content (team + footer) sits above fire */
.forge-fire-strip > *:not(.footer-fire-layer) {
    position: relative;
    z-index: 1;
}

/* footer chrome */
.site-footer {
    background: transparent;
    backdrop-filter: blur(6px);
}















/* light theme */

:root.theme-light .site-footer {
    background:
        radial-gradient(circle at 50% 120%, rgba(249, 115, 22, 0.23), transparent 65%),
        radial-gradient(circle at -10% -40%, rgba(248, 113, 113, 0.08), transparent 60%),
        radial-gradient(circle at 110% -20%, rgba(129, 140, 248, 0.12), transparent 60%),
        #f9fafb;
    border-top-color: rgba(226, 232, 240, 0.9);
    box-shadow: 0 -14px 32px rgba(15, 23, 42, 0.12);
}

:root.theme-light .footer-logo-note {
    color: rgba(75, 85, 99, 0.9);
}

:root.theme-light .footer-copy {
    color: rgba(107, 114, 128, 0.98);
}

:root.theme-light .footer-links {
    color: rgba(75, 85, 99, 0.95);
}

/* animations & responsive */

@keyframes footerGridDrift {
    0% {
        transform: translate3d(0, 0, 0) rotate(2deg);
    }
    50% {
        transform: translate3d(-14px, -10px, 0) rotate(2deg);
    }
    100% {
        transform: translate3d(10px, 8px, 0) rotate(2deg);
    }
}

@media (max-width: 800px) {
    .footer-inner {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 2.2rem 0 2.5rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-links {
        font-size: 0.8rem;
    }
}







/* FIRE WAVE NA VRHU FOOTERA */

.footer-bubbles {
    position: absolute;
    top: -3rem;
    left: 0;
    right: 0;
    height: 6rem;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.footer-bubble {
    position: absolute;
    bottom: -2.5rem;
    width: 42vw;
    max-width: 420px;
    height: 170px;
    border-radius: 50% 50% 45% 45%;
    background:
        radial-gradient(circle at 50% 90%, rgba(252, 211, 77, 0.95), rgba(249, 115, 22, 0.95) 45%, transparent 70%),
        radial-gradient(circle at 20% 10%, rgba(248, 250, 252, 0.35), transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(252, 165, 165, 0.55), transparent 60%);
    filter: blur(8px);
    opacity: 0.85;
    mix-blend-mode: screen;
    animation: footerFlame 8s ease-in-out infinite alternate;
}

/* levo, sredina, desno “jezici vatre” */

.footer-bubble--1 {
    left: -4%;
    transform-origin: 20% 100%;
    animation-duration: 9s;
}

.footer-bubble--2 {
    left: 32%;
    max-width: 460px;
    height: 190px;
    transform-origin: 50% 100%;
    animation-duration: 11s;
    animation-delay: 0.6s;
}

.footer-bubble--3 {
    right: -4%;
    transform-origin: 80% 100%;
    animation-duration: 8s;
    animation-delay: 1.2s;
}

@keyframes footerFlame {
    0% {
        transform: translateY(6px) scaleX(1.02) scaleY(0.93);
        opacity: 0.7;
    }
    35% {
        transform: translateY(0) scaleX(1.04) scaleY(1.02);
        opacity: 0.9;
    }
    70% {
        transform: translateY(-4px) scaleX(1.08) scaleY(1.08);
        opacity: 0.95;
    }
    100% {
        transform: translateY(2px) scaleX(1.02) scaleY(0.98);
        opacity: 0.8;
    }
}





/* ========== REVEAL ON SCROLL ========== */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 420ms ease-out,
        transform 420ms ease-out;
}

.reveal-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
    .nav-center {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual {
        order: -1;
    }

    .scroll-hint {
        position: static;
        margin-top: 2.5rem;
    }

    .contact-cta-inner {
        padding: 1.75rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3.5rem 0;
    }

    .hero {
        padding-top: 3.5rem;
    }

    .contact-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-links a:hover {
    color: var(--accent-soft);
}











/* === PROJECTS CTA - PHOENIX PILL === */

.projects-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 2.4rem;
}

/* fiery frame around both buttons */
.projects-cta.projects-cta--flame {
    position: relative;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(249, 115, 22, 0.78); /* no more white */
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.2), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(251, 113, 133, 0.24), transparent 60%),
        rgba(15, 23, 42, 0.97);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 1),
        0 22px 60px rgba(15, 23, 42, 0.95),
        0 0 42px rgba(249, 115, 22, 0.55);
}

.projects-cta.projects-cta--flame::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
        from 0deg,
        #f97316,
        #fb7185,
        #facc15,
        #f97316
    );
    opacity: 0.45;
    filter: blur(6px);
    z-index: -1;
    animation: ctaBorderGlow 10s ease-in-out infinite alternate;
}

/* buttons inside - keep the phoenix theme */
.projects-cta .btn {
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* main "Iskuj svoj projekat" */
.projects-cta .btn-primary {
    border: none;
    background: linear-gradient(120deg, #f97316, #fb7185, #facc15);
    background-size: 220% 220%;
    box-shadow:
        0 0 18px rgba(249, 115, 22, 0.85),
        0 0 36px rgba(248, 250, 252, 0.3);
    animation: brush-gradient-move 6s ease-in-out infinite;
}

.projects-cta .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 24px rgba(249, 115, 22, 1),
        0 0 52px rgba(248, 250, 252, 0.45);
}

/* secondary "Vidi sve projekte" - ghost but not boring */
.projects-cta .btn-ghost {
    border: 1px solid rgba(249, 115, 22, 0.78); /* override white/gray */
    background: radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.22), transparent 65%);
    color: #e5e7eb;
}

.projects-cta .btn-ghost:hover {
    border-color: rgba(248, 250, 252, 0.95);
    background: radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.38), transparent 70%);
    color: #f9fafb;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.7);
}

/* soft animated glow for the border */
@keyframes ctaBorderGlow {
    0% {
        opacity: 0.3;
        transform: rotate(0deg);
    }
    50% {
        opacity: 0.85;
        transform: rotate(3deg);
    }
    100% {
        opacity: 0.4;
        transform: rotate(-2deg);
    }
}

















/* ================= HERO INTRO VIDEO ================= */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 6.5rem 0 4rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    filter: saturate(1.25) contrast(1.1);
    transition: transform 7s ease, filter 1.4s ease;
}

.hero-video--dimmed {
    transform: scale(1.02);
    filter: saturate(1.05) contrast(1.0) brightness(0.75);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1), rgba(1, 7, 18, 0.96));
    transition: background 1.2s ease;
}

.hero-video-overlay--dim {
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.55), rgba(1, 7, 18, 0.98));
}



/* Phoenix-style hero control buttons */
.hero-skip,
.hero-audio-toggle {
    position: absolute;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    padding: 0.45rem 1.1rem;
    border-radius: 999px;

    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;

    color: #f9fafb;
    border: 1px solid rgba(251, 191, 36, 0.8); /* golden border */

    /* Fiery glass gradient */
    background:
        radial-gradient(circle at 0 0, rgba(251, 113, 133, 0.55), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(245, 158, 11, 0.55), transparent 55%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.9));

    box-shadow:
        0 0 16px rgba(15, 23, 42, 0.7),
        0 0 28px rgba(249, 115, 22, 0.55),
        0 0 40px rgba(245, 158, 11, 0.35);

    backdrop-filter: blur(14px);
    cursor: pointer;

    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.25s ease,
        opacity 0.2s ease;
}

/* Positioning: skip top-right, audio bottom-left */
.hero-skip {
    top: 1.5rem;
    right: 1.75rem;
}

.hero-audio-toggle {
    bottom: 1.5rem;
    left: 1.75rem;
}

/* Hover states */
.hero-skip:hover,
.hero-audio-toggle:hover {
    transform: translateY(-1px) scale(1.02);
    border-color: rgba(252, 211, 77, 1);
    background:
        radial-gradient(circle at 0 0, rgba(251, 113, 133, 0.7), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(245, 158, 11, 0.7), transparent 55%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.96));

    box-shadow:
        0 0 18px rgba(15, 23, 42, 0.8),
        0 0 36px rgba(249, 115, 22, 0.7),
        0 0 52px rgba(245, 158, 11, 0.5);
}

.hero-skip:active,
.hero-audio-toggle:active {
    transform: translateY(0) scale(0.97);
    box-shadow:
        0 0 10px rgba(15, 23, 42, 0.7),
        0 0 22px rgba(249, 115, 22, 0.55);
}





/* Speaker icons */
.hero-audio-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 1rem;
}

/* Start with muted icon visible */
.hero-audio-toggle__icon--unmuted {
    display: none;
}

/* When JS adds .hero-audio-toggle--on, swap icons */
.hero-audio-toggle--on .hero-audio-toggle__icon--muted {
    display: none;
}

.hero-audio-toggle--on .hero-audio-toggle__icon--unmuted {
    display: inline-flex;
}

/* Subtle "listen" pulse for audio button when OFF */
.hero-audio-toggle {
    animation: hero-audio-pulse 2.3s ease-in-out infinite alternate;
}

.hero-audio-toggle--on {
    animation: none; /* once user turns it on, stop pulsing */
}

/* Fade-out when intro is finished (JS adds this class) */
.hero-audio-toggle--hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
}

/* Pulse keyframes */
@keyframes hero-audio-pulse {
    from {
        box-shadow:
            0 0 14px rgba(15, 23, 42, 0.7),
            0 0 24px rgba(249, 115, 22, 0.45);
    }
    to {
        box-shadow:
            0 0 18px rgba(15, 23, 42, 0.8),
            0 0 38px rgba(249, 115, 22, 0.7),
            0 0 54px rgba(245, 158, 11, 0.55);
    }
}




@media (max-width: 768px) {
    .hero-skip,
    .hero-audio-toggle {
        padding: 0.35rem 0.85rem;
        font-size: 0.7rem;
        letter-spacing: 0.09em;
    }

    .hero-skip {
        top: 1rem;
        right: 1rem;
    }

    .hero-audio-toggle {
        bottom: 1rem;
        left: 1rem;
    }
}









/* Layout of hero content vs visual */
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-grid-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Disable reveal-on-scroll for hero to avoid weird double animations */
.hero .reveal-on-scroll {
    opacity: 1;
    transform: none;
}

.hero-content {
    position: relative;
}

.hero-visual {
    position: relative;
    justify-self: center;
}

/* Phoenix orb re-tuned for big WOW image */
.phoenix-orb {
    position: relative;
    width: min(480px, 90vw);
    aspect-ratio: 4 / 3;
    border-radius: 40px;
    background: radial-gradient(circle at 30% 20%, rgba(248, 250, 252, 0.12), transparent 55%),
                radial-gradient(circle at 70% 80%, rgba(249, 115, 22, 0.18), transparent 60%),
                rgba(10, 16, 30, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.9);
    overflow: hidden;
}

.phoenix-illustration,
.phoenix-loop-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 3.5s ease;
}

.hero-visual:hover .phoenix-illustration,
.hero-visual:hover .phoenix-loop-video {
    transform: scale(1.12);
}

.phoenix-core {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 70%, rgba(249, 115, 22, 0.32), transparent 70%);
    mix-blend-mode: screen;
}

/* Simple floating flames */
.phoenix-flame {
    position: absolute;
    width: 42%;
    height: 42%;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 0%, rgba(251, 191, 36, 0.9), transparent 60%);
    opacity: 0.25;
    mix-blend-mode: screen;
    filter: blur(14px);
    animation: phoenixFlame 7s ease-in-out infinite alternate;
}

.phoenix-flame-1 {
    top: -6%;
    left: -4%;
}

.phoenix-flame-2 {
    bottom: -12%;
    right: -6%;
    animation-delay: 1.2s;
}

.phoenix-flame-3 {
    top: 40%;
    right: -10%;
    animation-delay: 2.4s;
}

@keyframes phoenixFlame {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.2;
    }
    100% {
        transform: translate3d(-10px, -12px, 0) scale(1.12);
        opacity: 0.35;
    }
}

.hero-visual-caption {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Scroll hint - hidden at first, fades in after intro */
.scroll-hint {
    position: absolute;
    right: 2.5rem;
    bottom: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

.scroll-hint--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


.scroll-hint-circle {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.3), transparent 70%),
                rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9), 0 18px 40px rgba(15, 23, 42, 0.9);
    position: relative;
    overflow: hidden;
}

.scroll-arrow {
    font-size: 1.3rem;
    animation: scrollArrowBounce 1.6s infinite;
}

@keyframes scrollArrowBounce {
    0%, 100% {
        transform: translateY(-2px);
    }
    50% {
        transform: translateY(4px);
    }
}

.scroll-hint::after {
    /* remove the long line by default */
    content: none;
}

.scroll-hint:hover .scroll-hint-circle {
    border-color: rgba(249, 115, 22, 1);
}

/* ================= QUICK LINK CARDS HOVER FIX ================= */

.quick-link-card,
.quick-link-card-alt {
    position: relative;
    border-radius: 1.8rem;
    overflow: hidden; /* important: clips glow so it isn’t square outside */
}

.quick-link-card::before,
.quick-link-card-alt::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.5), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: -1;
}

.quick-link-card:hover::before,
.quick-link-card-alt:hover::before {
    opacity: 1;
}






















/* Reserve space for fixed header globally */
body {
    padding-top: var(--nav-height);
}

/* Hero starts behind the header so video fills full viewport */
#hero {
    margin-top: calc(-1 * var(--nav-height));
}












/* Hero layout refinements */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 5rem 0 3.5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero .container {
    width: min(1160px, 100% - 3.5rem);  /* more breathing room from the left */
}

/* Grid: more space for the phoenix on the right */
.hero-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr); /* more space for text */
    gap: 3rem;
    align-items: center;
}


.hero-content {
    max-width: 48rem;
}

/* Right side - phoenix card */
.hero-visual {
    justify-self: flex-end;
}

/* Make the phoenix video noticeably larger */
.phoenix-orb {
    width: min(580px, 95vw);
    aspect-ratio: 16 / 9;
}

/* Responsive tweaks */
@media (max-width: 900px) {
    .hero {
        padding-top: 4.5rem;
    }

    .hero .container {
        width: min(100%, 100% - 2rem);
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .hero-visual {
        justify-self: center;
    }

    .hero-content {
        max-width: 100%;
    }
}

















/* ===== TEAM LAYOUT UPGRADE ===== */

.team-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: start;
    margin-top: 2.25rem;
}

.team-intro {
    max-width: 540px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.team-intro-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.team-intro-list li::before {
    content: "•";
    margin-right: 0.35rem;
    color: var(--accent-soft);
}

.team-intro-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* centrira kartice da ne lepe ivice */

.section.team .team-grid {
    max-width: 900px;
    margin-inline: auto;
}

/* dodatne animacije kartica i glow-a */

.team-card {
    animation: teamCardFloat 16s ease-in-out infinite alternate;
}

.team-card:nth-child(2) {
    animation-delay: 0.6s;
}

.team-card:nth-child(3) {
    animation-delay: 1.1s;
}

.team-glow {
    animation: teamGlowPulse 8s ease-in-out infinite alternate;
}

@keyframes teamCardFloat {
    0% {
        transform: translateY(0) translateZ(0);
    }
    50% {
        transform: translateY(-4px) translateZ(0);
    }
    100% {
        transform: translateY(-8px) translateZ(0);
    }
}

@keyframes teamGlowPulse {
    0% {
        filter: blur(18px);
        opacity: 0.5;
    }
    50% {
        filter: blur(14px);
        opacity: 0.9;
    }
    100% {
        filter: blur(18px);
        opacity: 0.6;
    }
}

/* tagovi ispod bio teksta */

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.8rem 0 1rem;
    padding: 0;
    list-style: none;
}

.team-tags li {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.9);
}

:root.theme-light .team-tags li {
    background: rgba(248, 250, 252, 0.95);
    border-color: rgba(148, 163, 184, 0.4);
    color: #0f172a;
}

@media (max-width: 900px) {
    .team-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section.team .team-grid {
        max-width: 100%;
    }
}





/* HERO CTA - full fire mode */
.hero-cta .btn-primary,
.btn-primary.btn-fire {
    background: radial-gradient(circle at 0% 0%,
        #f97316,
        #ea580c 40%,
        #b91c1c 75%,
        #7f1d1d 100%);
    box-shadow:
        0 0 18px rgba(249, 115, 22, 0.7),
        0 0 40px rgba(220, 38, 38, 0.6);
    border-color: rgba(248, 250, 252, 0.08);
}

.hero-cta .btn-primary::before,
.btn-primary.btn-fire::before {
    background: conic-gradient(
        from 210deg,
        rgba(249, 115, 22, 0.35),
        rgba(254, 215, 170, 0.2),
        rgba(248, 113, 113, 0.55),
        rgba(234, 88, 12, 0.8),
        rgba(249, 115, 22, 0.35)
    );
}

.hero-cta .btn-primary:hover,
.btn-primary.btn-fire:hover {
    box-shadow:
        0 0 25px rgba(249, 115, 22, 0.95),
        0 0 60px rgba(248, 113, 113, 0.8);
    transform: translateY(-1px) scale(1.02);
}

/* Ghost button - ember outline */
.hero-cta .btn-ghost,
.btn-ghost.btn-ghost--fire {
    border-color: rgba(249, 115, 22, 0.85);
    color: #fed7aa;
}

.hero-cta .btn-ghost:hover,
.btn-ghost.btn-ghost--fire:hover {
    background: radial-gradient(circle at 0% 0%,
        rgba(249, 115, 22, 0.18),
        rgba(127, 29, 29, 0.9));
    color: #fff7ed;
    box-shadow:
        0 0 18px rgba(249, 115, 22, 0.6),
        0 0 40px rgba(127, 29, 29, 0.75);
}




















/* Hero phoenix orb with 3D model */
/* Orb wrapper */
.hero-visual .phoenix-orb {
    position: relative;
    width: min(420px, 70vw);
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background:
        radial-gradient(circle at 30% 15%, rgba(254, 215, 170, 0.35), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(248, 113, 113, 0.4), transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.25), rgba(88, 28, 135, 0.9));
    box-shadow:
        0 0 40px rgba(249, 115, 22, 0.55),
        0 0 90px rgba(59, 7, 100, 0.75);
}

/* glowing core - only visual, no mouse events */
.phoenix-core {
    position: absolute;
    inset: 14%;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 40%,
        #fed7aa,
        #f97316 55%,
        #7f1d1d 100%);
    filter: blur(2px);
    opacity: 0.95;
    pointer-events: none;
}

/* 3D phoenix - this should receive the mouse */
.phoenix-model {
    position: relative;
    width: 130%;
    height: 130%;
    transform: translateY(4%);
    --poster-color: transparent;
    z-index: 2;
    pointer-events: auto;
}

/* Decorative rings & flares - ignore clicks */
.hero-visual .phoenix-orbit,
.hero-visual .phoenix-flare {
    position: absolute;
    border-radius: inherit;
    pointer-events: none;
}

.hero-visual .phoenix-orbit {
    border: 1px solid rgba(251, 146, 60, 0.7);
}

.hero-visual .phoenix-flare {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: radial-gradient(circle,
        #fed7aa,
        rgba(248, 113, 113, 0.1));
    box-shadow: 0 0 40px rgba(248, 250, 252, 0.9);
}


.hero-visual .phoenix-orbit--inner {
    inset: 8%;
    border-style: dotted;
    border-color: rgba(251, 191, 36, 0.8);
}

.hero-visual .phoenix-orbit--outer {
    inset: -6%;
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 0 32px rgba(248, 113, 113, 0.7);
}

.hero-visual .phoenix-flare {
    position: absolute;
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: radial-gradient(circle,
        #fed7aa,
        rgba(248, 113, 113, 0.1));
    box-shadow: 0 0 40px rgba(248, 250, 252, 0.9);
}

.hero-visual .phoenix-flare--top {
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
}

.hero-visual .phoenix-flare--right {
    right: -4%;
    top: 55%;
}

.hero-visual .phoenix-caption {
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fee2e2;
}

@media (max-width: 768px) {
    .hero-visual {
        order: -1;
        margin-bottom: 1.75rem;
    }
}




/*! © 2025 Zmenix Forge. All rights reserved. */


/* Hero top line + main title in phoenix gradient */
.hero-badge,
.hero-title {
    background: linear-gradient(120deg, #f5a742, #e85a19, #ff3e00, #fb7185, #a855f7);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brush-gradient-move 7s ease-in-out infinite;
}

/* Make subtitle + bullets warm instead of ice-white */
.hero-subtitle {
    color: #fee2e2;
}

.hero-bullets li {
    color: #fed7aa;
}





/* ========== PHOENIX HEADER & NAV ========== */

.site-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 40;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    backdrop-filter: blur(22px);
    background:
        radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.70), transparent 58%),
        radial-gradient(circle at 100% 0%, rgba(248, 113, 113, 0.55), transparent 60%),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
    border-bottom: 1px solid rgba(248, 250, 252, 0.06);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.9),
        0 0 40px rgba(15, 23, 42, 0.7);
    transition:
        transform 280ms ease-out,
        opacity 280ms ease-out,
        box-shadow 220ms ease-out,
        background 220ms ease-out;
}

.site-header::after {
    content: "";
    position: absolute;
    inset-inline: 7%;
    bottom: -1px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #fb7185, #a855f7, #f97316);
    opacity: 0.85;
    box-shadow:
        0 0 18px rgba(248, 113, 113, 0.75),
        0 0 35px rgba(249, 115, 22, 0.9);
    pointer-events: none;
}

/* still used by intro logic */
.site-header.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    gap: 1.5rem;
}


/* Brand */
.brand {
    display: inline-flex;
    align-items: center;
    /*gap: 0.85rem;*/
    text-decoration: none;
    color: inherit;
}

/* Brand logo - no orb, just logo with glow */
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;

    /* kill the circle */
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.brand-mark::after {
    content: none; /* remove inner border / cube feel */
}

.brand-logo {
    height: 40px;      /* tweak if you want it bigger/smaller */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(249, 115, 22, 0.85));
}


.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-tagline {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    /*color: #f97316;*/
}

/* Nav links */
.nav-center {
    flex: 1;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    font-size: 0.9rem;
}

.nav-links a {
    position: relative;
    padding: 0.25rem 0;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 160ms ease-out, transform 160ms ease-out;
}

.nav-links a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -0.24rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #fb7185, #a855f7);
    transform-origin: center;
    transform: scaleX(0);
    box-shadow: 0 0 12px rgba(248, 113, 113, 0.8);
    transition: transform 180ms ease-out;
}

.nav-links a::before {
    content: "";
    position: absolute;
    top: -0.4rem;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle, #fed7aa, #f97316);
    opacity: 0;
    transform: translateX(-4px) scale(0.4);
    transition:
        opacity 180ms ease-out,
        transform 200ms ease-out;
}

.nav-links a:hover {
    color: #fefce8;
    transform: translateY(-1px);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a:hover::before {
    opacity: 1;
    transform: translateX(-2px) scale(1);
}

/* Right side: language + burger */
.nav-right {
    margin-left: auto;
    gap: 0.85rem;
}

/* Language switch */
.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.7);
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.5), transparent 65%),
        radial-gradient(circle at 100% 100%, rgba(248, 113, 113, 0.5), transparent 65%),
        rgba(15, 23, 42, 0.96);
    box-shadow:
        0 0 14px rgba(248, 113, 113, 0.65),
        0 0 22px rgba(15, 23, 42, 0.9);
}

.lang-btn {
    border: none;
    background: transparent;
    color: #fed7aa;
    font-size: 0.72rem;
    padding: 0.18rem 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    cursor: pointer;
    border-radius: 999px;
    transition:
        background 150ms ease-out,
        color 150ms ease-out,
        box-shadow 150ms ease-out,
        transform 150ms ease-out;
}

.lang-btn.is-active {
    background: linear-gradient(135deg, #f97316, #fb7185, #a855f7);
    color: #0b1020;
    box-shadow:
        0 0 14px rgba(249, 115, 22, 0.9),
        0 0 26px rgba(248, 113, 113, 0.9);
    transform: translateY(-1px);
}

/* Phoenix burger */
.nav-toggle {
    display: none;
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.7);
    background:
        radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.7), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(251, 113, 133, 0.6), transparent 60%),
        rgba(15, 23, 42, 0.98);
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 16px rgba(249, 115, 22, 0.7),
        0 0 32px rgba(248, 113, 113, 0.8);
    transition:
        box-shadow 180ms ease-out,
        transform 180ms ease-out,
        border-color 180ms ease-out;
}




/* Mobile overlay behind menu */
.nav-mobile-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.4), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.85), transparent 60%),
        rgba(15, 23, 42, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease-out;
    z-index: 10;
}

.site-header.nav-open .nav-mobile-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* ========== RESPONSIVE NAV ========== */

@media (max-width: 960px) {
    .nav {
        gap: 0.75rem;
    }

    .nav-center {
        position: fixed;
        inset-inline: 0;
        top: var(--nav-height);
        justify-content: center;
        z-index: 20;
        pointer-events: none;
    }

    .nav-links {
        width: min(480px, 100% - 1.6rem);
        margin-inline: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.4rem 1.7rem 1.6rem;
        border-radius: 1.6rem;
        border: 1px solid rgba(248, 113, 113, 0.7);
        background:
            radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.7), transparent 65%),
            radial-gradient(circle at 100% 100%, rgba(251, 113, 133, 0.7), transparent 65%),
            rgba(15, 23, 42, 0.98);
        box-shadow:
            0 24px 60px rgba(15, 23, 42, 0.95),
            0 0 30px rgba(249, 115, 22, 0.7);
        transform-origin: top;
        transform: translateY(-18px) scaleY(0.85);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .site-header.nav-open .nav-links {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scaleY(1);
    }

    .nav-right {
        gap: 0.5rem;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .brand-tagline {
        display: none;
    }

    .brand-name {
        font-size: 0.9rem;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }
}
















/* ========== HEADER TWEAKS: LOGO, PADDING, MOBILE NAV ========== */

/* More breathing room left/right inside header only */
.site-header .container {
    width: min(1120px, 100% - 3.5rem);
}

/* Brand: remove orb, just show logo.png with glow */
.site-header .brand-mark {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    padding: 0;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-header .brand-logo {
    display: block;
    width: 64px;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(249, 115, 22, 0.85));
}

/* Pure phoenix gradients (no cyan) for nav underline + active language */
.site-header .nav-links a::after {
    background: linear-gradient(90deg, #f97316, #facc15, #fb7185);
}

.site-header .lang-btn.is-active {
    background:
        radial-gradient(circle at 30% 0%, rgba(248, 250, 252, 0.15), transparent 60%),
        linear-gradient(135deg, #f97316, #facc15, #fb7185);
    color: #0b1020;
    font-weight: 600;
}

/* Base: mobile controls are hidden on desktop */
.nav-toggle {
    display: none;
}

.nav-mobile-overlay {
    display: none;
}

/* ========== MOBILE NAV (max-width: 960px) ========== */
@media (max-width: 960px) {
    /* hide desktop links, show burger */
    .nav-center {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.4rem;
        height: 2.4rem;
        border-radius: 999px;
        border: 1px solid rgba(248, 113, 22, 0.8);
        background:
            radial-gradient(circle at 30% 0, rgba(248, 250, 252, 0.1), transparent 60%),
            rgba(15, 23, 42, 0.95);
        box-shadow:
            0 0 18px rgba(248, 113, 22, 0.7),
            0 0 36px rgba(248, 113, 22, 0.45);
        padding: 0;
        cursor: pointer;
        position: relative;
    }

    



    .nav-toggle.is-open span:first-child {
        transform: rotate(40deg);
    }

    .nav-toggle.is-open span:last-child {
        transform: rotate(-40deg);
    }

    /* Overlay behind mobile panel */
  
    .nav-mobile-panel {
        width: min(320px, 100% - 3rem);
        height: 100%;
        padding: 1.4rem 1.4rem 1.8rem;
        background:
            radial-gradient(circle at top, rgba(249, 115, 22, 0.22), transparent 60%),
            rgba(15, 23, 42, 0.98);
        border-left: 1px solid rgba(248, 113, 22, 0.45);
        box-shadow:
            -18px 0 40px rgba(15, 23, 42, 0.9),
            0 0 24px rgba(248, 113, 22, 0.7);
        transform: translateX(24px);
        transition: transform 220ms ease-out;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }

    .brand-mobile .brand-logo {
        width: 40px;
    }

    .nav-mobile-close {
        width: 32px;
        height: 32px;
        border-radius: 999px;
        border: 1px solid rgba(248, 113, 22, 0.7);
        background: rgba(7, 10, 20, 0.95);
        color: #fefce8;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 0 16px rgba(248, 113, 22, 0.6);
        font-size: 1rem;
    }

    body.nav-open {
        overflow: hidden;
    }
}











/* === HEADER: make logo bigger === */
.site-header .brand-logo {
    display: block;
    width: 64px;      /* <- make bigger/smaller here */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(249, 115, 22, 0.9));
}

@media (max-width: 640px) {
    .site-header .brand-logo {
        width: 48px;  /* a bit smaller on very small phones */
    }
}

/* remove orb/cube behind logo in header */
.site-header .brand-mark {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    padding: 0;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* === FINAL MOBILE NAV OVERRIDE (<= 960px) === */
@media (max-width: 960px) {
    /* hide middle links on mobile, use drawer instead */
    .nav-center {
        display: none;
    }

    /* burger button */
    .nav-toggle {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 999px;
        border: 1px solid rgba(248, 113, 22, 0.85);
        background:
            radial-gradient(circle at 30% 0, rgba(248, 250, 252, 0.12), transparent 60%),
            rgba(15, 23, 42, 0.98);
        box-shadow:
            0 0 18px rgba(248, 113, 22, 0.7),
            0 0 36px rgba(248, 113, 22, 0.4);
        padding: 0;
        cursor: pointer;
        position: relative;
    }

  

   

    /* X animation */
    .nav-toggle.is-open span:first-child {
        transform: translateY(3px) rotate(45deg);
    }

    .nav-toggle.is-open span:last-child {
        transform: translateY(-3px) rotate(-45deg);
    }

    /* dark fiery overlay behind panel */
    .nav-mobile-overlay {
        position: fixed;
        inset: 0;
        display: flex;
        justify-content: flex-end;
        align-items: stretch;
        background:
            radial-gradient(circle at 0 0, rgba(249, 115, 22, 0.25), transparent 55%),
            radial-gradient(circle at 100% 0, rgba(248, 113, 113, 0.25), transparent 55%),
            rgba(15, 23, 42, 0.88);
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms ease-out;
        z-index: 40;
    }

    .nav-mobile-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    /* side panel itself */
    .nav-mobile-panel {
        width: min(320px, 100% - 3rem);
        height: 100%;
        padding: 1.4rem 1.4rem 1.8rem;
        background:
            radial-gradient(circle at top, rgba(249, 115, 22, 0.22), transparent 60%),
            rgba(15, 23, 42, 0.98);
        border-left: 1px solid rgba(248, 113, 22, 0.55);
        box-shadow:
            -18px 0 40px rgba(15, 23, 42, 0.9),
            0 0 24px rgba(248, 113, 22, 0.7);
        transform: translateX(24px);
        transition: transform 220ms ease-out;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }

    .brand-mobile .brand-logo {
        width: 64px;
    }

    .nav-mobile-close {
        width: 32px;
        height: 32px;
        border-radius: 999px;
        border: 1px solid rgba(248, 113, 22, 0.75);
        background: rgba(3, 7, 18, 0.96);
        color: #fefce8;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        cursor: pointer;
        box-shadow: 0 0 16px rgba(248, 113, 22, 0.6);
    }

    .nav-mobile-link {
        text-decoration: none;
        color: rgba(226, 232, 240, 0.92);
        font-size: 0.95rem;
        padding: 0.35rem 0;
    }

    .nav-mobile-lang {
        margin-top: auto;
        display: flex;
        gap: 0.5rem;
    }

    .nav-mobile-lang .lang-btn {
        flex: 0 0 auto;
    }
}

/* lock scroll when mobile nav open */
body.nav-open {
    overflow: hidden;
}







/* FINAL HAMBURGER & MOBILE NAV OVERRIDES
   - glowing phoenix buttons
   - nav-icon2 6-segment burger/X
   - animated, non-empty mobile menu
*/

/* circular buttons (header + panel) */
.nav-toggle,
.nav-mobile-close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 22, 0.85);
    background:
        radial-gradient(circle at 20% 0, rgba(248, 250, 252, 0.12), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(251, 113, 133, 0.4), transparent 55%),
        rgba(15, 23, 42, 0.98);
    box-shadow:
        0 0 18px rgba(249, 115, 22, 0.8),
        0 0 36px rgba(248, 113, 113, 0.7);
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        transform 0.18s ease-out,
        box-shadow 0.18s ease-out,
        border-color 0.18s ease-out,
        background 0.18s ease-out;
}

.nav-toggle {
    display: none; /* only on mobile */
}

.nav-toggle:hover,
.nav-mobile-close:hover {
    transform: translateY(-1px);
    border-color: rgba(250, 204, 21, 0.95);
    box-shadow:
        0 0 22px rgba(249, 115, 22, 0.95),
        0 0 40px rgba(248, 113, 113, 0.85);
}

.nav-toggle:active,
.nav-mobile-close:active {
    transform: translateY(0) scale(0.97);
}

/* six-segment phoenix burger (adapted from nav-icon2) */
.burger-icon {
    position: relative;
    width: 60px;
    height: 45px;
    transform: scale(0.6);
    transform-origin: center;
}

.burger-icon--small {
    transform: scale(0.5);
}

.burger-icon span {
    display: block;
    position: absolute;
    height: 9px;
    width: 50%;
    background: linear-gradient(90deg, #f97316, #facc15, #fb7185);
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
}

/* left / right halves */
.burger-icon span:nth-child(even) {
    left: 50%;
    border-radius: 0 9px 9px 0;
}

.burger-icon span:nth-child(odd) {
    left: 0;
    border-radius: 9px 0 0 9px;
}

/* rows */
.burger-icon span:nth-child(1),
.burger-icon span:nth-child(2) {
    top: 0;
}

.burger-icon span:nth-child(3),
.burger-icon span:nth-child(4) {
    top: 18px;
}

.burger-icon span:nth-child(5),
.burger-icon span:nth-child(6) {
    top: 36px;
}

/* open state → X */
.burger-icon.open span:nth-child(1),
.burger-icon.open span:nth-child(6) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.burger-icon.open span:nth-child(2),
.burger-icon.open span:nth-child(5) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.burger-icon.open span:nth-child(1) {
    left: 5px;
    top: 7px;
}

.burger-icon.open span:nth-child(2) {
    left: calc(50% - 5px);
    top: 7px;
}

.burger-icon.open span:nth-child(3) {
    left: -50%;
    opacity: 0;
}

.burger-icon.open span:nth-child(4) {
    left: 100%;
    opacity: 0;
}

.burger-icon.open span:nth-child(5) {
    left: 5px;
    top: 29px;
}

.burger-icon.open span:nth-child(6) {
    left: calc(50% - 5px);
    top: 29px;
}

/* full-screen dim background; JS toggles .is-open */
.nav-mobile-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.65), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.95), transparent 60%),
        rgba(15, 23, 42, 0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease-out;
    z-index: 9999;
}

.nav-mobile-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* side panel */
.nav-mobile-panel {
    width: min(340px, 100% - 3rem);
    height: 100%;
    padding: 1.6rem 1.8rem 2.1rem;
    background:
        radial-gradient(circle at top, rgba(249, 115, 22, 0.25), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.18), transparent 60%),
        rgba(15, 23, 42, 0.98);
    border-left: 1px solid rgba(248, 113, 22, 0.5);
    box-shadow:
        -18px 0 40px rgba(15, 23, 42, 0.9),
        0 0 28px rgba(248, 113, 22, 0.7);
    transform: translateX(24px);
    transition: transform 0.24s ease-out;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.nav-mobile-overlay.is-open .nav-mobile-panel {
    transform: translateX(0);
}

.nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-mobile .brand-logo {
    width: 42px;
}

/* links stack */
.nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 1.4rem;
}

.nav-mobile-link {
    position: relative;
    display: block;
    padding: 0.55rem 0;
    color: rgba(226, 232, 240, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    overflow: hidden;
}

.nav-mobile-link::before {
    content: "";
    position: absolute;
    left: -0.9rem;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #facc15, #f97316);
    box-shadow:
        0 0 10px rgba(249, 115, 22, 0.9),
        0 0 20px rgba(248, 113, 113, 0.7);
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.22s ease-out, transform 0.22s ease-out;
}

.nav-mobile-link::after {
    content: "";
    position: absolute;
    inset-inline: -1.2rem;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(248, 113, 22, 0),
        rgba(248, 113, 22, 0.7),
        rgba(248, 113, 22, 0)
    );
    opacity: 0.35;
}

.nav-mobile-link:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.15);
}

/* staggered slide-in animation */
@keyframes navMobileLinkIn {
    0% {
        opacity: 0;
        transform: translateX(14px);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.nav-mobile-overlay.is-open .nav-mobile-link {
    opacity: 0;
    transform: translateX(10px);
    animation: navMobileLinkIn 0.32s ease-out forwards;
}

.nav-mobile-overlay.is-open .nav-mobile-link:nth-child(1) {
    animation-delay: 0.04s;
}
.nav-mobile-overlay.is-open .nav-mobile-link:nth-child(2) {
    animation-delay: 0.08s;
}
.nav-mobile-overlay.is-open .nav-mobile-link:nth-child(3) {
    animation-delay: 0.12s;
}
.nav-mobile-overlay.is-open .nav-mobile-link:nth-child(4) {
    animation-delay: 0.16s;
}
.nav-mobile-overlay.is-open .nav-mobile-link:nth-child(5) {
    animation-delay: 0.20s;
}

/* language buttons area */
.nav-mobile-lang {
    margin-top: auto;
    padding-top: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    box-shadow: 0 -1px 0 rgba(248, 113, 22, 0.3);
}

/* lock scroll when menu open */
body.nav-open {
    overflow: hidden;
}

/* show burger only on mobile */
@media (max-width: 960px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-center {
        display: none;
    }
}




/* === NAV REWORK v2: single phoenix burger + richer mobile menu === */

/* Brand text — make it look like the hero title */
.site-header .brand-name,
.nav-mobile-header .brand-name {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.78rem;
    font-weight: 600;
    background: linear-gradient(120deg, #f97316, #fb7185, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        0 0 14px rgba(249, 115, 22, 0.85),
        0 0 32px rgba(15, 23, 42, 0.95);
}

.nav-mobile-header .brand-tagline {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
}

@media (max-width: 960px) {
    .nav-mobile-header .brand-name {
        font-size: 0.86rem;
    }

    .nav-mobile-header .brand-tagline {
        font-size: 0.68rem;
    }
}

/* Mobile: keep one glowing phoenix burger visible even when menu is open */
@media (max-width: 960px) {
    /* Make sure burger shows on mobile */
    .nav-toggle {
        display: inline-flex;
    }

    /* When menu is open, float it above the drawer in the same corner */
    body.nav-open .nav-toggle {
        position: fixed;
        top: 1.35rem;
        right: 1.35rem;
        z-index: 10010;
        box-shadow:
            0 0 22px rgba(249, 115, 22, 0.95),
            0 0 40px rgba(248, 113, 113, 0.9);
        border-color: rgba(250, 204, 21, 0.95);
    }

    /* --- Mobile menu "spine" + items --- */
    .nav-mobile-links {
        position: relative;
        padding-left: 1.9rem;
        padding-top: 0.75rem;
        gap: 0.9rem;
    }

    /* vertical glowing line */
    .nav-mobile-links::before {
        content: "";
        position: absolute;
        left: 0.55rem;
        top: 0.4rem;
        bottom: 1.1rem;
        width: 2px;
        border-radius: 999px;
        background: linear-gradient(
            180deg,
            rgba(248, 113, 22, 0),
            rgba(250, 204, 21, 0.9),
            rgba(248, 113, 22, 0)
        );
        box-shadow:
            0 0 16px rgba(249, 115, 22, 0.9),
            0 0 32px rgba(15, 23, 42, 0.95);
        opacity: 0.9;
    }

    .nav-mobile-link {
        position: relative;
        font-size: 0.95rem;
        letter-spacing: 0.17em;
        text-transform: uppercase;
        padding: 0.1rem 0;
        color: rgba(226, 232, 240, 0.95);
        opacity: 0;
        transform: translateX(12px);
        transition:
            opacity 0.22s ease-out,
            transform 0.22s ease-out,
            color 0.18s ease-out;
    }

    /* glowing bullet per item */
    .nav-mobile-link::before {
        content: "";
        position: absolute;
        left: -1.25rem;
        top: 50%;
        width: 9px;
        height: 9px;
        transform: translateY(-50%);
        border-radius: 999px;
        background: radial-gradient(circle, #f97316, #fb7185);
        box-shadow:
            0 0 12px rgba(249, 115, 22, 0.85),
            0 0 22px rgba(251, 113, 133, 0.6);
        opacity: 0.45;
        transition:
            opacity 0.22s ease-out,
            transform 0.22s ease-out,
            box-shadow 0.22s ease-out;
    }

    /* slide-in animation when overlay opens */
    .nav-mobile-overlay.is-open .nav-mobile-link {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-mobile-overlay.is-open .nav-mobile-link:nth-child(1) {
        transition-delay: 0.03s;
    }
    .nav-mobile-overlay.is-open .nav-mobile-link:nth-child(2) {
        transition-delay: 0.06s;
    }
    .nav-mobile-overlay.is-open .nav-mobile-link:nth-child(3) {
        transition-delay: 0.09s;
    }
    .nav-mobile-overlay.is-open .nav-mobile-link:nth-child(4) {
        transition-delay: 0.12s;
    }
    .nav-mobile-overlay.is-open .nav-mobile-link:nth-child(5) {
        transition-delay: 0.15s;
    }

    .nav-mobile-link:hover {
        color: #fefce8;
    }

    .nav-mobile-link:hover::before {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }
}




/* fix for letter spacin */
.site-header .brand-name {
   
    letter-spacing: 0.18em;
  
}






















/* ================= PHOENIX BURGER - FINAL ================= */

/* Circle button */
.nav-toggle {
    display: none; /* shown only on mobile below */
    align-items: center;
    justify-content: center;

    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;

    border: 1px solid rgba(248, 113, 22, 0.85);
    background:
        radial-gradient(circle at 30% 0, rgba(248, 250, 252, 0.12), transparent 60%),
        rgba(15, 23, 42, 0.98);
    box-shadow:
        0 0 18px rgba(248, 113, 22, 0.7),
        0 0 36px rgba(248, 113, 22, 0.4);

    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 50;
}

/* wrapper for the 6 bars */
.nav-toggle .burger-icon {
    position: relative;
    width: 26px;
    height: 22px;
}



/* left vs right half */
.nav-toggle .burger-icon span:nth-child(odd) {
    left: 0;
}
.nav-toggle .burger-icon span:nth-child(even) {
    left: 50%;
}

/* 3 rows */
.nav-toggle .burger-icon span:nth-child(1),
.nav-toggle .burger-icon span:nth-child(2) {
    top: 0;
}
.nav-toggle .burger-icon span:nth-child(3),
.nav-toggle .burger-icon span:nth-child(4) {
    top: 9px;
}
.nav-toggle .burger-icon span:nth-child(5),
.nav-toggle .burger-icon span:nth-child(6) {
    top: 18px;
}
/*! © 2025 Zmenix Forge. All rights reserved. */

/* OPEN STATE → X (CodePen logic) */

.nav-toggle .burger-icon.open span:nth-child(1),
.nav-toggle .burger-icon.open span:nth-child(6) {
    transform: rotate(45deg);
}

.nav-toggle .burger-icon.open span:nth-child(2),
.nav-toggle .burger-icon.open span:nth-child(5) {
    transform: rotate(-45deg);
}

.nav-toggle .burger-icon.open span:nth-child(1) {
    left: 4px;
    top: 5px;
}

.nav-toggle .burger-icon.open span:nth-child(2) {
    left: calc(50% - 4px);
    top: 5px;
}

.nav-toggle .burger-icon.open span:nth-child(3) {
    left: -50%;
    opacity: 0;
}

.nav-toggle .burger-icon.open span:nth-child(4) {
    left: 100%;
    opacity: 0;
}

.nav-toggle .burger-icon.open span:nth-child(5) {
    left: 4px;
    top: 14px;
}

.nav-toggle .burger-icon.open span:nth-child(6) {
    left: calc(50% - 4px);
    top: 14px;
}

/* mobile only */
@media (max-width: 960px) {
    /* hide middle links, use drawer */
    .nav-center {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    /* when menu is open, float burger above the drawer */
    body.nav-open .nav-toggle {
        position: fixed;
        top: 1.35rem;
        right: 1.35rem;
        z-index: 10010;
        border-color: rgba(250, 204, 21, 0.95);
        box-shadow:
            0 0 22px rgba(249, 115, 22, 0.95),
            0 0 40px rgba(248, 113, 113, 0.9);
    }
}

/* drawer just under the burger */
.nav-mobile-overlay {
    z-index: 10000; /* burger is 10010 */
}






@media (max-width: 960px) {

    .hero-visual {
        display: none;
    }
    .scroll-hint {
        display: none;
    }
    .brand-tagline {
        display: none;
    }

}

.nav-toggle span {
    background: linear-gradient(90deg, #f97316, #facc15, #fb7185);

}




#nav-icon2 {
  width: 60px;
  height: 45px;
  position: relative;
  margin: 50px auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon2 {
}

#nav-icon2 span {
  display: block;
  position: absolute;
  height: 2px;
  width: 30%;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon2 span:nth-child(even) {
  left: 50%;
  border-radius: 0 9px 9px 0;
}

#nav-icon2 span:nth-child(odd) {
  left:8px;
  border-radius: 9px 0 0 9px;
}

#nav-icon2 span:nth-child(1), #nav-icon2 span:nth-child(2) {
  top: 13px;
}

#nav-icon2 span:nth-child(3), #nav-icon2 span:nth-child(4) {
  top: 20px;
}

#nav-icon2 span:nth-child(5), #nav-icon2 span:nth-child(6) {
  top: 27px;
}

#nav-icon2.open span:nth-child(1),#nav-icon2.open span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon2.open span:nth-child(2),#nav-icon2.open span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon2.open span:nth-child(1) {
  left: 9px;
  top: 18px;
}

#nav-icon2.open span:nth-child(2) {
  left: calc(50% - 1px);
  top: 18px;
}

#nav-icon2.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#nav-icon2.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#nav-icon2.open span:nth-child(5) {
  left: 9px;
  top: 26px;
}

#nav-icon2.open span:nth-child(6) {
  left: calc(50% - 1px);
  top: 26px;
}









/* overlay under burger */
.nav-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
}

/* burger base */
.nav-toggle {
    position: relative;
    z-index: 1100;
}


/* when menu open, float burger above everything in the corner */
@media (max-width: 960px) {
    body.nav-open .nav-toggle {
        position: fixed;
        top: 1.35rem;
        right: 1.35rem;
        z-index: 2000;
    }
}










/* Floating phoenix burger that controls mobile menu */
.nav-toggle {
    position: fixed;
    top: 1.25rem;
    right: clamp(1rem, 4vw, 2.4rem);

    display: none; /* hidden on desktop; shown in mobile media query */
    align-items: center;
    justify-content: center;

    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;

    border: 1px solid rgba(248, 113, 22, 0.85);
    background:
        radial-gradient(circle at 30% 0, rgba(248, 250, 252, 0.12), transparent 60%),
        rgba(15, 23, 42, 0.98);
    box-shadow:
        0 0 18px rgba(248, 113, 22, 0.7),
        0 0 36px rgba(248, 113, 22, 0.4);

    padding: 0;
    cursor: pointer;

    z-index: 2000; /* ABOVE overlay (1000) and header (40) */
    transition:
        box-shadow 180ms ease-out,
        transform 180ms ease-out,
        border-color 180ms ease-out;
}

/* mobile only: show the button */
@media (max-width: 960px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-center {
        display: none;
    }
}

/* optional: stronger glow when menu open */
.nav-toggle.is-open {
    border-color: rgba(250, 204, 21, 0.95);
    box-shadow:
        0 0 22px rgba(249, 115, 22, 0.95),
        0 0 40px rgba(248, 113, 113, 0.9);
}




/* Keep language switch clear of the floating burger on mobile */
@media (max-width: 960px) {
    .site-header .nav-right {
        margin-right: 2.5rem; /* 2.5rem burger + ~1rem gap */
    }
    .hero-skip {
        margin-right: 3rem;
    }
}














/* === HERO VIDEO CONTROLS – PURE PHOENIX FIRE VARIANT === */

.hero-skip,
.hero-audio-toggle {
    position: absolute;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    padding: 0.5rem 1.25rem;
    border-radius: 999px;

    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;

    color: #fff7ed; /* warm white */
    border: 1px solid rgba(249, 115, 22, 0.9); /* orange border */

    /* NO BLUE/PURPLE – only fire tones */
    background:
        radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.7), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(244, 63, 94, 0.6), transparent 55%),
        linear-gradient(135deg, #111827, #451a03);

    box-shadow:
        0 0 12px rgba(15, 23, 42, 0.8),
        0 0 26px rgba(249, 115, 22, 0.7),
        0 0 40px rgba(250, 204, 21, 0.55);

    backdrop-filter: blur(14px);
    cursor: pointer;

    transition:
        transform 0.16s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.25s ease,
        opacity 0.2s ease;
}

/* little ember line under the label */
.hero-skip::after,
.hero-audio-toggle::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #facc15, #fb7185);
    opacity: 0.55;
    pointer-events: none;
}

/* positions stay the same */
.hero-skip {
    top: 1.5rem;
    right: 1.75rem;
}

.hero-audio-toggle {
    bottom: 1.5rem;
    left: 1.75rem;
}

/* hover – more flame */
.hero-skip:hover,
.hero-audio-toggle:hover {
    transform: translateY(-1px) scale(1.03);
    border-color: rgba(252, 211, 77, 1);
    background:
        radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.9), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(244, 63, 94, 0.8), transparent 55%),
        linear-gradient(135deg, #1f2937, #7f1d1d);

    box-shadow:
        0 0 16px rgba(15, 23, 42, 0.9),
        0 0 36px rgba(249, 115, 22, 0.9),
        0 0 60px rgba(250, 204, 21, 0.7);
}

.hero-skip:active,
.hero-audio-toggle:active {
    transform: translateY(0) scale(0.97);
    box-shadow:
        0 0 10px rgba(15, 23, 42, 0.8),
        0 0 26px rgba(249, 115, 22, 0.65);
}

/* icons inside the sound button */
.hero-audio-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* when sound is ON, make the button look “ignited” */
.hero-audio-toggle.hero-audio-toggle--on {
    border-color: rgba(252, 211, 77, 1);
    background:
        radial-gradient(circle at 0% 0%, rgba(250, 204, 21, 0.95), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(248, 113, 113, 0.9), transparent 55%),
        linear-gradient(135deg, #1c1917, #7f1d1d);
    box-shadow:
        0 0 20px rgba(249, 115, 22, 0.95),
        0 0 55px rgba(248, 113, 113, 0.9),
        0 0 70px rgba(252, 211, 77, 0.8);
}

/* keep your “pulse” animation only when muted */
.hero-audio-toggle {
    animation: hero-audio-pulse 2.3s ease-in-out infinite alternate;
}
.hero-audio-toggle.hero-audio-toggle--on {
    animation: none;
}

/* fade-out class from your JS still works */
.hero-audio-toggle--hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
}

/* mobile size tweaks */
@media (max-width: 768px) {
    .hero-skip,
    .hero-audio-toggle {
        padding: 0.4rem 0.95rem;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    .hero-skip {
        top: 1rem;
        right: 1rem;
    }

    .hero-audio-toggle {
        bottom: 1rem;
        left: 1rem;
    }
}






/* --- Fix: only one sound icon visible at a time --- */

/* By default: show muted, hide unmuted */
.hero-audio-toggle__icon--muted,
.hero-audio-toggle__icon--unmuted {
    display: none;
}

.hero-audio-toggle__icon--muted {
    display: inline-flex; /* start with 🔇 only */
}

/* When JS adds .hero-audio-toggle--on, swap them */
.hero-audio-toggle.hero-audio-toggle--on .hero-audio-toggle__icon--muted {
    display: none;
}

.hero-audio-toggle.hero-audio-toggle--on .hero-audio-toggle__icon--unmuted {
    display: inline-flex; /* show 🔊 when sound is ON */
}







@media (max-width: 768px) {
  
    /* Pin sound toggle to top-left of the SCREEN on mobile */
    .hero-audio-toggle {
        position: fixed;       /* follows the viewport, not the hero */
        top: 1rem;
        left: 1rem;
        bottom: auto;          /* override desktop bottom */
        right: auto;
        transform: none;       /* avoid weird shifts from other states */
    }
}





/* Links, buttons, and button-like stuff */
a,
button,
[role="button"],
.btn,
input[type="button"],
input[type="submit"],
input[type="reset"],
label[for],
.cursor-pointer {
    cursor: url("../cursors/phoenix-pointer.cur"), pointer;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    cursor: text;
}


.lang-btn {
    cursor: url("../cursors/phoenix-pointer.cur"), pointer;
}


.scroll-hint-circle {
    cursor: url("../cursors/phoenix-pointer.cur"), pointer;
}

.hero-skip {
    cursor: url("../cursors/phoenix-pointer.cur"), pointer;
}

.hero-audio-toggle {
    cursor: url("../cursors/phoenix-pointer.cur"), pointer;
}








/* ===== HOME SERVICES: extra variants + phoenix CTA ===== */

.service-card--care .service-icon {
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.75),
    0 12px 26px rgba(15, 23, 42, 0.95);
}

.service-card--custom .service-icon {
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.85),
    0 12px 26px rgba(15, 23, 42, 0.95);
}

/* CTA row under the grid */
.services-mini-cta {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
}

.services-mini-cta-inner {
  position: relative;
  width: min(780px, 100%);
  padding: 1.2rem 1.2rem 1.35rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(249, 115, 22, 0.55);
  background:
    radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.22), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.16), transparent 60%),
    rgba(15, 23, 42, 0.92);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.85);
  overflow: hidden;
  text-align: center;
}

.services-mini-cta-text {
  margin: 0 0 1rem;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.95rem;
}

.services-mini-cta-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* extra “phoenix” spice for the Services button */
.btn-phoenix {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-phoenix::after {
  content: "";
  position: absolute;
  inset: -60%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 35%),
    radial-gradient(circle at 60% 60%, rgba(250, 204, 21, 0.28), transparent 45%),
    radial-gradient(circle at 40% 80%, rgba(249, 115, 22, 0.35), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.25), transparent 55%);
  opacity: 0;
  transform: rotate(10deg) translate3d(-6%, 6%, 0);
  mix-blend-mode: screen;
  transition: opacity 220ms ease;
  pointer-events: none;
  z-index: 0;
}

.btn-phoenix:hover::after {
  opacity: 0.75;
  animation: phoenixSparks 1.35s linear infinite;
}

@keyframes phoenixSparks {
  0%   { transform: rotate(0deg) translate3d(-6%, 6%, 0) scale(1); }
  50%  { transform: rotate(180deg) translate3d(4%, -4%, 0) scale(1.03); }
  100% { transform: rotate(360deg) translate3d(-6%, 6%, 0) scale(1); }
}




/* 1) Overlays must not steal clicks */
.svc-card::before, .svc-card::after,
.svc-card-border::before, .svc-card-border::after,
.svc-card-inner::before, .svc-card-inner::after {
  pointer-events: none !important;
}

/* 2) Make sure the footer link is above everything and has a real hitbox */
.svc-footer { position: relative; z-index: 20; }
.svc-footer .svc-link {
  position: relative;
  z-index: 21;
  display: block;        /* makes the whole line clickable */
  width: 100%;
}

.svc-footer .svc-link::after { content: none !important; }





