/* =========================================
   Base Styles & Typography
   ========================================= */
body {
    font-family: 'roboto', sans-serif;
    color: #1a1a1a;
    overflow-x: hidden;
    background-color: #ffffff;
}

p,
small {
    font-family: 'Afacad', sans-serif;
    font-size: 1.1rem;
}

h1,
h2,
h3,
h4 {
    font-weight: bold;
}

h5,
h6 {
    font-weight: semi-bold;
}

/* Custom Colors */
.text-primary-blue {
    color: #0d6efd;
}

.text-dark-blue {
    color: #0b1536;
}

.bg-light-blue {
    background-color: #f0f5fc;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    padding: 20px 0;
    background-color: white;
    border-bottom: 1px solid #F3F4F7;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #0b1536;
    letter-spacing: -0.5px;
}

.nav-link {
    color: #4a4a4a;
    font-weight: 500;
    font-family: afacad;
    margin: 0 12px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0d6efd;
}



/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    padding: 80px 0 120px;
    position: relative;
    background: radial-gradient(circle at center, #f4f8ff 0%, #ffffff 70%);
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* Grid Background implementation */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: 60px 60px;
    /* Size of grid squares */
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    /* Fade out the grid at the bottom so it blends with the next section */
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.badge-pill {
    background-color: #f0f5fc;
    color: #0b1536;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid #e0ebfa;
}

.hero-title {
    font-size: 4rem;
    color: #0b1536;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    color: #6c757d;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-family: afacad;
}

.store-btn {
    height: 45px;
    margin: 0 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Hero Images Mockup */
.hero-images {
    position: relative;
    margin-top: 60px;
    height: 450px;
}

.mockup-center {
    height: 450px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mockup-left,
.mockup-right {
    position: absolute;
    top: 80px;
    background: white;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    z-index: 3;
}

.mockup-left {
    left: 10%;
    width: 220px;
}

.mockup-right {
    right: 10%;
    width: 240px;
}

.stars {
    color: #ffc107;
}

/* =========================================
   Features / Benefits Section
   ========================================= */
.section-title {
    font-size: 2.5rem;
    color: #0b1536;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.feature-card {
    background-color: #f2f7ff;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.6rem;
    color: #0b1536;
    margin-bottom: 15px;
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.feature-img-container {
    text-align: center;
    margin-top: auto;
}

.feature-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* =========================================
   Trust Section
   ========================================= */
.trust-section {
    padding: 40px 0;
    background: #fafcff;
}

.trust-icon-box {
    background: white;
    padding: 25px 15px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.3s ease;
}

.trust-icon-box:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

/* =========================================
   How It Works Section
   ========================================= */
.steps-container {

    margin-left: 20px;
    padding-left: 40px;
    position: relative;
}

.step-item {
    position: relative;
    margin-bottom: 45px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: #f0f5fc;
    color: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 0 6px #ffffff;
    margin-bottom: 20px;
    /* White gap around the icon to break the dashed line */
}

.step-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #0b1536;
}

.step-item p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.5;
}

/* =========================================
   Testimonials
   ========================================= */
.testimonials {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border-radius: 40px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(11, 21, 54, 0.04);
}

.testimonial-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b1536;
    line-height: 1.6;
}

.user-info img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-box {
    background-color: #0b1136;
    border-radius: 30px;
    padding: 0;
    overflow: hidden;
    position: relative;
    color: white;
}

.cta-content {
    padding: 70px 60px;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
}

.qr-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px;
    border-radius: 16px 16px 0 0;
    width: 180px;
}

.qr-code {
    width: 80px;
    height: 80px;
    border-radius: 8px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    border-top: 1px solid #f0f0f0;
    padding: 80px 0 30px;
    background: white;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0b1536;
    letter-spacing: -0.5px;
}

.footer-heading {
    font-weight: 700;
    margin-bottom: 25px;
    color: #0b1536;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #0d6efd;
}

.footer-bottom {
    border-top: 1px solid #f0f0f0;
    margin-top: 60px;
    padding-top: 30px;
    font-size: 0.9rem;
    color: #adb5bd;
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-images {
        display: none;
    }

    .cta-content {
        padding: 50px 30px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .steps-container {
        margin-left: 10px;
    }
}