/* CSS Custom Properties for Theme Colors */
:root {
    /* Primary Colors - Blue Theme */
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --primary-light: #5dade2;
    
    /* Secondary Colors */
    --secondary-color: #667eea;
    --secondary-dark: #5a6fd8;
    --secondary-light: #7c8ff0;
    
    /* Accent Colors */
    --accent-color: #f39c12;
    --accent-dark: #e67e22;
    --accent-light: #f7dc6f;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #764ba2);
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    
    /* Text Colors */
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-light: #ecf0f1;
    --text-dark: #34495e;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #2c3e50;
    --bg-light: #ecf0f1;
    
    /* Border Colors */
    --border-color: #ecf0f1;
    --border-light: #bdc3c7;
    
    /* Status Colors */
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --info-color: #3498db;
    
    /* Shadow Colors */
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-color-dark: rgba(0, 0, 0, 0.15);
    --shadow-primary: rgba(52, 152, 219, 0.3);
    --shadow-secondary: rgba(102, 126, 234, 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background-color: var(--bg-primary);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px var(--shadow-color-dark);
}

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

/* Logo Styles */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: var(--primary-color);
}

.logo i {
    margin-right: 8px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.nav-link.active {
    font-weight: 600;
    box-shadow: 0 2px 8px var(--shadow-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link.active::after {
    width: 90%;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.4);
}

/* CTA Button */
.cta-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-primary);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: 20px;
}

.mobile-nav-item {
    margin-bottom: 15px;
}

.mobile-nav-link {
    display: block;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #3498db;
    background: rgba(52, 152, 219, 0.05);
    padding-left: 10px;
}

.mobile-nav-link.active {
    font-weight: 600;
    border-left: 3px solid #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover::after,
.mobile-nav-link.active::after {
    width: 100%;
}

.mobile-cta-button {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-cta-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    margin-top: 70px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #f39c12;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-cta {
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-cta.primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.hero-cta.primary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.hero-cta.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Profile Card */
.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-image {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.profile-image i {
    font-size: 2.5rem;
    color: #f39c12;
}

.profile-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-card p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.specialty {
    color: #f39c12 !important;
    font-weight: 600;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Experience Card */
.experience-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.experience-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.experience-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ecf0f1;
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.exp-year {
    background: #3498db;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 1rem;
    min-width: 60px;
    text-align: center;
}

.exp-content h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.exp-content p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color-dark);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

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

.service-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.service-cta {
    display: inline-block;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-secondary);
    color: white;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color-dark);
}

.portfolio-image {
    position: relative;
    height: 200px;
    background: var(--gradient-secondary);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-image i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portfolio-stats {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-stats span {
    background: #ecf0f1;
    color: #7f8c8d;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Skills Section */
.skills-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.skills-content {
    max-width: 800px;
    margin: 0 auto;
}

.skills-category h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    gap: 1.5rem;
}

.skill-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.skill-name {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.skill-bar {
    background: var(--bg-light);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #7f8c8d;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo i {
    margin-right: 8px;
    color: #3498db;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #3498db;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-container {
        height: 60px;
    }

    .logo a {
        font-size: 1.3rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
    }
}

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

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-container > * {
    animation: fadeInUp 0.6s ease forwards;
}

.header-container > *:nth-child(1) { animation-delay: 0.1s; }
.header-container > *:nth-child(2) { animation-delay: 0.2s; }
.header-container > *:nth-child(3) { animation-delay: 0.3s; }
.header-container > *:nth-child(4) { animation-delay: 0.4s; }

/* Blog Section Styles */
.blog-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
}

.blog-section .section-header h2 {
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-section .section-header p {
    color: #7f8c8d;
    font-weight: 500;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.blog-card.featured .blog-content h3,
.blog-card.featured .blog-content p,
.blog-card.featured .blog-date {
    color: white;
}

.blog-card.featured .blog-category {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.blog-card.featured .tag {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-card.featured .blog-image {
    height: 300px;
}

.blog-content {
    padding: 2rem;
}

.blog-card.featured .blog-content {
    padding: 2.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    align-items: center;
}

.blog-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    color: #7f8c8d;
    font-weight: 500;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #2c3e50;
    font-weight: 600;
}

.blog-card.featured .blog-content h3 {
    font-size: 2rem;
    color: white;
}

.blog-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-card.featured .blog-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f8f9fa;
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.tag:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.blog-card.featured .tag {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-card.featured .tag:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.read-more:hover {
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.blog-card.featured .read-more {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-card.featured .read-more:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

.view-all-blogs {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    display: inline-block;
}

.view-all-blogs:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
    text-decoration: none;
}

/* Blog Responsive Design */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card.featured {
        grid-column: span 1;
    }
    
    .blog-card {
        padding: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    .blog-card.featured .blog-content h3 {
        font-size: 1.4rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-tags {
        gap: 0.3rem;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-section {
        padding: 3rem 0;
    }
    
    .blog-card {
        padding: 1rem;
    }
    
    .blog-content h3 {
        font-size: 1.1rem;
    }
    
    .view-all-blogs {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Blog Article Page Styles */
.article-content {
    padding: 2rem 0 5rem 0;
    background: #f8f9fa;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-header {
    margin-bottom: 3rem;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-category {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.article-date,
.article-author {
    color: #666;
    font-size: 0.9rem;
}

.article-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.article-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-tags .tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-tags .tag:hover {
    background: #3498db;
    color: white;
}

.article-body {
    line-height: 1.8;
    color: #2c3e50;
}

.article-body h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 2.5rem 0 1rem 0;
    border-left: 4px solid #3498db;
    padding-left: 1rem;
}

.article-body h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin: 2rem 0 1rem 0;
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-body ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.article-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e9ecef;
}

.article-share {
    text-align: center;
    margin-bottom: 3rem;
}

.article-share h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.article-author-bio {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 2rem;
    color: white;
}

.author-info h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.author-info p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e9ecef;
}

.related-articles h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
}

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

.related-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.related-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.related-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.related-card .read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-card .read-more:hover {
    color: #2980b9;
}

/* Article Page Responsive Design */
@media (max-width: 768px) {
    .blog-article {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-excerpt {
        font-size: 1.1rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .article-author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-article {
        padding: 1.5rem;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .share-buttons {
        gap: 0.5rem;
    }
    
    .share-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* All Articles Page Styles */
.all-articles-section {
    padding: 5rem 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    gap: 1rem;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #ecf0f1;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-box input:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.filter-options {
    display: flex;
    gap: 1rem;
}

.filter-options select {
    padding: 10px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 20px;
    background: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.filter-options select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Blog cards in all-articles page */
.all-articles-section .blog-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.all-articles-section .blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.all-articles-section .blog-content {
    padding: 1.5rem;
}

.all-articles-section .blog-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.all-articles-section .blog-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.all-articles-section .blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.all-articles-section .blog-category {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.all-articles-section .blog-date {
    color: #95a5a6;
    font-size: 0.9rem;
}

.all-articles-section .blog-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.all-articles-section .tag {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.all-articles-section .tag:hover {
    background: #3498db;
    color: white;
}

.all-articles-section .read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.all-articles-section .read-more:hover {
    color: #2980b9;
    transform: translateX(5px);
}

.all-articles-section .read-more i {
    transition: transform 0.3s ease;
}

.all-articles-section .read-more:hover i {
    transform: translateX(3px);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    padding: 0.8rem 1.2rem;
    border: 2px solid #e9ecef;
    background: white;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-results i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.no-results p {
    font-size: 1.1rem;
}

/* All Articles Page Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }
    
    .search-box {
        max-width: none;
    }
    
    .filter-options {
        justify-content: center;
    }
    
    .filter-options select {
        min-width: 120px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .filter-bar {
        padding: 0.8rem;
    }
    
    .search-box input {
        padding: 0.7rem 1rem 0.7rem 2.2rem;
        font-size: 0.9rem;
    }
    
    .filter-options select {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .pagination-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
    }
}

/* Admin Panel Styles */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #f8f9fa;
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admin-header h1 {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
}

.add-article-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-article-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.articles-list {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.articles-list h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.5rem;
}

.article-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.article-item:hover {
    border-color: #3498db;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.1);
}

.article-item h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.article-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.3rem 0.8rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.edit-btn {
    background: #f39c12;
    color: white;
}

.delete-btn {
    background: #e74c3c;
    color: white;
}

.preview-btn {
    background: #27ae60;
    color: white;
}

.action-btn:hover {
    transform: translateY(-1px);
}

.article-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-form h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.save-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.cancel-btn {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Admin Panel Responsive Design */
@media (max-width: 768px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .admin-header h1 {
        font-size: 1.8rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .article-actions {
        flex-wrap: wrap;
    }
}

/* Landing Page Builder Demo Styles */
.demo-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 70px;
}

.demo-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.demo-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.demo-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Demo Landing Page Styles */
.demo-landing {
    background: white;
}

.landing-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.landing-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.landing-hero h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.landing-hero p {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.landing-hero .hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.landing-hero .stat {
    text-align: center;
}

.landing-hero .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
}

.landing-hero .stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.landing-hero .hero-buttons {
    display: flex;
    gap: 1rem;
}

.landing-hero .hero-cta {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.landing-hero .hero-cta.primary {
    background: #3498db;
    color: white;
}

.landing-hero .hero-cta.primary:hover {
    background: #2980b9;
}

.landing-hero .hero-cta.secondary {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.landing-hero .hero-cta.secondary:hover {
    background: #3498db;
    color: white;
}

.landing-hero .hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.landing-features {
    padding: 4rem 0;
    background: white;
}

.landing-features .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.landing-features .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.landing-features .section-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.feature-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

.landing-testimonial {
    padding: 4rem 0;
    background: #f8f9fa;
}

.testimonial-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content .quote {
    font-size: 1.5rem;
    color: #2c3e50;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-content .author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-content .author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-content .author-info h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.testimonial-content .author-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.landing-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
    flex-wrap: wrap;
}

.cta-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.cta-form button {
    padding: 1rem 2rem;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-form button:hover {
    background: #229954;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design for Demo */
@media (max-width: 768px) {
    .demo-content h1 {
        font-size: 2rem;
    }
    
    .demo-content p {
        font-size: 1rem;
    }
    
    .demo-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .landing-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .landing-hero h1 {
        font-size: 2rem;
    }
    
    .landing-hero .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .landing-hero .hero-buttons {
        flex-direction: column;
    }
    
    .landing-features .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .cta-form input {
        min-width: auto;
    }
}

/* Landing Page Builder Styles */
.landing-builder {
    margin-top: 70px;
    height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

/* Builder Header */
.builder-header {
    background: white;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.builder-controls {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-success:hover {
    background: #229954;
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
}

.view-controls {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Builder Interface */
.builder-interface {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Elements Sidebar */
.elements-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e9ecef;
    overflow-y: auto;
}

.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.sidebar-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.elements-categories {
    padding: 1rem;
}

.category-section {
    margin-bottom: 2rem;
}

.category-section h4 {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.element-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    cursor: grab;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.element-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.element-item:active {
    cursor: grabbing;
}

.element-item i {
    color: #3498db;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Canvas Area */
.canvas-area {
    flex: 1;
    background: #f8f9fa;
    overflow: auto;
    position: relative;
}

.canvas-container {
    min-height: 100%;
    padding: 2rem;
    position: relative;
}

.canvas-container.view-desktop {
    max-width: 1200px;
    margin: 0 auto;
}

.canvas-container.view-tablet {
    max-width: 768px;
    margin: 0 auto;
}

.canvas-container.view-mobile {
    max-width: 375px;
    margin: 0 auto;
}

.drop-zone {
    min-height: 600px;
    border: 2px dashed #bdc3c7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.3s ease;
}

.drop-zone.drag-over {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.drop-message {
    text-align: center;
    color: #7f8c8d;
}

.drop-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.drop-message h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* Element Wrapper */
.element-wrapper {
    position: relative;
    margin: 10px 0;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.element-wrapper:hover {
    border-color: #3498db;
}

.element-wrapper.selected {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3);
}

.element-controls {
    position: absolute;
    top: -30px;
    right: 0;
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.element-wrapper:hover .element-controls,
.element-wrapper.selected .element-controls {
    opacity: 1;
}

.control-btn {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 3px;
    background: #3498db;
    color: white;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #2980b9;
}

.delete-btn {
    background: #e74c3c;
}

.delete-btn:hover {
    background: #c0392b;
}

/* Properties Panel */
.properties-panel {
    width: 300px;
    background: white;
    border-left: 1px solid #e9ecef;
    overflow-y: auto;
}

.panel-header {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.panel-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-content {
    padding: 1rem;
}

.no-selection {
    text-align: center;
    color: #7f8c8d;
    padding: 2rem 1rem;
}

.no-selection i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.property-group {
    margin-bottom: 1.5rem;
}

.property-group h4 {
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-item {
    margin-bottom: 1rem;
}

.property-item label {
    display: block;
    margin-bottom: 0.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.property-item input,
.property-item select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 0.9rem;
}

.property-item input[type="color"] {
    height: 40px;
    padding: 0.25rem;
}

.property-item input[type="range"] {
    width: 70%;
    margin-right: 0.5rem;
}

/* Modals */
.preview-modal,
.export-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #7f8c8d;
    padding: 0.5rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #e9ecef;
    color: #2c3e50;
}

.modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.preview-container {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 2rem;
    min-height: 400px;
}

.export-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.export-option {
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.export-option:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.export-option h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.export-option p {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 5px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid #27ae60;
}

.notification-error {
    border-left: 4px solid #e74c3c;
}

.notification-info {
    border-left: 4px solid #3498db;
}

.notification i {
    font-size: 1.2rem;
}

.notification-success i {
    color: #27ae60;
}

.notification-error i {
    color: #e74c3c;
}

.notification-info i {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .builder-interface {
        flex-direction: column;
    }
    
    .elements-sidebar,
    .properties-panel {
        width: 100%;
        height: 200px;
        overflow-x: auto;
    }
    
    .elements-sidebar {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .properties-panel {
        border-left: none;
        border-top: 1px solid #e9ecef;
    }
    
    .elements-categories {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
    }
    
    .category-section {
        min-width: 200px;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .builder-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .builder-controls,
    .view-controls {
        width: 100%;
        justify-content: center;
    }
    
    .canvas-container {
        padding: 1rem;
    }
    
    .modal-content {
        max-width: 95%;
        margin: 1rem;
    }
    
    .export-options {
        grid-template-columns: 1fr;
    }
}

/* Video Downloader Styles */
.downloader-main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.downloader-hero {
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.downloader-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.downloader-hero h1 i {
    font-size: 3.5rem;
    color: #ffd700;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.downloader-desc {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.downloader-form {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.downloader-form .form-group {
    margin-bottom: 1.5rem;
}

.downloader-form input,
.downloader-form select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #333;
}

.downloader-form input:focus,
.downloader-form select:focus {
    outline: none;
    border-color: #ffd700;
    background: white;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.downloader-form input::placeholder {
    color: #666;
}

.downloader-form .btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.downloader-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffed4e, #ffd700);
}

.downloader-form .btn:active {
    transform: translateY(0);
}

.downloader-info {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.downloader-info p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.downloader-info p:last-child {
    margin-bottom: 0;
}

.downloader-disclaimer {
    background: rgba(255, 193, 7, 0.2);
    border-left: 4px solid #ffc107;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1.5rem;
}

.downloader-disclaimer i {
    color: #ffc107;
    margin-right: 0.5rem;
}

/* Platform Icons */
.platform-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.platform-icon:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.platform-icon i {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.platform-icon.youtube i { background: rgba(255, 0, 0, 0.8); }
.platform-icon.facebook i { background: rgba(66, 103, 178, 0.8); }
.platform-icon.instagram i { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.platform-icon.twitter i { background: rgba(29, 161, 242, 0.8); }
.platform-icon.tiktok i { background: rgba(0, 0, 0, 0.8); }

.platform-icon span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Features Section */
.downloader-features {
    padding: 4rem 0;
    background: white;
    color: #333;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

.feature-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* How to Use Section */
.how-to-use {
    padding: 4rem 0;
    background: #f8f9fa;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #667eea;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-card h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.step-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .downloader-hero h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .downloader-hero h1 i {
        font-size: 2.5rem;
    }
    
    .downloader-desc {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .downloader-form {
        margin: 0 1rem 2rem;
        padding: 1.5rem;
    }
    
    .downloader-info {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .platform-icons {
        gap: 1rem;
    }
    
    .platform-icon i {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .downloader-hero {
        padding: 2rem 0;
    }
    
    .downloader-hero h1 {
        font-size: 1.5rem;
    }
    
    .downloader-form {
        padding: 1rem;
    }
    
    .downloader-form input,
    .downloader-form select {
        padding: 0.8rem 1rem;
    }
    
    .downloader-form .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Chat Widget Styles */
#chat-box {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 9999;
  font-family: inherit;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#chat-header {
  background: #667eea;
  color: #fff;
  padding: 12px 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}
#chat-close {
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: bold;
}
#chat-messages {
  flex: 1;
  padding: 12px;
  background: #f8f9fa;
  overflow-y: auto;
  max-height: 250px;
}
.chat-message {
  background: #e9ecef;
  color: #333;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 0.98rem;
  word-break: break-word;
}
#chat-form {
  display: flex;
  border-top: 1px solid #e9ecef;
  background: #fff;
}
#chat-input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 1rem;
  border-radius: 0 0 0 12px;
  outline: none;
}
#chat-form button {
  background: #667eea;
  color: #fff;
  border: none;
  padding: 0 18px;
  font-size: 1rem;
  border-radius: 0 0 12px 0;
  cursor: pointer;
  transition: background 0.2s;
}
#chat-form button:hover {
  background: #5a67d8;
}

#chat-popup-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  background: #667eea;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, box-shadow 0.2s;
}
#chat-popup-btn:hover {
  background: #5a67d8;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
#chat-box {
  display: none;
  flex-direction: column;
}
#chat-box[style*="display: flex"] {
  display: flex !important;
}

/* Chat System Styles */
#chat-popup-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 16px;
    transition: all 0.3s ease;
}

#chat-popup-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

#chat-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#chat-header {
    background: #007bff;
    color: white;
    padding: 15px 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-close {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

#chat-close:hover {
    opacity: 0.8;
}

#chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
    max-height: 350px;
}

.chat-message {
    margin-bottom: 10px;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    word-wrap: break-word;
    line-height: 1.4;
}

.chat-message.system-message {
    background: #e7f3ff;
    border-left: 4px solid #007bff;
    font-style: italic;
}

#chat-form {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

#chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

#chat-input:focus {
    border-color: #007bff;
}

#chat-form button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#chat-form button:hover {
    background: #0056b3;
}

/* Chat message animations */
.chat-message {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive chat */
@media (max-width: 768px) {
    #chat-box {
        width: 90vw;
        height: 60vh;
        right: 5vw;
        bottom: 10px;
    }
    
    #chat-popup-btn {
        right: 10px;
        bottom: 10px;
        padding: 12px 16px;
        font-size: 14px;
    }
}

