/* ==================================================
   Eurovision Burgas 2027 - Digital Product Hub
   Premium Cosmic Glassmorphism Stylesheet
   ================================================== */

:root {
    --font-header: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Color Palette */
    --bg-main: #060417;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --color-pink: #ec4899;
    --color-blue: #06b6d4;
    --color-purple: #8b5cf6;
    --color-gold: #eab308;
    --color-green: #10b981;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 5rem;
}

/* Ambient Radial Glows */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.glow-pink {
    background: radial-gradient(circle, var(--color-pink) 0%, transparent 80%);
    top: -100px;
    left: -100px;
}

.glow-blue {
    background: radial-gradient(circle, var(--color-blue) 0%, transparent 80%);
    bottom: 200px;
    right: -100px;
}

/* Header */
.main-header {
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.studio-badge {
    font-family: var(--font-header);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.city-badge {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: var(--color-pink);
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.3);
}

/* Main Hub Container */
.hub-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin: 3rem auto 5rem;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-header);
    font-weight: 900;
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Filters */
.filter-section {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    padding: 0.5rem;
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    overflow-x: auto;
    max-width: 100%;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: #ffffff;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-blue) 100%);
    color: #060417;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

/* Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 60%);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.1);
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.asset-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-app {
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-blue);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.badge-excel {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-doc {
    background: rgba(139, 92, 246, 0.1);
    color: var(--color-purple);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.audience-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.product-card h3 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* Card Footer & Button */
.card-footer {
    margin-top: auto;
}

.action-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:not(.btn-secondary) {
    background: #ffffff;
    color: var(--bg-main);
}

.action-btn:not(.btn-secondary):hover {
    background: var(--color-pink);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Card filter animations */
.product-card.hidden {
    opacity: 0;
    transform: scale(0.9);
    position: absolute;
    pointer-events: none;
    visibility: hidden;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
}

/* Bundles Section */
.bundles-section {
    margin-bottom: 7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 5rem;
}

.section-title {
    font-family: var(--font-header);
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3.5rem;
}

.bundles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.bundle-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bundle-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    top: -50px;
    right: -50px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    filter: blur(20px);
}

.bundle-card.popular {
    border: 2px solid var(--color-pink);
    transform: scale(1.03);
    background: rgba(236, 72, 153, 0.02);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.08);
}

.popular-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--color-pink);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bundle-content h4 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.bundle-price {
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.old-price {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.bundle-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 2rem;
}

.bundle-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bundle-list li {
    font-size: 0.85rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Disclaimer & Scope */
.disclaimer-section {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.disclaimer-section h3 {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.law-disclaimer {
    border-left: 3px solid var(--color-pink);
    padding-left: 1rem;
    font-style: italic;
}

.last-updated {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 1rem;
}

/* Footer */
.main-footer {
    width: 100%;
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    margin-top: 5rem;
}

/* ==================================================
   Responsive Breakpoints
   ================================================== */

@media (max-width: 1024px) {
    .bundles-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .bundle-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        padding-bottom: 0.75rem;
    }
}
