/* Main Container Styles */
.rf-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Hero Section Styles */
.rf-hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.rf-hero-content {
    position: relative;
    z-index: 2;
}

.rf-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #2c3e50;
    background: linear-gradient(to right, #3498db, #2c3e50);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rf-hero-subtitle {
    font-size: 1.2rem;
    color: #5a6a7f;
    margin-bottom: 25px;
    max-width: 700px;
}

.rf-hero-badge {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.rf-badge-item {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rf-hero-graphic {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.rf-graphic-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.rf-graphic-1 {
    width: 200px;
    height: 200px;
    background-color: #3498db;
    top: -50px;
    right: -50px;
}

.rf-graphic-2 {
    width: 150px;
    height: 150px;
    background-color: #e74c3c;
    bottom: -30px;
    left: 20%;
}

.rf-graphic-3 {
    width: 100px;
    height: 100px;
    background-color: #2ecc71;
    top: 40%;
    right: 30%;
}

/* Tool Section Styles */
.rf-tool-section {
    margin-bottom: 60px;
}

.rf-tool-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.rf-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.rf-input-area, .rf-output-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rf-input-header, .rf-output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.rf-sample-btn {
    padding: 8px 15px;
    background-color: #e0e6ed;
    border: none;
    border-radius: 6px;
    color: #4a5c6c;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rf-sample-btn:hover {
    background-color: #d0d8e2;
}

.rf-text-input, .rf-text-output {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.rf-text-input:focus {
    outline: none;
    border-color: #3498db;
}

.rf-text-output {
    background-color: #f8fafc;
    color: #4a5568;
}

.rf-action-btns {
    display: flex;
    gap: 15px;
}

.rf-clear-btn, .rf-process-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rf-clear-btn {
    background-color: #f1f5f9;
    color: #64748b;
}

.rf-clear-btn:hover {
    background-color: #e2e8f0;
}

.rf-process-btn {
    background-color: #3498db;
    color: white;
}

.rf-process-btn:hover {
    background-color: #2980b9;
}

.rf-output-actions {
    display: flex;
    gap: 10px;
}

.rf-copy-btn, .rf-download-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rf-copy-btn {
    background-color: #2ecc71;
    color: white;
}

.rf-copy-btn:hover {
    background-color: #27ae60;
}

.rf-download-btn {
    background-color: #9b59b6;
    color: white;
}

.rf-download-btn:hover {
    background-color: #8e44ad;
}

.rf-stats-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
}

.rf-stat-box {
    flex: 1;
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.rf-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3498db;
    display: block;
    margin-bottom: 5px;
}

.rf-stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

/* Info Section Styles */
.rf-info-section {
    margin-bottom: 60px;
}

.rf-centered-title {
    text-align: center;
    margin-bottom: 40px;
}

.rf-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.rf-info-box {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rf-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.rf-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.rf-info-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 2;
}

.rf-info-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.rf-info-text {
    color: #5a6a7f;
    line-height: 1.6;
}

.rf-info-box-1 .rf-info-icon {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
}

.rf-info-box-2 .rf-info-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.rf-info-box-3 .rf-info-icon {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

/* Content Section Styles */
.rf-content-section {
    margin-bottom: 60px;
}

.rf-content-container {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.rf-content-text {
    color: #5a6a7f;
    line-height: 1.7;
    margin-bottom: 20px;
}

.rf-feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 25px 0;
}

.rf-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rf-feature-bullet {
    color: #3498db;
    font-weight: bold;
}

.rf-feature-text {
    color: #4a5c6c;
}

.rf-content-highlight {
    background-color: #f8fafc;
    border-left: 4px solid #3498db;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}

.rf-highlight-title {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.rf-highlight-text {
    color: #5a6a7f;
    line-height: 1.6;
}

.rf-related-tool {
    background-color: #f1f8fe;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

.rf-related-title {
    color: #4a5c6c;
    font-size: 1.1rem;
}

.rf-related-link {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
}

.rf-related-link:hover {
    text-decoration: underline;
}

/* FAQ Section Styles */
.rf-faq-section {
    margin-bottom: 60px;
}

.rf-faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rf-faq-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.rf-faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    border: none;
    background-color: #f8fafc;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.rf-faq-question:hover {
    background-color: #eef2f7;
}

.rf-faq-icon {
    font-size: 1.3rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.rf-faq-question.active .rf-faq-icon {
    transform: rotate(45deg);
}

.rf-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.rf-faq-answer p {
    color: #5a6a7f;
    line-height: 1.7;
    padding: 15px 0;
}

.rf-faq-item.active .rf-faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .rf-hero-title {
        font-size: 2.2rem;
    }
    
    .rf-hero-subtitle {
        font-size: 1rem;
    }
    
    .rf-hero-badge {
        flex-direction: column;
        align-items: center;
    }
    
    .rf-tool-container {
        padding: 20px;
    }
    
    .rf-section-title {
        font-size: 1.3rem;
    }
    
    .rf-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .rf-stats-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .rf-hero-title {
        font-size: 1.8rem;
    }
    
    .rf-action-btns, .rf-output-actions {
        flex-direction: column;
    }
    
    .rf-clear-btn, .rf-process-btn, .rf-copy-btn, .rf-download-btn {
        width: 100%;
    }
}