/* =========================================================================
   QuinielaHub - LANDING PAGE STYLES (V2 - BENTO BOX)
   ========================================================================= */

body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', sans-serif;
}

/* Glass Navbar for Landing */
.navbar-glass {
    background: transparent !important;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.navbar-glass.scrolled {
    background: var(--color-bg-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--color-text-main) !important;
}

/* Hero Section Centralized */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 0 4rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg-glow1 {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(12, 166, 120, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 8s infinite alternate;
}

.hero-bg-glow2 {
    position: absolute;
    bottom: -20%; left: 30%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(245, 159, 0, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 10s infinite alternate-reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-weight: 800;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
    padding: 0 1rem;
}

/* Landing Buttons */
.btn-glow {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0a8f66 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 10px 25px rgba(12, 166, 120, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
}

.btn-glow:hover {
    box-shadow: 0 15px 35px rgba(12, 166, 120, 0.5);
    transform: translateY(-2px);
}

.btn-glow-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, #d97706 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 10px 25px rgba(245, 159, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
}

.btn-glow-accent:hover {
    box-shadow: 0 15px 35px rgba(245, 159, 0, 0.5);
    transform: translateY(-2px);
}

.btn-outline-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-main) !important;
    backdrop-filter: blur(5px);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Floating Visuals (Bento Hero) */
.hero-visuals {
    margin-top: 5rem;
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 400px;
    z-index: 1;
}

.hero-card {
    position: absolute;
    background: var(--color-bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.hero-card-left {
    left: 5%;
    top: 20px;
    width: 380px;
    transform: rotate(-4deg);
    animation: float 6s ease-in-out infinite;
}

.hero-card-right {
    right: 5%;
    top: 60px;
    width: 380px;
    transform: rotate(3deg);
    animation: float 7s ease-in-out infinite reverse;
    border-color: rgba(245, 159, 0, 0.3);
    background: rgba(30, 41, 59, 0.85);
}

.hero-card:hover {
    transform: translateY(-10px) rotate(0deg) scale(1.05);
    z-index: 10;
}

/* Bento Box Features Grid */
.bento-section {
    padding: 8rem 0;
    background: var(--color-bg-base);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 1.5rem;
}

.bento-item {
    background: var(--color-bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border-light);
    border-radius: 32px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: translateY(-5px);
}

.bento-item-large {
    grid-column: span 8;
}

.bento-item-small {
    grid-column: span 4;
}

.bento-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.bento-icon-primary {
    background: linear-gradient(135deg, rgba(12, 166, 120, 0.2) 0%, rgba(12, 166, 120, 0.05) 100%);
    color: var(--color-primary);
    border: 1px solid rgba(12, 166, 120, 0.2);
}

.bento-icon-accent {
    background: linear-gradient(135deg, rgba(245, 159, 0, 0.2) 0%, rgba(245, 159, 0, 0.05) 100%);
    color: var(--color-accent);
    border: 1px solid rgba(245, 159, 0, 0.2);
}

.bento-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.bento-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Album Visual within Bento */
.album-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 2rem;
    overflow: hidden;
}

.album-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), #ffd43b);
    width: 65%;
    border-radius: 4px;
}

.sticker-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: monospace;
    color: #fff;
    display: inline-block;
    margin-right: 0.5rem;
    margin-top: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-bg-surface) 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-border-light);
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* Footer Custom */
.footer-custom {
    background-color: var(--color-bg-base);
    border-top: 1px solid var(--color-border-light);
    padding: 3rem 0;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(auto); }
    50% { transform: translateY(-20px) rotate(auto); }
    100% { transform: translateY(0px) rotate(auto); }
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scale(0.9); }
    100% { opacity: 0.7; transform: scale(1.1); }
}

/* Utilities */
.text-gradient {
    background: linear-gradient(to right, var(--color-primary), #38d9a9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-accent {
    background: linear-gradient(to right, var(--color-accent), #ffd43b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-pro {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 991px) {
    .bento-item-large, .bento-item-small {
        grid-column: span 12;
    }
    
    .hero-section {
        min-height: auto;
        padding-top: 8rem;
    }
    
    .hero-visuals {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        height: auto;
        align-items: center;
        margin-top: 3rem;
    }
    
    .hero-card {
        position: relative;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100%;
        max-width: 380px;
        animation: none;
    }
    
    .navbar-collapse {
        background: var(--color-bg-glass);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 1.5rem;
        border-radius: 16px;
        border: 1px solid var(--color-border);
        margin-top: 1rem;
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    }
}
