/**
 * MarketMeNow Tools Hub Styles (/riki/)
 */

.mmn-tools-page {
    background-color: #f8fafc;
    min-height: 100vh;
}

/* Hero Section */
.mmn-tools-hero {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 24px 40px;
    text-align: center;
}

.mmn-tools-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.mmn-tools-badge .mmn-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.mmn-tools-title {
    font-size: clamp(2.2rem, 4.4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.18;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}

.mmn-tools-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: #475569;
    max-width: 760px;
    margin: 0 auto 36px;
}

/* Category Filters */
.mmn-tools-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.mmn-filter-btn {
    appearance: none;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.mmn-filter-btn:hover {
    border-color: #cbd5e1;
    color: #0f172a;
    background: #f1f5f9;
}

.mmn-filter-btn.active {
    background: #047857;
    border-color: #047857;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.2);
}

/* Content Container */
.mmn-tools-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* Spotlight Bento Card */
.mmn-spotlight-card {
    background: #ffffff;
    border: 2px solid #10b981;
    border-radius: 20px;
    padding: 36px 40px;
    margin-bottom: 44px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 36px;
    align-items: center;
    box-shadow: 0 16px 36px -10px rgba(16, 185, 129, 0.12);
    position: relative;
    overflow: hidden;
}

.mmn-spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.mmn-spotlight-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.mmn-spotlight-eyebrow .mmn-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.mmn-spotlight-title {
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 14px;
}

.mmn-spotlight-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 24px;
}

.mmn-spotlight-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    font-size: 13.5px;
    color: #64748b;
}

.mmn-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mmn-meta-item svg {
    color: #10b981;
}

.mmn-spotlight-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #047857;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.25);
}

.mmn-spotlight-cta:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.35);
    color: #ffffff;
}

/* Spotlight Visual Preview */
.mmn-spotlight-visual {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mmn-visual-score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
}

.mmn-visual-score-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 24px;
    color: #047857;
}

.mmn-visual-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mmn-visual-metric-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
}

.mmn-visual-metric-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.mmn-visual-metric-val {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

/* Tools Grid */
.mmn-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.mmn-tool-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    position: relative;
}

.mmn-tool-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
}

.mmn-tool-card.featured {
    border-color: #10b981;
}

.mmn-tool-top {
    margin-bottom: 20px;
}

.mmn-tool-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mmn-tool-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f0fdf4;
    color: #047857;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.mmn-tool-icon-wrap.neutral {
    background: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
}

.mmn-tool-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
}

.mmn-tool-status-pill.active {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.mmn-tool-status-pill.active .mmn-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
}

.mmn-tool-status-pill.upcoming {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.mmn-tool-category {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: #047857;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.mmn-tool-name {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 10px;
}

.mmn-tool-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 16px;
}

.mmn-tool-specs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 20px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.mmn-tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mmn-tool-btn.primary {
    background: #047857;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.2);
}

.mmn-tool-btn.primary:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.3);
    color: #ffffff;
}

.mmn-tool-btn.outline {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.mmn-tool-btn.outline:hover {
    border-color: #047857;
    color: #047857;
    background: #f0fdf4;
}

.mmn-tool-btn.disabled {
    background: #f1f5f9;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    cursor: not-allowed;
    pointer-events: none;
}

/* Philosophy / Why Free Section */
.mmn-tools-why {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 48px 40px;
    margin-bottom: 64px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.03);
}

.mmn-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.mmn-why-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mmn-why-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
    background: #ffffff;
}

.mmn-why-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.mmn-why-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ecfdf5;
    color: #047857;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: transform 0.2s ease;
}

.mmn-why-item:hover .mmn-why-icon-wrap {
    transform: scale(1.05);
}

.mmn-why-number {
    font-size: 12.5px;
    font-weight: 800;
    color: #94a3b8;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 3px 9px;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    transition: all 0.2s ease;
}

.mmn-why-item:hover .mmn-why-number {
    color: #047857;
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.3);
}

.mmn-why-item h4 {
    font-size: 17.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.01em;
}

.mmn-why-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* Global Bottom CTA (Canonical MarketMeNow Design) */
.mmn-tools-cta-box {
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 24px;
    padding: 48px 36px 40px;
    text-align: center;
    margin-bottom: 48px;
    box-shadow: 0 12px 36px rgba(16, 185, 129, 0.05);
    position: relative;
    overflow: hidden;
}

.mmn-tools-cta-box::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    height: 180px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.mmn-tools-cta-box h2,
.mmn-tools-cta-box h3 {
    font-size: clamp(1.8rem, 3.2vw, 2.3rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.mmn-tools-cta-box p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #475569;
    max-width: 620px;
    margin: 0 auto 26px;
}

.mmn-tools-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(145deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
    border: 1px solid #059669;
}

.mmn-tools-cta-btn:hover {
    background: linear-gradient(145deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
    color: #ffffff;
}

.mmn-cta-microcopy {
    display: block;
    font-size: 12.5px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .mmn-spotlight-card {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }
    .mmn-why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .mmn-tools-why {
        padding: 32px 24px;
    }
    .mmn-tools-cta-box {
        padding: 36px 24px;
    }
}

@media (max-width: 640px) {
    .mmn-tools-hero {
        padding: 28px 20px 30px;
    }
    .mmn-tools-grid {
        grid-template-columns: 1fr;
    }
    .mmn-tools-filters {
        gap: 6px;
    }
    .mmn-filter-btn {
        padding: 7px 14px;
        font-size: 12.5px;
    }
}
