/* Main Container Styles */
.slash-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Hero Section */
.slash-hero-section {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.slash-main-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.slash-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Tool Container */
.slash-tool-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.slash-input-section, .slash-output-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.slash-input-label, .slash-output-label {
    font-weight: 600;
    font-size: 1.1rem;
    color: #444;
}

.slash-input-textarea, .slash-output-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s;
}

.slash-input-textarea:focus {
    outline: none;
    border-color: #6e8efb;
}

.slash-output-textarea {
    background-color: #f9f9f9;
    cursor: default;
}

.slash-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.slash-generate-button {
    background: linear-gradient(to right, #6e8efb, #a777e3);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slash-generate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 142, 251, 0.4);
}

.slash-button-icon {
    font-size: 1.2rem;
}

.slash-options {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.slash-option-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.slash-option-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #6e8efb;
    cursor: pointer;
}

.slash-output-buttons {
    display: flex;
    gap: 1rem;
}

.slash-copy-button, .slash-clear-button {
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slash-copy-button {
    background-color: #4CAF50;
    color: white;
    border: none;
}

.slash-copy-button:hover {
    background-color: #3e8e41;
    transform: translateY(-1px);
}

.slash-clear-button {
    background-color: #f44336;
    color: white;
    border: none;
}

.slash-clear-button:hover {
    background-color: #d32f2f;
    transform: translateY(-1px);
}

/* Preview Section */
.slash-preview-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.slash-preview-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #444;
}

.slash-preview-box {
    min-height: 100px;
    padding: 1.5rem;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
    background-color: #fafafa;
    transition: all 0.3s;
}

/* Info Boxes */
.slash-info-section {
    margin-bottom: 3rem;
}

.slash-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.slash-info-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
}

.slash-info-box:hover {
    transform: translateY(-5px);
}

.slash-info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #6e8efb;
}

.slash-info-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.slash-info-text {
    color: #666;
    line-height: 1.6;
}

/* Content Section */
.slash-content-section {
    margin-bottom: 3rem;
}

.slash-content-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    padding-bottom: 0.5rem;
}

.slash-content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    border-radius: 2px;
}

.slash-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%;
    margin: 2rem 0;
    float: right;
    shape-outside: circle(50%);
}

.slash-content-shape.reverse {
    float: left;
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}

.slash-content-paragraph {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.slash-content-subtitle {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: #444;
}

.slash-content-example {
    background: #f5f7ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #6e8efb;
}

.slash-example-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #444;
}

.slash-example-before, .slash-example-after {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: white;
    border-radius: 4px;
}

.slash-example-after {
    font-weight: 600;
    color: #6e8efb;
}

/* FAQ Section */
.slash-faq-section {
    margin-bottom: 3rem;
}

.slash-faq-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.slash-faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.slash-faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.slash-faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    text-align: left;
    border: none;
    background: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.slash-faq-question:hover {
    background-color: #f9f9f9;
}

.slash-faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.slash-faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.slash-faq-answer p {
    padding: 1rem 0;
    color: #666;
    line-height: 1.7;
}

.slash-faq-item.active .slash-faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.slash-faq-item.active .slash-faq-icon {
    transform: rotate(45deg);
}

/* Related Tools */
.slash-related-tools {
    margin-bottom: 2rem;
}

.slash-related-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.slash-related-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.slash-related-box:hover {
    transform: translateY(-3px);
}

.slash-related-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6e8efb;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.slash-related-link:hover {
    color: #4a6cf7;
}

.slash-related-desc {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slash-main-title {
        font-size: 2rem;
    }
    
    .slash-subtitle {
        font-size: 1rem;
    }
    
    .slash-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .slash-options {
        width: 100%;
        justify-content: space-between;
    }
    
    .slash-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .slash-content-shape {
        width: 70px;
        height: 70px;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .slash-main-container {
        padding: 10px;
    }
    
    .slash-hero-section {
        padding: 1.5rem 1rem;
    }
    
    .slash-tool-container, .slash-preview-section, .slash-info-box {
        padding: 1.5rem 1rem;
    }
    
    .slash-output-buttons {
        flex-direction: column;
    }
    
    .slash-copy-button, .slash-clear-button {
        width: 100%;
        justify-content: center;
    }
}