/* Main Container Styles */
.sc-main-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
    line-height: 1.6;
}

/* Hero Section */
.sc-hero {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sc-main-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.sc-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Tool Container */
.sc-tool-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.sc-input-section, .sc-results-section {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sc-section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #444;
    font-weight: 600;
}

.sc-input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.sc-char-count {
    font-size: 0.9rem;
    color: #666;
}

.sc-text-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    resize: vertical;
    min-height: 150px;
    transition: border-color 0.3s;
}

.sc-text-input:focus {
    outline: none;
    border-color: #6e8efb;
    box-shadow: 0 0 0 2px rgba(110, 142, 251, 0.2);
}

.sc-controls {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.sc-clear-btn {
    background: #f5f5f5;
    color: #666;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.sc-clear-btn:hover {
    background: #eee;
}

/* Results Section */
.sc-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sc-result-box {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    border: 1px solid #eee;
}

.sc-result-value {
    font-size: 2rem;
    font-weight: 700;
    color: #6e8efb;
    margin-bottom: 0.3rem;
}

.sc-result-label {
    font-size: 0.9rem;
    color: #666;
}

.sc-output-container {
    margin-top: 1.5rem;
}

.sc-output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.sc-output-title {
    font-size: 1.2rem;
    color: #444;
}

.sc-copy-btn {
    background: #6e8efb;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.sc-copy-btn:hover {
    background: #5a7df4;
}

.sc-text-output {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem;
    min-height: 100px;
    white-space: pre-wrap;
}

/* Info Boxes */
.sc-info-section {
    margin: 3rem 0;
}

.sc-info-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #444;
}

.sc-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.sc-info-box {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.sc-info-box:hover {
    transform: translateY(-5px);
}

.sc-info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.sc-info-box-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #444;
}

.sc-info-box-text {
    color: #666;
    line-height: 1.6;
}

/* Content Section */
.sc-content-section {
    position: relative;
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sc-content-decorative {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #6e8efb, #a777e3);
    border-radius: 8px 8px 0 0;
}

.sc-content-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.sc-content-text {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.sc-content-highlight {
    background: #f8f9fe;
    border-left: 4px solid #6e8efb;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 6px 6px 0;
}

.sc-highlight-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #444;
}

.sc-highlight-text {
    color: #555;
    line-height: 1.7;
}

.sc-content-shape {
    width: 100px;
    height: 100px;
    background: #6e8efb;
    opacity: 0.1;
    position: absolute;
    right: -30px;
    bottom: -30px;
    border-radius: 50%;
    z-index: -1;
}

.sc-content-subtitle {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #444;
}

/* FAQ Section */
.sc-faq-section {
    margin: 3rem 0;
}

.sc-faq-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #444;
}

.sc-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.sc-faq-item {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}

.sc-faq-question {
    width: 100%;
    padding: 1.2rem;
    text-align: left;
    background: #f9f9f9;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.sc-faq-question:hover {
    background: #f0f0f0;
}

.sc-faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.sc-faq-question.active .sc-faq-icon {
    transform: rotate(45deg);
}

.sc-faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: white;
}

.sc-faq-answer p {
    padding: 1.2rem;
    margin: 0;
    color: #555;
    line-height: 1.7;
}

.sc-faq-item.active .sc-faq-answer {
    max-height: 500px;
    padding: 0;
}

/* Related Tools */
.sc-related-tools {
    margin: 3rem 0;
}

.sc-related-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #444;
}

.sc-related-container {
    display: flex;
    justify-content: center;
}

.sc-related-tool {
    display: block;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    max-width: 300px;
    text-decoration: none;
    color: inherit;
}

.sc-related-tool:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sc-related-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.sc-related-tool-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #444;
}

.sc-related-tool-desc {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sc-hero {
        padding: 2rem 1rem;
    }
    
    .sc-main-title {
        font-size: 2rem;
    }
    
    .sc-results-grid {
        grid-template-columns: 1fr;
    }
    
    .sc-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .sc-content-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .sc-main-container {
        padding: 10px;
    }
    
    .sc-hero {
        padding: 1.5rem 1rem;
    }
    
    .sc-main-title {
        font-size: 1.8rem;
    }
    
    .sc-subtitle {
        font-size: 1rem;
    }
    
    .sc-input-section, .sc-results-section {
        padding: 1rem;
    }
}