/* ===== CSS VARIABLES (Color Theme) ===== */
:root {
    --primary: #4f46e5;
    /* Indigo Blue */
    --primary-dark: #3730a3;
    --secondary: #10b981;
    /* Emerald Green */
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
}

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== 1. NAVIGATION BAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    font-weight: 600;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--primary);
    transition: 0.3s;
}

.btn-login {
    background-color: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== 2. HERO SECTION ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 8%;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    min-height: 80vh;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-main {
    background-color: var(--secondary);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
    transition: 0.3s;
}

.btn-main:hover {
    background-color: #059669;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 800;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 5px solid white;
}

/* ===== 3. FEATURES SECTION ===== */
.features {
    padding: 80px 8%;
    text-align: center;
    background-color: white;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--gray);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 14px;
}

/* ===== 4. CTA BANNER ===== */
.cta {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 80px 20px;
    margin: 40px 8%;
    border-radius: 24px;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.cta p {
    color: #cbd5e1;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    font-size: 18px;
    padding: 16px 40px;
}

/* ===== 5. FOOTER ===== */
footer {
    background-color: white;
    text-align: center;
    padding: 30px;
    border-top: 1px solid #e2e8f0;
    color: var(--gray);
    font-size: 14px;
}

.made-in {
    margin-top: 5px;
    font-weight: 600;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    /* Mobile me menu chhup jayega */
    .cta {
        margin: 40px 5%;
    }
}