/* UTM Builder Tool Styles */
.utm-builder-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.utm-builder-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.utm-builder-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.utm-builder-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.utm-builder-tool {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.utm-builder-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.utm-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.utm-input-group label {
    font-weight: 600;
    color: #444;
}

.utm-input-group input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.utm-input-group input:focus {
    border-color: #6e8efb;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
    outline: none;
}

.utm-input-hint {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.utm-generate-button {
    background: #6e8efb;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.utm-generate-button:hover {
    background: #5a7df4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
}

.utm-builder-output {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.utm-result-container {
    position: relative;
}

#utm-result {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    resize: none;
    background: #f9f9f9;
}

.utm-copy-button {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.utm-copy-button:hover {
    background: #3e8e41;
}

.utm-preview-box {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    word-break: break-all;
    font-size: 0.9rem;
    min-height: 60px;
}

.utm-info-section {
    margin: 60px 0;
}

.utm-section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #444;
    position: relative;
}

.utm-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    margin: 15px auto;
    border-radius: 2px;
}

.utm-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.utm-info-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.utm-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.utm-info-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.utm-info-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #444;
}

.utm-info-box p {
    color: #666;
    line-height: 1.6;
}

.utm-guide-section {
    margin: 60px 0;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.utm-guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.utm-guide-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.utm-step-number {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 3px;
}

.utm-step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #444;
}

.utm-step-content p {
    color: #666;
    line-height: 1.6;
}

.utm-faq-section {
    margin: 60px 0;
}

.utm-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.utm-faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.utm-faq-question {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    background: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.utm-faq-question:hover {
    background: #f9f9f9;
}

.utm-faq-icon {
    font-size: 1.3rem;
}

.utm-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.utm-faq-answer p {
    padding: 15px 0;
    color: #666;
    line-height: 1.6;
}

.utm-faq-item.active .utm-faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.utm-faq-item.active .utm-faq-icon {
    transform: rotate(45deg);
}

.utm-related-tools {
    margin: 60px 0;
    text-align: center;
}

.utm-related-tool-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

.utm-related-tool-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #444;
}

.utm-related-tool-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.utm-related-tool-link {
    display: inline-block;
    padding: 10px 20px;
    background: #f0f0f0;
    color: #6e8efb;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.utm-related-tool-link:hover {
    background: #6e8efb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
}

/* Responsive Design */
@media (max-width: 900px) {
    .utm-builder-tool {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .utm-builder-title {
        font-size: 2rem;
    }
    
    .utm-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .utm-guide-step {
        flex-direction: column;
    }
    
    .utm-step-number {
        margin-bottom: 10px;
    }
}