:root {
    --primary: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --amber: #F59E0B;
    --dark: #1F2937;
    --slate: #64748B;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
}

.header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 700;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-dark {
    background-color: var(--dark);
    color: white;
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.1), transparent),
                radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.1), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--slate);
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
}

.main-visual {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Styling */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tag-amber { background: rgba(245, 158, 11, 0.1); color: var(--amber); }
.tag-emerald { background: rgba(16, 185, 129, 0.1); color: var(--secondary); }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--slate);
    font-size: 1.125rem;
}

/* Features (Jan Samvad) */
.glass-bg {
    background: linear-gradient(rgba(248, 250, 252, 0.8), rgba(248, 250, 252, 0.8)),
                url('https://www.transparenttextures.com/patterns/cubes.png');
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Schemes (Jan Yojana) */
.scheme-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.scheme-card {
    display: flex;
    align-items: center;
    gap: 4rem;
    border-radius: 24px;
    overflow: hidden;
}

.scheme-card.reverse {
    flex-direction: row-reverse;
}

.scheme-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.scheme-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.scheme-info {
    flex: 1;
}

.scheme-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* App Section */
.app-section {
    background: var(--primary);
    color: white;
    border-radius: 50px 50px 0 0;
}

.app-section .section-title, 
.app-section .section-desc {
    color: white;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-features {
    list-style: none;
    margin: 2rem 0;
}

.app-features li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.app-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.download-btns {
    display: flex;
    gap: 1rem;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    padding: 10px;
    margin: 0 auto;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background: var(--white);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: var(--slate);
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons span {
    width: 36px;
    height: 36px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--slate);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.75rem; }
    .hero-grid, .app-grid { gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-grid, .app-grid, .scheme-card, .scheme-card.reverse {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }

    .hero-btns, .download-btns {
        justify-content: center;
    }

    .hero-title { font-size: 2.25rem; }
    .section-title { font-size: 2rem; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}
