/**
 * Tools Landing Page
 * CreatorFlow Brand Guidelines:
 * - NO box-shadows (use borders for elevation)
 * - ONLY #000000 for dark backgrounds (NO #111827, #2d2d2d, etc.)
 * - Lime green #d1fe17 for accents only (sparingly)
 * - NO gradients on dark backgrounds
 * - Mobile-first design
 */

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.tools-hero {
    background: #ffffff;
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.tools-hero__container {
    max-width: 800px;
    margin: 0 auto;
}

.tools-hero__badge {
    display: inline-block;
    background: #d1fe17;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tools-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tools-hero__description {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   TOOLS GRID SECTION
   ========================================================================== */

.tools-grid-section {
    background: #ffffff;
    padding: 4rem 2rem;
}

.tools-grid__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   TOOLS CATEGORY
   ========================================================================== */

.tools-category {
    margin-bottom: 4rem;
}

.tools-category:last-child {
    margin-bottom: 0;
}

.tools-category__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.75rem;
    text-align: center;
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tools-category__description {
    font-size: 1.0625rem;
    color: #6b7280;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ==========================================================================
   TOOLS GRID
   ========================================================================== */

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Tablet: 640px and up */
@media (min-width: 640px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* ==========================================================================
   TOOL CARD
   ========================================================================== */

.tool-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tool-card:hover {
    border-color: #d1fe17;
    transform: translateY(-2px);
}

.tool-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    color: #000000;
}

.tool-card__content {
    flex: 1;
}

.tool-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tool-card__description {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tool-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-card__badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.375rem;
    background: #f3f4f6;
    color: #374151;
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tool-card__badge:first-child {
    background: #d1fe17;
    color: #000000;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.tools-cta {
    background: #000000; /* ONLY #000000 - NO other dark colors */
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: 24px;
    margin: 3rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tools-cta__container {
    max-width: 900px;
    margin: 0 auto;
}

.tools-cta__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tools-cta__description {
    font-size: 1.0625rem;
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.tools-cta__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.cta-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #ffffff;
    font-size: 0.9375rem;
}

.cta-feature__icon {
    flex-shrink: 0;
    font-size: 1.25rem;
}

.tools-cta__button {
    display: inline-block;
    background: #d1fe17;
    color: #000000;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Stack Sans Headline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tools-cta__button:hover {
    background: #ffffff;
    color: #000000;
}

.tools-cta__microcopy {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Tablet: 640px and up */
@media (min-width: 640px) {
    .tools-hero {
        padding: 6rem 2rem;
    }

    .tools-grid-section {
        padding: 5rem 2rem;
    }

    .tools-cta {
        padding: 4rem 2rem;
        border-radius: 28px;
        margin: 4rem 2rem;
    }

    .tools-cta__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Desktop: 1024px and up */
@media (min-width: 1024px) {
    .tools-hero {
        padding: 7rem 2rem;
    }

    .tools-grid-section {
        padding: 6rem 2rem;
    }

    .tools-category {
        margin-bottom: 5rem;
    }

    .tools-cta {
        padding: 5rem 3rem;
        border-radius: 32px;
        margin: 5rem auto;
        max-width: 1200px;
    }

    .tools-cta__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Large Desktop: 1280px and up */
@media (min-width: 1280px) {
    .tools-cta {
        max-width: 1400px;
    }
}

/* ==========================================================================
   FOOTER VIEW ALL LINK STYLING
   ========================================================================== */

.footer-link--view-all {
    font-weight: 600;
    color: #d1fe17 !important;
    margin-top: 0.5rem;
    display: inline-block;
}

.footer-link--view-all:hover {
    text-decoration: underline;
}
