/* Breakup Text Generator specific styles */

section {
    gap: 1rem;
}

h1 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 4vw + 0.4rem, 3.2rem);
    text-align: center;
}

.tool-hero {
    margin-bottom: 2rem;
}

.tool-input-section {
    display: block;
    margin: 1rem 0;
}

.tool-options {
    margin: 0;
}

.tool-examples {
    padding: 1rem 0;
    text-align: center;
}

.tool-examples h2 {
    text-align: center;
    margin: 0 0 1rem 0;
}

.tool-examples p {
    margin: 0;
}

.breakup-templates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.template-card {
    background: var(--white-80);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    cursor: pointer;
}

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

.template-card h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    color: var(--abyss);
}

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

.copied-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mint);
    color: var(--clean);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 0.3s ease;
}

.copied-indicator img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.tip {
    padding: 3rem 0;
    gap: 0;
}

.tip h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tip h4 {
    color: var(--abyss);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.25rem;
}

.tip h4:first-of-type {
    margin-top: 1rem;
}

.tip p {
    margin: 0 0 0.5rem 0;
}

.tool-instructions {
    padding: 0;
}

.tool-instructions h2 {
    text-align: center;
}


@media (max-width: 768px) {
    h1 {
        text-align: center;
        font-size: clamp(1.75rem, 4.5vw + 0.5rem, 2.25rem);
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .tools-button {
        margin: 0;
    }
    
    .breakup-templates {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
