:root {
    --primary-color: #0061fc;
    --secondary-color: #00c6ff;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-light: #f8fafc;
    --text-dim: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

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

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

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    background: url('basmapay_hero_hand_scan_1769211973211.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0f172a 40%, rgba(15, 23, 42, 0.7));
    z-index: 1;
}

.hero-content {
    flex: 1;
    z-index: 2;
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.coming-soon-badge {
    background: rgba(0, 97, 252, 0.2);
    border: 1px solid var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 97, 252, 0.5);
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-dim);
    font-size: 20px;
    margin-bottom: 40px;
}

/* Features - "What to Expect" Redesign */
.features {
    padding: 120px 8%;
    background: radial-gradient(circle at center, #1e293b 0%, #020617 100%);
    position: relative;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.card {
    background: linear-gradient(145deg, #0f172a, #0b1120);
    padding: 50px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 97, 252, 0.15);
    border-top-color: var(--secondary-color);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(0, 97, 252, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.icon-container {
    margin-bottom: 30px;
    height: 100px;
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 97, 252, 0.05);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.card:hover .icon-container {
    background: rgba(0, 97, 252, 0.15);
    transform: scale(1.1) rotate(5deg);
}

.icon-container img {
    width: 65px;
    /* Slightly larger */
    height: auto;
    filter: drop-shadow(0 0 5px rgba(0, 97, 252, 0.5));
    mix-blend-mode: screen;
    /* This removes the black background */
    opacity: 0.9;
}

/* For font-awesome icons inside .icon-container */
.icon-container i {
    font-size: 40px;
    filter: drop-shadow(0 0 5px rgba(0, 97, 252, 0.5));
}

.card h3 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.card p {
    color: var(--text-dim);
    line-height: 1.8;
    font-size: 16px;
}

/* Stats Section */
.stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    text-align: left;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 0 !important;
    /* Override hero p margin */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Subscription Form */
.subscription-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin-top: 30px;
    position: relative;
}

.subscription-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    backdrop-filter: blur(5px);
    outline: none;
    transition: all 0.3s;
}

.subscription-form input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.subscription-form button {
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.subscription-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 97, 252, 0.4);
}

/* How It Works */
.how-it-works {
    padding: 100px 8%;
    background-color: var(--bg-dark);
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.step {
    position: relative;
    padding: 20px;
    text-align: center;
    /* Removed background and border */
}

.step:hover {
    /* Removed card hover effects */
}

.step-number {
    position: absolute;
    top: 0;
    /* Adjusted position */
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-top: 40px;
    /* Space for number */
    margin-bottom: 20px;
    height: 100px;
    width: 100px;
    background: rgba(0, 97, 252, 0.05);
    /* Very subtle bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s;
    border: 1px solid rgba(0, 97, 252, 0.2);
}

.step:hover .step-icon {
    transform: translateY(-10px);
    background: rgba(0, 97, 252, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 0 0 30px rgba(0, 97, 252, 0.3);
    color: white;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.step p {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 15px;
}

/* Why Switch Section */
.why-switch {
    padding: 120px 8%;
    background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect background */
.why-switch::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 97, 252, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.why-switch-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.why-switch-content h2 {
    font-size: 48px;
    margin-bottom: 25px;
    text-align: center;
}

.intro-text {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
    text-align: center;
}

.benefit-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0;
    background: transparent;
    border: none;
}

.benefit-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    gap: 20px;
}

.benefit-list li:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-list li i {
    color: var(--primary-color);
    font-size: 24px;
    background: rgba(0, 97, 252, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 5px;
    /* Adjust spacing */
}

.benefit-list li span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
}

/* Roadmap Section */
.roadmap {
    padding: 100px 8%;
    background-color: var(--bg-darker);
    position: relative;
}

.roadmap-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.roadmap-image {
    flex: 0 0 40%;
    /* Fixed width 40% */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.roadmap-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.roadmap-image:hover img {
    transform: scale(1.05);
}

.roadmap-content {
    flex: 1;
}

.timeline {
    border-left: 2px solid var(--glass-border);
    padding-left: 30px;
    margin-top: 30px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--glass-border);
    transition: all 0.3s;
}

.timeline-item.active::before {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-item h3 {
    margin-bottom: 5px;
    color: var(--text-light);
}

.timeline-item.active h3 {
    color: var(--secondary-color);
}

.timeline-item p {
    color: var(--text-dim);
    font-size: 14px;
}

/* Vision Section */
.vision {
    padding: 100px 8%;
    background: linear-gradient(to bottom, var(--bg-darker), var(--bg-dark));
    text-align: center;
}

.vision-image {
    margin-top: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 97, 252, 0.2);
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.vision-image img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    opacity: 0.9;
}

/* Footer */
footer {
    padding: 50px 8%;
    background-color: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-dim);
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
}

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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 97, 252, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 97, 252, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 97, 252, 0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .subscription-form {
        margin: 30px auto;
    }

    .roadmap-container {
        flex-direction: column;
    }

    .roadmap-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* Full width */
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        font-size: 24px;
        /* Larger font for mobile menu */
    }

    .logo {
        font-size: 20px;
        z-index: 1001;
        /* Keep logo above menu */
    }

    .hero {
        padding: 120px 5% 60px;
        /* Top padding to account for fixed navbar */
        min-height: auto;
        /* Remove 100vh constraint */
        text-align: center;
        background-attachment: scroll;
        /* Fix for mobile parallax issues */
    }

    .hero h1 {
        font-size: 36px;
        /* Significantly smaller */
    }

    .hero p {
        font-size: 16px;
    }

    .coming-soon-badge {
        font-size: 12px;
        padding: 5px 12px;
    }

    .subscription-form {
        flex-direction: column;
        max-width: 100%;
    }

    .subscription-form button {
        width: 100%;
        margin-top: 10px;
    }

    .stats {
        justify-content: center;
        gap: 20px;
    }

    .stat-item h3 {
        font-size: 24px;
    }
}