/**
 * Media/Press Page - Professional Press Room Design
 * Inspired by: Salesforce Newsroom, HubSpot Press, Stripe Press
 * Pattern: Hero → Featured → Grid → Press Kit → Contact
 */

/* ===============================================
   VARIABLES
   =============================================== */
:root {
    --media-primary: #7c3aed;
    --media-primary-dark: #6d28d9;
    --media-accent: #f59e0b;
    --media-text: #1f2937;
    --media-text-light: #6b7280;
    --media-bg: #ffffff;
    --media-bg-alt: #f9fafb;
    --media-border: #e5e7eb;
}

/* ===============================================
   HERO SECTION
   =============================================== */
.media-hero {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #7c3aed 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.media-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.media-hero .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.media-hero .hero-content {
    text-align: center !important;
    color: white;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.media-hero h1 {
    font-size: clamp(40px, 6vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 20px);
    line-height: 1.6;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ===============================================
   FEATURED SECTION
   =============================================== */
.featured-section {
    padding: 80px 0;
    background: var(--media-bg-alt);
}

.featured-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.featured-card {
    background: white;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-top: 20px;
}

.featured-badge {
    position: absolute;
    top: 0;
    left: 60px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--media-accent), #ea580c);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transform: translateY(-50%);
}

.featured-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.featured-info {
    padding: 40px 60px 60px 60px;
}

.featured-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    margin-top: 8px;
}

.meta-type,
.meta-date,
.meta-category {
    padding: 6px 14px;
    background: var(--media-bg-alt);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--media-text-light);
}

.meta-type {
    background: rgba(124, 58, 237, 0.1);
    color: var(--media-primary);
}

.featured-info h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--media-text);
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.featured-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--media-text-light);
    margin: 0 0 32px 0;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-top: 2px solid var(--media-bg-alt);
    border-bottom: 2px solid var(--media-bg-alt);
    margin-bottom: 32px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--media-primary), var(--media-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--media-text);
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: var(--media-text-light);
}

.featured-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.read-time {
    font-size: 14px;
    color: var(--media-text-light);
    font-weight: 500;
}

.featured-image {
    position: relative;
    background: var(--media-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--media-primary);
    opacity: 0.3;
}

/* ===============================================
   MEDIA COVERAGE GRID
   =============================================== */
.media-coverage {
    padding: 100px 0;
    background: var(--media-bg);
}

.media-coverage .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--media-text);
    margin: 0 0 12px 0;
}

.section-header p {
    font-size: 18px;
    color: var(--media-text-light);
    margin: 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.media-card {
    background: white;
    border: 2px solid var(--media-border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.media-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--media-primary);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.card-type {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-type.podcast {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.card-type.interview {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.card-date {
    font-size: 13px;
    color: var(--media-text-light);
    font-weight: 600;
}

.media-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--media-text);
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.card-publication {
    font-size: 14px;
    color: var(--media-text-light);
    margin: 0 0 16px 0;
}

.card-publication strong {
    color: var(--media-text);
    font-weight: 600;
}

.card-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--media-text-light);
    margin: 0 0 24px 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid var(--media-bg-alt);
    gap: 16px;
    flex-wrap: wrap;
}

.card-person {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--media-text);
}

.person-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--media-primary), var(--media-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===============================================
   BUTTONS
   =============================================== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--media-primary), var(--media-primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--media-primary);
    border-color: var(--media-primary);
}

.btn-secondary:hover {
    background: var(--media-primary);
    color: white;
}

/* ===============================================
   PRESS KIT SECTION
   =============================================== */
.press-kit {
    padding: 100px 0;
    background: var(--media-bg-alt);
}

.press-kit .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.press-kit-content {
    background: white;
    border-radius: 16px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.press-kit-info h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--media-text);
    margin: 0 0 16px 0;
}

.press-kit-info > p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--media-text-light);
    margin: 0 0 32px 0;
}

.press-kit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.press-kit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--media-text);
}

.press-kit-list svg {
    color: var(--media-primary);
    flex-shrink: 0;
}

.press-kit-visual {
    position: relative;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.visual-item {
    background: var(--media-bg-alt);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    border: 2px solid var(--media-border);
    transition: all 0.3s ease;
}

.visual-item:hover {
    transform: scale(1.05);
    border-color: var(--media-primary);
}

.visual-item.logo {
    grid-column: span 2;
}

.visual-content {
    font-size: 32px;
    font-weight: 800;
}

.logo-real {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sales {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.visual-item.colors {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-swatch.purple-old {
    background: #7c3aed;
}

.color-swatch.purple-new {
    background: #6d28d9;
}

.color-swatch.green {
    background: #10b981;
}

.color-swatch.white {
    background: white;
    border-color: var(--media-border);
}

.color-swatch.black {
    background: #1f2937;
}

.visual-item.docs svg {
    color: var(--media-primary);
}

/* ===============================================
   PRESS CONTACT SECTION
   =============================================== */
.press-contact {
    padding: 100px 0;
    background: var(--media-bg);
}

.press-contact .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-card {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border-radius: 16px;
    padding: 60px;
    color: white;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3);
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    margin: 0 0 12px 0;
}

.contact-header p {
    font-size: 17px;
    opacity: 0.95;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.contact-person {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-person:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.contact-avatar {
    width: 64px;
    height: 64px;
    background: white;
    color: var(--media-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.contact-role {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 20px 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.contact-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.contact-link svg {
    flex-shrink: 0;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 1024px) {
    .featured-content,
    .press-kit-content {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .media-hero {
        padding: 100px 0 60px;
    }
    
    .featured-section,
    .media-coverage,
    .press-kit,
    .press-contact {
        padding: 60px 0;
    }
    
    .featured-info,
    .press-kit-content,
    .contact-card {
        padding: 40px 24px;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-meta,
    .card-header,
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .featured-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================================
   PRINT STYLES
   =============================================== */
@media print {
    .media-hero,
    .contact-card {
        background: white !important;
        color: black !important;
    }
    
    .btn-primary,
    .btn-secondary {
        display: none;
    }
}
