/* Instagram Hashtag Generator Tool Styles */

.ihg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Main Title */
.ihg-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #E4405F;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Content Section */
.ihg-content-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ihg-intro-text {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Benefits Section */
.ihg-benefits h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
}

.ihg-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.ihg-benefit-item {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ihg-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.ihg-benefit-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #FFD700;
}

.ihg-benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Tool Section */
.ihg-tool-section {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow: hidden;
}

.ihg-tool-container {
    padding: 40px;
}

.ihg-tool-title {
    font-size: 2rem;
    text-align: center;
    color: #E4405F;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.ihg-tool-title i {
    font-size: 2.2rem;
}

/* Input Section */
.ihg-input-section {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.ihg-input-group {
    margin-bottom: 25px;
}

.ihg-input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
    font-size: 1.1rem;
}

.ihg-input-group input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ihg-input-group input:focus {
    outline: none;
    border-color: #E4405F;
    box-shadow: 0 0 0 3px rgba(228, 64, 95, 0.1);
}

.ihg-hint {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 0.9rem;
}

/* Generate Button */
.ihg-generate-button {
    display: block;
    width: 100%;
    padding: 18px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(45deg, #E4405F, #fd5949);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.ihg-generate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

.ihg-generate-button:active {
    transform: translateY(0);
}

.ihg-generate-button i {
    margin-right: 10px;
}

/* Loading */
.ihg-loading {
    text-align: center;
    padding: 30px;
    font-size: 1.2rem;
    color: #E4405F;
    font-weight: 500;
}

.ihg-loading i {
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Results Section */
.ihg-results {
    margin-top: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
}

.ihg-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.ihg-results-header h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ihg-copy-button {
    padding: 12px 24px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ihg-copy-button:hover {
    background: #218838;
    transform: translateY(-1px);
}

.ihg-copy-button.copied {
    background: #17a2b8;
}

/* Hashtags Container */
.ihg-hashtags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.ihg-hashtag-item {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(45deg, #E4405F, #fd5949);
    color: white;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.ihg-hashtag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 64, 95, 0.3);
}

.ihg-hashtag-count {
    text-align: center;
    color: #666;
    font-weight: 500;
    font-size: 1.1rem;
}

/* SEO Content Section */
.ihg-seo-content {
    margin-top: 50px;
}

/* FAQ Section */
.ihg-faq-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.ihg-faq-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.ihg-faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.ihg-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ihg-faq-item h3 {
    font-size: 1.3rem;
    color: #E4405F;
    margin-bottom: 12px;
    font-weight: 600;
}

.ihg-faq-item p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Tips Section */
.ihg-tips-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ihg-tips-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.ihg-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.ihg-tip-item {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.ihg-tip-item:hover {
    transform: translateY(-3px);
}

.ihg-tip-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #FFD700;
}

.ihg-tip-item h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.ihg-tip-item p {
    line-height: 1.6;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ihg-container {
        padding: 15px;
    }
    
    .ihg-main-title {
        font-size: 2rem;
    }
    
    .ihg-content-section {
        padding: 25px;
    }
    
    .ihg-tool-container {
        padding: 25px;
    }
    
    .ihg-input-section {
        padding: 20px;
    }
    
    .ihg-benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ihg-tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ihg-results-header {
        flex-direction: column;
        text-align: center;
    }
    
    .ihg-faq-section,
    .ihg-tips-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .ihg-main-title {
        font-size: 1.8rem;
    }
    
    .ihg-tool-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .ihg-hashtags-container {
        gap: 8px;
    }
    
    .ihg-hashtag-item {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .ihg-input-group input {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .ihg-generate-button {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ihg-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Success Message */
.ihg-success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border-radius: 5px;
    margin-top: 10px;
    border: 1px solid #c3e6cb;
    text-align: center;
    font-weight: 500;
}

/* Error Message */
.ihg-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 20px;
    border-radius: 5px;
    margin-top: 10px;
    border: 1px solid #f5c6cb;
    text-align: center;
    font-weight: 500;
}