/* ============================================
   PUBLISHER PAGE — Styles
   ============================================ */

/* ========== NAVBAR (Light) ========== */
.pub-navbar {
    background: #fff !important;
    border-bottom: 1px solid #e8ecf0;
    padding: 14px 0;
    transition: 0.3s ease;
    z-index: 1050;
    box-shadow: none !important;
}

.pub-navbar.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
    padding: 10px 0;
}

.pub-logo-dark {
    filter: none;
}

.pub-navbar .nav-link {
    color: #3a4a5e !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 8px 14px !important;
    transition: 0.3s ease;
}

.pub-navbar .nav-link:hover,
.pub-navbar .nav-link.active {
    color: #319AD5 !important;
}

.pub-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #F7932E;
    transition: 0.3s ease;
}

.pub-navbar .nav-link:hover::after,
.pub-navbar .nav-link.active::after {
    width: 50%;
}

.pub-btn-login {
    color: #3a4a5e !important;
    border-color: #d5dbe3 !important;
}

.pub-btn-login:hover {
    color: #0F1A24 !important;
    border-color: #aab4c2 !important;
    background: #f5f7fa !important;
}

.pub-navbar .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.2);
}

.pub-navbar .navbar-toggler-icon {
    filter: invert(1) grayscale(100%) brightness(0.4);
}

/* ========== HERO ========== */
.pub-hero {
    background: #f5f7fa;
    padding: 130px 0 80px;
    position: relative;
    overflow: hidden;
}

.pub-hero-grid {
      display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 85px;
}

.pub-hero-badge {
    display: inline-block;
    background: rgba(49, 154, 213, 0.1);
    color: #319AD5;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pub-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0F1A24;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.pub-hero-desc {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 28px;
}

.pub-hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pub-btn-outline {
    background: transparent;
    color: #0F1A24;
    border: 1.5px solid #d5dbe3;
    padding: 11px 30px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.3s ease;
}

.pub-btn-outline:hover {
    border-color: #aab4c2;
    background: #fff;
    color: #0F1A24;
}

.pub-hero-image-wrapper {
    position: relative;
}

.pub-hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.12));
}

/* ========== PLATFORM ========== */
.pub-platform {
    background: #fff;
}

/* ========== AD DEMAND ========== */
.pub-demand {
    background: #fff;
}

/* ========== CTA ========== */
.pub-cta {
    padding: 80px 0 100px;
    background: #fff;
}

.pub-cta-box {
    background: linear-gradient(165deg, #050b18 0%, #091425 30%, #0d1e35 55%, #122a48 100%);
    border-radius: 24px;
    padding: 65px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pub-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 50%, rgba(247, 147, 46, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 50%, rgba(26, 143, 255, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1199.98px) {
    .pub-hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .pub-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pub-hero-image-col {
        display: none;
    }

    .pub-hero {
        padding: 120px 0 60px;
    }

    .pub-hero-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 767.98px) {
    .pub-hero {
        padding: 100px 0 50px;
    }

    .pub-hero-title {
        font-size: 1.6rem;
    }

    .pub-cta-box {
        padding: 40px 20px;
    }
}

@media (max-width: 575.98px) {
    .pub-hero-title {
        font-size: 1.4rem;
    }

    .pub-hero-buttons {
        flex-direction: column;
    }

    .pub-hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .pub-cta-box {
        padding: 30px 14px;
    }
}
