/* Main Container Styles */
.random-tools-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #2d3748;
}

/* Hero Section */
.random-tools-hero {
    position: relative;
    background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%);
    border-radius: 12px;
    padding: 60px 40px;
    margin-bottom: 50px;
    overflow: hidden;
    color: white;
    text-align: center;
}

.random-tools-hero-content {
    position: relative;
    z-index: 2;
}

.random-tools-main-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.random-tools-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.random-tools-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -50px;
    right: -50px;
}

.shape-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173.2px solid rgba(255, 255, 255, 0.08);
    bottom: -86px;
    left: -50px;
    transform: rotate(15deg);
}

.shape-wave {
    position: absolute;
    width: 300px;
    height: 300px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><path d="M0,60 C20,80 40,40 60,60 C80,80 100,40 120,60 L120,120 L0,120 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    bottom: -50px;
    right: 100px;
}

/* Tools Grid */
.random-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.random-tool-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.random-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.tool-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f6e05e 0%, #f6ad55 100%);
}

.random-icon {
    font-size: 32px;
}

.tool-card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #2d3748;
}

.tool-card-description {
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.5;
}

.tool-card-link {
    display: inline-block;
    color: #6b46c1;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tool-card-link:hover {
    color: #805ad5;
}

/* Info Boxes Section */
.random-tools-info-section {
    margin-bottom: 60px;
}

.random-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.random-info-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
}

.random-info-box:hover {
    transform: translateY(-3px);
}

.info-box-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.info-box-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2d3748;
}

.info-box-content {
    color: #4a5568;
    line-height: 1.6;
}

/* Content Section */
.random-tools-content-section {
    position: relative;
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
}

.random-content-decorative {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.decorative-shape {
    position: absolute;
    opacity: 0.1;
}

.decorative-shape-1 {
    width: 100px;
    height: 100px;
    border-radius: 30px;
    background: #6b46c1;
    top: 20px;
    right: 20px;
    transform: rotate(45deg);
}

.decorative-shape-2 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f6ad55;
    top: 70px;
    right: 70px;
}

.random-content-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #2d3748;
    position: relative;
    display: inline-block;
}

.random-content-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #6b46c1 0%, #f6ad55 100%);
    border-radius: 2px;
}

.random-content-paragraph {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.random-highlight-box {
    background: #f0f9ff;
    border-left: 4px solid #63b3ed;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}

.random-highlight-title {
    color: #2b6cb0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.random-highlight-content {
    color: #4a5568;
    line-height: 1.6;
}

.content-link {
    color: #6b46c1;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.content-link:hover {
    color: #805ad5;
    text-decoration: underline;
}

/* FAQ Section */
.random-tools-faq {
    margin-bottom: 60px;
}

.random-faq-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2d3748;
    text-align: center;
}

.random-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.random-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.random-faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.random-faq-question:hover {
    background: #f7fafc;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.random-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background: #f8fafc;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.random-faq-item.active .random-faq-answer {
    padding: 20px;
    max-height: 500px;
}

.random-faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.random-faq-answer p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 15px;
}

.faq-link {
    color: #6b46c1;
    font-weight: 600;
    text-decoration: none;
}

.faq-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .random-tools-hero {
        padding: 40px 20px;
    }
    
    .random-tools-main-title {
        font-size: 2rem;
    }
    
    .random-tools-subtitle {
        font-size: 1rem;
    }
    
    .random-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .random-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .random-tools-content-section {
        padding: 25px;
    }
    
    .random-content-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .random-tools-hero {
        padding: 30px 15px;
    }
    
    .random-tools-main-title {
        font-size: 1.8rem;
    }
    
    .random-tools-container {
        padding: 15px;
    }
}