﻿

/* ── BREADCRUMB ── */
.breadcrumb-bar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
    justify-content: center;
}

    .breadcrumb-bar a {
        color: var(--text-dim);
        text-decoration: none;
        transition: color 0.2s;
    }

        .breadcrumb-bar a:hover {
            color: var(--accent);
        }

    .breadcrumb-bar .sep {
        opacity: 0.4;
    }

    .breadcrumb-bar .current {
        color: var(--text-muted);
    }

/* ── HERO ── */
.tool-hero {
    position: relative;
    overflow: hidden;
    padding: 24px 16px 0;
}

    .tool-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 80% 50% at 80% 0%, var(--tool-color-glow), transparent 60%), radial-gradient(ellipse 60% 40% at 0% 80%, #7c6aff0a 0%, transparent 60%);
        pointer-events: none;
    }

/* Mobile: single column */
.tool-hero-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* Tool header */
.tool-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.tool-thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--surface2);
    border: 1px solid var(--border2);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .tool-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .tool-thumb .fallback {
        font-family: 'Syne', sans-serif;
        font-weight: 800;
        font-size: 26px;
        color: var(--tool-color);
    }

.tool-title-block {
    flex: 1;
    min-width: 0;
}

.tool-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.pricing-badge {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
}

.pricing-free {
    background: #22c55e14;
    color: var(--green);
    border: 1px solid #22c55e28;
}

.pricing-freemium {
    background: #06b6d414;
    color: var(--cyan);
    border: 1px solid #06b6d428;
}

.pricing-paid {
    background: #ec489914;
    color: var(--pink);
    border: 1px solid #ec489928;
}

.pricing-deals {
    background: #ec489914;
    color: var(--pink);
    border: 1px solid #ec489928;
}

.pricing-free-trial {
    background: #f9731614;
    color: var(--orange);
    border: 1px solid #f9731628;
}
.pricing-contact {
    background: #f9731614;
    color: var(--orange);
    border: 1px solid #f9731628;
}

.cat-chip {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.2s;
}

    .cat-chip:hover {
        color: var(--accent);
        border-color: #7c6aff33;
    }

h1.tool-name {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 8px;
}

.tool-tagline {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.5;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 11.5px;
    color: var(--text-dim);
}

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

/* CTA buttons — stacked on mobile */
.cta-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}

.btn-visit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    box-shadow: 0 4px 20px var(--accent-glow);
    width: 100%;
}

    .btn-visit:hover {
        opacity: 0.88;
    }

.btn-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--surface);
    border: 1px solid var(--border2);
    color: var(--text-muted);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

    .btn-share:hover {
        border-color: #7c6aff33;
        color: var(--accent);
    }

/* ── HERO SCREENSHOT ── */
.hero-screenshot {
    max-width: 1280px;
    margin: 20px auto 0;
    padding: 0;
    position: relative;
}

    .hero-screenshot img {
        width: 100%;
        display: block;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border2);
        max-height: 220px;
        object-fit: cover;
        object-position: top;
        transition: transform 0.4s ease;
    }


.hero-screenshot-label {
    position: absolute;
    bottom: 10px;
    left: 28px;
    background: rgba(10,10,15,0.78);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
}

/* ── INFO CARD ── */
.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card-title {
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
}

.info-rows {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

.info-label {
    color: var(--text-dim);
    flex-shrink: 0;
}

.info-value {
    color: var(--text);
    font-weight: 500;
    text-align: right;
}

    .info-value a {
        color: var(--accent);
        text-decoration: none;
    }

        .info-value a:hover {
            text-decoration: underline;
        }

.info-divider {
    height: 1px;
    background: var(--border);
}

.date-disabled {
    display:none;
}

.share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.share-btn {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
    text-align: center;
}

    .share-btn:hover {
        border-color: var(--border2);
        color: var(--text);
    }

/* ── PAGE BODY ── */
.page-body {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px 56px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Sidebar above content on mobile */
.sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.content-col {
    min-width: 0;
}

/* Section headings */
.sh {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--text);
    margin: 28px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--accent);
    line-height: 1.2;
}

    .sh:first-child {
        margin-top: 0;
    }

.desc-block {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 8px;
}

    .desc-block strong {
        color: var(--text);
        font-weight: 600;
    }

.highlight-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--tool-color);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 14px 0;
    font-style: italic;
    line-height: 1.55;
}

.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.tag-pill {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 12px;
    padding: 4px 11px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s;
}

    .tag-pill:hover {
        border-color: #7c6aff33;
        color: var(--accent);
        background: var(--accent-glow);
    }

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--surface), #14101e);
    border: 1px solid #7c6aff22;
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    margin-top: 28px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

    .cta-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 80% 100% at 50% 0%, var(--accent-glow), transparent);
        pointer-events: none;
    }

    .cta-banner h3 {
        font-family: 'Syne', sans-serif;
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 6px;
        position: relative;
    }

    .cta-banner p {
        color: var(--text-muted);
        font-size: 13px;
        margin-bottom: 16px;
        position: relative;
    }

/* Sidebar cards */
.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
}

.sidebar-card-title {
    font-family: 'Syne', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.mini-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mini-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}

    .mini-item:hover {
        background: var(--surface2);
    }

.mini-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: var(--bg3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
    color: var(--text-muted);
}

.mini-body {
    flex: 1;
    min-width: 0;
}

.mini-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.mini-item:hover .mini-name {
    color: var(--accent);
}

.mini-sub {
    font-size: 11px;
    color: var(--text-muted);/*var(--text-dim);*/
}

/* Newsletter */
.nl-content {
    display:block;
}
.nl-success {
    display:none;
}
.newsletter-card {
    background: linear-gradient(135deg, var(--surface), #14101e);
    border: 1px solid #7c6aff22;
}

    .newsletter-card .sidebar-card-title {
        color: var(--accent);
    }

    .newsletter-card input {
        width: 100%;
        background: var(--bg3);
        border: 1px solid var(--border2);
        border-radius: 8px;
        padding: 10px 14px;
        color: var(--text);
        font-size: 13px;
        font-family: 'DM Sans', sans-serif;
        outline: none;
        margin-bottom: 8px;
        transition: border-color 0.2s;
    }

        .newsletter-card input:focus {
            border-color: #7c6aff44;
        }

        .newsletter-card input::placeholder {
            color: var(--text-dim);
        }

    .newsletter-card button {
        width: 100%;
        background: linear-gradient(135deg, var(--accent), var(--accent2));
        border: none;
        border-radius: 8px;
        padding: 10px;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        font-family: 'DM Sans', sans-serif;
        transition: opacity 0.2s;
    }

        .newsletter-card button:hover {
            opacity: 0.88;
        }

.data-missing {
    background: #f5c84208;
    border: 1px dashed #f5c84233;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    color: #f5c84299;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 14px 0;
}



/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.a1 {
    animation: fadeUp .4s .04s ease both
}

.a2 {
    animation: fadeUp .4s .08s ease both
}

.a3 {
    animation: fadeUp .4s .12s ease both
}

.a4 {
    animation: fadeUp .4s .16s ease both
}

/* ════════════════════════════
    TABLET — min-width: 640px
════════════════════════════ */
@media (min-width: 640px) {
    .tool-hero {
        padding: 36px 24px 0;
    }

    .breadcrumb-bar {
        padding: 11px 24px;
    }

    h1.tool-name {
        font-size: 32px;
    }

    .tool-thumb {
        width: 68px;
        height: 68px;
    }

    .tool-tagline {
        font-size: 15px;
    }

    /* CTA side by side on tablet */
    .cta-row {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-screenshot {
        margin-top: 24px;
    }

        .hero-screenshot img {
            max-height: 360px;
        }

    .hero-screenshot-label {
        left: 36px;
        bottom: 12px;
        font-size: 12px;
    }

    .page-body {
        padding: 28px 24px 56px;
    }

}

/* ════════════════════════════
    DESKTOP — min-width: 1024px
════════════════════════════ */
@media (min-width: 1024px) {
    .tool-hero {
        padding: 48px 32px 0;
    }

    .breadcrumb-bar {
        padding: 12px 32px;
    }

    /* Two-column hero grid on desktop */
    .tool-hero-grid {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 40px;
        flex-direction: unset;
    }

    h1.tool-name {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    .tool-thumb {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }

    .tool-tagline {
        font-size: 16px;
    }

    .cta-row {
        flex-direction: row;
        margin-top: 24px;
    }

    .hero-screenshot {
        margin-top: 28px;
    }

        .hero-screenshot img {
            max-height: 480px;
        }

    .hero-screenshot-label {
        left: 48px;
        bottom: 16px;
        font-size: 12px;
    }

    /* Two-column page body */
    .page-body {
        max-width: 1345px;
        padding: 36px 32px 64px;
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 40px;
        flex-direction: unset;
    }

    /* Sidebar on right, content on left */
    .sidebar-col {
        order: 2;
        margin-bottom: 0;
        position: sticky;
        top: 82px;
        align-self: start;
    }

    .content-col {
        order: 1;
    }

    .sh {
        font-size: 18px;
        margin: 36px 0 14px;
    }

    .desc-block {
        font-size: 15px;
    }
}
