/* WhatsIssue Homepage Styles */

.wihp-homepage {
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #e8e8e8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
}

.wihp-homepage * { box-sizing: border-box; }

/* ─── HERO ─── */
.wihp-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wihp-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 71, 87, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.wihp-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.wihp-hero-badge {
    display: inline-block;
    background: rgba(255, 71, 87, 0.15);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.wihp-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px 0;
    color: #fff;
    letter-spacing: -1px;
}

.wihp-hero-accent {
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wihp-hero-sub {
    font-size: 20px;
    color: #b8b8b8;
    margin: 0 auto 40px;
    max-width: 700px;
    line-height: 1.5;
}

.wihp-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.wihp-btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.wihp-btn-primary {
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 71, 87, 0.4);
}

.wihp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 71, 87, 0.5);
    color: #fff;
}

.wihp-btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.wihp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.wihp-btn-lg {
    padding: 20px 48px;
    font-size: 18px;
}

.wihp-hero-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    color: #888;
    font-size: 14px;
    margin-top: 24px;
}

.wihp-hero-trust span {
    color: #2ecc71;
    font-weight: 500;
}

/* ─── STATS BAR ─── */
.wihp-stats-bar {
    background: #0a0a0a;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 32px 20px;
}

.wihp-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.wihp-stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #ff4757;
    margin-bottom: 4px;
}

.wihp-stat-num.wihp-live {
    color: #2ecc71;
    font-size: 24px;
}

.wihp-stat-label {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── SECTION HEADERS ─── */
.wihp-section-head {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 20px;
}

.wihp-section-head h2 {
    font-size: 36px;
    color: #fff;
    margin: 0 0 12px 0;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.wihp-section-head p {
    font-size: 17px;
    color: #999;
    margin: 0;
}

.wihp-section-head-left {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 32px;
}

.wihp-section-head-left h2 {
    margin: 0;
    font-size: 28px;
}

.wihp-view-all {
    color: #ff4757;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.wihp-view-all:hover {
    color: #ff6b6b;
}

/* ─── FEATURES ─── */
.wihp-features {
    background: #0d0d0d;
    padding: 80px 20px;
}

.wihp-feature-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.wihp-feature {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wihp-feature:hover {
    border-color: #444;
    transform: translateY(-4px);
}

.wihp-feature-primary {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a1a2e 100%);
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: 0 0 32px rgba(255, 71, 87, 0.15);
}

.wihp-feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.wihp-feature h3 {
    color: #fff;
    font-size: 24px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.wihp-feature-tag {
    color: #ff4757;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
}

.wihp-feature-desc {
    color: #b8b8b8;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.wihp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.wihp-feature-list li {
    color: #999;
    font-size: 14px;
    padding: 4px 0;
}

.wihp-feature-cta {
    display: block;
    text-align: center;
    background: #ff4757;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wihp-feature-cta:hover {
    background: #ff6b6b;
    color: #fff;
    transform: scale(1.02);
}

/* ─── TOP COMPANIES ─── */
.wihp-top-companies {
    background: #0a0a0a;
    padding: 80px 20px;
}

.wihp-companies-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.wihp-company-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wihp-company-card:hover {
    border-color: #ff4757;
    transform: translateY(-2px);
}

.wihp-company-rank {
    font-size: 32px;
    font-weight: 800;
    color: #ff4757;
    line-height: 1;
}

.wihp-company-info { flex: 1; }

.wihp-company-info h4 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.wihp-company-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.wihp-company-industry {
    background: #2a2a2a;
    color: #999;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.wihp-company-heat {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.wihp-heat-critical { background: rgba(255, 71, 87, 0.2); color: #ff4757; }
.wihp-heat-hot      { background: rgba(255, 140, 0, 0.2); color: #ff8c00; }
.wihp-heat-warm     { background: rgba(255, 196, 0, 0.2); color: #ffc400; }
.wihp-heat-cool     { background: rgba(46, 204, 113, 0.2); color: #2ecc71; }

.wihp-company-action {
    color: #ff4757;
    font-size: 14px;
    font-weight: 600;
}

/* ─── HOW IT WORKS ─── */
.wihp-how-it-works {
    background: #0d0d0d;
    padding: 80px 20px;
}

.wihp-steps {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.wihp-step {
    text-align: center;
    padding: 24px;
}

.wihp-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(255, 71, 87, 0.3);
}

.wihp-step h3 {
    color: #fff;
    font-size: 22px;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.wihp-step p {
    color: #999;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

/* ─── LATEST POSTS ─── */
.wihp-latest {
    background: #0a0a0a;
    padding: 60px 20px;
}

.wihp-latest-alt { background: #0d0d0d; }

.wihp-posts-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.wihp-post-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.wihp-post-card:hover {
    border-color: #444;
    transform: translateY(-4px);
}

.wihp-post-thumb {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #2a2a2a;
}

.wihp-post-body { padding: 20px; }

.wihp-post-cat {
    display: inline-block;
    color: #ff4757;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.wihp-post-card h4 {
    color: #fff;
    font-size: 17px;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-weight: 700;
}

.wihp-post-date {
    color: #666;
    font-size: 13px;
    margin: 0;
}

/* ─── FINAL CTA ─── */
.wihp-final-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a1a2e 100%);
    padding: 80px 20px;
    text-align: center;
}

.wihp-final-cta h2 {
    color: #fff;
    font-size: 40px;
    margin: 0 0 16px 0;
    font-weight: 800;
}

.wihp-final-cta p {
    color: #b8b8b8;
    font-size: 18px;
    margin: 0 0 32px 0;
}

.wihp-final-trust {
    color: #666 !important;
    font-size: 14px !important;
    margin-top: 20px !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .wihp-hero-title { font-size: 40px; }
    .wihp-hero-sub { font-size: 17px; }
    .wihp-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .wihp-feature-grid,
    .wihp-companies-grid,
    .wihp-steps,
    .wihp-posts-grid { grid-template-columns: 1fr; }
    .wihp-section-head h2 { font-size: 28px; }
    .wihp-section-head-left { flex-direction: column; align-items: flex-start; gap: 12px; }
    .wihp-final-cta h2 { font-size: 28px; }
}

@media (max-width: 480px) {
    .wihp-hero { padding: 60px 16px 40px; }
    .wihp-hero-title { font-size: 32px; }
    .wihp-btn { width: 100%; text-align: center; }
    .wihp-hero-cta { flex-direction: column; }
}
