@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.015em;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.03em;
}

:root {
    --primary-color: #ffea00;
    --primary-glow: rgba(255, 234, 0, 0.15);
    --secondary-color: #ff5b00;
    --secondary-glow: rgba(255, 91, 0, 0.15);
    --bg-dark: #050508;
    --bg-surface: rgba(13, 13, 18, 0.6);
    --border-color: rgba(255, 234, 0, 0.12);
    --border-color-hover: rgba(255, 234, 0, 0.3);
}

body {
    background-color: var(--bg-dark);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

html.no-scroll,
body.no-scroll {
    overflow: hidden !important;
}

/* --- GLOBAL CONTAINER --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* --- ANIMACJE TŁA (CYBER-GRID) --- */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 15% 50%, rgba(255, 234, 0, 0.02), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 91, 0, 0.025), transparent 25%),
        radial-gradient(rgba(255, 234, 0, 0.04) 1px, transparent 1px);
    background-size: 100vw 100vh, 100vw 100vh, 24px 24px;
    z-index: -3;
    pointer-events: none;
}

.animated-blob {
    position: absolute;
    top: -10%;
    left: 40%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    border-radius: 50%;
    z-index: -2;
    pointer-events: none;
    animation: blob-float 20s infinite alternate ease-in-out;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-10%, 10%) scale(1.1);
    }

    100% {
        transform: translate(10%, -5%) scale(0.9);
    }
}

/* --- NAVBAR --- */
.navbar {
    background-color: rgba(13, 13, 18, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    user-select: none;
    -webkit-user-select: none;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-links a {
    color: #a0a0a0;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
}

.nav-links a:hover {
    color: #ffffff;
}

/* TOOLS DROPDOWN */
.nav-dropdown {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dropdown-toggle i {
    font-size: 0.70rem;
    color: #666;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
    color: #fff;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #0d0d12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 190px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 101;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    color: #a0a0a0;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.dropdown-menu a i {
    font-size: 0.9rem;
    color: #555;
    width: 16px;
    text-align: center;
    transition: color 0.2s ease;
}

.dropdown-menu a:hover i {
    color: var(--primary-color);
}

/* SEARCH BAR */
.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar i {
    position: absolute;
    left: 12px;
    color: #666;
    font-size: 0.85rem;
}

.search-bar input {
    background-color: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.5rem 1rem 0.5rem 2.2rem;
    border-radius: 6px;
    width: 240px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-bar input:focus {
    border-color: var(--primary-color);
}

.shortcut {
    position: absolute;
    right: 8px;
    background-color: #222;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.settings-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.settings-btn:hover {
    color: #ffffff;
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.hero h1 {
    font-size: 7rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    margin-bottom: 1.5rem;
    user-select: none;
    -webkit-user-select: none;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    color: #888;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    border: 1px solid var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 25px rgba(255, 234, 0, 0.3);
    text-shadow: 0 0 5px var(--primary-glow);
}

.btn-secondary {
    background: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-secondary.btn-discord:hover {
    border-color: #5865F2;
    color: #5865F2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.35);
}

.btn-primary:active,
.btn-secondary:active,
.filter-pill-row-btn:active,
.filter-grid-pill-btn:active,
.btn-filter-apply:active,
.btn-filter-clear:active,
.category-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.supported-agents {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.agent-icons {
    display: flex;
    align-items: center;
}

.circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-left: -10px;
    background-size: cover;
    background-position: center;
    background-color: #fff;
}

.circle:first-child {
    margin-left: 0;
}

.c1 {
    background-image: url('kakobuy.png');
}

.c2 {
    background-image: url('litbuy.png');
}

.c3 {
    background-image: url('usfans.png');
}

.c4 {
    background-color: #222;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supported-agents span {
    font-size: 0.75rem;
    color: #888;
}

/* --- PRODUCTS SECTION --- */
.products-section {
    padding: 3rem 0;
    position: relative;
    z-index: 2;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
}

.view-more {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.view-more:hover {
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1.2rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-grid::-webkit-scrollbar {
    display: none;
}

.carousel-grid .product-card {
    flex: 0 0 calc(25% - 0.9rem);
}

@media (max-width: 900px) {
    .carousel-grid .product-card {
        flex: 0 0 calc(33.333% - 0.8rem);
    }
}

@media (max-width: 600px) {
    .carousel-grid .product-card {
        flex: 0 0 calc(50% - 0.6rem);
    }
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.4);
}

.carousel-arrow-right {
    right: -20px;
}

.carousel-arrow-left {
    left: -20px;
}


.product-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px var(--primary-glow);
}

.card-bg {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center 30%;
    background-repeat: no-repeat;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-bg {
    transform: scale(1.15) translateY(-5px);
}

.white-bg {
    background-color: #f8f8f8;
}

.dark-bg {
    background-color: #1a1a1a;
}

.placeholder-af1 {
    background-image: url('https://images.unsplash.com/photo-1600185365483-26d7a4cc7519?w=400&auto=format&fit=crop&q=60');
}

.placeholder-corteiz {
    background-image: url('https://images.unsplash.com/photo-1556821840-3a63f95609a7?w=400&auto=format&fit=crop&q=60');
}

.placeholder-ck {
    background-image: url('https://images.unsplash.com/photo-1583743814966-8936f5b7be1a?w=400&auto=format&fit=crop&q=60');
}

.placeholder-j4 {
    background-image: url('https://images.unsplash.com/photo-1542291026-7eec264c27ff?w=400&auto=format&fit=crop&q=60');
}

.placeholder-hat {
    background-image: url('https://images.unsplash.com/photo-1576871337622-98d48d1cf531?w=400&auto=format&fit=crop&q=60');
}

.placeholder-belt {
    background-image: url('https://images.unsplash.com/photo-1628202926206-c63a34b1618f?w=400&auto=format&fit=crop&q=60');
}

.placeholder-shorts-dices {
    background-image: url('https://images.unsplash.com/photo-1591195853828-11db59a44f6b?w=400&auto=format&fit=crop&q=60');
}

.placeholder-shorts-nike {
    background-image: url('https://images.unsplash.com/photo-1618354691438-25bc04584c23?w=400&auto=format&fit=crop&q=60');
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, rgba(5, 5, 8, 0.98) 0%, rgba(5, 5, 8, 0.7) 50%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1.2rem;
}

.card-overlay .name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.card-overlay .price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* --- UTILITY SECTION --- */
.utility-section {
    position: relative;
    padding: 8rem 0 4rem 0;
    text-align: center;
}

.utility-arch {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    border-top: 2px solid var(--border-color);
    background: radial-gradient(circle at top, rgba(255, 234, 0, 0.03) 0%, transparent 60%);
    box-shadow: 0 -20px 80px rgba(255, 234, 0, 0.05);
    z-index: -1;
    pointer-events: none;
}

.badge {
    background-color: rgba(255, 234, 0, 0.05);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.utility-container {
    max-width: 900px;
}

.utility-container h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 234, 0, 0.1);
    margin-bottom: 1rem;
}

.utility-container .subtitle {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 4rem;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(10, 10, 15, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2.5rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature-box:hover::before {
    transform: translateX(100%);
}

.feature-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-4px);
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background-color: rgba(255, 234, 0, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.feature-box:hover .icon-circle {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 10px var(--primary-glow);
}

.feature-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.feature-box p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 240px;
}

/* --- FAQ SECTION --- */
.faq-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.faq-left {
    flex: 1;
    position: sticky;
    top: 100px;
}

.faq-left h2 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: left;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 234, 0, 0.1);
}

.faq-right {
    flex: 1.2;
    width: 100%;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 234, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 0px solid transparent;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item.active {
    background-color: rgba(255, 234, 0, 0.02);
    border-left: 3px solid var(--primary-color);
}

.faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-btn i {
    font-size: 0.75rem;
    color: #666;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-btn i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content p {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: #999;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* --- FOOTER --- */
footer {
    background-color: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-brand {
    text-align: left;
}

.footer-brand p {
    color: #666;
    font-size: 0.85rem;
    max-width: 250px;
    margin-top: 0.5rem;
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
}

.link-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.link-column a {
    color: #888;
    font-size: 0.85rem;
    transition: color 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.link-column a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #444;
    font-size: 0.8rem;
}

/* --- SYSTEM MODALI --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: rgba(13, 13, 18, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--primary-glow);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
}

.close-modal-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    color: #a0a0a0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-modal-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.settings-group {
    margin-bottom: 1.5rem;
}

.modal-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    margin-bottom: 0.75rem;
}

/* Waluty (Settings) */
.currency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.currency-btn {
    background-color: #15151a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-btn:hover {
    background-color: #1a1a20;
}

.currency-btn img {
    width: 32px;
    height: auto;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.currency-btn span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    transition: color 0.2s ease;
}

.currency-btn.active {
    border-color: var(--primary-color);
    background: radial-gradient(circle at center, rgba(255, 234, 0, 0.05) 0%, transparent 100%);
    box-shadow: inset 0 0 15px rgba(255, 234, 0, 0.1);
}

.currency-btn.active span {
    color: var(--primary-color);
}

/* Customowy Select dla Agentów (Settings) */
.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select-trigger {
    background-color: #15151a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.custom-select-trigger:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.selected-agent {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.selected-agent img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: contain;
}

.custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background-color: #0f0f14;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.custom-options::-webkit-scrollbar {
    width: 5px;
}

.custom-options::-webkit-scrollbar-track {
    background: transparent;
}

.custom-options::-webkit-scrollbar-thumb {
    background: rgba(255, 234, 0, 0.25);
    border-radius: 10px;
}

.custom-options::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.custom-select-wrapper.open .custom-select-trigger i {
    transform: rotate(180deg);
}

.custom-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.custom-option img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: contain;
}

.custom-option span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Przycisk Save (Settings) */
.save-settings-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: #000;
    border: 1px solid var(--primary-color);
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.save-settings-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 25px rgba(255, 234, 0, 0.3);
    text-shadow: 0 0 5px var(--primary-glow);
}

/* --- LEGAL MODAL STYLES --- */
.legal-modal-box {
    max-width: 800px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.legal-modal-body {
    overflow-y: auto;
    padding-right: 15px;
}

.legal-modal-body::-webkit-scrollbar {
    width: 6px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
    background: #444;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
}

.legal-section h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #eee;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
}

.legal-section p {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section .last-updated {
    font-size: 0.8rem;
    color: #666;
    margin-top: -0.6rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.legal-section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.legal-section ul li {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}


/* ==========================================================================
   --- NOWY UKŁAD DLA ODRĘBNYCH PODSTRON NARZĘDZIOWYCH (.html) ---
   ========================================================================== */

.tool-page-layout {
    padding: 5rem 0;
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.tool-page-center-content {
    text-align: center;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    background-color: #0b0b0e;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 28px;
    padding: 4rem 2.5rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
}

.tool-page-center-content h2 {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 0.5rem;
}

.tool-page-desc-text {
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 3rem;
}

.tool-page-search-container {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.tool-page-input-row {
    flex: 1;
    background-color: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0.8rem 1.6rem;
    gap: 1.1rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-page-input-row:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

.tool-page-left-icon {
    font-size: 1.15rem;
    color: var(--primary-color);
}

.tool-page-input-row input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.tool-page-input-row input::placeholder {
    color: #555;
}

/* Uniwersalny wielki przycisk submit świecący w kolorze żółtym */
.tool-page-submit-btn {
    width: 52px;
    height: 52px;
    border-radius: 4px;
    border: none;
    color: #000;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.tool-page-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px var(--primary-glow);
}

/* Wiersz ostatnio szukane */
.tracking-recent-row {
    text-align: left;
    max-width: 680px;
    margin: 1.2rem auto 0 auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: #3f3f46;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tracking-recent-row a {
    color: var(--primary-color);
    text-decoration: none;
}

.tracking-recent-row i {
    color: #222;
}

/* Custom dropdown agenta wewnątrz konwertera linków na stronie */
.tool-inline-dropdown {
    position: relative;
    user-select: none;
    z-index: 15;
}

.tool-inline-agent-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #121217;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tool-inline-agent-trigger:hover {
    background-color: #181820;
}

.tool-inline-agent-trigger img {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    object-fit: contain;
}

.tool-inline-agent-trigger span {
    color: #ddd;
    font-size: 0.85rem;
    font-weight: 600;
}

.tool-inline-agent-trigger i {
    font-size: 0.7rem;
    color: #666;
    margin-left: 0.2rem;
    transition: transform 0.2s ease;
}

.tool-dropdown-options {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    width: 180px;
    background-color: #15151a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-height: 200px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.tool-inline-dropdown.open .tool-dropdown-options {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.tool-inline-dropdown.open .tool-inline-agent-trigger i {
    transform: rotate(180deg);
}

.tool-dropdown-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tool-dropdown-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.tool-dropdown-option img {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    object-fit: contain;
}

.tool-dropdown-option span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
}

.tool-dropdown-options::-webkit-scrollbar {
    width: 4px;
}

.tool-dropdown-options::-webkit-scrollbar-track {
    background: transparent;
}

.tool-dropdown-options::-webkit-scrollbar-thumb {
    background: rgba(255, 234, 0, 0.25);
    border-radius: 10px;
}


/* ==========================================================================
   --- ARCHITEKTURA WYNIKÓW ŚLEDZENIA PACZEK (Cyan Style) ---
   ========================================================================== */

.tracking-page-results {
    width: 100%;
}

.tracking-results-container {
    text-align: left;
    max-width: 680px;
    margin: 3.5rem auto 0 auto;
    animation: fadeInUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tracking-results-container h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.2rem;
    text-transform: capitalize;
}

/* Siatka Main Information */
.tracking-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 3.5rem;
}

.tracking-info-card {
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
}

.tracking-info-card i {
    font-size: 1.1rem;
    color: var(--primary-color);
    opacity: 0.9;
}

.tracking-info-card p {
    font-size: 0.88rem;
    font-weight: 600;
    color: #666;
}

.tracking-info-card p span {
    color: #fff;
    font-weight: 700;
    margin-left: 0.4rem;
}

/* Oś czasu (Timeline History) */
.tracking-timeline-section {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2.5rem;
}

/* POPRAWKA: Kod państwa malutki, a nazwa kraju duża i cyanowa */
.timeline-country-header {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.timeline-country-header .mini-code {
    font-size: 0.8rem;
    font-weight: 700;
    color: #444;
    /* Dyskretny szary styl dla kodu */
    text-transform: uppercase;
}

/* Pionowa linia czasu świecąca na żółto */
.tracking-timeline-section::before {
    content: "";
    position: absolute;
    top: 2rem;
    left: 4px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, rgba(255, 234, 0, 0.02) 100%);
    opacity: 0.25;
}

.timeline-event-item {
    position: relative;
    margin-bottom: 1.25rem;
}

/* Kropka węzła osi czasu świecąca na żółto */
.timeline-event-item::before {
    content: "";
    position: absolute;
    left: calc(-2rem + 1px);
    top: 1.45rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-color);
    z-index: 2;
}

.timeline-event-card {
    background-color: #050507;
    border: 1px solid rgba(255, 255, 255, 0.01);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    transition: background-color 0.2s ease;
}

.timeline-event-card:hover {
    background-color: #08080c;
}

.event-time-row {
    font-size: 0.75rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.event-time-row i {
    color: #333;
}

.timeline-event-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e5e5e5;
    line-height: 1.45;
    margin-bottom: 0.3rem;
}

.event-location-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: #3a3a44;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Spinner ładowania paczki */
.tracking-loading-spinner {
    margin: 4rem auto;
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.02);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Wygląd dla przycisku "Show more" / "Show less" na dole osi czasu */
.show-more-less-timeline-btn {
    width: auto;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #666;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.show-more-less-timeline-btn:hover {
    border-color: rgba(255, 234, 0, 0.3);
    color: var(--primary-color);
    background-color: rgba(255, 234, 0, 0.02);
}

/* ==========================================================================
   --- LINKS PAGE (links.html) ---
   ========================================================================== */

.links-page-body {
    background-color: #050505;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 1rem;
    position: relative;
    overflow-x: hidden;
}

.links-glow-bg {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 234, 0, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.links-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.links-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
}

.links-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

.links-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.links-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.links-bio {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.links-socials {
    display: flex;
    gap: 1.2rem;
}

.links-socials a {
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.links-socials a:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-2px);
    text-shadow: 0 0 5px var(--primary-glow);
}

.links-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.link-card {
    position: relative;
    width: 100%;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.link-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
}

.link-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.link-card p {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

.link-badge {
    position: absolute;
    top: -10px;
    right: 1.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 2px;
    z-index: 2;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.badge-red {
    background-color: var(--primary-color);
    color: #000;
}

.badge-blue {
    background-color: #3f78ff;
    color: #fff;
}

.link-card-white {
    background-color: #f4f4f4;
    color: #000;
    border: 1px solid #fff;
}

.link-card-white p {
    color: #555;
}

.link-card-red {
    background: linear-gradient(135deg, rgba(255, 234, 0, 0.03), rgba(255, 91, 0, 0.01));
    border: 1px solid rgba(255, 234, 0, 0.25);
}

.link-card-dark {
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.link-inner-pill {
    display: inline-block;
    background-color: var(--primary-color);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 4px;
    margin-top: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pill-dark {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.links-footer {
    margin-top: 3rem;
}

.back-home-btn {
    color: #666;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.back-home-btn:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-glow);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .faq-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .faq-left {
        position: static;
    }

    .faq-left h2 {
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        align-items: center;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .link-column {
        text-align: center;
    }

    .tool-page-center-content {
        max-width: 95%;
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }

    .nav-links {
        display: none;
    }

    .utility-arch {
        width: 120vw;
        height: 120vw;
        top: 5%;
    }

    .features-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .tool-page-search-container {
        flex-direction: column;
    }

    .tool-page-input-row {
        width: 100%;
        border-radius: 16px;
        padding: 0.8rem 1.2rem;
    }

    .tool-page-submit-btn {
        width: 100%;
        height: 48px;
        border-radius: 14px;
    }

    .tracking-info-grid {
        grid-template-columns: 1fr;
    }
}

/* --- AGENT MODAL SPECIFIC STYLES --- */
.agent-modal-box {
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 100%;
    max-width: 400px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--primary-glow);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .agent-modal-box {
    transform: scale(1);
    opacity: 1;
}

.agent-list::-webkit-scrollbar {
    width: 6px;
}

.agent-list::-webkit-scrollbar-track {
    background: transparent;
}

.agent-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.agent-row {
    background: #111115;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.agent-row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.agent-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-row-left img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: contain;
}

.agent-row-left span {
    font-weight: 600;
    font-size: 0.95rem;
}

.agent-row-right {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.agent-copy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.agent-copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.agent-copy-btn.copy-success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.4);
}

.quick-copy-success {
    background-color: rgba(34, 197, 94, 0.1) !important;
    border-color: rgba(34, 197, 94, 0.2) !important;
    color: #22c55e !important;
}

.btn-card-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-card-square img.store-icon-img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 4px;
}

/* --- SYSTEM SESJI: PROFILE WIDGET --- */
.profile-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
}

.logout-btn {
    background-color: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 16px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    width: 100%;
}

.logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.profile-card {
    background-color: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}

.avatar-container {
    position: relative;
    width: 40px;
    height: 40px;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border: 2px solid var(--bg-dark);
    border-radius: 50%;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #ffffff;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-email {
    font-size: 0.75rem;
    color: #9ca3af;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 2px;
    width: fit-content;
}

.role-user {
    background-color: rgba(88, 101, 242, 0.15);
    color: #b0b5f9;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.role-admin {
    background-color: rgba(255, 68, 68, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

/* --- GUIDE PAGES --- */
.guide-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 140px 20px 80px;
}

.guide-header {
    margin-bottom: 50px;
}

.guide-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.guide-header p {
    font-size: 1.05rem;
    color: #9ca3af;
}

.guide-section {
    margin-bottom: 40px;
}

.guide-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}

.guide-section p,
.guide-section li {
    color: #e5e7eb;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.guide-section ul,
.guide-section ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.guide-section a {
    color: #fff;
    text-decoration: underline;
}

.guide-section a:hover {
    color: var(--primary-color);
}

.guide-faq-item {
    margin-bottom: 15px;
}

.guide-faq-item strong {
    color: #fff;
    font-weight: 700;
    margin-right: 5px;
}

.btn-nav-outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-nav-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* --- TUTORIAL PAGE --- */
.tutorial-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    min-height: 100vh;
}

.tutorial-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar */
.tutorial-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.sidebar-header {
    margin-bottom: 30px;
}

.tutorial-label {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-header h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

.highlight-red {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-glow);
}

.tutorial-subtitle {
    color: #9ca3af;
    font-size: 0.95rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(10, 10, 15, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover {
    background: rgba(255, 234, 0, 0.02);
    border-color: rgba(255, 234, 0, 0.3);
}

.step-card.active {
    border-color: var(--primary-color);
    background: rgba(255, 234, 0, 0.05);
    box-shadow: 0 0 15px var(--primary-glow);
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-info {
    flex: 1;
    overflow: hidden;
}

.step-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-info p {
    font-size: 0.75rem;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-number {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Main Content */
.tutorial-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-card {
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
}

.main-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.main-icon {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-label {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 5px;
}

.main-titles h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.step-desc {
    color: #9ca3af;
    font-size: 1rem;
}

.tutorial-divider {
    border: none;
    border-top: 1px solid rgba(255, 234, 0, 0.1);
    margin: 30px 0;
}

.tutorial-text {
    color: #e5e7eb;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.tutorial-alert {
    background: linear-gradient(to right, rgba(255, 234, 0, 0.08), transparent);
    border: 1px solid rgba(255, 234, 0, 0.2);
    border-radius: 4px;
    padding: 16px 20px;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.tips-header {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.tip-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 15px;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.tutorial-list-block {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 30px;
}

.tutorial-list-block strong {
    display: block;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.tutorial-list-block ol {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #e5e7eb;
    line-height: 1.8;
}

.tutorial-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 20px;
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Footer Nav */
.main-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

.nav-btn {
    background-color: var(--primary-color);
    color: #000;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 234, 0, 0.3);
}

.nav-btn:disabled {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.step-counter {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Finish Box */
.finish-box {
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
}

.finish-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.finish-content p {
    color: #9ca3af;
    margin-bottom: 25px;
}

.finish-buttons {
    display: flex;
    gap: 15px;
}

.btn-register {
    background-color: var(--primary-color);
    color: #000;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-color);
}

.btn-register:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 25px rgba(255, 234, 0, 0.3);
}

.btn-browse {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-browse:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

@media (max-width: 1024px) {
    .tutorial-layout {
        flex-direction: column;
    }

    .tutorial-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .tips-grid,
    .tutorial-stats-grid {
        grid-template-columns: 1fr;
    }

    .finish-buttons {
        flex-direction: column;
    }
}

/* ==========================================================================
   PREMIUM ANIMATIONS & HOVER GLOWS
   ========================================================================== */

/* 1. KEYFRAMES */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 2. STARTUP ANIMATIONS (PAGE LOAD) */
.fade-in-on-load {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* 3. SCROLL REVEAL (INTERSECTION OBSERVER) */
.reveal-item {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-item.revealed,
.reveal-stagger.revealed>.reveal-item {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Parent container wrapper for stagger triggers (observer sets .revealed on it) */
.reveal-item.reveal-stagger {
    opacity: 1 !important;
    transform: none !important;
}

/* Stagger delays for child items */
.reveal-stagger>.reveal-item:nth-child(1) {
    transition-delay: 0.05s;
}

.reveal-stagger>.reveal-item:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-stagger>.reveal-item:nth-child(3) {
    transition-delay: 0.15s;
}

.reveal-stagger>.reveal-item:nth-child(4) {
    transition-delay: 0.2s;
}

.reveal-stagger>.reveal-item:nth-child(5) {
    transition-delay: 0.25s;
}

.reveal-stagger>.reveal-item:nth-child(6) {
    transition-delay: 0.3s;
}

.reveal-stagger>.reveal-item:nth-child(7) {
    transition-delay: 0.35s;
}

.reveal-stagger>.reveal-item:nth-child(8) {
    transition-delay: 0.4s;
}

.reveal-stagger>.reveal-item:nth-child(9) {
    transition-delay: 0.45s;
}

.reveal-stagger>.reveal-item:nth-child(10) {
    transition-delay: 0.5s;
}

/* 4. STAGGERED GRID CARDS */
.stagger-card {
    opacity: 0;
    animation: staggerFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--stagger-delay, 0ms);
}

/* 5. PREMIUM CARD & GLOW HOVER EFFECTS */
.product-card,
.catalog-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card:hover,
.catalog-card:hover {
    transform: translateY(-6px) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 12px 30px rgba(255, 234, 0, 0.15), 0 0 15px var(--primary-glow) !important;
}

/* 6. PREMIUM BUTTON EFFECTS */
.btn-primary,
.btn-secondary,
.btn-filter-trigger,
.btn-filter-apply,
.btn-filter-clear,
.settings-btn,
.close-modal-btn,
.save-settings-btn {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease !important;
}

.btn-primary:hover,
.btn-filter-apply:hover,
.save-settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 234, 0, 0.25);
    opacity: 1 !important;
}

.btn-filter-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 234, 0, 0.15);
    border-color: var(--primary-color) !important;
}

.btn-secondary:hover {
    transform: translateX(4px);
}

/* ==========================================================================
   --- ADMIN PANEL & DASHBOARD MODAL STYLES ---
   ========================================================================== */
.admin-panel-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

.admin-panel-btn:hover {
    background-color: rgba(255, 234, 0, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-2px);
}

.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.admin-modal.open {
    opacity: 1;
    pointer-events: all;
}

.admin-modal-box {
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 99vw;
    max-width: 1900px;
    height: 98vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px var(--primary-glow);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-modal.open .admin-modal-box {
    transform: translateY(0) scale(1);
}

.admin-modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.admin-modal-header .close-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.2s;
}

.admin-modal-header .close-btn:hover {
    color: var(--primary-color);
}

.admin-modal-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.admin-sidebar {
    width: 320px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    background: rgba(5, 5, 8, 0.5);
}

.admin-search-wrapper {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-search-input {
    width: 100%;
    background: #0f0f14;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.admin-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

.admin-product-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
}

.admin-product-list::-webkit-scrollbar {
    width: 5px;
}

.admin-product-list::-webkit-scrollbar-thumb {
    background: rgba(255, 234, 0, 0.15);
    border-radius: 10px;
}

.admin-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    margin-bottom: 6px;
}

.admin-list-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.admin-list-item.active {
    background: rgba(255, 234, 0, 0.05);
    border-color: var(--primary-color);
}

.admin-list-item img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-list-item-details {
    flex: 1;
    overflow: hidden;
}

.admin-list-item-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-list-item-sub {
    font-size: 0.7rem;
    color: #888;
    margin-top: 1px;
}

.admin-main-panel {
    flex: 1;
    padding: 1.25rem 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.admin-form-group {
    margin-bottom: 0.85rem;
}

.admin-form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #888;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-form-input,
.admin-form-select {
    width: 100%;
    background: #0f0f14;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.2s;
}

.admin-form-input:focus,
.admin-form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

.admin-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.admin-btn-primary {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
}

.admin-btn-primary:hover {
    box-shadow: 0 0 25px rgba(255, 234, 0, 0.35);
    transform: translateY(-2px);
}

.admin-btn-danger {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.admin-btn-danger:hover {
    background-color: #ef4444;
    color: #fff;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}

.admin-btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.admin-btn-secondary:hover {
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.admin-form-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.admin-form-title-row h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

/* --- HERO STARFIELD --- */
.hero {
    position: relative;
    overflow: hidden;
}

.hero>.container {
    position: relative;
    z-index: 1;
}

#star-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* --- MOBILE NAVIGATION & GENERAL MOBILE OPTIMIZATIONS --- */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: rgba(10, 10, 15, 0.88);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #888892;
        text-decoration: none;
        font-size: 0.68rem;
        font-weight: 600;
        width: 20%;
        height: 100%;
        gap: 3px;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-nav-item i {
        font-size: 1.15rem;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .mobile-nav-item:hover {
        color: #fff;
    }

    .mobile-nav-item.active {
        color: #fff;
    }

    .mobile-nav-item.active i {
        color: var(--primary-color);
        transform: translateY(-2px);
    }

    body {
        padding-bottom: 70px !important;
    }

    /* Hide top nav items to avoid duplicate menus on mobile */
    .nav-links {
        display: none !important;
    }

    .search-bar {
        display: none !important;
    }

    .nav-left,
    .nav-right {
        gap: 1rem !important;
    }

    /* Responsive modal widths */
    .modal-box,
    .agent-modal-box,
    .filter-modal-box {
        width: calc(100% - 32px) !important;
        margin: 16px !important;
    }
}

@media (max-width: 500px) {
    .hero h1 {
        font-size: 2.8rem !important;
    }

    .hero p {
        font-size: 0.85rem !important;
        line-height: 1.45 !important;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tool-page-input-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 12px !important;
        border-radius: 12px !important;
    }

    .tool-page-left-icon {
        display: none !important;
    }

    .tool-inline-dropdown {
        width: 100% !important;
    }

    .tool-inline-agent-trigger {
        justify-content: space-between !important;
        width: 100% !important;
        border-radius: 8px !important;
    }
}


/* --- ADMIN PANEL ANALYTICS TAB STYLES --- */

/* Tabs Navigation */
.admin-nav-tabs {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-tab-btn {
    background: none;
    border: none;
    color: #888;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.admin-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.admin-tab-btn.active {
    color: #000 !important;
    background-color: var(--primary-color, #ffea00) !important;
    box-shadow: 0 0 10px var(--primary-glow, rgba(255, 234, 0, 0.2));
}

/* Dashboard Layout */
.analytics-dashboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding-bottom: 20px;
}

/* Stats Cards Grid */
.analytics-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-card-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

/* Two-column layout */
.analytics-panels-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.analytics-panel {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
}

.analytics-panel h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.analytics-table-wrapper {
    max-height: 350px;
    overflow-y: auto;
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.analytics-table th,
.analytics-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.analytics-table th {
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.analytics-table td {
    color: #ccc;
}

.analytics-table tr:hover td {
    color: #fff;
    background: rgba(255, 255, 255, 0.01);
}

/* Activity List */
.activity-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.activity-item {
    transition: background-color 0.2s ease;
}

.activity-item:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.country-badge {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Utility colors */
.text-danger {
    color: #ef4444;
}

.text-primary {
    color: #3b82f6;
}

.text-success {
    color: #10b981;
}

/* SZACOWANA DOSTAWA (Estimate Card) */
.estimate-card {
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
}

.estimate-card.estimate-high {
    border-left: 4px solid #22c55e;
}
.estimate-card.estimate-medium {
    border-left: 4px solid var(--primary-color);
}
.estimate-card.estimate-low {
    border-left: 4px solid #ef4444;
}

.estimate-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(255, 234, 0, 0.03);
    border: 1px solid rgba(255, 234, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.estimate-body {
    flex: 1;
}

.estimate-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #666;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 0.3rem 0;
}

.estimate-dates {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.3rem 0;
}

.estimate-delivered {
    font-size: 1.35rem;
    font-weight: 800;
    color: #22c55e;
    margin: 0 0 0.3rem 0;
}

.estimate-milestone {
    font-size: 0.8rem;
    font-weight: 600;
    color: #999;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
}

.estimate-milestone i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.estimate-confidence-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.estimate-confidence-dot.dot-high {
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}
.estimate-confidence-dot.dot-medium {
    background-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-color);
}
.estimate-confidence-dot.dot-low {
    background-color: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

/* RECENT BADGE pill button under input */
.tracking-recent-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem !important;
    gap: 0.5rem;
    text-align: center !important;
    max-width: 100% !important;
}

.tracking-recent-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 0.35rem 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tracking-recent-badge:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.tracking-recent-badge i.fa-clock {
    color: #666;
}

.tracking-recent-badge i.fa-xmark {
    color: #444;
    transition: color 0.2s ease;
    cursor: pointer;
}

.tracking-recent-badge:hover i.fa-xmark {
    color: #aaa;
}

/* DASHBOARD GRID (Delivered, In Transit, Est. Delivery, Route) */
.tracking-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 12px;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .tracking-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.tracking-dashboard-card {
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.tracking-progress-card {
    grid-column: span 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
}

@media (max-width: 900px) {
    .tracking-progress-card {
        grid-column: span 1;
    }
}

.circle-progress-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-progress-svg {
    transform: rotate(-90deg);
    width: 72px;
    height: 72px;
}

.circle-progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 6;
}

.circle-progress-bar {
    fill: none;
    stroke: #fff;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 201; /* 2 * PI * r (r=32) */
    stroke-dashoffset: 201;
    transition: stroke-dashoffset 0.8s ease-out;
}

.circle-progress-text {
    position: absolute;
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
}

.progress-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.progress-status-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
}

.progress-status-badge.delivered {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.progress-status-badge.transit {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.progress-status-badge.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.progress-card-info .label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #555;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.progress-card-info .value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.dashboard-card-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #555;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dashboard-card-label i {
    color: #555;
    font-size: 0.72rem;
}

.dashboard-card-value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
}

.dashboard-card-value span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    margin-left: 0.25rem;
}

.dashboard-card-value.green-text {
    color: #22c55e;
}

.tracking-dashboard-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

@media (max-width: 900px) {
    .tracking-dashboard-actions {
        flex-direction: row;
        margin-top: 10px;
    }
}

.tracking-action-btn {
    width: 42px;
    height: 42px;
    background: rgba(13, 13, 18, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tracking-action-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

/* STEPPER CONTAINER (Delivery Progress) */
.delivery-progress-container {
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.8rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.delivery-progress-container h3 {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
}

.stepper-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

.stepper-line {
    position: absolute;
    top: 20px;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.04);
    z-index: 1;
}

.stepper-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.8s ease-in-out;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.stepper-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0f0f13;
    border: 2px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.stepper-step.completed .stepper-icon-circle {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

.stepper-step.active .stepper-icon-circle {
    border-color: var(--primary-color);
    color: #000;
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

.stepper-step.completed .stepper-icon-circle::after {
    content: "✓";
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary-color);
    color: #000;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    font-size: 8px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.stepper-label {
    margin-top: 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #444;
    text-align: center;
    transition: color 0.3s ease;
}

.stepper-step.completed .stepper-label,
.stepper-step.active .stepper-label {
    color: #fff;
    font-weight: 800;
}

@media (max-width: 768px) {
    .stepper-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding-left: 2rem;
    }
    
    .stepper-line {
        top: 0;
        bottom: 0;
        left: 2.2rem;
        width: 2px;
        height: 100%;
    }
    
    .stepper-line-fill {
        width: 100%;
        height: 0%;
        transition: height 0.8s ease-in-out;
    }
    
    .stepper-step {
        flex-direction: row;
        gap: 1.2rem;
        width: 100%;
    }
    
    .stepper-label {
        margin-top: 0;
        text-align: left;
    }
}

/* SHIPMENT HISTORY CARD (Screenshot Theme) */
.history-section-container {
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.history-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 1rem;
}

.history-header-row h3 {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

.history-last-update {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #666;
}

.history-last-update i {
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s ease;
}

.history-last-update i:hover {
    color: #fff;
}

.history-timeline-list {
    position: relative;
    padding-left: 2.8rem;
    margin-top: 1rem;
}

.history-timeline-line {
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 1.2rem;
    width: 2px;
    background: rgba(255, 255, 255, 0.03);
}

.history-timeline-item {
    position: relative;
    margin-bottom: 2.2rem;
}

.history-timeline-item:last-child {
    margin-bottom: 0;
}

.history-item-badge {
    position: absolute;
    left: -2.8rem;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.history-timeline-item.active .history-item-badge {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.history-item-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

@media (max-width: 768px) {
    .history-item-content {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.history-item-details {
    flex: 1;
}

.history-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.35rem 0;
    line-height: 1.45;
}

.history-item-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.history-item-subtitle i {
    color: #777;
    font-size: 0.72rem;
}

.history-item-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
    white-space: nowrap;
}

.history-item-date i {
    font-size: 0.72rem;
}

/* --- TOOLS DYNAMIC TABS --- */
.tool-navigation-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(13, 13, 18, 0.4);
    border: 1px solid rgba(255, 234, 0, 0.12);
    padding: 6px;
    border-radius: 30px;
    margin-bottom: 2.5rem;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(16px);
}
.tool-tab-btn {
    background: none;
    border: none;
    color: #a0a0a0;
    padding: 0.6rem 1.4rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tool-tab-btn:hover:not(.disabled) {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.tool-tab-btn.active {
    color: #000;
    background: var(--primary-color);
    box-shadow: 0 4px 15px var(--primary-glow);
}
.tool-panel {
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
}
.tool-panel.fade-out {
    opacity: 0;
    transform: translateY(8px);
}
.tool-panel.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* --- LINK CONVERTER STYLES --- */
.converter-result-box {
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.5rem;
    text-align: left;
    margin-top: 2rem;
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.result-agent-identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}
.result-agent-identity img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}
.result-agent-identity span {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}
.result-link-field {
    width: 100%;
    background-color: #0d0d12;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: all;
}
.result-actions-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}
.btn-result-open {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #000;
    border: 1px solid var(--primary-color);
    padding: 0.9rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-result-open:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(255, 234, 0, 0.3);
}
.btn-result-copy {
    flex: 1;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.9rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-result-copy:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* --- QC CHECKER STYLES --- */
.qc-results-container {
    text-align: left;
    max-width: 680px;
    margin: 3rem auto 0 auto;
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.qc-product-header {
    background: rgba(13, 13, 18, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
}
.qc-product-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
}
.qc-product-info p {
    font-size: 0.85rem;
    color: #555;
    font-weight: 600;
}
.qc-product-info p span {
    color: var(--primary-color);
}
.qc-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.qc-image-card {
    position: relative;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.qc-image-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
}
.qc-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.qc-image-card:hover img {
    transform: scale(1.05);
}
.qc-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
    transition: opacity 0.3s ease;
}
.qc-image-card:hover .qc-image-overlay {
    opacity: 1;
}
.qc-action-icon {
    background-color: rgba(7, 7, 9, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.qc-action-icon:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--primary-glow);
}
@media (max-width: 580px) {
    .qc-images-grid { grid-template-columns: 1fr; }
    .qc-product-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

