/* =============================================================================
   TOORIISTAD.CSS - Tools Landing Page Styles
   Save as: /css/tooriistad.css
   ============================================================================= */

/* =============================================================================
   CONTAINER
   ============================================================================= */
.tools-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
    position: relative;
    z-index: 1;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */
.tools-hero {
    text-align: center;
    padding: 2rem 0 2.5rem;
}

.tools-hero h1 {
    font-size: 1.75rem;
    margin: 0 0 1rem;
    padding: 0;
    line-height: 1.3;
}

.tools-hero h1 .accent {
    color: var(--neon-green);
    text-shadow: var(--glow-green);
}

.tools-hero-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.tools-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-green);
    display: block;
    font-family: var(--font-mono);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =============================================================================
   TOOLS GRID
   ============================================================================= */
.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

/* =============================================================================
   TOOL CARD
   ============================================================================= */
.tool-card {
    background: linear-gradient(165deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Gradient top accent bar */
.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan), var(--neon-purple));
}

.tool-card:hover {
    border-color: var(--neon-green);
    box-shadow: 
        0 0 0 1px rgba(0, 255, 136, 0.1),
        0 20px 40px -15px rgba(0, 0, 0, 0.5),
        0 0 30px -10px rgba(0, 255, 136, 0.2);
    transform: translateY(-3px);
}

/* Tool Icon */
.tool-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

/* Tool Content */
.tool-card__content {
    flex: 1;
}

.tool-card__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.tool-card__title::before {
    display: none;
}

.tool-card__desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

/* Tool Features List */
.tool-card__features {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.tool-card__features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.35rem 0 0.35rem 1.5rem;
    position: relative;
    margin: 0;
}

.tool-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Tool CTA Button */
.tool-card__cta {
    display: block;
    background: linear-gradient(135deg, var(--neon-green) 0%, #00cc6a 100%);
    color: var(--bg-primary) !important;
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    transition: all 0.2s ease;
    margin-top: auto;
}

.tool-card__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.tool-card__cta:active {
    transform: translateY(0);
}

/* =============================================================================
   BENEFITS SECTION
   ============================================================================= */
.tools-benefits {
    margin-bottom: 3rem;
}

.tools-benefits h2 {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.tools-benefits h2::before {
    display: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.benefit-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.2s ease;
}

.benefit-item:hover {
    border-color: var(--neon-purple);
}

.benefit-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.benefit-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.benefit-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =============================================================================
   SEO CONTENT SECTION
   ============================================================================= */
.tools-seo {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.tools-seo h2 {
    font-size: 1.25rem;
    margin: 0 0 1.25rem;
    text-align: center;
}

.tools-seo h2::before {
    display: none;
}

.tools-seo h3 {
    font-size: 1rem;
    color: var(--neon-green);
    margin: 1.5rem 0 0.5rem;
}

.tools-seo h3:first-of-type {
    margin-top: 0;
}

.tools-seo p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 1rem;
}

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

.tools-seo strong {
    color: var(--text-primary);
}

/* =============================================================================
   FAQ SECTION (using native details/summary)
   ============================================================================= */
.tools-faq {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.tools-faq h2 {
    font-size: 1.25rem;
    margin: 0 0 1rem;
    text-align: center;
}

.tools-faq h2::before {
    display: none;
}

.tools-faq .faq-item {
    border-bottom: 1px solid var(--border-color);
    outline: none !important;
}

.tools-faq .faq-item:focus,
.tools-faq .faq-item:focus-visible,
.tools-faq .faq-item[open] {
    outline: none !important;
    box-shadow: none !important;
}

.tools-faq .faq-item:hover {
    border-bottom-color: var(--neon-purple);
}

.tools-faq .faq-item summary {
    display: block;
    padding: 1rem 2.5rem 1rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    position: relative;
    line-height: 1.4;
    outline: none !important;
    transition: color 0.2s ease;
}

.tools-faq .faq-item summary:hover {
    color: var(--neon-green);
}

.tools-faq .faq-item summary:focus,
.tools-faq .faq-item summary:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.tools-faq .faq-item summary::-webkit-details-marker {
    display: none;
}

.tools-faq .faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--neon-green);
}

.tools-faq .faq-item[open] summary::after {
    content: '−';
}

.tools-faq .faq-item p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    padding: 1rem 1rem 1rem 1rem;
}

/* =============================================================================
   RESPONSIVE - TABLET (600px+)
   ============================================================================= */
@media (min-width: 600px) {
    .tools-container {
        padding: 0 1.5rem 4rem;
    }

    .tools-hero h1 {
        font-size: 2rem;
    }

    .tools-hero-subtitle {
        font-size: 1.05rem;
    }

    .tools-grid {
        gap: 1.5rem;
    }

    .tool-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.75rem;
    }

    .tool-card__icon {
        font-size: 3rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .tool-card__content {
        flex: 1;
    }

    .tool-card__cta {
        width: auto;
        align-self: flex-start;
        margin-top: 0;
        white-space: nowrap;
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .tools-seo,
    .tools-faq {
        padding: 2rem;
    }

    .tools-seo h2,
    .tools-faq h2 {
        font-size: 1.4rem;
    }
}

/* =============================================================================
   RESPONSIVE - TABLET/DESKTOP (768px+)
   ============================================================================= */
@media (min-width: 768px) {
    .tools-hero h1 {
        font-size: 2.25rem;
    }

    .tools-hero-subtitle {
        font-size: 1.1rem;
        max-width: 600px;
    }

    .tool-card__title {
        font-size: 1.5rem;
    }

    .tool-card__desc {
        font-size: 1rem;
    }

    .tool-card__features li {
        font-size: 0.9rem;
    }

    .tool-card__cta {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    .tools-benefits h2 {
        font-size: 1.4rem;
    }

    .benefit-item {
        padding: 1.5rem;
    }

    .benefit-title {
        font-size: 1rem;
    }

    .benefit-desc {
        font-size: 0.85rem;
    }
}

/* =============================================================================
   RESPONSIVE - DESKTOP (1024px+)
   ============================================================================= */
@media (min-width: 1024px) {
    .tools-container {
        padding: 0 2rem 5rem;
    }

    .tools-hero {
        padding: 3rem 0;
    }

    .tools-hero h1 {
        font-size: 2.5rem;
    }

    .tools-grid {
        gap: 2rem;
    }

    .tool-card {
        padding: 2rem;
    }

    .tool-card__icon {
        font-size: 3.5rem;
    }

    .tools-seo,
    .tools-faq {
        padding: 2.5rem;
    }

    .tools-seo h2,
    .tools-faq h2 {
        font-size: 1.5rem;
    }

    .tools-seo h3 {
        font-size: 1.1rem;
    }

    .tools-seo p {
        font-size: 0.95rem;
    }
}

/* =============================================================================
   RESPONSIVE - MOBILE SMALL (480px and below)
   ============================================================================= */
@media (max-width: 480px) {
    .tools-hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-number {
        font-size: 1.25rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 1.25rem;
    }

    .tool-card__icon {
        font-size: 2rem;
    }

    .tool-card__title {
        font-size: 1.2rem;
    }

    .tool-card__desc {
        font-size: 0.9rem;
    }
}
