/* Modern Homepage Styles - Conversion Optimized */

:root {
    --primary: #53a478;
    --primary-dark: #3d7a59;
    --secondary: #007991;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-2xl: 0 35px 60px -15px rgb(0 0 0 / 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

header {
    margin: 0;
    background: #ffffff;
}

.modern-homepage {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Utility Classes */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mb-6 {
    margin-bottom: 6rem;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 0 0 3rem 0;
    background: #ffffff;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(83, 164, 120, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

@media (max-width: 767.98px) {
    .hero-gradient {
        display: none;
    }
    
    .hero-particles {
        display: none;
    }
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(83, 164, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 121, 145, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(83, 164, 120, 0.1);
    border: 1px solid rgba(83, 164, 120, 0.2);
    border-radius: 50px;
    color: var(--primary-dark);
    font-size: 0.875rem;
    font-weight: 600;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    color: var(--gray-600);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(83, 164, 120, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(83, 164, 120, 0.4);
    color: white;
}

.btn-outline-dark {
    border: 2px solid var(--gray-300);
    color: var(--dark);
    background: white;
}

.btn-outline-dark:hover {
    border-color: var(--dark);
    background: var(--dark);
    color: white;
    transform: translateY(-2px);
}

.hero-trust {
    font-size: 0.875rem;
    color: var(--gray-600);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    padding: 2rem;
}

.hero-image-placeholder {
    position: relative;
    z-index: 1;
}

.hero-image-placeholder img {
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease;
}

.hero-image-placeholder:hover img {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: -3s;
}

.card-3 {
    top: 50%;
    right: -8%;
    animation-delay: -1.5s;
}

.card-4 {
    bottom: 5%;
    left: -3%;
    animation-delay: -4.5s;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.bg-warning {
    background: #f59e0b !important;
}

.bg-info {
    background: #06b6d4 !important;
}

/* Stats Section */
.stats-section {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-top: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Section Headers */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
}

/* Features Section */
.features-section {
    background: white;
}

.feature-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gray-300);
}

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

.feature-icon-wrapper {
    position: relative;
    display: inline-block;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(-5deg) scale(1.1);
}

.bg-gradient-1 { background: var(--gradient-1); }
.bg-gradient-2 { background: var(--gradient-2); }
.bg-gradient-3 { background: var(--gradient-3); }
.bg-gradient-4 { background: var(--gradient-4); }
.bg-gradient-5 { background: var(--gradient-5); }
.bg-gradient-6 { background: var(--gradient-6); }

.feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.feature-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* Showcase Section */
.bg-light-gradient {
    background: linear-gradient(180deg, white 0%, var(--gray-50) 100%);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(83, 164, 120, 0.1);
    border-radius: 50px;
    color: var(--primary-dark);
    font-size: 0.875rem;
    font-weight: 600;
}

.showcase-image {
    position: relative;
}

.image-placeholder {
    position: relative;
    overflow: hidden;
    background: var(--gray-100);
}

.image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(83, 164, 120, 0.1) 0%, rgba(0, 121, 145, 0.1) 100%);
    pointer-events: none;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list-item {
    display: flex;
    gap: 1rem;
    align-items-flex-start;
}

.feature-check {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.feature-list-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
}

/* Testimonial Section */
.testimonial-section {
    background: white;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.testimonial-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.btn-white {
    background: white;
    color: var(--primary);
    border: none;
}

.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Responsive */
@media (max-width: 991.98px) {
    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .hero-section {
        padding: 0 0 4rem 0;
        background: #ffffff;
    }
    
    .floating-card {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    header {
        padding: 1rem 0 !important;
    }
}

@media (max-width: 767.98px) {
    .btn-xl {
        width: 100%;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 0 0 2rem 0;
        background: #ffffff;
    }
    
    .min-vh-75 {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-image-container {
        padding: 1rem 0;
        margin-bottom: 0;
    }
    
    .badge-modern {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem !important;
    }
    
    .stats-section {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    header.py-3 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
}

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

.rounded-4 {
    border-radius: 1rem;
}

/* ==================== PRICING PAGE STYLES ==================== */

.pricing-modern {
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.pricing-hero-section {
    background: #ffffff;
    padding: 0 0 2rem 0;
}

.pricing-hero-section header {
    background: #ffffff;
    margin: 0;
}

.pricing-modern .badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(83, 164, 120, 0.1);
    border: 1px solid rgba(83, 164, 120, 0.2);
    border-radius: 50px;
    color: var(--primary-dark);
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-modern .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.pricing-modern .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.pricing-modern .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-modern .delay-1 { transition-delay: 0.1s; }
.pricing-modern .delay-2 { transition-delay: 0.2s; }

.pricing-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.pricing-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    line-height: 1.7;
}

.pricing-container {
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

/* Modern Card Styles */
.modern-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.modern-card:hover {
    box-shadow: var(--shadow-md);
}

.card-header-modern h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.card-header-modern p {
    font-size: 0.875rem;
    font-weight: 400;
}

/* Range Slider Styles */
.range-card {
    background: linear-gradient(135deg, rgba(83, 164, 120, 0.05) 0%, rgba(0, 121, 145, 0.05) 100%);
    border: 2px solid var(--primary);
}

.range-header {
    text-align: center;
}

.range-header p {
    font-size: 0.9375rem;
    font-weight: 400;
}

.range-box strong {
    display: block;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    min-height: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.range-slider-wrapper {
    padding: 1rem 0.5rem;
}

.modern-range-slider {
    width: 100%;
    height: 8px;
    border-radius: 50px;
    background: linear-gradient(to right, var(--primary) 0%, var(--gray-300) 0%);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 0 0 4px var(--primary);
    transition: all 0.3s ease;
}

.modern-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.modern-range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 0 4px var(--primary);
    transition: all 0.3s ease;
}

.modern-range-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
}

.range-labels {
    padding: 0 0.5rem;
}

.range-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    position: relative;
}

.range-label::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0.5rem;
    background: var(--gray-300);
}

/* Features List */
.features-card {
    border: 1px solid var(--gray-200);
}

.features-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.features-header p {
    font-size: 0.9375rem;
    font-weight: 400;
}

.features-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item-modern {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item-modern:hover {
    background: var(--gray-50);
    transform: translateX(4px);
}

.feature-icon-modern {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.feature-content-modern h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.375rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.01em;
}

.feature-content-modern p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Summary Card */
.summary-card {
    background: linear-gradient(135deg, rgba(83, 164, 120, 0.02) 0%, rgba(0, 121, 145, 0.02) 100%);
    border: 2px solid var(--gray-200);
    position: sticky;
    top: 2rem;
}

.summary-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.summary-label {
    font-size: 0.9375rem;
    color: var(--gray-700);
    font-weight: 500;
}

.summary-value {
    font-size: 0.9375rem;
    color: var(--dark);
    font-weight: 600;
}

.summary-value.included {
    color: var(--primary);
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.summary-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
    margin: 1.5rem 0;
}

.summary-pricing {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 12px;
}

.price-per-article {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.total-price {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-300);
}

.price-display {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.price-value-large {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.original-price {
    font-size: 1.25rem;
    color: var(--gray-500);
}

.btn-purchase {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(83, 164, 120, 0.4);
    color: white;
}

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

#pricing-error {
    display: none;
    font-size: 0.875rem;
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    background: #fee;
    border: 1px solid #fcc;
}

#pricing-error:not(:empty) {
    display: block;
}

/* Pricing Page Responsive */
@media (max-width: 991.98px) {
    .sticky-summary {
        position: static;
    }
    
    .pricing-hero-section {
        padding: 0 0 1rem 0;
    }
    
    .pricing-hero-section header {
        padding: 1rem 0 !important;
    }
    
    .pricing-container {
        margin-top: 0;
    }
    
    .pricing-container .row {
        display: flex;
        flex-direction: column;
    }
    
    .pricing-container .col-lg-7,
    .pricing-container .col-lg-5 {
        display: contents;
    }
    
    .range-card {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .summary-card {
        order: 2;
        margin-bottom: 1rem;
    }
    
    .features-card {
        order: 3;
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .modern-card {
        padding: 1.5rem;
    }
    
    .pricing-title {
        font-size: 1.75rem;
    }
    
    .pricing-subtitle {
        font-size: 1rem;
    }
    
    .pricing-hero-section {
        padding: 0 0 1rem 0;
    }
    
    .pricing-hero-section header {
        padding: 0.75rem 0 !important;
    }
    
    .pricing-hero-section .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .feature-item-modern {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .feature-icon-modern {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .feature-content-modern h4 {
        font-size: 0.9375rem;
        font-weight: 500;
    }
    
    .feature-content-modern p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .price-value-large {
        font-size: 2rem;
    }
    
    .range-label {
        font-size: 0.75rem;
    }
    
    .card-header-modern h3,
    .features-header h3,
    .summary-header h3 {
        font-size: 1.125rem;
    }
    
    .range-box strong {
        font-size: 1.25rem;
    }
}

