* { scroll-behavior: smooth; }

.hero-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    animation: morphing 8s ease-in-out infinite;
}

@keyframes morphing {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.hero-text {
    margin-top: 3%;
    
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover .feature-icon::after {
    opacity: 0.3;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.3); opacity: 0; }
}

.glass-card:hover .feature-icon {
    transform: rotateY(360deg) scale(1.1);
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float-up 12s infinite linear;
}

@keyframes float-up {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.compact-stats {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.comparison-table {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
}

.comparison-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2.5rem;
    text-align: center;
    position: relative;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    transition: all 0.4s ease;
    position: relative;
}

.comparison-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), transparent);
    transition: width 0.4s ease;
}

.comparison-row:hover::before {
    width: 100%;
}

.comparison-row:hover {
    transform: translateX(15px);
    background: rgba(102, 126, 234, 0.02);
}

.check-icon { color: #10b981; font-size: 1.8rem; }
.cross-icon { color: #ef4444; font-size: 1.8rem; }
.partial-icon { color: #f59e0b; font-size: 1.8rem; }

.premium-features {
    background: linear-gradient(135deg, #2d3748, #4a5568);
    border-radius: 30px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.premium-features::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.premium-feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.premium-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.premium-feature-item:hover::before {
    left: 100%;
}

.premium-feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(15px) scale(1.02);
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 30px;
    padding: 5rem 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::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"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    animation: sparkle 4s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.btn-premium {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    {% comment %} box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3); {% endcomment %}
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}
/* Mobile First Responsive Design */
@media (max-width: 576px) {
    .hero-premium {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-text {
        font-size: 2.5rem !important;
        line-height: 1.2;
        margin-top: 0;
    }
    
    .glass-card {
        padding: 1.5rem;
        margin: 1rem 0;
        border-radius: 16px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .compact-stats {
        padding: 1.5rem;
        margin-top: 1.5rem;
        border-radius: 12px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .comparison-table {
        border-radius: 16px;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .comparison-header {
        padding: 1.5rem;
    }
    
    .premium-features {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .premium-feature-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
        border-radius: 16px;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }
    
    .btn-premium {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .btn-outline-light {
        width: 100%;
        padding: 0.8rem 2rem;
    }
    
    .d-flex.flex-column.flex-sm-row {
        flex-direction: column !important;
    }
}

@media (max-width: 768px) {
    .hero-premium {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .hero-text {
        font-size: 3rem !important;
    }
    
    .glass-card {
        padding: 2rem;
        margin: 1rem 0;
    }
    
    .compact-stats {
        padding: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .comparison-row {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .premium-features {
        padding: 3rem 2rem;
    }
    
    .cta-section {
        padding: 4rem 2rem;
    }
}

@media (max-width: 992px) {
    .hero-premium {
        text-align: center;
    }
    
    .premium-feature-item .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .premium-feature-item .d-flex > div:first-child {
        margin-bottom: 1rem;
        margin-right: 0 !important;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .glass-card:hover {
        transform: none;
    }
    
    .glass-card {
        transition: none;
        min-height: 44px; /* Minimum touch target */
    }
    
    .btn-premium:hover {
        transform: none;
    }
    
    .btn-premium {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .premium-feature-item:hover {
        transform: none;
    }
    
    .comparison-row {
        min-height: 60px;
    }
    
    /* Improve text readability on mobile */
    .hero-text {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }
    
    .glass-card h4 {
        font-size: 1.3rem;
    }
    
    .glass-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Landscape mobile optimization */
@media (max-width: 896px) and (orientation: landscape) {
    .hero-premium {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-text {
        font-size: 2.5rem !important;
        margin-top: 0;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
}

/* Ultra-small screens (< 400px) */
@media (max-width: 400px) {
    .hero-text {
        font-size: 2rem !important;
        line-height: 1.1;
    }
    
    .glass-card {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .compact-stats {
        padding: 1rem;
    }
    
    .premium-features {
        padding: 1.5rem 1rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .btn-premium {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .comparison-header {
        padding: 1rem;
    }
    
    .comparison-row {
        padding: 1rem 0.5rem;
        gap: 0.25rem;
    }
}

/* Improve scrolling performance on mobile */
@media (max-width: 768px) {
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    .hero-premium {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .glass-card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Reduce animations on mobile for better performance */
    .floating-particles {
        display: none;
    }
    
    .premium-features::before,
    .cta-section::before {
        animation: none;
    }
}

.stats {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    transition: transform 0.4s ease, background 0.4s ease;
}

.stats:hover {
    transform: scale(1.15);
    background: linear-gradient(135deg, #fdd700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile-specific stats styling */
@media (max-width: 576px) {
    .stats {
        font-size: 2rem;
    }
    
    .stats:hover {
        transform: none;
    }
}

@media (max-width: 400px) {
    .stats {
        font-size: 1.6rem;
    }
}



