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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    will-change: transform;
    transform: translateZ(0); /* Enable hardware acceleration */
}

/* Enhanced Modern Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
    will-change: transform, background-color;
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Logo Section */
.nav-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    position: relative;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    padding: 8px 0;
    margin: 0;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-brand .logo:hover {
    transform: translateY(-2px);
}

.nav-brand .logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(103, 132, 234, 0.1), transparent);
    transition: left 0.8s ease;
}

.nav-brand .logo:hover::before {
    left: 100%;
}

.nav-brand .logo img {
    height: 48px;
    width: auto;
    margin-right: 12px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

/* Enhanced Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin-left: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2px;
    align-items: center;
    margin: 0;
    padding: 0;
    background: rgba(248, 250, 252, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 6px 8px;
    border: 1px solid rgba(103, 132, 234, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-item {
    position: relative;
    margin: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.025em;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-transform: capitalize;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(103, 132, 234, 0.4);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 24px;
}

/* Enhanced Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(103, 132, 234, 0.1);
    backdrop-filter: blur(10px);
}

.nav-toggle:hover {
    background: rgba(103, 132, 234, 0.1);
    transform: scale(1.05);
}

.bar {
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-origin: center;
}

/* Add scroll effect with JavaScript */
.navbar-scroll-effect {
    animation: navbarSlideIn 0.5s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

/* Logo text styling if no image */
.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.logo-text:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    padding: 18px 0;
    text-align: center;
    position: fixed;
    top: 80px;
    width: 100%;
    z-index: 999;
    overflow: hidden;
    animation: promo-pulse 2s ease-in-out infinite alternate;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    will-change: transform;
    transform: translateZ(0); /* Enable hardware acceleration */
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: promo-shine 3s ease-in-out infinite;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

.promo-icon {
    font-size: 1.8rem;
    animation: promo-bounce 1s ease-in-out infinite;
}

.promo-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.promo-highlight {
    color: #fff200;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.promo-btn {
    background: white;
    color: #ff6b6b;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-size: 1rem;
}

.promo-btn:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

@keyframes promo-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    100% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
}

@keyframes promo-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes promo-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Optimized Discount Badge */
.discount-badge {
    display: inline-block !important;
    background: linear-gradient(45deg, #ff6b6b, #ffa500) !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3) !important;
    transform: translateZ(0);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: none !important;
    text-decoration: none !important;
}

.discount-badge:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.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="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.2"/><circle cx="10" cy="50" r="0.5" fill="white" opacity="0.2"/><circle cx="90" cy="30" r="0.5" fill="white" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.feature-icon {
    font-size: 1.5rem;
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.problem-content {
    text-align: center;
}

.problem-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 60px;
    font-weight: 700;
}

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

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

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

.problem-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.problem-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.problem-item p {
    color: #666;
    font-size: 1rem;
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

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

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

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

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

.feature-icon-large {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.pricing-grid {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

/* 4-column layout for shared hosting and index */
.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* 3-column layout for WordPress hosting */
.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

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

.pricing-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
}

.plan-badge {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #333;
    margin: 20px 0;
    font-weight: 600;
}

.price {
    margin-bottom: 30px;
}

.currency {
    font-size: 1.5rem;
    color: #666;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.period {
    font-size: 1rem;
    color: #666;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    padding: 10px 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

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

.features-list li::before {
    content: '✓';
    color: #4caf50;
    font-weight: bold;
    margin-right: 10px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.stars {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

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

.customer span {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.guarantee-icon {
    font-size: 1.2rem;
}

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

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: #667eea;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

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

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

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

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

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    color: #999;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    transform: scale(1.2);
}

.social-links a[aria-label="Facebook"]:hover {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.social-links a[aria-label="X (Twitter)"]:hover {
    color: #000000;
    background: rgba(0, 0, 0, 0.1);
}

.social-links a[aria-label="TikTok"]:hover {
    color: #ff0050;
    background: rgba(255, 0, 80, 0.1);
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    /* Make navigation more compact for smaller screens */
    .nav-list {
        gap: 1px;
        padding: 4px 6px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .pricing-grid,
    .pricing-grid-4,
    .pricing-grid-3 {
        gap: 15px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
}

@media (max-width: 992px) {
    .pricing-grid,
    .pricing-grid-4,
    .pricing-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    /* Extra compact navigation for medium screens */
    .nav-list {
        gap: 0px;
        padding: 2px 4px;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 11px;
        letter-spacing: 0;
    }
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0 16px;
    }

    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        padding-bottom: 150px;
        transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        display: none;
    }

    .nav-menu.active {
        top: 0;
        display: flex;
        animation: mobileMenuSlideIn 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
    }

    .nav-list {
        flex-direction: column;
        gap: 8px;
        width: 90%;
        max-width: 400px;
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 20px;
        margin-bottom: 50px;
    }

    .nav-item {
        width: 100%;
        opacity: 0;
        transform: translateX(-50px);
        animation: mobileNavItemSlideIn 0.5s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
    }

    .nav-menu.active .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active .nav-item:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active .nav-item:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active .nav-item:nth-child(6) { animation-delay: 0.35s; }
    .nav-menu.active .nav-item:nth-child(7) { animation-delay: 0.4s; }
    .nav-menu.active .nav-item:nth-child(8) { animation-delay: 0.45s; }

    .nav-link {
        width: 100%;
        padding: 18px 24px;
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        border-radius: 16px;
        background: rgba(248, 250, 252, 0.8);
        border: 1px solid rgba(103, 132, 234, 0.1);
        margin-bottom: 8px;
        backdrop-filter: blur(10px);
    }

    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transform: scale(1.02);
        box-shadow: 0 12px 40px rgba(103, 132, 234, 0.4);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active {
        background: rgba(103, 132, 234, 0.2);
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    }

    .nav-brand .logo img {
        height: 42px;
    }

    /* Mobile menu overlay */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(103, 132, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        z-index: -1;
    }

    /* Promotional Banner Mobile Styles */
    .promo-banner {
        position: fixed;
        width: 100%;
        z-index: 998;
        padding: 15px 0;
        top: 80px;
        transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    }

    /* Prevent scrolling when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* Hide content behind mobile menu */
    body.mobile-menu-open .hero,
    body.mobile-menu-open .promo-banner,
    body.mobile-menu-open main {
        visibility: hidden;
    }

    .nav-menu.active ~ .promo-banner,
    body.mobile-menu-open .promo-banner {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        z-index: -1;
    }

    .promo-content {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 12px;
        text-align: center;
        margin: 0 auto;
        max-width: 1200px;
    }

    .promo-text {
        font-size: 1rem;
        line-height: 1.4;
    }

    .promo-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        margin-top: 5px;
    }

    .promo-icon {
        font-size: 1.6rem;
    }

    .hero {
        padding: 140px 0 60px 0;
        transition: padding-top 0.3s ease;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .problems-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid,
    .pricing-grid-4,
    .pricing-grid-3 {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pricing-card {
        padding: 30px 20px;
        margin: 0 auto;
        max-width: 400px;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-card.featured {
        transform: none; /* Remove scaling on mobile */
    }

    .pricing-card:hover {
        transform: translateY(-5px); /* Reduced hover effect */
    }

    /* Make pricing plan features text larger on mobile */
    .features-list li {
        font-size: 1.1rem;
        padding: 10px 0;
        line-height: 1.6;
    }

    /* Make titles and prices smaller on mobile */
    .pricing-card h3 {
        font-size: 1.5rem !important;
    }

    .pricing-card .price {
        font-size: 2rem !important;
    }

    .pricing-card .price small {
        font-size: 0.8rem !important;
    }

    /* Make plan description text smaller on mobile */
    .pricing-card p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Domain Search Form Responsive */
    .domain-search {
        padding: 20px !important;
        margin: 30px 0 !important;
    }

    .domain-search > div:first-child {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .domain-search input {
        width: 100% !important;
        flex: none !important;
    }

    .domain-search button {
        width: 100% !important;
        padding: 15px !important;
    }

    /* Domain Pricing Grid Responsive */
    .domain-pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* FAQ Grid Responsive - Fix for all pages */
    .faq-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Grid sections with minmax fixes */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(400px, 1fr))"],
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(500px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Mission & Values grid fix */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(350px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    /* Comparison Table Responsive */
    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px;
        padding: 0 20px;
    }

    .comparison-table table {
        min-width: 700px;
        width: 100%;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px !important;
        font-size: 0.9rem;
    }

    .comparison-table thead th {
        font-size: 0.85rem;
    }

    /* DirectAdmin features grid responsive */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /* By the Numbers grid in Our Story section */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
}

/* Enhanced Animations */
@keyframes navbarSlideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes mobileMenuSlideIn {
    from {
        top: -100%;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes mobileNavItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar .container {
        max-width: 100%;
        padding: 0 24px;
    }

    .nav-list {
        gap: 2px;
        padding: 6px 8px;
    }

    .nav-link {
        padding: 10px 14px;
        font-size: 13px;
    }

    .nav-brand .logo img {
        height: 44px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .pricing-grid,
    .pricing-grid-4,
    .pricing-grid-3 {
        gap: 20px;
        margin-top: 20px;
        padding: 0;
    }

    .pricing-card {
        padding: 20px 15px;
        margin: 0;
        border-radius: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        transform: none !important; /* Remove any scaling */
    }

    /* Domain search extra small fixes */
    .domain-search {
        padding: 15px !important;
        margin: 20px 0 !important;
    }

    .popular-extensions {
        justify-content: center !important;
        gap: 8px !important;
    }

    .popular-extensions span {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }

    /* Hero title adjustments for extra small screens */
    .hero-title {
        font-size: 2rem !important;
    }

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

    /* DirectAdmin features grid - single column on very small screens */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* By the Numbers - stack vertically on very small screens */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Comparison table extra small adjustments */
    .comparison-table {
        margin: 0 -10px;
        padding: 0 10px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px !important;
        font-size: 0.8rem;
    }

    /* Section headers smaller on mobile */
    section h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    section h3[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Enhanced Promotional Banner for Small Mobile */
    .promo-banner {
        position: fixed;
        width: 100%;
        z-index: 999;
        padding: 12px 0;
        top: 70px;
    }

    .promo-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
        margin: 0 auto;
        max-width: 1200px;
    }

    .promo-text {
        font-size: 0.9rem;
    }

    .promo-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .promo-highlight {
        display: block;
        margin-top: 2px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .problem-section,
    .solution-section,
    .pricing-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }

    .feature-card,
    .problem-item,
    .testimonial-card {
        padding: 30px 20px;
    }

    .pricing-card {
        padding: 30px 20px;
    }
}

/* Ensure mobile menu doesn't interfere with other elements */
@media (max-width: 768px) {
    .nav-menu.active {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.98) !important;
        z-index: 1000 !important;
        box-shadow: none !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .pricing-grid,
    .pricing-grid-4,
    .pricing-grid-3 {
        gap: 20px;
        margin-top: 20px;
        padding: 0;
    }

    .pricing-card {
        padding: 20px 15px;
        margin: 0;
        border-radius: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        transform: none !important; /* Remove any scaling */
    }

    /* Domain search extra small fixes */
    .domain-search {
        padding: 15px !important;
        margin: 20px 0 !important;
    }

    .popular-extensions {
        justify-content: center !important;
        gap: 8px !important;
    }

    .popular-extensions span {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }

    /* Hero title adjustments for extra small screens */
    .hero-title {
        font-size: 2rem !important;
    }

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

    /* DirectAdmin features grid - single column on very small screens */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* By the Numbers - stack vertically on very small screens */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Comparison table extra small adjustments */
    .comparison-table {
        margin: 0 -10px;
        padding: 0 10px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px !important;
        font-size: 0.8rem;
    }

    /* Section headers smaller on mobile */
    section h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    section h3[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Enhanced Promotional Banner for Small Mobile */
    .promo-banner {
        position: fixed;
        width: 100%;
        z-index: 999;
        padding: 12px 0;
        top: 70px;
    }

    .promo-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
        margin: 0 auto;
        max-width: 1200px;
    }

    .promo-text {
        font-size: 0.9rem;
    }

    .promo-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .promo-highlight {
        display: block;
        margin-top: 2px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .problem-section,
    .solution-section,
    .pricing-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }

    .feature-card,
    .problem-item,
    .testimonial-card {
        padding: 30px 20px;
    }

    .pricing-card {
        padding: 30px 20px;
    }
}

/* Mobile menu styles end here - no additional overrides needed */

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .pricing-grid-4,
    .pricing-grid-3 {
        gap: 20px;
        margin-top: 20px;
        padding: 0;
    }

    .pricing-card {
        padding: 20px 15px;
        margin: 20px 0 !important;
        border-radius: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        transform: none !important;
    }

    /* Domain Search */
    .domain-search {
        padding: 15px !important;
        margin: 20px 0 !important;
    }

    /* Popular Extensions */
    .popular-extensions {
        justify-content: center !important;
        gap: 8px !important;
    }

    .popular-extensions span {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }

    /* Grid Layout Adjustments */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Ensuring uniform styling for grid templates */
    section[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* By the Numbers - ensuring uniform styling */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin: 20px 0;
        font-weight: 700;
    }
    /* Comparison table extra small adjustments */
    .comparison-table {
        margin: 0 -10px;
        padding: 0 10px;
        width: 100%;
        overflow-x: auto;
        display: block;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px !important;
        font-size: 0.8rem;
        min-width: 120px;
    }

    /* Section headers smaller on mobile */
    section h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    section h3[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }

    .container {
        padding: 0 15px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    /* Promotional Banner for Small Mobile */
    .container {
        padding: 0 15px;
    }

    /* Enhanced Promotional Banner for Small Mobile */
    .promo-banner {
        position: fixed;
        width: 100%;
        z-index: 999;
        padding: 12px 0;
        top: 70px;
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .promo-content {
        display: flex;
        margin: 0 auto;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
        max-width: 1200px;
        flex-wrap: wrap;
    }

    .promo-text {
        font-size: 0.9rem;
        margin: 0;
    }

    .promo-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .promo-highlight {
        display: block;
        margin-top: 2px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .problem-section,
    .solution-section,
    .pricing-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }

    .feature-card,
    .problem-item,
    .testimonial-card,
    .pricing-card {
        padding: 30px 20px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    /* Pricing Grid Layout */
    .pricing-grid,
    .pricing-grid-4,
    .pricing-grid-3 {
        gap: 20px;
        margin-top: 20px;
        padding: 0;
    }

    .pricing-card {
        padding: 20px 15px;
        margin: 20px 0 !important;
        border-radius: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        transform: none !important;
    }

    /* Domain Search */
    .domain-search {
        padding: 15px !important;
        margin: 20px 0 !important;
    }

    /* Popular Extensions */
    .popular-extensions {
        justify-content: center !important;
        gap: 8px !important;
    }

    .popular-extensions span {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }

    /* Grid Layout Adjustments */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Two-column Grid Layout */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Comparison Table */
    .comparison-table {
        margin: 0 -10px;
        padding: 0 10px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px !important;
        font-size: 0.8rem;
    }

    /* Section Headers */
    section h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    section h3[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }

    /* Promotional Banner */
    .promo-banner {
        position: fixed;
        width: 100%;
        z-index: 999;
        padding: 12px 0;
        top: 70px;
        background: #f8f9fa;
    }

    .promo-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
        margin: 0 auto;
        max-width: 1200px;
        padding: 0 15px;
    }

    .promo-text {
        font-size: 0.9rem;
        margin-top: 2px;
    }

    .promo-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .promo-highlight {
        display: block;
        margin-top: 2px;
        font-weight: bold;
        color: #ff6b6b;
    }

    /* Section Spacing */
    .hero,
    .pricing-section,
    .testimonials-section {
        padding: 120px 0 60px;
    }

    .problem-section,
    .solution-section,
    .pricing-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    /* Cards */
    .feature-card,
    .problem-item,
    .testimonial-card,
    .pricing-card {
        padding: 30px 20px;
    }
}

/* Mobile Menu Open State */
body.mobile-menu-open .hero {
    padding-top: 380px !important; /* Fallback for menu overlap */
}

body.mobile-menu-open .hero .discount-badge {
    position: relative;
    z-index: 1001 !important; /* Higher than mobile menu */
    margin-top: 40px !important;
}

body.mobile-menu-open .hero-content {
    padding-top: 20px;
    position: relative;
    z-index: 1001;
}

/* High specificity fallback for mobile menu overlap issue */
@media (max-width: 768px) {
    body.mobile-menu-open .hero {
        padding-top: 380px !important; /* Fallback for menu overlap */
    }
    
    body.mobile-menu-open .hero .discount-badge {
        position: relative !important;
        z-index: 1001 !important;
        margin-top: 40px !important;
        display: inline-block !important;
        background: linear-gradient(45deg, #ff6b6b, #ffa500) !important;
        color: white !important;
        padding: 8px 20px !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3) !important;
    }
    
    /* Ensure mobile menu doesn't cover content */
    .nav-menu.active {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        background: white !important;
        z-index: 1000 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        padding: 20px 15px;
        margin: 0;
        border-radius: 15px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Domain search extra small fixes */
    .pricing-grid,
    .pricing-grid-4,
    .pricing-grid-3 {
        gap: 20px;
        margin: 20px 0;
        padding: 0;
    }

    .pricing-card {
        padding: 20px 15px;
        margin: 0;
        border-radius: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        transform: none !important; /* Remove any scaling */
    }
    
    /* Hero title adjustments for extra small screens */
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin: 15px 0 !important;
    }

    /* Domain search extra small fixes */
    .domain-search {
        padding: 15px !important;
        margin: 20px 0 !important;
    }

    .popular-extensions {
        justify-content: center !important;
        gap: 8px !important;
    }
    
    /* DirectAdmin features grid - single column on very small screens */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Popular extensions styles */
    .popular-extensions span {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }
    
    /* Two-column grid adjustments for small screens */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Hero title adjustments for extra small screens */
    .hero-title {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        padding: 0 10px;
        font-size: 1rem !important;
    }

    /* DirectAdmin features grid - single column on very small screens */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* By the Numbers - stack vertically on very small screens */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Comparison table extra small adjustments */
    .comparison-table {
        margin: 0 -10px;
        padding: 0 10px;
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px !important;
    }

    /* Section headers smaller on mobile */
    section h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    section h3[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
    
    /* Promo content styles for small screens */
    .promo-content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        padding: 0 10px;
        margin: 0 auto;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Enhanced Promotional Banner for Small Mobile */
    .promo-banner {
        position: fixed;
        width: 100%;
        z-index: 999;
        padding: 12px 0;
        background: #f8f9fa;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .promo-text {
        font-size: 0.9rem;
        margin: 0;
        padding: 0 18px;
        top: 70px;
        white-space: nowrap;
    }

    .promo-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
        margin: 0 auto;
        flex-wrap: wrap;
    }
    
    .promo-highlight {
        display: block;
        margin: 5px 0;
        max-width: 1200px;
        font-weight: bold;
        color: #2c3e50;
    }

    .hero-title {
        font-size: 1.8rem;
        margin: 10px 0;
    }

    .promo-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        background: #3498db;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
        margin: 5px 0;
    }
    
    .solution-section,
    .pricing-section,
    .testimonials-section {
        padding: 60px 0;
    }
    
    .problem-item {
        margin: 20px 0;
        padding: 15px;
        background: #f9f9f9;
        border-radius: 4px;
    }
    
    .testimonial-card {
        margin: 20px 0;
        padding: 20px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
        margin: 0 20px;
        text-align: center;
    }

    /* Discount badge is visible when mobile menu is open */
    .menu-open .hero .discount-badge {
        display: block;
    }
    
    .problem-section,
    .solution-section,
    .pricing-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
        position: relative;
        z-index: 10; /* Higher than mobile menu */
    }

    .cta-section {
        margin-top: 30px !important;
    }

    /* Ensure hero content is properly spaced when mobile menu is open */
    body.mobile-menu-open .hero-content {
        padding-top: 20px;
    }

    .feature-card,
    .problem-item,
    .testimonial-card {
        padding: 30px 20px;
    }

    .pricing-card {
        padding: 30px 20px;
        margin-bottom: 30px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    /* Mobile menu overlap issue */
    body.mobile-menu-open .hero {
        padding-top: 80px !important; /* More reasonable padding for mobile */
    }
    
    /* Mobile menu discount badge fix */
    body.mobile-menu-open .hero .discount-badge {
        position: fixed !important;
        z-index: 1002 !important;
        display: inline-block !important;
        margin-top: 40px !important;
        right: 20px;
        top: 20px;
        background: #e74c3c;
        color: white;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: bold;
    }
    
    /* Ensure content is properly spaced when mobile menu is open */
    body.mobile-menu-open {
        padding-top: 60px; /* Adjust based on your header height */
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
        .container {
            padding: 0 15px;
        }
    /* Enhanced Promotional Banner for Small Mobile */
    .promo-banner {
        position: fixed;
        width: 100%;
        z-index: 999;
        padding: 12px 0;
        top: 70px;
        background: rgba(0, 0, 0, 0.1);
    }

    .promo-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
        margin: 0 auto;
        max-width: 1200px;
    }

    .promo-text {
        font-size: 0.9rem;
        padding: 20px 15px;
        margin: 0;
        border-radius: 15px;
    }
    .promo-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        box-sizing: border-box;
        white-space: nowrap;
    }

    .promo-highlight {
        display: block;
        margin-top: 2px !important;
    }

    .hero {
        padding: 120px 0 60px;
    }
    
    .popular-extensions {
        justify-content: center !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    /* Hero title adjustments for extra small screens */
    .cta-section .hero-title {
        padding: 60px 0;
    }

    .feature-card,
    .problem-item,
    .testimonial-card {
        font-size: 1rem !important;
        padding: 30px 20px;
    }
    
    /* Grid adjustments for very small screens */
    section[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
/* Ensure discount badge is visible when mobile menu is open */
body.mobile-menu-open .hero .discount-badge {
    position: relative;
    z-index: 1001 !important; /* Higher than mobile menu */
    margin-top: 30px !important;
    display: block !important;
}

/* Comparison table extra small adjustments */
.comparison-table {
    margin: 0;
}

/* Ensure hero content is properly spaced when mobile menu is open */
body.mobile-menu-open .hero-content {
    padding-top: 20px;
    position: relative;
    z-index: 1001;
}

/* High specificity fallback for mobile menu overlap issue */
@media (max-width: 768px) {
    body.mobile-menu-open .hero {
        padding-top: 380px !important; /* Aggressive fallback */
    }
    
    body.mobile-menu-open .hero .discount-badge {
        position: relative !important;
        z-index: 1002 !important;
        margin-top: 40px !important;
        display: inline-block !important;
        background: linear-gradient(45deg, #ff6b6b, #ffa500) !important;
        color: white !important;
        padding: 8px 20px !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3) !important;
    }

    /* Ensure mobile menu doesn't cover content */
    .nav-menu.active {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        background: white !important;
        z-index: 1000 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    }

    .promo-content {
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
        .container {
            padding: 0 10px;
        }

        .pricing-grid,
        .pricing-grid-4,
        .pricing-grid-3 {
            gap: 20px;
            margin-top: 20px;
            padding: 0;
        }

        .pricing-card {
            padding: 20px 15px;
            margin: 0;
            border-radius: 15px;
            max-width: 100%;
            width: 100%;
            box-sizing: border-box;
            transform: none !important;
        }

        /* Domain search extra small fixes */
        .domain-search {
            padding: 15px !important;
            margin: 20px 0 !important;
        }

        .popular-extensions {
            justify-content: center !important;
            gap: 8px !important;
        }

        .popular-extensions span {
            font-size: 0.8rem !important;
            padding: 6px 12px !important;
        }

        /* Hero title adjustments for extra small screens */
        .hero-title {
            font-size: 2rem !important;
        }

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

        /* Grid adjustments for very small screens */
        section[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
            grid-template-columns: 1fr !important;
            gap: 15px !important;
        }

        /* Stack grid items vertically on very small screens */
        section[style*="grid-template-columns: 1fr 1fr"] {
            grid-template-columns: 1fr !important;
            gap: 15px !important;
        }

    /* Comparison table extra small adjustments */
    .comparison-table {
        margin: 0 -10px;
        padding: 0 10px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px !important;
        font-size: 0.8rem;
    }

    /* Section headers smaller on mobile */
    section h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    section h3[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Enhanced Promotional Banner for Small Mobile */
    .promo-banner {
        position: fixed;
        width: 100%;
        z-index: 999;
        padding: 12px 0;
        top: 70px;
    }

    .promo-content {
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
        margin: 0 auto;
        max-width: 1200px;
    }

    .promo-text {
        font-size: 0.9rem;
    }

    .promo-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .problem-section,
    .solution-section,
    .pricing-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }
    
    /* Grid template columns for small screens */
    [style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .feature-card,
    .problem-item,
    .testimonial-card {
        padding: 30px 20px;
    }

    .pricing-card {
        gap: 15px !important;
        padding: 30px 20px;
    }
}

/* Mobile menu discount badge fix */
body.mobile-menu-open .hero {
    margin: 0 -10px;
    padding: 450px 10px 0 !important;
}

body.mobile-menu-open .discount-badge {
    z-index: 1002 !important;
    margin-top: 40px !important;
    font-size: 0.8rem;
}

/* Section headers smaller on mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .promo-banner h3 {
        font-size: 1.5rem !important;
    }

    .promo-banner {
        position: fixed;
        width: 100%;
        z-index: 999;
        padding: 12px 0;
        top: 70px;
    }

    .promo-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
        margin: 0 auto;
        max-width: 1200px;
    }

    .promo-text {
        font-size: 0.9rem;
    }

    .promo-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .promo-highlight {
        display: block;
        margin-top: 2px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .problem-section,
    .solution-section,
    .pricing-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }

    .feature-card,
    .problem-item,
    .testimonial-card {
        padding: 30px 20px;
    }

    .pricing-card {
        padding: 30px 20px;
    }
}

/* Ensure discount badge is visible when mobile menu is open */
body.mobile-menu-open .hero .discount-badge {
    position: relative;
    z-index: 1001 !important; /* Higher than mobile menu */
    margin-top: 30px !important;
    display: block !important;
}

/* Ensure hero content is properly spaced when mobile menu is open */
body.mobile-menu-open .hero-content {
    padding-top: 20px;
    position: relative;
    z-index: 1001;
}

/* High specificity fallback for mobile menu overlap issue */
@media (max-width: 768px) {
    body.mobile-menu-open .hero {
        padding-top: 380px !important; /* Aggressive fallback */
    }
    
    body.mobile-menu-open .hero .discount-badge {
        position: relative !important;
        z-index: 1002 !important;
        margin-top: 40px !important;
        display: inline-block !important;
        background: linear-gradient(45deg, #ff6b6b, #ffa500) !important;
        color: white !important;
        padding: 8px 20px !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3) !important;
    }

    /* Ensure mobile menu doesn't cover content */
    .nav-menu.active {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        background: white !important;
        z-index: 1000 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .pricing-grid,
    .pricing-grid-4,
    .pricing-grid-3 {
        gap: 20px;
        margin-top: 20px;
        padding: 0;
    }

    .pricing-card {
        padding: 20px 15px;
        margin: 0;
        border-radius: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        transform: none !important; /* Remove any scaling */
    }

    /* Domain search extra small fixes */
    .domain-search {
        padding: 15px !important;
        margin: 20px 0 !important;
    }

    .popular-extensions {
        justify-content: center !important;
        gap: 8px !important;
    }

    .popular-extensions span {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }

    /* Hero title adjustments for extra small screens */
    .hero-title {
        font-size: 2rem !important;
    }

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

    /* DirectAdmin features grid - single column on very small screens */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* By the Numbers - stack vertically on very small screens */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Comparison table extra small adjustments */
    .comparison-table {
        margin: 0 -10px;
        padding: 0 10px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px !important;
        font-size: 0.8rem;
    }

    /* Section headers smaller on mobile */
    section h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    section h3[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Enhanced Promotional Banner for Small Mobile */
    .promo-banner {
        position: fixed;
        width: 100%;
        z-index: 999;
        padding: 12px 0;
        top: 70px;
    }

    .promo-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
        margin: 0 auto;
        max-width: 1200px;
    }

    .promo-text {
        font-size: 0.9rem;
    }

    .promo-btn {
        font-size: 0.9rem;
        padding: 10px 18px;
        white-space: nowrap;
    }

    .promo-highlight {
        display: block;
        margin-top: 2px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .problem-section,
    .solution-section,
    .pricing-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }

    .feature-card,
    .problem-item,
    .testimonial-card {
        padding: 30px 20px;
    }








































































































































































































































































    .pricing-card,
    .solution-section,
    .problem-section {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .promo-highlight {
        margin-top: 2px;
        display: block;
    }
    
    .promo-btn {
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 10px 18px;
    }
    
    .promo-text {
        font-size: 0.9rem;
    }
    
    .promo-content {
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
        gap: 10px;
        justify-content: center;
        align-items: center;
        display: flex;
    }
    
    .promo-banner {
        position: fixed;
        top: 70px;
        padding: 12px 0;
        z-index: 999;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* Section headers smaller on mobile */
    section h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }
    
    section h3[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
    
    /* Comparison table extra small adjustments */
    .comparison-table {
        margin: 0 -10px;
        padding: 0 10px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px !important;
        font-size: 0.8rem;
    }
    
    /* Grid adjustments for very small screens */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

/* Responsive styles for extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .popular-extensions {
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .popular-extensions span {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
    
    .domain-search {
        margin: 20px 0 !important;
        padding: 15px !important;
    }
    
    .pricing-card {
        transform: none !important;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        border-radius: 15px;
        margin: 0;
        padding: 20px 15px;
    }
    
    .pricing-grid,
    .pricing-grid-3,
    .pricing-grid-4 {
        padding: 0;
        margin-top: 20px;
        gap: 20px;
    }
    
    .nav-menu.active {
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        z-index: 1000 !important;
        background: white !important;
        width: 100% !important;
        left: 0 !important;
        top: 70px !important;
        position: fixed !important;
    }
    
    .promo-banner {
        top: 70px;
        padding: 12px 0;
        z-index: 999;
        width: 100%;
        position: fixed;
    }
    
    .promo-content {
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
        gap: 10px;
        justify-content: center;
        align-items: center;
        display: flex;
    }
    
    .promo-text {
        font-size: 0.9rem;
    }
    
    .promo-btn {
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 10px 18px;
    }
    
    .promo-highlight {
        margin-top: 2px;
        display: block;
    }
    
    .problem-section,
    .solution-section,
    .pricing-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .testimonial-card,
    .pricing-card {
        padding: 30px 20px;
    }
    
    body.mobile-menu-open .hero {
        padding-top: 380px !important;
    }
    
    body.mobile-menu-open .hero-content {
        display: block !important;
        margin-top: 30px !important;
        z-index: 1001 !important;
        position: relative;
    }
    
    body.mobile-menu-open .hero .discount-badge,
    body.mobile-menu-open .discount-badge {
        margin-top: 40px !important;
        z-index: 1002 !important;
        position: relative !important;
    }
}

/* Ensure discount badge is visible when mobile menu is open */
body.mobile-menu-open .hero .discount-badge {
    position: relative;
    z-index: 1001 !important; /* Higher than mobile menu */
    margin-top: 30px !important;
    display: block !important;
}

/* Ensure hero content is properly spaced when mobile menu is open */
body.mobile-menu-open .hero-content {
    padding-top: 20px;
    position: relative;
    z-index: 1001;
}

/* High specificity fallback for mobile menu overlap issue */
@media (max-width: 768px) {
    body.mobile-menu-open .hero {
        padding-top: 380px !important; /* Aggressive fallback */
    }
    
    body.mobile-menu-open .hero .discount-badge {
        position: relative !important;
        z-index: 1002 !important;
        margin-top: 40px !important;
        display: inline-block !important;
    }
    
    /* Ensure mobile menu doesn't cover content */
    .nav-menu.active {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        background: white !important;
        z-index: 1000 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .pricing-grid,
    .pricing-grid-4,
    .pricing-grid-3 {
        gap: 20px;
        margin-top: 20px;
        padding: 0;
    }

    .pricing-card {
        padding: 20px 15px;
        margin: 0;
        border-radius: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        transform: none !important; /* Remove any scaling */
    }

    /* Domain search extra small fixes */
    .domain-search {
        padding: 15px !important;
        margin: 20px 0 !important;
    }

    .popular-extensions {
        justify-content: center !important;
        gap: 8px !important;
    }

    .popular-extensions span {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }

    /* Hero title adjustments for extra small screens */
    .hero-title {
        font-size: 2rem !important;
    }

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

    /* DirectAdmin features grid - single column on very small screens */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* By the Numbers - stack vertically on very small screens */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Comparison table extra small adjustments */
    .comparison-table {
        margin: 0 -10px;
        padding: 0 10px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px !important;
        font-size: 0.8rem;
    }

    /* Section headers smaller on mobile */
    section h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    section h3[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Enhanced Promotional Banner for Small Mobile */
    .promo-banner {
        position: fixed;
        width: 100%;
        z-index: 999;
        padding: 12px 0;
        top: 70px;
    }

    .promo-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
        margin: 0 auto;
        max-width: 1200px;
    }

    .promo-text {
        font-size: 0.9rem;
    }

    .promo-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .promo-highlight {
        display: block;
        margin-top: 2px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .problem-section,
    .solution-section,
    .pricing-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }

    .feature-card,
    .problem-item,
    .testimonial-card {
        padding: 30px 20px;
    }

    .pricing-card {
        padding: 30px 20px;
    }
}

/* Ensure discount badge is visible when mobile menu is open */
body.mobile-menu-open .hero .discount-badge {
    position: relative;
    z-index: 1001 !important; /* Higher than mobile menu */
    margin-top: 30px !important;
    display: block !important;
}

/* Ensure hero content is properly spaced when mobile menu is open */
body.mobile-menu-open .hero-content {
    padding-top: 20px;
    position: relative;
    z-index: 1001;
}

/* High specificity fallback for mobile menu overlap issue */
@media (max-width: 768px) {
    body.mobile-menu-open .hero {
        padding-top: 380px !important; /* Aggressive fallback */
    }
    
    body.mobile-menu-open .hero .discount-badge {
        position: relative !important;
        z-index: 1002 !important;
        margin-top: 40px !important;
        display: inline-block !important;
    }
    
    /* Ensure mobile menu doesn't cover content */
    .nav-menu.active {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        background: white !important;
        z-index: 1000 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .pricing-grid,
    .pricing-grid-4,
    .pricing-grid-3 {
        gap: 20px;
        margin-top: 20px;
        padding: 0;
    }

    .pricing-card {
        padding: 20px 15px;
        margin: 0;
        border-radius: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        transform: none !important; /* Remove any scaling */
    }

    /* Domain search extra small fixes */
    .domain-search {
        padding: 15px !important;
        margin: 20px 0 !important;
    }

    .popular-extensions {
        justify-content: center !important;
        gap: 8px !important;
    }

    .popular-extensions span {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }

    /* Hero title adjustments for extra small screens */
    .hero-title {
        font-size: 2rem !important;
    }

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

    /* DirectAdmin features grid - single column on very small screens */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(200px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* By the Numbers - stack vertically on very small screens */
    section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Comparison table extra small adjustments */
    .comparison-table {
        margin: 0 -10px;
        padding: 0 10px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 6px !important;
        font-size: 0.8rem;
    }

    /* Section headers smaller on mobile */
    section h2[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }

    section h3[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
}

/* Performance optimizations for slow connections */
.slow-connection img {
    filter: blur(2px) brightness(0.9);
    transition: filter 0.3s ease;
}

.slow-connection img.loaded {
    filter: none;
}

/* Image loading states */
.themes-templates-wrapper img {
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

.themes-templates-wrapper img:not(.loaded) {
    opacity: 0.7;
    transform: scale(0.95);
}

.themes-templates-wrapper img.loaded {
    opacity: 1;
    transform: scale(1);
}

/* Optimize image rendering */
.themes-templates-wrapper img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Reduce motion for performance */
@media (prefers-reduced-motion: reduce) {
    .themes-templates-wrapper img,
    .slow-connection img {
        transition: none;
    }
}

/* Connection-specific optimizations */
@media (max-width: 768px) {
    .slow-connection .themes-templates-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .slow-connection .themes-templates-wrapper img {
        max-height: 150px;
        object-fit: cover;
    }
}
}

/* Additional mobile optimization for pricing plan features */
@media (max-width: 480px) {
    .features-list li {
        font-size: 0.85rem !important;
        padding: 6px 0 !important;
    }
}
