/* ============================================
   HOMEPAGE — Command Center Design
   ============================================ */

/* --- Command Bar --- */
.command-bar {
    background: var(--primary-color);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 18px 0;
    position: relative;
    overflow: hidden;
}

.command-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(17, 34, 64, 0.9) 0%,
            rgba(10, 25, 47, 1) 50%,
            rgba(17, 34, 64, 0.9) 100%);
    pointer-events: none;
}

.command-bar-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Rotating tagline */
.rotating-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
}

.tagline-prefix {
    color: var(--white);
    font-weight: 400;
}

.tagline-verb {
    display: inline-block;
    color: var(--accent-color);
    min-width: 210px;
    text-align: left;
    position: relative;
    font-weight: 700;
}

.tagline-verb .verb-text {
    display: inline-block;
    animation: verbFadeIn 0.5s ease forwards;
}

@keyframes verbFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

@keyframes verbFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.tagline-dot {
    color: var(--accent-color);
    font-weight: 700;
    font-size: inherit;
    line-height: 1;
}

/* --- Tool Launcher Grid --- */
.tool-launcher {
    padding: 40px 0 30px;
    background: var(--bg-color);
}

.tool-launcher .section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    margin-bottom: 24px;
    font-weight: 600;
}

.launcher-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(170px, auto);
    gap: 16px;
}

/* Tool card base — defined in pages.css (shared across homepage + tools.php) */

/* --- Featured Card (Betalingskenmerk) --- */
.tool-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(145deg, #0d1f3c 0%, #0a192f 50%, #0f2847 100%);
    color: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 32px;
}

.tool-card.featured::before {
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #e5c158);
    transform: scaleX(1);
}

.tool-card.featured h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.tool-card.featured p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 90%;
}

.tool-card.featured .card-arrow {
    color: var(--accent-color);
}

.tool-card.featured:hover .card-arrow {
    color: #e5c158;
}

.tool-card.featured .card-header {
    gap: 16px;
    margin-bottom: 14px;
}

.tool-card.featured .tool-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.tool-card.featured .tool-card-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.tool-card.featured .featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.tool-card.featured .featured-badge i {
    font-size: 0.6rem;
}

/* Extension sub-section inside featured card */
.featured-extension {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-extension-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    font-weight: 500;
}

.extension-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ext-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    text-decoration: none;
}

.ext-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--accent-color);
}

.ext-btn img {
    width: 16px;
    height: 16px;
}

/* --- Wide Card (span 2 columns) --- */
.tool-card.wide {
    grid-column: span 2;
}

/* --- Accent Card (Vermogensbescherming) --- */
.tool-card.accent-dark {
    background: var(--primary-color);
    color: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.tool-card.accent-dark::before {
    background: var(--accent-color);
}

.tool-card.accent-dark h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.tool-card.accent-dark p,
.tool-card.accent-dark li {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
}

.tool-card.accent-dark li {
    margin-bottom: 8px;
    list-style: none;
    padding-left: 16px;
    position: relative;
}

.tool-card.accent-dark li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.tool-card.accent-dark .card-arrow {
    color: var(--accent-color);
}

/* --- "More tools" CTA card --- */
.tool-card.cta-card {
    background: linear-gradient(135deg, var(--bg-color) 0%, #e8ecf0 100%);
    border: 2px dashed rgba(10, 25, 47, 0.12);
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 120px;
}

.tool-card.cta-card:hover {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #fdf8e8 0%, #f9f4e0 100%);
}

.tool-card.cta-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.tool-card.cta-card .cta-count {
    font-size: 0.8rem;
    color: var(--text-color);
}

/* --- News & Info Section --- */
.news-info-section {
    padding: 40px 0 50px;
    background: var(--white);
}

.news-info-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

.news-column h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-column h2 i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-list-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(10, 25, 47, 0.06);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.news-list-item:first-child {
    padding-top: 0;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    padding-left: 8px;
}

.news-list-item:hover .news-list-title {
    color: var(--accent-color);
}

.news-list-date {
    font-size: 0.72rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 85px;
    padding-top: 2px;
}

.news-list-body {
    flex: 1;
}

.news-list-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.news-list-excerpt {
    font-size: 0.82rem;
    color: var(--text-color);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* All news link */
.news-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-all-link:hover {
    color: var(--accent-color);
    gap: 10px;
}

/* --- SEO Footer Text --- */
.seo-footer-text {
    background: var(--bg-color);
    padding: 40px 0;
    border-top: 1px solid rgba(10, 25, 47, 0.05);
}

.seo-footer-text .seo-inner {
    max-width: 800px;
    margin: 0 auto;
}

.seo-footer-text p {
    font-size: 0.88rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 12px;
}

.seo-footer-text p:last-child {
    margin-bottom: 0;
}

.seo-footer-text a {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.seo-footer-text a:hover {
    color: var(--accent-color);
    text-decoration: none;
}
/* --- News Highlight Card (in tool grid) --- */
.tool-card.news-highlight-card {
    border-left: 3px solid var(--accent-color);
    background: linear-gradient(135deg, #fffdf5 0%, var(--white) 100%);
}

.tool-card.news-highlight-card::before {
    background: var(--accent-color);
}

.tool-card.news-highlight-card .news-highlight-date {
    font-size: 0.72rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.tool-card.news-highlight-card h3 {
    font-size: 0.95rem;
    line-height: 1.35;
}

.tool-card.news-highlight-card p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-color);
}

.tool-card.news-highlight-card .card-arrow {
    color: var(--accent-color);
    font-weight: 600;
}

.tool-card-icon.accent {
    background: rgba(212, 175, 55, 0.12);
    color: #b8941e;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .launcher-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .command-bar {
        padding: 14px 0;
    }

    .rotating-tagline {
        font-size: 1.1rem;
    }

    .tagline-verb {
        min-width: 140px;
    }

    .launcher-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tool-card.featured,
    .tool-card.wide {
        grid-column: span 1;
    }

    .tool-card.featured {
        grid-row: span 1;
    }

    .news-info-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 20px;
    }

    .tool-card.featured {
        padding: 24px;
    }

    .tool-card.featured h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .rotating-tagline {
        font-size: 0.95rem;
    }

    .tagline-verb {
        min-width: 120px;
    }
}
