/* WordPress Hosting Page Styles */

/* Prevent horizontal overflow on wordpress hosting page */
body:has(.wp-hero),
body.wordpress-hosting-page {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

body:has(.wp-hero) *,
body.wordpress-hosting-page * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure html also respects viewport */
html:has(body:has(.wp-hero)),
html:has(body.wordpress-hosting-page) {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* WordPress Hero Section */
.wp-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 6rem 0 4rem;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.wp-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.wp-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.wp-hero-description {
    font-size: 1.1rem;
    margin: 0 0 3rem 0;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.wp-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

.wp-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.wp-hero-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.wp-hero-cta .btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.wp-hero-cta .btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* WordPress Hosting Plans Section */
.wp-plans-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8fafc 0%, var(--white) 100%);
}

.wp-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.wp-plan-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wp-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.wp-plan-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
    transform: translateY(-5px);
}

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

.wp-plan-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
    transform: scale(1.05);
}

.wp-plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.wp-plan-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.wp-plan-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.wp-plan-icon svg {
    width: 32px;
    height: 32px;
}

.wp-plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.wp-plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 2rem 0;
    line-height: 1;
}

.wp-plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    margin-left: 0.25rem;
}

.wp-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
    text-align: left;
}

.wp-plan-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

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

.wp-plan-features li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
}

.wp-plan-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    margin-top: auto;
}

.wp-plan-card.featured .wp-plan-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.wp-plan-card.featured .wp-plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Features Section */
.wp-features-section {
    padding: 6rem 0;
    background: var(--white);
}

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

.section-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
    transform: translateY(-5px);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Performance Section */
.wp-performance-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8fafc 0%, var(--white) 100%);
}

.performance-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.performance-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.performance-left .section-badge,
.performance-left .section-title,
.performance-left .section-description {
    text-align: left;
}

.performance-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.perf-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.perf-feature:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

.perf-check {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.perf-check svg {
    width: 24px;
    height: 24px;
}

.perf-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.perf-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.performance-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.performance-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.speed-meter {
    position: relative;
}

.meter-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.meter-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.meter-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.meter-label {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.performance-stats-mini {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.perf-stat-mini {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    min-width: 100px;
}

.perf-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.perf-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Security Section */
.wp-security-section {
    padding: 6rem 0;
    background: var(--white);
}

.security-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-shield {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.security-shield svg {
    width: 100px;
    height: 100px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 70px rgba(99, 102, 241, 0.4);
    }
}

.security-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-right .section-badge,
.security-right .section-title,
.security-right .section-description {
    text-align: left;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.sec-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.sec-feature:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
    background: var(--white);
}

.sec-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.sec-icon svg {
    width: 24px;
    height: 24px;
}

.sec-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.sec-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Support Section */
.wp-support-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, #f8fafc 100%);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.support-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.support-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
    transform: translateY(-5px);
}

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

.support-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.support-card:hover .support-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.support-icon svg {
    width: 40px;
    height: 40px;
}

.support-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.support-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.wp-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wp-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    margin: 0 0 2.5rem 0;
    opacity: 0.95;
    line-height: 1.8;
}

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

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .performance-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .security-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

/* Tablet-specific (769px–1024px) adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Lightning Fast (Performance) section: center badge/title/description */
    .wp-performance-section .performance-left .section-badge,
    .wp-performance-section .performance-left .section-title,
    .wp-performance-section .performance-left .section-description {
        text-align: center;
    }

    /* Security section: center badge/title/description */
    .wp-security-section .security-right .section-badge,
    .wp-security-section .security-right .section-title,
    .wp-security-section .security-right .section-description {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Ensure container doesn't cause overflow */
    .wp-hero .container,
    .wp-plans-section .container,
    .wp-features-section .container,
    .wp-performance-section .container,
    .wp-security-section .container,
    .wp-control-section .container,
    .wp-support-section .container,
    .wp-cta-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Ensure all content respects viewport width */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    body:has(.wp-hero),
    body.wordpress-hosting-page {
        width: 100%;
        min-width: 0;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    body:has(.wp-hero) > *,
    body.wordpress-hosting-page > * {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .wp-hero {
        padding: 4rem 0 3rem;
        overflow-x: hidden;
    }

    .wp-hero-title {
        font-size: 2.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .wp-hero-description {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .wp-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

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

    .wp-hero-cta .btn {
        width: auto;
        max-width: 280px;
        padding: 0.875rem 2rem;
    }

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

    /* Reduce section gap on mobile */
    .wp-plans-section,
    .wp-features-section,
    .wp-performance-section,
    .wp-security-section,
    .wp-support-section,
    .wp-cta-section {
        padding: 3rem 0;
    }

    /* Lightning Fast (Performance) section: center badge/title/description */
    .wp-performance-section .performance-left .section-badge,
    .wp-performance-section .performance-left .section-title,
    .wp-performance-section .performance-left .section-description {
        text-align: center;
    }

    /* Security section: center badge/title/description */
    .wp-security-section .security-right .section-badge,
    .wp-security-section .security-right .section-title,
    .wp-security-section .security-right .section-description {
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .performance-features {
        gap: 1rem;
    }

    .perf-feature {
        padding: 1.25rem;
    }

    .security-features {
        gap: 1rem;
    }

    .sec-feature {
        padding: 1.25rem;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .support-card {
        padding: 2rem 1.5rem;
    }

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

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .meter-circle {
        width: 150px;
        height: 150px;
    }

    .meter-value {
        font-size: 2rem;
    }

    .performance-stats-mini {
        gap: 1rem;
    }

    .security-shield {
        width: 150px;
        height: 150px;
    }

    .security-shield svg {
        width: 75px;
        height: 75px;
    }

    .wp-plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .wp-plan-card {
        padding: 2rem 1.5rem;
    }

    .wp-plan-card.featured {
        transform: scale(1);
    }

    .wp-plan-price {
        font-size: 2rem;
    }

    /* Prevent any element from causing horizontal overflow */
    .wp-plans-grid,
    .features-grid,
    .support-grid {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Ensure all cards respect viewport width */
    .wp-plan-card,
    .feature-card,
    .support-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

.animate-delay-6 {
    transition-delay: 0.6s;
}

