@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #D4AF37;
    /* Metallic Gold */
    --primary-dim: #C5A028;
    --black: #1A1A1A;
    /* Dark Slate */
    --dark-gray: #333333;
    --light-gray: #F4F4F4;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-main: 'Outfit', sans-serif;
    --font-brand: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
}

/* UTILITIES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--black) 0%, #333 100%);
    color: var(--primary);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    color: #FFF;
}

.btn-outline {
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.btn-outline:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-2px);
}


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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* --- NAVIGATION --- */
nav {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 40px;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Reset Logo for Navbar Flow */
nav .brand-logo {
    position: static;
    /* Remove absolute positioning */
    margin: 0;
    top: auto;
    left: auto;
}

/* Nav Link Groups */
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--black);
    font-weight: 700;
}

/* Nav Right (Home + Login) */
.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-right a.nav-link-home {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
}

/* LAYOUT: SPLIT SCREEN HERO */
.split-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.layout-reverse {
    flex-direction: row-reverse;
}

/* LEFT SIDE: CONTENT */
.split-content {
    flex: 1;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    position: relative;
    z-index: 10;
}

/* LOGO */
.brand-logo {
    position: absolute;
    top: 40px;
    left: 80px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    font-family: var(--font-brand);
    font-size: 1.5rem;
    font-weight: 300;
    /* Light for 'quick' */
    color: var(--black);
    letter-spacing: -0.5px;
    font-style: italic !important;
    line-height: 1;
    /* Italic for 'quick' */
}

.brand-text strong {
    font-weight: 700;
    /* Bold for 'Challan' */
    font-style: normal !important;
    /* Keep 'Challan' upright */
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1;
    /* Tight line height for impact */
    margin-bottom: 24px;
    font-weight: 700;
}

.highlight-text {
    color: var(--black);
    position: relative;
    display: inline-block;
}

/* Abstract underline effect */
.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 18px;
    background: var(--primary);
    z-index: -1;
    opacity: 0.6;
    transform: skewX(-15deg);
}

.hero-text p {
    font-size: 1.25rem;
    color: #555;
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* STATS MINI BAR */
.stats-mini {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.stat-item h4 {
    font-size: 1.8rem;
    margin: 0;
}

.stat-item span {
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
}


/* RIGHT SIDE: VISUAL */
.split-visual {
    flex: 1;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Abstract geometric background patterns */
.geo-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #EEE;
    bottom: 50px;
    left: 50px;
    opacity: 0.8;
}

/* The Glass Card / Mockup Area */
.visual-card {
    width: 80%;
    max-width: 500px;
    aspect-ratio: 9/16;
    /* Mobile App shape */
    background: var(--white);
    border-radius: 40px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.15);
    /* Soft, deep shadow */
    border: 8px solid var(--black);
    /* Phone Bezel */
    position: relative;
    z-index: 2;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Fake UI Details inside Visual Card */
.ui-header {
    height: 120px;
    background: var(--black);
    padding: 30px 20px;
    display: flex;
    align-items: flex-end;
}

.ui-title {
    width: 120px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.ui-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--white);
}

.ui-row {
    height: 70px;
    background: var(--light-gray);
    border-radius: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    justify-content: space-between;
}

.ui-row-short {
    width: 40%;
    height: 10px;
    background: #ddd;
    border-radius: 4px;
}

.ui-row-circle {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
}

.feature-float {
    position: absolute;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
    font-weight: 600;
}

.float-icon {
    width: 40px;
    height: 40px;
    background: var(--black);
    color: var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.float-1 {
    bottom: 15%;
    left: 10%;
    transform: rotate(-5deg);
}

.float-2 {
    top: 20%;
    right: 10%;
    transform: rotate(5deg);
}


/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {

    /* Navbar Mobile - Compact */
    .nav-container {
        padding: 40px 24px;
        gap: 8px;
        justify-content: space-between;
    }

    nav {
        padding: 0;
    }

    .nav-links {
        display: none !important;
        /* Hide Menu Links on Mobile */
    }

    /* Shrink Logo for Mobile */
    .logo-img {
        height: 36px;
        /* Increased size */
    }

    .brand-text {
        font-size: 1.4rem;
        /* Increased text */
        letter-spacing: -0.2px;
    }

    .nav-right {
        gap: 8px;
    }

    .nav-right .btn {
        padding: 8px 16px;
        /* Smaller Buttons Globally on Mobile */
        font-size: 0.9rem;
    }

    .container {
        padding: 0 16px;
    }

    /* Layout Stack */
    .split-layout,
    .split-layout.layout-reverse {
        flex-direction: column !important;
    }

    .split-content {
        padding: 30px 16px;
        min-height: auto;
        text-align: center;
        /* Center align for mobile impact */
        overflow-x: hidden;
        /* Prevent text overflow */
    }

    .hero-text h1 {
        font-size: 2rem;
        /* Significantly Smaller Heading (was 2.5rem) */
        line-height: 1.1;
        word-wrap: break-word;
        /* Ensure wrapping */
    }

    .hero-text p {
        margin: 0 auto 24px auto;
        /* Center paragraph */
        font-size: 1rem;
        max-width: 100%;
    }

    .cta-group {
        justify-content: center;
        /* Center Buttons */
        flex-direction: column;
        /* Stack buttons on very small screens */
        gap: 12px;
        width: 100%;
    }

    .cta-group .btn {
        width: 100%;
        /* Full width buttons for easy tapping */
    }

    .split-visual {
        min-height: 300px;
        /* Flexible height */
        height: auto;
        flex: none;
        padding: 40px 0;
    }

    .brand-logo {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 0;
    }

    nav .brand-logo {
        margin-bottom: 0;
    }

    .stats-mini {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
        border-top: 1px solid #eee;
        padding-top: 24px;
        margin-top: 24px;
    }
}

/* --- FEATURES SECTION --- */
.features-section {
    padding: 80px 24px;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--black);
}

.icon-box span {
    font-size: 32px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--black);
    font-weight: 700;
}

.feature-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    opacity: 0.8;
}

/* --- KNOWLEDGE TEASER --- */
.teaser-section {
    padding: 80px 24px;
    background-color: var(--white);
    text-align: center;
    border-top: 1px solid var(--light-gray);
}

.teaser-content {
    max-width: 600px;
    margin: 0 auto;
}

.teaser-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.teaser-content p {
    color: var(--dark-gray);
    margin-bottom: 32px;
    font-size: 1.1rem;
    opacity: 0.8;
}

.btn-outline-dark {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid var(--black);
    border-radius: 50px;
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Mobile Adjustments for Grid */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
    }

    .teaser-content h2 {
        font-size: 1.6rem;
    }
}

/* --- GLOBAL FOOTER --- */
.site-footer {
    background-color: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 32px 0;
    margin-top: auto;
    /* Push to bottom if flex column */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* Wrap on mobile */
    gap: 20px;
}

.footer-left p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-right a {
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0 16px;
        /* Ensure lateral padding matches body container */
    }

    .footer-content>* {
        width: 100%;
        /* Force full width to prevent squishing */
    }

    .footer-right {
        justify-content: center;
        flex-wrap: wrap;
        /* Allow links to wrap if needed */
        gap: 16px;
        /* Reduced gap for mobile */
    }

    .footer-left p {
        font-size: 0.85rem;
    }

    .footer-right a {
        font-size: 0.85rem;
    }
}