/* ============================================
   COMPIAZ PULSE - Blog/News Page Styles
   ============================================ */

/* Hero Section */
.pulse-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
    padding-top: 120px;
}

.pulse-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.pulse-hero .animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pulse-hero .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.pulse-hero .shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f03a70, #ff6b9d);
    top: -100px;
    right: -100px;
    animation: pulse-float-1 8s ease-in-out infinite;
}

.pulse-hero .shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #00a6fb, #0077b5);
    bottom: -100px;
    left: -100px;
    animation: pulse-float-2 10s ease-in-out infinite;
}

.pulse-hero .shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-float-3 12s ease-in-out infinite;
}

@keyframes pulse-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.1); }
}

@keyframes pulse-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
}

@keyframes pulse-float-3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.15); }
}

.pulse-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.pulse-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.pulse-hero .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pulse Icon Animation */
.pulse-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(240, 58, 112, 0.2), rgba(0, 166, 251, 0.2));
    margin-bottom: 2rem;
    position: relative;
}

.pulse-icon i {
    font-size: 2rem;
    background: linear-gradient(45deg, #f03a70, #00a6fb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pulse-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(240, 58, 112, 0.3);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   Articles Grid
   ============================================ */
.pulse-articles {
    padding: 5rem 0;
    background: #0a0a0a;
    min-height: 50vh;
}

.pulse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* Featured Article (full width) */
.pulse-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.pulse-card.featured:hover {
    border-color: rgba(240, 58, 112, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.pulse-card.featured .pulse-card-image {
    height: 100%;
    min-height: 400px;
}

.pulse-card.featured .pulse-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pulse-card.featured .pulse-card-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pulse-card.featured .pulse-card-title {
    font-size: 2rem;
    line-height: 1.2;
}

.pulse-card.featured .pulse-card-excerpt {
    font-size: 1.05rem;
    line-height: 1.8;
    -webkit-line-clamp: 5;
    line-clamp: 5;
}

/* Standard Article Card */
a.pulse-card,
a.pulse-card:hover,
a.pulse-card:visited,
a.pulse-card:active {
    text-decoration: none !important;
    color: inherit !important;
}

.pulse-card {
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pulse-card:hover {
    border-color: rgba(240, 58, 112, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.pulse-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.pulse-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pulse-card:hover .pulse-card-image img {
    transform: scale(1.05);
}

.pulse-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.pulse-card-category.cat-tech {
    background: rgba(0, 166, 251, 0.2);
    color: #00a6fb;
    border: 1px solid rgba(0, 166, 251, 0.3);
}

.pulse-card-category.cat-design {
    background: rgba(240, 58, 112, 0.2);
    color: #f03a70;
    border: 1px solid rgba(240, 58, 112, 0.3);
}

.pulse-card-category.cat-news {
    background: rgba(124, 58, 237, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.pulse-card-category.cat-business {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pulse-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pulse-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.pulse-card-meta i {
    margin-right: 0.3rem;
}

.pulse-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.pulse-card:hover .pulse-card-title {
    color: #f03a70;
}

.pulse-card-excerpt {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pulse-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-card-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pulse-card-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(240, 58, 112, 0.3);
}

.pulse-card-author-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.pulse-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f03a70;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pulse-read-more:hover {
    color: #ff6b9d;
    gap: 0.75rem;
}

.pulse-read-more i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.pulse-read-more:hover i {
    transform: translateX(3px);
}

/* ============================================
   Empty State / Coming Soon
   ============================================ */
.pulse-empty {
    text-align: center;
    padding: 5rem 2rem;
}

.pulse-empty-icon {
    font-size: 4rem;
    background: linear-gradient(45deg, #f03a70, #00a6fb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.pulse-empty h3 {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.pulse-empty p {
    color: rgba(255, 255, 255, 0.5);
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   Newsletter CTA
   ============================================ */
.pulse-cta {
    padding: 5rem 0;
    background: #000;
    position: relative;
    overflow: hidden;
}

.pulse-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 58, 112, 0.5), rgba(0, 166, 251, 0.5), transparent);
}

.pulse-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.pulse-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pulse-cta-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.pulse-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #f03a70, #ff6b9d);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
}

.pulse-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(240, 58, 112, 0.4);
    color: white;
}

/* ============================================
   Filter Tags
   ============================================ */
.pulse-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.pulse-filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.pulse-filter-btn:hover,
.pulse-filter-btn.active {
    background: linear-gradient(135deg, rgba(240, 58, 112, 0.15), rgba(0, 166, 251, 0.15));
    border-color: rgba(240, 58, 112, 0.4);
    color: white;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 992px) {
    .pulse-hero h1 {
        font-size: 3rem;
    }

    .pulse-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .pulse-card.featured {
        grid-template-columns: 1fr;
    }

    .pulse-card.featured .pulse-card-image {
        min-height: 280px;
    }

    .pulse-card.featured .pulse-card-body {
        padding: 2rem;
    }

    .pulse-card.featured .pulse-card-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .pulse-hero {
        min-height: 50vh;
        padding-top: 100px;
    }

    .pulse-hero h1 {
        font-size: 2.2rem;
    }

    .pulse-hero .hero-subtitle {
        font-size: 1rem;
    }

    .pulse-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pulse-articles {
        padding: 3rem 0;
    }

    .pulse-cta-content h2 {
        font-size: 1.8rem;
    }

    .pulse-icon {
        width: 60px;
        height: 60px;
    }

    .pulse-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .pulse-card-body {
        padding: 1.25rem;
    }

    .pulse-card-title {
        font-size: 1.1rem;
    }

    .pulse-card-image {
        height: 180px;
    }
}
