/* ===== EMI WEBSITE STYLES ===== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
    transition: background-color 0.6s ease;
}

html {
    scroll-behavior: smooth;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: #000000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Floating bubbles */
.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: bubble-float 25s infinite linear;
    backdrop-filter: blur(2px);
}

.bubble:nth-child(odd) {
    background: rgba(0, 255, 136, 0.03);
    border-color: rgba(0, 255, 136, 0.1);
}

@keyframes bubble-float {
    0% { 
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-10vh) scale(1);
    }
    100% { 
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.logo {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #00ff88;
    margin-bottom: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2rem;
    opacity: 0.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.5;
}

.pricing-highlight {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 1rem 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #00ff88;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

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

/* ===== WHY EMI SECTION (Green Background Trigger) ===== */
.why-emi-section {
    min-height: 100vh;
    padding: 8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.why-emi-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-emi-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #00ff88;
    transition: color 0.8s ease;
}

body.green-background .why-emi-title {
    color: #000000;
}

.why-emi-text {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    line-height: 1.5;
    opacity: 0.9;
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 2rem;
    background: #000000;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 4rem;
    letter-spacing: -0.03em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2rem;
    color: #00ff88;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.5;
    font-weight: 400;
}

/* ===== STATS SECTION ===== */
.stats {
    background: rgba(0, 255, 136, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 2rem;
}

.stats-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #00ff88;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

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

/* ===== FOOTER CTA ===== */
.footer-cta {
    background: #000000;
    padding: 6rem 2rem;
    text-align: center;
}

.footer-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.footer-subtitle {
    font-size: 1.2rem;
    opacity: 0.7;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .why-emi-section {
        padding: 6rem 1rem;
    }
    
    .why-emi-title {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .why-emi-section {
        padding: 4rem 1rem;
    }
}