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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #ffffff;
    border-bottom: 2px solid #555555;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #333333;
    font-size: 1.2rem;
    font-weight: 300;
}

.nav-logo i {
    margin-right: 8px;
    color: #e74c3c;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-link {
    color: #333333;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #555555;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #555555;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    background: #ffffff;
    border-bottom: 1px solid #555555;
    color: #333333;
    padding: 30px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 8px;
    color: #333333;
}

.hero-content p {
    font-size: 0.48rem;
    font-weight: 300;
    margin-bottom: 16px;
    color: #333333;
    opacity: 0.8;
}

.rss-widget {
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Main Content */
.main-content {
    padding: 30px 0;
    background-color: #ffffff;
}

/* Content Wrapper for Ads */
.content-wrapper {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content-area {
    min-width: 0; /* Prevents grid overflow */
}

/* Sidebar Ads */
.sidebar-ad {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.ad-container {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-container::before {
    content: 'Advertisement';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 0.7rem;
    color: #999;
    z-index: 1;
}

/* Bottom Banner Ad */
.bottom-banner-ad {
    background: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #e1e5e9;
    border-bottom: 1px solid #e1e5e9;
}

.bottom-banner-ad .ad-container {
    min-height: 90px;
    max-width: 728px;
    margin: 0 auto;
}

/* Instagram Reels Section */
.instagram-reels-section {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 60px 0;
    color: white;
}

.instagram-reels-section h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
}

.reels-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.reel-item {
    aspect-ratio: 9/16;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.reel-item:hover {
    transform: scale(1.05);
}

.reel-placeholder {
    background: rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.reel-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.reel-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.reel-placeholder span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.magazine-section,
.ticker-section,
.wall-section {
    margin-bottom: 30px;
}

.magazine-section h2,
.ticker-section h3,
.wall-section h3 {
    text-align: center;
    margin-bottom: 12px;
    color: #333;
    font-size: 0.8rem;
    font-weight: 300;
}

.ticker-section h3,
.wall-section h3 {
    font-size: 0.6rem;
    font-weight: 300;
}

/* Carousel Section */
.carousel-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 60px 0;
    color: white;
}

.carousel-section h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
}

/* Mobile Feed (Hidden on Desktop) */
.mobile-feed {
    display: none;
}

/* Page Header */
.page-header {
    margin-top: 70px;
    background: #ffffff;
    border-bottom: 1px solid #555555;
    color: #333333;
    padding: 30px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 4px;
    color: #333333;
}

.page-header p {
    font-size: 0.48rem;
    font-weight: 300;
    color: #333333;
    opacity: 0.8;
}

/* About Page Styles */
.about-section {
    margin-bottom: 30px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2rem;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    font-size: 1.1rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Mission Section */
.mission-section {
    margin-bottom: 30px;
}

.mission-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2rem;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mission-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.mission-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mission-icon i {
    font-size: 2rem;
    color: white;
}

.mission-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.mission-card p {
    color: #666;
    line-height: 1.6;
}

/* Values Section */
.values-section {
    margin-bottom: 30px;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2rem;
}

.values-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.value-item h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-item h3 i {
    color: #667eea;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    margin-bottom: 30px;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 2rem;
}

.team-section p {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffd700;
}

.stat p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-methods {
    display: grid;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-details p {
    color: #666;
    margin-bottom: 5px;
}

/* Contact Form */
.contact-form-section h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* FAQ Section */
.faq-section {
    margin-bottom: 30px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #ffd700;
    font-size: 1.3rem;
}

.footer-section h4 i {
    margin-right: 8px;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #ffd700;
    color: #2c3e50;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        border: 1px solid #555555;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-content h1 {
        font-size: 0.8rem;
        font-weight: 300;
    }
    
    .hero-content p {
        font-size: 0.4rem;
        font-weight: 300;
    }
    
    .page-header h1 {
        font-size: 0.8rem;
        font-weight: 300;
    }
    
    .page-header p {
        font-size: 0.4rem;
        font-weight: 300;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .values-content {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Show mobile feed on mobile */
    .mobile-feed {
        display: block;
    }
    
    /* Hide desktop widgets on mobile */
    .magazine-section,
    .wall-section {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
    }
    
    .mission-card,
    .value-item,
    .faq-item {
        padding: 20px;
    }
}

/* Safari-specific optimizations */
@supports (-webkit-appearance: none) {
    .rss-widget {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .mission-card:hover,
    .value-item:hover {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

/* Loading states for RSS widgets */
.rss-widget {
    min-height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rss-widget::before {
    content: 'Loading content...';
    color: #666;
    font-style: italic;
    position: absolute;
    z-index: 1;
}

.rss-widget > * {
    position: relative;
    z-index: 2;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus,
.submit-btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* Authentication Styles */
.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    background: #f8f9fa;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: white;
    color: #667eea;
    border-bottom: 2px solid #667eea;
}

.auth-form {
    padding: 40px;
    display: none;
}

.auth-form.active {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.social-login {
    padding: 20px 40px;
    background: #f8f9fa;
}

.divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
}

.divider span {
    background: #f8f9fa;
    padding: 0 15px;
    color: #666;
    font-size: 0.9rem;
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.social-btn {
    padding: 12px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.google-btn:hover { border-color: #db4437; color: #db4437; }
.facebook-btn:hover { border-color: #3b5998; color: #3b5998; }
.twitter-btn:hover { border-color: #1da1f2; color: #1da1f2; }

.login-benefits {
    margin-top: 60px;
}

.login-benefits h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 1.8rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.benefit-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-item h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2rem;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* AI Search Styles */
.ai-search-section {
    margin-bottom: 40px;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.search-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#ai-search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1.1rem;
}

.search-btn {
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

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

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-tag {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s ease;
}

.suggestion-tag:hover {
    background: #667eea;
    color: white;
}

.search-filters {
    text-align: center;
}

.search-filters h3 {
    margin-bottom: 20px;
    color: #333;
}

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

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e1e5e9;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.search-results {
    margin-top: 40px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.results-count {
    color: #666;
    font-size: 0.9rem;
}

.results-container {
    display: grid;
    gap: 20px;
}

.result-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.result-item h4 {
    color: #333;
    margin-bottom: 10px;
}

.result-item p {
    color: #666;
    line-height: 1.6;
}

/* AI Chat Styles */
.ai-chat-section {
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.chat-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
}

.status-indicator.online {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.message {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-message .message-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.user-message .message-avatar {
    background: #e1e5e9;
    color: #666;
}

.message-content {
    background: white;
    padding: 15px;
    border-radius: 15px;
    max-width: 70%;
}

.user-message .message-content {
    background: #667eea;
    color: white;
    margin-left: auto;
}

.chat-input-container {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: white;
    border-top: 1px solid #e1e5e9;
}

#chat-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e1e5e9;
    border-radius: 25px;
    outline: none;
}

.send-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-searches {
    margin-top: 60px;
}

.popular-searches h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.popular-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.popular-item:hover {
    transform: translateY(-5px);
}

.popular-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.popular-icon i {
    font-size: 2rem;
    color: white;
}

.popular-item h4 {
    margin-bottom: 15px;
    color: #333;
}

.popular-item p {
    color: #666;
    line-height: 1.6;
}

.ai-sidebar-ad {
    position: sticky;
    top: 90px;
    height: fit-content;
}

/* Drone Designer Styles */
.designer-layout {
    display: grid;
    grid-template-columns: 350px 1fr 300px;
    gap: 30px;
    margin-top: 30px;
}

.design-panel,
.visualization-panel,
.bom-panel {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.panel-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-actions {
    display: flex;
    gap: 10px;
}

.btn-primary,
.btn-secondary {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #ffd700;
    color: #333;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
}

.config-section {
    padding: 25px;
    border-bottom: 1px solid #e1e5e9;
}

.config-section:last-child {
    border-bottom: none;
}

.config-section h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.1rem;
}

.drone-type-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.type-option {
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-option.active,
.type-option:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.type-option i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #667eea;
}

.config-item {
    margin-bottom: 20px;
}

.config-item label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.config-item input,
.config-item select {
    width: 100%;
    padding: 10px;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    font-size: 0.9rem;
}

.drone-preview {
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
}

.drone-3d {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    position: relative;
    perspective: 1000px;
}

.drone-frame {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.motor {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
}

.motor-1 { top: 10px; left: 10px; }
.motor-2 { top: 10px; right: 10px; }
.motor-3 { bottom: 10px; left: 10px; }
.motor-4 { bottom: 10px; right: 10px; }

.propeller {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid #666;
    border-radius: 50%;
    opacity: 0.7;
}

.prop-1 { top: 0; left: 0; }
.prop-2 { top: 0; right: 0; }
.prop-3 { bottom: 0; left: 0; }
.prop-4 { bottom: 0; right: 0; }

.center-plate {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #667eea;
    border-radius: 10px;
}

.specs-display {
    padding: 25px;
    background: #f8f9fa;
}

.specs-display h4 {
    margin-bottom: 20px;
    color: #333;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e5e9;
}

.spec-label {
    color: #666;
    font-weight: 500;
}

.spec-value {
    color: #333;
    font-weight: 600;
}

.bom-content {
    padding: 25px;
}

.bom-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.summary-item {
    text-align: center;
}

.summary-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.summary-value {
    display: block;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.bom-list {
    max-height: 300px;
    overflow-y: auto;
}

.bom-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e1e5e9;
}

.bom-item:last-child {
    border-bottom: none;
}

.bom-item-info h5 {
    margin-bottom: 5px;
    color: #333;
}

.bom-item-info p {
    color: #666;
    font-size: 0.9rem;
}

.bom-item-price {
    color: #667eea;
    font-weight: 600;
}

.similar-drones {
    margin-top: 60px;
}

.similar-drones h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.similar-drone-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.similar-drone-item:hover {
    transform: translateY(-5px);
}

.similar-drone-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.similar-drone-info {
    padding: 25px;
}

.similar-drone-info h4 {
    margin-bottom: 10px;
    color: #333;
}

.similar-drone-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.similar-drone-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.spec {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.spec-label {
    color: #666;
}

.spec-value {
    color: #333;
    font-weight: 500;
}

.parts-finder {
    margin-top: 60px;
}

.parts-finder h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.parts-search {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto 30px;
}

#parts-search {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
}

.parts-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.part-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.part-item h5 {
    margin-bottom: 10px;
    color: #333;
}

.part-item p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.part-price {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Dashboard Styles */
.dashboard-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.profile-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.profile-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.profile-stats .stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
}

.quick-actions {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quick-actions h4 {
    margin-bottom: 20px;
    color: #333;
}

.action-btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #e1e5e9;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.dashboard-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.dashboard-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
}

.dashboard-tabs .tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.dashboard-tabs .tab-btn.active {
    background: white;
    color: #667eea;
    border-bottom: 2px solid #667eea;
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e5e9;
}

.content-actions {
    display: flex;
    gap: 10px;
}

.articles-grid,
.designs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.article-item,
.design-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e1e5e9;
    transition: all 0.3s ease;
}

.article-item:hover,
.design-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-item h5,
.design-item h5 {
    margin-bottom: 10px;
    color: #333;
}

.article-item p,
.design-item p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.article-meta,
.design-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #999;
}

.search-history {
    max-height: 400px;
    overflow-y: auto;
}

.history-item {
    padding: 15px;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-item:last-child {
    border-bottom: none;
}

.history-query {
    color: #333;
    font-weight: 500;
}

.history-date {
    color: #666;
    font-size: 0.9rem;
}

.preferences-form {
    max-width: 600px;
}

.preference-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e1e5e9;
}

.preference-section:last-child {
    border-bottom: none;
}

.preference-section h4 {
    margin-bottom: 25px;
    color: #333;
}

.preference-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #667eea;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.preference-info h5 {
    margin-bottom: 5px;
    color: #333;
}

.preference-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.account-actions {
    display: flex;
    gap: 15px;
}

.logout-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Responsive Updates */
@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 150px 1fr 150px;
    }
    
    .designer-layout {
        grid-template-columns: 300px 1fr 250px;
    }
    
    .dashboard-layout {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar-ad {
        display: none;
    }
    
    .designer-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .dashboard-tabs {
        flex-wrap: wrap;
    }
    
    .dashboard-tabs .tab-btn {
        flex: 1 1 50%;
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .results-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .chat-messages {
        height: 300px;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .bom-summary {
        grid-template-columns: 1fr;
    }
    
    .similar-drone-specs {
        grid-template-columns: 1fr;
    }
    
    .account-actions {
        flex-direction: column;
    }
}

/* Save Article Button */
.save-article-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    z-index: 10;
}

.save-article-btn:hover {
    background: #667eea;
    transform: scale(1.1);
}

.save-article-btn.saved {
    background: #ffd700;
    color: #333;
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-state h4 {
    margin-bottom: 15px;
    color: #333;
}

.empty-state p {
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Typing Indicator */
.typing-indicator .message-content {
    background: #f0f0f0;
    padding: 15px 20px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #999;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Result Meta */
.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 0.9rem;
}

.result-category {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    text-transform: capitalize;
}

.result-relevance {
    color: #666;
    font-weight: 500;
}

/* Drone Price */
.drone-price {
    color: #667eea;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 15px;
}

/* Part Specs */
.part-specs {
    color: #888;
    font-size: 0.8rem;
    font-style: italic;
    margin-bottom: 10px;
}

/* Loading Result */
.loading-result {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading-result .spinner {
    margin: 0 auto 15px;
}

/* Enhanced Ad Styles */
.ad-container {
    position: relative;
    overflow: hidden;
}

.ad-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Instagram Reels Enhanced */
.reel-item {
    position: relative;
    overflow: hidden;
}

.reel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.reel-item:hover::before {
    transform: translateX(100%);
}

/* Enhanced Form Styles */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

/* Enhanced Button Styles */
.btn-primary:active,
.btn-secondary:active,
.submit-btn:active {
    transform: translateY(0);
}

/* Enhanced Card Hover Effects */
.mission-card:hover,
.value-item:hover,
.faq-item:hover,
.article-item:hover,
.design-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Enhanced Navigation */
.nav-link:hover {
    transform: translateY(-1px);
}

/* Enhanced Footer */
.footer-section ul li a:hover {
    transform: translateX(5px);
}

/* Enhanced Social Links */
.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Enhanced Search Suggestions */
.suggestion-tag {
    position: relative;
    overflow: hidden;
}

.suggestion-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.suggestion-tag:hover::before {
    left: 100%;
}

/* Enhanced Filter Buttons */
.filter-btn {
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.filter-btn:hover::before {
    width: 100%;
    height: 100%;
}

/* Enhanced Popular Items */
.popular-item {
    position: relative;
    overflow: hidden;
}

.popular-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popular-item:hover::after {
    opacity: 1;
}

/* Enhanced Dashboard Tabs */
.dashboard-tabs .tab-btn {
    position: relative;
}

.dashboard-tabs .tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #667eea;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.dashboard-tabs .tab-btn.active::after {
    width: 100%;
}

/* Enhanced Switch */
.switch input:checked + .slider {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Enhanced Action Buttons */
.action-btn {
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.action-btn:hover::before {
    width: 100%;
    height: 100%;
}

/* Enhanced Logout Button */
.logout-btn {
    position: relative;
    overflow: hidden;
}

.logout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.logout-btn:hover::before {
    left: 100%;
}

/* AI Integration Section */
.ai-integration-section {
    margin-top: 60px;
}

.ai-integration-section h3 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2rem;
}

.ai-integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.ai-integration-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.ai-integration-item:hover {
    transform: translateY(-5px);
    border-color: #667eea;
}

.ai-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.ai-integration-item h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.ai-integration-item p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.ai-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-tag {
    background: #f8f9fa;
    color: #667eea;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e1e5e9;
}

/* Feature List Styles */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e1e5e9;
    color: #666;
    line-height: 1.6;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list strong {
    color: #333;
    font-weight: 600;
}

/* Mission Statement Styles */
.mission-statement {
    font-size: 1.1rem;
    color: #333;
    margin: 15px 0;
    text-align: center;
    font-style: italic;
}

.mission-statement:first-of-type {
    font-size: 1.3rem;
    font-weight: 600;
    color: #667eea;
}

/* Enhanced Logo Styles */
.nav-logo h2 {
    color: #2c3e50;
    font-weight: 300;
}

/* AI Search Enhanced Styles */
.ai-search-section .search-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e1e5e9;
}

.ai-search-section .search-box:hover {
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

/* Enhanced AI Chat */
.chat-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.chat-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

/* Enhanced Search Results */
.result-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #667eea;
}

.result-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

/* Enhanced Popular Items */
.popular-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e1e5e9;
}

.popular-item:hover {
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

/* Enhanced Filter Buttons */
.filter-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e1e5e9;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

/* Enhanced Suggestion Tags */
.suggestion-tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e1e5e9;
}

.suggestion-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

/* Enhanced Ad Containers */
.ad-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e1e5e9;
    position: relative;
    overflow: hidden;
}

.ad-container::before {
    content: 'Advertisement';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 0.7rem;
    color: #999;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Enhanced Instagram Reels */
.reel-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reel-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Enhanced Navigation */
.navbar {
    background: #ffffff;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #555555;
}

/* Enhanced Hero Section */
.hero {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Enhanced Cards */
.mission-card,
.value-item,
.faq-item,
.article-item,
.design-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e1e5e9;
}

.mission-card:hover,
.value-item:hover,
.faq-item:hover,
.article-item:hover,
.design-item:hover {
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

/* Enhanced Buttons */
.btn-primary,
.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before,
.submit-btn:hover::before {
    left: 100%;
}

/* Enhanced Form Elements */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Enhanced Loading States */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Animations */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .ai-integration-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-list {
        padding: 0 20px;
    }
    
    .mission-statement {
        font-size: 1rem;
    }
    
    .mission-statement:first-of-type {
        font-size: 1.1rem;
    }
}
