/* Global Styles */
:root {
    --primary-color: #0F172A;
    /* Deep Navy */
    --secondary-color: #D97706;
    /* Gold/Amber */
    --accent-color: #3B82F6;
    /* Bright Blue */
    --text-color: #334155;
    --light-bg: #F8FAFC;
    --card-bg: #FFFFFF;
    --footer-bg: #020617;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--secondary-color);
}

.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748B;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-primary-outline {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #B45309;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(217, 119, 6, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-primary-outline {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-primary-outline:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;
    height: 75px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}



.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}



.logo-link img {
    height: 110px;
    width: auto;
    object-fit: contain;
    transform: scale(1.35);
    transform-origin: left center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    color: var(--primary-color);
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://res.cloudinary.com/dpu9ikeqe/image/upload/v1768924398/apex_hero_ojjdhf.jpg') no-repeat center center/cover;
    background-color: #0f172a;
    /* Fallback */
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: #94A3B8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    color: white;
}

.emi-teaser h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #CBD5E1;
}

.input-group input[type="range"] {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    -webkit-appearance: none;
    outline: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    border: 2px solid white;
}

.range-value {
    text-align: right;
    margin-top: 0.5rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.result-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.result-display .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(217, 119, 6, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.icon-box svg {
    width: 32px;
    height: 32px;
}

.product-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-card p {
    color: #64748B;
    margin-bottom: 1.5rem;
}

.link-arrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.link-arrow:hover {
    gap: 0.75rem;
}

/* Features */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-grid h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-list li svg {
    color: var(--secondary-color);
}

.feature-visual {
    height: 500px;
    background: url('https://res.cloudinary.com/dpu9ikeqe/image/upload/v1768924398/indian_office_interior_ujzecd.jpg') center/cover;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.visual-box {
    position: relative;
    height: 100%;
    width: 100%;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.floating-badge svg {
    color: var(--secondary-color);
}

.top-right {
    top: 40px;
    right: -30px;
}

.bottom-left {
    bottom: 40px;
    left: -30px;
}

/* Locations */
.locations-section {
    background: #0f172a;
    color: white;
}

.locations-section h2 {
    color: white;
}

.locations-section p {
    color: #94A3B8;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.location-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.location-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.city-name {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.location-card address {
    font-style: normal;
    color: #CBD5E1;
    line-height: 1.8;
}

.location-card address a {
    display: block;
    margin-top: 1rem;
    color: white;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: #94A3B8;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-contact {
    margin-top: 2rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #94A3B8;
}

.footer-contact p i {
    color: var(--secondary-color);
    width: 20px;
    height: 20px;
}

.footer-contact a {
    transition: var(--transition);
}

.footer-contact a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a:hover {
    color: white;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--primary-color);
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 6rem;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .stat-item {
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* App Section */
.app-section {
    background-color: #F0F9FF;
    overflow: hidden;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.app-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-store {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-store:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-store svg {
    width: 28px;
    height: 28px;
}

.btn-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-store-text span:first-child {
    font-size: 0.7rem;
    opacity: 0.8;
}

.store-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.app-visual img {
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 500px;
    margin: 0 auto;
}

/* Testimonials */
.testimonials {
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quote-icon {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.testimonial-card p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-style: italic;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.customer-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.customer-info h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.customer-info span {
    font-size: 0.875rem;
    color: #64748B;
}

/* FAQ */
.faq-section {
    background-color: var(--light-bg);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.125rem;
    color: var(--primary-color);
}

.faq-answer {
    margin-top: 1rem;
    color: #64748B;
    display: none;
    /* Can be toggled with JS later, or just remove this for always open */
    display: block;
    /* Keeping it open for now as simple CSS */
    border-top: 1px solid #E2E8F0;
    padding-top: 1rem;
}

@media (max-width: 900px) {
    .app-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-buttons {
        justify-content: center;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748B;
    transition: color 0.3s;
    padding: 0.5rem;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--secondary-color);
    background: #F1F5F9;
}

.modal-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-content p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-cta {
    width: 100%;
    text-align: center;
}