/* Tailwind CSS Custom Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-5px); }
}

/* Optimized: remove box-shadow animation (expensive paints) -> use filter drop-shadow (composited) */
@keyframes pulse-hero {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 10px 30px rgba(30, 198, 182, 0.35));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 15px 40px rgba(30, 198, 182, 0.5));
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Features Carousel Styles */
#features-carousel {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: grab;
    position: relative;
}

#features-carousel:active {
    cursor: grabbing;
}

#carousel-track {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

.carousel-indicator {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.carousel-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.carousel-indicator:hover::after {
    width: 20px;
    height: 20px;
}

/* Clean carousel navigation buttons - no background, only arrows */
#prev-btn, #next-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
}

#prev-btn:hover, #next-btn:hover {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Smooth transitions for feature cards */
.feature-slide {
    opacity: 1;
    transition: opacity 0.7s ease-in-out;
}

.feature-slide.transitioning {
    opacity: 0.7;
}

/* Mobile swipe indicator */
@media (max-width: 768px) {
    #features-carousel::before {
        content: "← Desliza para ver más características →";
        position: absolute;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        color: #666;
        font-size: 0.8rem;
        pointer-events: none;
        opacity: 0.7;
        z-index: 10;
    }
}

/* Pause animation on carousel hover */
#features-carousel:hover .animate-pulse-hero {
    animation-play-state: paused;
}

#features-carousel:hover .animate-shimmer {
    animation-play-state: paused;
}

/* Global Dark Theme */
body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif !important;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: #ffffff;
    overflow-x: hidden;
}

/* Hero Section */
.landing-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border: 2px solid #333;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(30, 198, 182, 0.1);
    padding: 80px 40px 60px 40px;
    margin: 70px auto 80px auto;
    max-width: 900px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 198, 182, 0.03), transparent);
    animation: heroShimmer 6s infinite;
}

.landing-hero .hero-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1ec6b6, #17a2b8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    position: relative;
    overflow: hidden;
    animation: pulseHero 4s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(30, 198, 182, 0.3);
}

.landing-hero .hero-icon::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: iconShimmer 3s infinite;
}

.landing-hero .hero-icon svg {
    width: 60px;
    height: 60px;
    color: white;
    z-index: 2;
}

.landing-hero h1 {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(30, 198, 182, 0.3);
    background: linear-gradient(135deg, #ffffff, #1ec6b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-hero .subtitle {
    font-size: 1.25em;
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.landing-hero .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.landing-hero .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.landing-hero .cta-btn.primary {
    background: linear-gradient(135deg, #1ec6b6, #17a2b8);
    color: white;
    box-shadow: 0 8px 25px rgba(30, 198, 182, 0.3);
}

.landing-hero .cta-btn.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 198, 182, 0.4);
}

.landing-hero .cta-btn.secondary {
    background: transparent;
    color: #1ec6b6;
    border: 2px solid #1ec6b6;
}

.landing-hero .cta-btn.secondary:hover {
    background: #1ec6b6;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 198, 182, 0.3);
}

/* Features Section */
.features-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-header h2 {
    font-size: 2.8em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #1ec6b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-header p {
    font-size: 1.2em;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.feature-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1ec6b6, #17a2b8, #9b59b6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #1ec6b6;
    box-shadow: 0 20px 50px rgba(30, 198, 182, 0.2);
}

.feature-card .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    background: linear-gradient(135deg, #1ec6b6, #17a2b8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: featureFloat 3s ease-in-out infinite alternate;
}

.feature-card .feature-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    z-index: 2;
}

.feature-card h3 {
    color: #ffffff;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #b0b0b0;
    font-size: 1em;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    position: relative;
}

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

.pricing-header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #1ec6b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.pricing-header p {
    font-size: 1.2em;
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Billing Toggle Enhanced */
.billing-toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.billing-toggle-wrapper {
    position: relative;
    display: flex;
    background: rgba(45, 45, 45, 0.8);
    border: 2px solid #333;
    border-radius: 50px;
    padding: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.billing-toggle-wrapper:hover {
    border-color: #1ec6b6;
    box-shadow: 0 8px 30px rgba(30, 198, 182, 0.2);
}

.toggle-button {
    position: relative;
    z-index: 2;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 40px;
    color: #b0b0b0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.toggle-button.active {
    color: white;
}

.toggle-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    height: calc(100% - 12px);
    width: calc(50% - 6px);
    background: linear-gradient(135deg, #1ec6b6, #17a2b8);
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(30, 198, 182, 0.3);
    z-index: 1;
}

.billing-toggle-wrapper:hover .toggle-slider {
    box-shadow: 0 6px 20px rgba(30, 198, 182, 0.4);
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Price Animation */
.price-display {
    transition: opacity 0.3s ease;
}

.billing-period {
    transition: opacity 0.3s ease;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.toggle-label {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.discount {
    background: linear-gradient(135deg, #1ec6b6, #17a2b8);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 8px;
}

/* Custom Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 30px;
    border: 2px solid #1ec6b6;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: #1ec6b6;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #1ec6b6;
}

input:checked + .slider:before {
    transform: translateX(30px);
    background-color: white;
}

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

.pricing-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #333;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1ec6b6, #17a2b8, #9b59b6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(30, 198, 182, 0.2);
    border-color: #1ec6b6;
}

.pricing-card.featured {
    border-color: #1ec6b6;
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(30, 198, 182, 0.3);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.plan-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1ec6b6, #17a2b8);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(30, 198, 182, 0.3);
}

.plan-badge.popular {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.plan-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
}

.plan-subtitle {
    color: #b0b0b0;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 20px 0 10px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1ec6b6;
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1ec6b6;
    margin: 0 5px;
}

.price .period {
    font-size: 1.2rem;
    color: #b0b0b0;
}

.price-bs {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 30px;
    text-align: center;
}

.plan-features {
    margin: 30px 0;
}

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

.feature-group h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.feature-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-group li {
    padding: 6px 0;
    font-size: 0.95rem;
    color: #b0b0b0;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.plan-button {
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.starter-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.business-btn {
    background: linear-gradient(135deg, #1ec6b6, #17a2b8);
    color: white;
}

.enterprise-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.pricing-note {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: 40px;
    font-style: italic;
}

/* Comparison Section */
.comparison-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
}

.comparison-header {
    text-align: center;
    margin-bottom: 50px;
}

.comparison-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #1ec6b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.comparison-header p {
    font-size: 1.1em;
    color: #b0b0b0;
    line-height: 1.6;
}

.comparison-table-container {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table th {
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
    color: #ffffff;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid #333;
}

.comparison-table th.feature-column {
    text-align: left;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    width: 30%;
}

.comparison-table th.plan-column {
    width: 23.33%;
    position: relative;
}

.comparison-table th.popular {
    background: linear-gradient(135deg, #1ec6b6, #17a2b8);
    position: relative;
}

.plan-header-table h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.price-table {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1ec6b6;
}

.comparison-table th.popular .price-table {
    color: white;
}

.popular-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    text-align: center;
}

.comparison-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.category-row {
    background: linear-gradient(135deg, #2d2d2d, #3d3d3d) !important;
}

.category-title {
    font-weight: 700;
    color: #1ec6b6 !important;
    font-size: 1.1rem;
    text-align: left !important;
    padding: 20px !important;
}

.feature-name {
    text-align: left !important;
    color: #ffffff;
    font-weight: 500;
}

.feature-value {
    color: #1ec6b6;
    font-weight: 600;
}

.feature-check {
    color: #4ade80;
    font-size: 1.2rem;
}

.feature-cross {
    color: #f87171;
    font-size: 1.2rem;
}

.comparison-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    border: 1px solid #333;
}

.comparison-cta h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.comparison-cta p {
    color: #b0b0b0;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.comparison-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.comparison-buttons .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.comparison-buttons .cta-btn.primary {
    background: linear-gradient(135deg, #1ec6b6, #17a2b8);
    color: white;
}

.comparison-buttons .cta-btn.secondary {
    background: transparent;
    color: #1ec6b6;
    border: 2px solid #1ec6b6;
}

.comparison-buttons .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 198, 182, 0.3);
}

.comparison-buttons .cta-btn.secondary:hover {
    background: #1ec6b6;
    color: white;
}

/* Animations */
@keyframes pulseHero {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(30, 198, 182, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(30, 198, 182, 0.4);
    }
}

/* ---------------------------------------------
   Deprecated Animation (legacy shimmer)
   Replaced by transform-based heroShimmerTransform (GPU friendly)
   Keeping commented for quick diff reference; remove after validation.
@keyframes heroShimmer {
    0% { left: -100%; }
    50% { left: -100%; }
    100% { left: 100%; }
}
---------------------------------------------- */

/* Deprecated: iconShimmer (no current references)
@keyframes iconShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
} */

@keyframes featureFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-5px); }
}

@keyframes ctaShimmer {
    0% { left: -100%; }
    50% { left: -100%; }
    100% { left: 100%; }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* .landing-hero responsive rules deprecated (component migrated to Tailwind utilities) */
    /* .landing-hero {
        margin: 80px 20px 60px 20px;
        padding: 60px 30px 40px 30px;
    }
    .landing-hero h1 { font-size: 2.5em; }
    .landing-hero .cta-buttons { flex-direction: column; align-items: center; } */
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .features-header h2 {
        font-size: 2.2em;
    }
    
    .cta-section h2 {
        font-size: 2em;
    }
    
    /* Pricing Responsive */
    /* Legacy pricing layout (now handled by Tailwind) retained commented for reference
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .pricing-card.featured { transform: none; }
    .pricing-header h1 { font-size: 2.2rem; }
    */
    
    /* Mobile Responsive for Toggle */
    .billing-toggle-container {
        margin: 20px 0;
    }
    
    .billing-toggle-wrapper {
        width: 100%;
        max-width: 280px;
    }
    
    .toggle-button {
        flex: 1;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .billing-toggle {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Comparison Table Responsive */
    /* Comparison table legacy responsive rules (now mostly replaced) kept commented for audit
    .comparison-table-container { overflow-x: scroll; -webkit-overflow-scrolling: touch; }
    .comparison-table { min-width: 700px; }
    .comparison-table th, .comparison-table td { padding: 12px 8px; font-size: 0.9rem; }
    */
    
    .comparison-header h2 {
        font-size: 2rem;
    }
    
    .comparison-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .comparison-buttons .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Deprecated hero icon sizing (component migrated) */
    /* .landing-hero .hero-icon { width: 100px; height: 100px; }
       .landing-hero .hero-icon svg { width: 50px; height: 50px; height: 50px; } */
    
    /* Deprecated pricing card mobile overrides */
    /* .pricing-card { padding: 30px 20px; }
       .price .amount { font-size: 2.8rem; }
       .plan-button { padding: 15px 20px; font-size: 1rem; } */
    
    /* Mobile Responsive for Toggle - Small Screens */
    .toggle-button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .discount-badge {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    /* Deprecated comparison CTA mobile overrides */
    /* .comparison-table th, .comparison-table td { padding: 10px 6px; font-size: 0.8rem; }
       .comparison-cta { padding: 30px 20px; }
       .comparison-cta h3 { font-size: 1.5rem; } */
}

/* Accessibility & Performance: honor reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-pulse-hero, .animate-shimmer, .animate-pulse, .animate-bounce,
    [class*="pulse"], [class*="shimmer"], [class*="float"] {
        animation: none !important;
        filter: none !important;
        transform: none !important;
    }
}

/* Phase 2 Additions */
/* Transform-based shimmer to avoid animating left/width; uses scaleX + opacity */
@keyframes heroShimmerTransform {
    0% { transform: translateX(-60%) scaleX(0.4); opacity: 0; }
    15% { opacity: 0.35; }
    40% { transform: translateX(120%) scaleX(0.8); opacity: 0; }
    100% { transform: translateX(120%) scaleX(0.8); opacity: 0; }
}
.hero-shimmer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; bottom: 0; width: 45%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(30,198,182,0.12) 45%, rgba(255,255,255,0) 100%);
    transform-origin: left center;
    pointer-events: none;
    animation: heroShimmerTransform 6s ease-in-out infinite;
    will-change: transform, opacity;
}
.hero-shimmer { position: relative; overflow: hidden; }

/* content-visibility utility */
.cv-auto { content-visibility: auto; contain-intrinsic-size: 1400px 800px; }

/* Optimize heavy blur only for medium screens and up */
@media (max-width: 767px) {
    .backdrop-blur { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}

/* ---------------------------------------------
   Performance Measurement (Quick Wins Phase 1)
   Steps to validate improvements after this commit:
   1. Open Chrome DevTools > Performance and record a scroll + hover over pricing cards.
   2. Enable Rendering > Paint Flashing to confirm fewer full repaints (pulse-hero no longer animates box-shadow).
   3. Lighthouse (Desktop): note LCP & TBT. Expect small drop in scripting & painting time.
   4. Toggle prefers-reduced-motion in OS settings -> page should disable infinite animations.
   5. Compare FPS meter before/after parallax optimization (transform vs background-position).
   Next phase: lazy-load comparison table + deduplicate CSS.
---------------------------------------------- */
/* ---------------------------------------------
     Performance Measurement (Phase 2 Additions)
     Focus: content-visibility (.cv-auto), consolidated JS listeners, transform-based shimmer, deprecated legacy CSS.
     Suggested Verification Steps:
     1. Chrome DevTools Performance -> Record initial load; compare "Recalculate Style" + "Layout" time vs previous commit (expect modest drop due to commented legacy rules & fewer active keyframes).
     2. In Elements panel, force state changes (hover pricing cards) and watch paint flashing: confirm only card region repaints (no full viewport flashes).
     3. Memory tab (Performance panel, enable "Memory" checkbox) -> check JS heap & Node count after load; then dynamically remove #comparison-table-wrapper from DOM and re-add to ensure style recalculation cost stays bounded (cv-auto delays heavy subtree until scrolled).
     4. Use Lighthouse (desktop) – expect slight improvement in TBT & CLS unaffected. LCP should remain stable; if LCP worsens, ensure shimmer overlay not delaying hero content text.
     5. Run Performance -> Capture scroll into comparison table: validate that first meaningful paint of rows occurs only when near viewport (look for style/layout tasks aligning with scroll position).
     6. Turn on "Enable advanced paint instrumentation" to verify transform-based shimmer avoids repeated large paint rectangles.
     Follow-up Ideas:
         - Split comparison table into separate template loaded via IntersectionObserver to cut initial HTML weight.
         - Move rarely used gradient-heavy backgrounds to on-demand classes toggled post-idle.
         - Generate a purged production CSS (Tailwind JIT + remove deprecated commented blocks).
---------------------------------------------- */