/* Small Text Generator Styles */
.small-text-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #333;
}

.small-text-hero {
    background: linear-gradient(135deg, #4a6cf7 0%, #2541b2 100%);
    color: white;
    padding: 60px 0 100px;
    text-align: center;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.small-text-hero-content {
    position: relative;
    z-index: 2;
}

.small-text-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.small-text-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.small-text-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
}

.small-text-tool {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 50px;
}

.small-text-input-container, .small-text-output-container {
    margin-bottom: 25px;
}

.small-text-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #444;
}

.small-text-input, .small-text-output {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s;
}

.small-text-input:focus {
    border-color: #4a6cf7;
    outline: none;
}

.small-text-output {
    background-color: #f9f9f9;
    font-family: monospace;
    min-height: 100px;
}

.small-text-controls, .small-text-output-controls {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.small-text-button {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.small-text-button.generate-btn {
    background-color: #4a6cf7;
    color: white;
}

.small-text-button.generate-btn:hover {
    background-color: #3a5bd9;
    transform: translateY(-2px);
}

.small-text-button.clear-btn {
    background-color: #f5f5f5;
    color: #666;
}

.small-text-button.clear-btn:hover {
    background-color: #e0e0e0;
}

.small-text-button.copy-btn {
    background-color: #4a6cf7;
    color: white;
}

.small-text-button.copy-btn:hover {
    background-color: #3a5bd9;
    transform: translateY(-2px);
}

.small-text-button.test-btn {
    background-color: #f5f5f5;
    color: #4a6cf7;
    border: 2px solid #4a6cf7;
}

.small-text-button.test-btn:hover {
    background-color: #e8f0fe;
}

.small-text-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.small-text-info-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.small-text-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.small-text-info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.small-text-info-icon svg {
    width: 30px;
    height: 30px;
}

.small-text-info-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #222;
}

.small-text-info-desc {
    color: #666;
    line-height: 1.6;
}

.small-text-content {
    margin-bottom: 50px;
}

.small-text-content-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #222;
    position: relative;
    padding-bottom: 10px;
}

.small-text-content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #4a6cf7;
    border-radius: 2px;
}

.small-text-content-para {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.small-text-feature {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    align-items: center;
}

.small-text-feature-content {
    flex: 1;
}

.small-text-feature-image {
    flex: 1;
}

.small-text-feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.small-text-feature-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.small-text-feature-list {
    padding-left: 20px;
    color: #555;
    line-height: 1.7;
}

.small-text-feature-list li {
    margin-bottom: 8px;
}

.small-text-mockup {
    background: #f5f7ff;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(74, 108, 247, 0.2);
}

.small-text-mockup-screen {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.small-text-mockup-text {
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: center;
    color: #333;
}

.small-text-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.small-text-step {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.small-text-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #4a6cf7;
}

.small-text-step-number {
    width: 50px;
    height: 50px;
    background: #f0f4ff;
    color: #4a6cf7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.small-text-step-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.small-text-step-desc {
    color: #666;
    line-height: 1.6;
}

.small-text-faq {
    margin-bottom: 50px;
}

.small-text-faq-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #222;
    position: relative;
    padding-bottom: 10px;
}

.small-text-faq-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #4a6cf7;
    border-radius: 2px;
}

.small-text-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.small-text-faq-question {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.small-text-faq-question:hover {
    background: #f9f9f9;
}

.small-text-faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.small-text-faq-item.active .small-text-faq-icon {
    transform: rotate(180deg);
}

.small-text-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    background: white;
}

.small-text-faq-item.active .small-text-faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.small-text-faq-answer p {
    color: #666;
    line-height: 1.7;
}

.small-text-related {
    margin-bottom: 50px;
}

.small-text-related-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #222;
    position: relative;
    padding-bottom: 10px;
}

.small-text-related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #4a6cf7;
    border-radius: 2px;
}

.small-text-related-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.small-text-related-tool {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.small-text-related-tool:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.small-text-related-icon {
    width: 50px;
    height: 50px;
    background-color: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.small-text-related-icon svg {
    width: 24px;
    height: 24px;
    fill: #4a6cf7;
}

.small-text-related-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.small-text-related-desc {
    color: #666;
    line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 768px) {
    .small-text-hero {
        padding: 40px 0 80px;
    }
    
    .small-text-title {
        font-size: 2.2rem;
    }
    
    .small-text-subtitle {
        font-size: 1rem;
    }
    
    .small-text-feature {
        flex-direction: column;
        gap: 25px;
    }
    
    .small-text-controls, .small-text-output-controls {
        flex-direction: column;
    }
    
    .small-text-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .small-text-title {
        font-size: 1.8rem;
    }
    
    .small-text-tool {
        padding: 20px;
    }
    
    .small-text-info-boxes {
        grid-template-columns: 1fr;
    }
}