/* Main Container */
.sentence-case-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Hero Section */
.sentence-case-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sentence-case-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.sentence-case-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Tool Section */
.sentence-case-tool {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.sentence-case-input-container,
.sentence-case-output-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sentence-case-textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s;
}

.sentence-case-textarea:focus {
    border-color: #6e8efb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
}

.sentence-case-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.sentence-case-convert-btn {
    background-color: #4CAF50;
    color: white;
}

.sentence-case-convert-btn:hover {
    background-color: #3e8e41;
    transform: translateY(-2px);
}

.sentence-case-clear-btn {
    background-color: #f44336;
    color: white;
}

.sentence-case-clear-btn:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
}

.sentence-case-copy-btn {
    background-color: #2196F3;
    color: white;
}

.sentence-case-copy-btn:hover {
    background-color: #0b7dda;
    transform: translateY(-2px);
}

/* Info Boxes */
.sentence-case-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.sentence-case-info-box {
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border-top: 4px solid #6e8efb;
}

.sentence-case-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sentence-case-info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.sentence-case-info-box h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.sentence-case-info-box p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Content Section */
.sentence-case-content {
    margin-bottom: 50px;
}

.sentence-case-content-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.sentence-case-content-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    border-radius: 2px;
}

.sentence-case-content-shape {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #6e8efb, #a777e3);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    position: absolute;
    z-index: -1;
}

.sentence-case-content-shape.secondary {
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    right: 10%;
    top: 50%;
}

.sentence-case-content-text {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
    font-size: 1.1rem;
}

.sentence-case-content-subtitle {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #2c3e50;
}

.sentence-case-related-tool {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
    border-left: 4px solid #6e8efb;
}

.sentence-case-tool-link {
    color: #6e8efb;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.sentence-case-tool-link:hover {
    color: #a777e3;
    text-decoration: underline;
}

/* FAQ Section */
.sentence-case-faq {
    margin-bottom: 50px;
}

.sentence-case-faq-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

.sentence-case-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sentence-case-faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.sentence-case-faq-question:hover {
    background: #f8f9fa;
}

.sentence-case-faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.sentence-case-faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: #f8f9fa;
}

.sentence-case-faq-answer p {
    padding: 20px;
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.sentence-case-faq-item.active .sentence-case-faq-question {
    background: #f8f9fa;
}

.sentence-case-faq-item.active .sentence-case-faq-icon {
    transform: rotate(45deg);
}

.sentence-case-faq-item.active .sentence-case-faq-answer {
    max-height: 500px;
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sentence-case-title {
        font-size: 2rem;
    }
    
    .sentence-case-subtitle {
        font-size: 1rem;
    }
    
    .sentence-case-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .sentence-case-content-shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .sentence-case-container {
        padding: 15px;
    }
    
    .sentence-case-title {
        font-size: 1.8rem;
    }
    
    .sentence-case-textarea {
        min-height: 150px;
    }
    
    .sentence-case-btn {
        padding: 10px 15px;
    }
}