/* Center all headings */
h1, h2 {
    text-align: center;
}

/* Product benefits section */
.product-benefits {
    padding: 0 0 1.5rem 0;
}

.product-benefits h3 {
    color: var(--white-65);
    text-align: center;
    margin-bottom: 0;
    font-size: calc(1rem * 1.67);
}

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

.benefit-card {
    background: var(--white-80);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
    background: var(--clean);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin: 0 auto 1rem;
    display: block;
    border-radius: 8px;
}

.benefit-card h4 {
    color: var(--abyss);
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--slate);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.product-benefits .hero-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 250px;
    margin: 2rem auto;
    display: block;
    border-radius: 16px;
}

.tool-topics {
    padding: 3rem 0;
}

.tool-topics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 0;
}

.image-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tool-topics .hero-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 300px;
    margin: 0 0 1.5rem 0;
    display: block;
    border-radius: 16px;
}

.image-column p {
    margin: 0 0 1.5rem 0;
    color: var(--slate);
    font-style: italic;
}

.image-column .tools-button {
    margin: 0;
}

.tool-playbooks {
    padding: 3rem 0;
}

.playbooks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.playbook-card {
    background: var(--white-80);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.playbook-card:hover {
    transform: translateY(-2px);
    background: var(--clean);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.playbook-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.playbook-card h3 {
    color: var(--abyss);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.playbook-card p {
    color: var(--slate);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.playbook-link {
    display: inline-block;
    background: var(--brand-blue-500);
    color: var(--clean);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.playbook-link:hover {
    background: var(--royal);
    color: var(--clean);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tool-topics-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .image-column {
        order: 2;
    }
    
    .tool-content-grid {
        order: 1;
    }
    
    .tool-topics .hero-image {
        margin: 0 auto 1rem;
        max-height: 200px;
    }
    
    .playbooks-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tool-related-links {
        padding-top: 0;
        margin-top: 0;
    }
}

/* Hero section styling */
.tool-hero {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.tool-hero textarea {
    width: 100%;
    max-width: 650px;
    min-height: 150px;
    margin: 1.5rem auto;
    display: block;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .tool-hero textarea {
        max-width: 100%;
        margin: 1.5rem 0;
    }
}

.tool-hero .hero-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 200px;
    margin: 0 auto 2rem;
    display: block;
    border-radius: 24px;
}

.tool-disclaimer {
    background: #f5f5f5;
    padding: 15px;
    margin: 20px 0;
    border-left: 4px solid #ddd;
}

.tool-content-grid {
    display: grid;
    gap: 10px;
}

.tool-content-box {
    background: var(--white-80);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
}

.tool-content-box ul {
    margin: 0;
    padding-left: 20px;
}


.tool-cta-section {
    text-align: center;
    margin: 30px 0;
}

.tool-safety-resources {
    padding: 2rem 0;
}

.safety-card {
    background: var(--white-65);
    max-width: 650px;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    margin: 0 auto;
}

.safety-card::before {
    content: "⚠️";
    font-size: 1.5rem;
    display: block;
    margin-bottom: 1rem;
}

.safety-card p {
    margin: 0 0 1rem 0;
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.5;
}

.safety-card p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: var(--steel);
}

.tool-related-links {
    margin: 2rem 0;
}

.tool-related-links h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--abyss);
}

/* Updated semantic section class names */
.tool-topics {
    padding: 1.5rem 0;
}

.tool-how-it-works {
    padding: 1.5rem 0;
}

.tool-quick-start {
    padding: 1.5rem 0;
}

.prompt-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.5rem 0 1rem;
    justify-content: center;
}

.prompt-bubble {
    background: var(--white-80, rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--abyss, #2d3436);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    cursor: pointer;
    user-select: none;
}

.prompt-bubble:hover {
    transform: translateY(-1px);
    background: var(--clean, #ffffff);
}

.tool-playbooks {
    padding: 1.5rem 0;
}


.tool-final-cta {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    border-radius: 16px;
    margin: 2rem 0;
}

.tool-final-cta h2 {
    margin-bottom: 1rem;
    color: var(--abyss);
}

.tool-final-cta p {
    margin-bottom: 2rem;
    color: var(--slate);
    font-size: 1.1rem;
}