/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #047bd5 0%, #ff9f00 100%);
    min-height: 100vh;
}

.container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Header Styles */
.tool-header {
    text-align: center;
    margin-bottom: 30px;
}

.tool-header h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2.2em;
}

.subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 10px;
}

.brand {
    color: #047bd5;
    font-weight: bold;
    font-size: 14px;
}

/* Platform Selector */
.platform-selector {
    margin: 30px 0;
    text-align: center;
}

.platform-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.platform-btn {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.platform-btn:hover {
    border-color: #047bd5;
    transform: translateY(-2px);
}

.platform-btn.active {
    background: #047bd5;
    color: white;
    border-color: #047bd5;
}

/* Input Section */
.input-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #047bd5;
}

.input-group small {
    color: #666;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

/* Buttons */
.generate-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #047bd5 0%, #ff9f00 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-bottom: 10px;
}

.generate-btn:hover {
    transform: translateY(-2px);
}

.reset-btn {
    width: 100%;
    padding: 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.reset-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Results Section */
.results-section {
    margin-top: 30px;
}

.platform-result-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.platform-result-card:hover {
    border-color: #047bd5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.platform-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.2em;
}

.copy-btn {
    padding: 8px 15px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
    font-weight: 600;
}

.copy-btn:hover {
    background: #218838;
}

.generated-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #047bd5;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', monospace;
    line-height: 1.4;
}

.content-section {
    margin-bottom: 20px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section strong {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

/* How to Use Section */
.how-to-use-section {
    margin: 40px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.how-to-use-section h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.step {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #047bd5;
    font-weight: 600;
}

/* FAQs Section */
.faqs-section {
    margin: 40px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.faqs-section h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.faq-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #ff9f00;
}

.faq-item strong {
    color: #333;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.faq-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Features Section */
.features-section {
    margin-top: 40px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h4 {
    margin: 0 0 10px 0;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .platform-buttons {
        flex-direction: column;
    }
    
    .platform-btn {
        width: 100%;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
    }
    
    .tool-header h1 {
        font-size: 1.8em;
    }
    
    .feature-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .platform-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .input-section {
        padding: 15px;
    }
    
    .how-to-use-section,
    .faqs-section {
        padding: 15px;
    }
}
