:root {
    --primary-color: #25D366;
    --primary-dark: #1da851;
    --secondary-color: #128C7E;
    --accent-color: #FF6B35;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --gradient: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

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

body {
    font-family: 'Noto Sans Devanagari', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
}

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

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Logo image styling */
.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: inline-block;
    /* header logo: no decorative badge here; keep it clean */
    background: transparent;
    padding: 0;
    border-radius: 4px;
    box-shadow: none;
    transition: transform 0.12s ease;
}

.logo-img:hover {
    transform: translateY(-2px);
}

/* Language toggle */
.lang-toggle {
    display: inline-flex;
    gap: 6px;
    margin-right: 12px;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: transparent;
}

/* default language display */
.lang-hi { display: none; }
.lang-en { display: inline; }

.logo-icon {
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 20px;
    font-weight: 700;
}

.whatsapp-icon {
    font-size: 20px;
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

/* Hero brand logo (large, centered above title) */
.hero-brand-logo {
    display: block;
    margin: 0 auto 18px auto;
    /* keep natural aspect ratio, limit height to avoid stretched tall images */
    width: auto;
    max-width: 48%;
    max-height: 220px;
    height: auto;
    object-fit: contain;
}

/* Fallback text when hero brand image is missing */
.hero-brand-text {
    display: none;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 18px;
    background: linear-gradient(90deg, #25D366 0%, #0ea07a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Add a decorative container around hero logo to make it look like a badge */
.hero-brand-logo {
    padding: 10px;
    border-radius: 14px;
    background: var(--bg-white);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    border: 3px solid rgba(0,0,0,0.04);
    /* left align the hero logo so it sits above the headline start */
    margin: 0 0 18px 0;
    display: inline-block;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-two-step {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Phone Mockup */
.phone-mockup {
    /* hide the decorative phone mockup — show only the real demo video */
    display: none;
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

/* Hero image container to hold the phone mockup and a positioned demo video */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-top-video {
    /* centered, single-frame video */
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    /* green frame */
    border: 6px solid var(--primary-color);
    background: black;
    z-index: 1;
    margin: 0 auto;
}

.phone-screen {
    background: #fff;
    border-radius: 32px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border: 8px solid #1a1a1a;
}

.whatsapp-chat {
    background: #ece5dd;
    border-radius: 24px;
    overflow: hidden;
    height: 560px;
}

.chat-header {
    background: #075e54;
    color: white;
    padding: 16px;
    font-weight: 600;
}

.chat-messages {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.message.received {
    background: white;
    align-self: flex-start;
    border-radius: 12px 12px 12px 4px;
}

.message.sent {
    background: #dcf8c6;
    align-self: flex-end;
    border-radius: 12px 12px 4px 12px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Aadhaar verified image inside a feature card */
.feature-verified-img {
    display: block;
    width: 140px;
    height: auto;
    margin: 0 auto 12px auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    background: white;
    padding: 8px;
}

.verified-card { text-align: center; }

/* DigiLocker partnership and partner logo */
.partner-line { display:flex; align-items:center; gap:12px; justify-content:center; }
.partner-text { color:var(--text-secondary); font-weight:600; }
.partner-logo { width:320px; max-width:100%; height:auto; display:inline-block; vertical-align:middle; }

/* Prominent partnership banner */
.partner-banner { background: linear-gradient(90deg, rgba(37,211,102,0.06), rgba(18,140,126,0.03)); padding: 18px 0; border-top: 3px solid rgba(37,211,102,0.12); margin-top: 18px; }
.partner-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:nowrap; }
.partner-copy { flex: 1; }
.partner-actions { flex: 0; display:flex; align-items:center; gap:12px; }
.partner-copy strong { font-size:18px; color:var(--text-primary); display:block; }
.partner-sub { color:var(--text-secondary); margin-top:6px; }
.partner-banner-logo { width:800px !important; max-width:100%; height:auto; display:inline-block; margin-right:12px; }
.partner-actions { display:flex; align-items:center; gap:12px; }

@media (max-width:900px) {
    .partner-inner { flex-direction:column; text-align:center; align-items:center; }
    .partner-copy { width: 100%; }
    .partner-copy strong { font-size: 16px; line-height: 1.4; }
    .partner-sub { font-size: 14px; line-height: 1.5; margin-top: 8px; }
    .partner-actions { flex-direction: column; width: 100%; margin-top: 16px; }
    .partner-banner-logo { margin: 0 0 12px 0; width: 280px !important; }
    .partner-logo { width:200px; }
    .btn-secondary { width: 100%; max-width: 280px; }
}

/* Verification examples gallery */
.verification-examples { padding: 48px 0; background: var(--bg-light); }
.verification-gallery { display:flex; gap:24px; justify-content:center; align-items:flex-start; flex-wrap:wrap; margin-top:18px; }
.verification-gallery figure { width: 360px; background:white; padding:10px; border-radius:12px; border:1px solid var(--border-color); box-shadow: var(--shadow-sm); text-align:center; }
.verification-sample-img { width:100%; height:auto; border-radius:8px; display:block; }
.verification-gallery figcaption { margin-top:8px; color:var(--text-secondary); font-weight:600; }

/* verification images styling */
.verification-gallery figure { position: relative; overflow: hidden; }

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-light);
}

/* Contact form styles */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
    margin-top: 12px;
}

.contact-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
}

.contact-card h1 {
    margin-bottom: 6px;
}
.contact-card .lead {
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
}
.contact-form .form-field { display:flex; flex-direction:column; }
.contact-form .form-field.full { grid-column: 1 / -1; }
.contact-form label { font-weight:700; margin-bottom:6px; color:var(--text-primary); }
.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    color: var(--text-primary);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.contact-form textarea { resize: vertical; min-height:120px; }

.form-actions { display:flex; gap:12px; margin-top:16px; }

.contact-info .info-card {
    background: linear-gradient(180deg,#ffffff,#f7f9f7);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}
.contact-info h3 { margin-top:0; }

@media (max-width: 900px) {
    .contact-section { grid-template-columns: 1fr; }
    .contact-form .form-grid { grid-template-columns: 1fr; }
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 12px 32px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.example {
    background: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.stat-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.stat-card .stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* Date shown under stat labels */
.stat-date {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 600;
}

.stat-growth {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* Promo Video */
.promo-video {
    padding: 60px 0;
    background: var(--bg-light);
}

.video-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

.promo-player {
    width: 100%;
    max-width: 860px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    background: black;
}

.video-links {
    margin-top: 12px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin: 8px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 12px 0;
        flex-wrap: wrap;
        gap: 8px;
    }

    .logo {
        font-size: 16px;
        gap: 8px;
    }

    .header-actions {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
    }

    .lang-toggle {
        margin-right: 8px;
    }

    .lang-btn {
        padding: 4px 6px;
        font-size: 13px;
    }

    .btn-primary {
        padding: 8px 16px;
        font-size: 14px;
    }

    .nav-links {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-large {
        width: 100%;
        max-width: 400px;
        justify-content: center;
        padding: 16px 32px;
        font-size: 18px;
    }
    
    .btn-secondary {
        background: white;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .phone-mockup {
        display: none;
    }
    .hero-top-video {
        display: block;
    }

    .logo-img {
        width: 44px;
        height: 44px;
        padding: 6px;
    }

    .hero-brand-logo {
        max-height: 200px;
        max-width: 75%;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title,
.hero-description,
.hero-cta,
.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: #ffffff;
}

.team-section h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 700;
}

.team-section > .container > p {
    text-align: center;
    font-size: 20px;
    color: #666;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.team-card:hover {
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    transform: translateY(-4px);
}

.team-photo-wrapper {
    flex-shrink: 0;
    width: 200px;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-content {
    padding: 30px 30px 30px 0;
    flex: 1;
}

.team-card h3 {
    font-size: 26px;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 700;
}

.team-card .team-role {
    font-size: 16px;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card .team-bio {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 24px;
}

.team-card .team-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    background: #0077b5;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.team-card .team-linkedin:hover {
    background: #005885;
    transform: translateX(4px);
}

@media (max-width: 968px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 60px 0;
    }
    
    .team-section h2 {
        font-size: 36px;
    }
    
    .team-section > .container > p {
        font-size: 18px;
        margin-bottom: 50px;
    }
    
    .team-card {
        flex-direction: column;
        gap: 0;
    }
    
    .team-photo-wrapper {
        width: 100%;
        height: 300px;
        min-height: unset;
    }
    
    .team-content {
        padding: 30px;
    }
    
    .team-card h3 {
        font-size: 24px;
    }
}
