* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:root {
    --bg-color: #faf9f6;
    /* Premium Alabaster bela pozadina */
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    /* Plavo-tirkizni gradijent */
    --gradient-primary: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
    --gradient-hover: linear-gradient(135deg, #0369a1 0%, #0f766e 100%);
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 20px 40px rgba(2, 132, 199, 0.12);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    padding-bottom: 120px;
    opacity: 0;
    animation: fadeInPage 0.8s ease forwards;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


/* --- ANIMACIJE ULAŽENJA --- */
@keyframes fadeInPage {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- NAVIGACIJA --- */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
}

.logo-icon {
    width: 70px;
    height: 70px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 18px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--text-main);
}

.btn-browse {
    border: 1px solid var(--border-color);
    padding: 9px 20px;
    border-radius: 24px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    background: #fff;
    transition: all 0.3s ease;
}

.btn-browse:hover {
    background: var(--text-main);
    color: #fff;
    border-color: var(--text-main);
    transform: translateY(-1px);
}

/* --- HERO & GLOW EFEKAT --- */
.hero {
    position: relative;
    text-align: center;
    padding: 90px 0 60px 0;
}

.glow-orb {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 220px;
    background: radial-gradient(circle, rgb(0, 22, 148) 0%, rgba(40, 61, 114, 0.367) 50%, rgba(255, 255, 255, 0) 70%);
    filter: blur(40px);
    pointer-events: none;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -1px;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
}

.count-indicator {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

/* --- GRADIENT DUGMAD I BADŽEVI --- */
.tag {
    background-color: #f1f5f9;
    color: var(--text-muted);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 14px;
}

.bundle {
    background-color: #fef3c7;
    color: #92400e;
    font-size: 0.9rem;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 14px;
}

.tags {
    display: flex;
    gap: 14px;
}

.btn-get {
    background: var(--gradient-primary);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

.btn-get:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-get span {
    transition: transform 0.3s ease;
}

.btn-get:hover span {
    transform: translateX(4px);
}

/* --- ISTAKNUTI PROIZVOD (Featured Card) --- */
.featured-card {
    background: var(--card-bg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 36px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 44px;
    align-items: center;
    margin-bottom: 54px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
    transition: all 0.4s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(2, 132, 199, 0.2);
}

.featured-image {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 16 / 9;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-details h2 {
    font-size: 2rem;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    font-weight: 800;
}

.featured-details p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 28px;
}

.purchase-row {
    display: flex;
    align-items: center;
    gap: 28px;
}

.price {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* --- MREŽA KATALOGA (Bento Grid) --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggerovane animacije da se kartice učitavaju jedna za drugom */
.product-card:nth-child(1) {
    animation-delay: 0.3s;
}

.product-card:nth-child(2) {
    animation-delay: 0.4s;
}

.product-card:nth-child(3) {
    animation-delay: 0.5s;
}

.product-card:nth-child(4) {
    animation-delay: 0.6s;
}

.product-card:nth-child(5) {
    animation-delay: 0.7s;
}

.product-card:nth-child(6) {
    animation-delay: 0.8s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(2, 132, 199, 0.2);
}

.card-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: fill;
    background: linear-gradient(45deg, #e0f2fe 0%, #ccfbf1 100%);
    /* Premium gradijent umesto prazne boje */
    border-bottom: 1px solid var(--border-color);
    transition: filter 0.3s ease;
}

.product-card:hover .card-image-placeholder {
    filter: saturate(1.2);
}

.card-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 28px;
    flex-grow: 1;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* --- RESPONSIVE DIZAJN --- */
@media (max-width: 968px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 640px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 60px 0 40px 0;
    }

    .hero h1 {
        font-size: 1.9rem;
    }
}