/* 
 * Web Portal Custom Styles
 * Part of Miracles Fintech Premium Design System
 * Layout based on Single Service (MF Service) Template
 */

:root {
    --portal-bg: #ffffff;
    --portal-accent: #2563eb;
    --portal-text: #0f172a;
    --portal-muted: #64748b;
}

.hero-v2-content {
    padding-right: 0rem !important;
}

.web-portal-page {
    background-color: #ffffff;
    color: var(--portal-text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.hero-v2-lead {
    font-weight: 400 !important;
}

.hero-v2-actionss .v2-cta-login {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-top: 15px;
}

/* Premium Hero V2 (MF Service Layout) */
.web-portal-page .premium-hero-v2 {
    padding: 100px 0 80px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.web-portal-page .hero-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

h3.hero-protal {
    font-size: 18px;
    margin: 40px 0px 20px;
}

.web-portal-page .hero-v2-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.web-portal-page .v2-text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.web-portal-page .hero-v2-lead {
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 500;
    color: #64748b !important;
    margin-bottom: 2.5rem;
}

.web-portal-page .hero-v2-check-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.web-portal-page .check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #000;
    font-size: 1rem;
}

.web-portal-page .check-icon-box {
    width: 28px;
    height: 28px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.web-portal-page .hero-v2-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-primary-blue {
    background: #2563eb;
    color: #fff;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary-blue:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
    color: #fff;
}

.v2-cta-login {
    font-size: 0.95rem;
    color: #64748b;
}

.v2-cta-login a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

/* --- Hero Monitor Visual & Floating Badges --- */
.hero-v2-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-monitor-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 40px;
}

.hero-monitor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    display: block;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.2);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-monitor-img:hover {
    transform: scale(1.03);
}

.hero-badge-container {
    position: absolute;
    z-index: 10;
    transition: all 0.4s ease;
}

.web-portal-page .hero-badge-container.badge-pos-1 {
    top: -30px;
    left: -40px;
}

.web-portal-page .hero-badge-container.badge-pos-2 {
    top: 40%;
    right: -60px;
}

.web-portal-page .hero-badge-container.badge-pos-3 {
    bottom: 0;
    left: -30px;
}

.web-portal-page .hero-badge-container.badge-pos-4 {
    top: 20%;
    left: -60px;
}

.web-portal-page .hero-badge-container.badge-pos-5 {
    bottom: 20%;
    right: -50px;
}

.hero-floating-badge {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.badge-pos-1 .hero-floating-badge {
    animation: hPulseZoom1 6s ease-in-out infinite;
}

.badge-pos-2 .hero-floating-badge {
    animation: hPulseZoom2 7s ease-in-out infinite;
}

.badge-pos-3 .hero-floating-badge {
    animation: hPulseZoom3 8s ease-in-out infinite;
}

.badge-pos-4 .hero-floating-badge {
    animation: hPulseZoom1 8s ease-in-out infinite 1s;
}

.badge-pos-5 .hero-floating-badge {
    animation: hPulseZoom2 6s ease-in-out infinite 0.5s;
}

@keyframes hPulseZoom1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(15px, -15px) scale(1.1);
    }
}

@keyframes hPulseZoom2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-15px, -20px) scale(0.9);
    }
}

@keyframes hPulseZoom3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 10px) scale(1.15);
    }
}

.h-badge-box {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.h-badge-box i {
    width: 24px;
    height: 24px;
    stroke-width: 2.5px;
}

.h-badge-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}

/* Portal Sections (Keep existing portal styles below) */
.portal-section {
    padding: 100px 0;
    background: #03050a;
    color: #fff;
}

.portal-section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.portal-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    color: #8b5cf6;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.portal-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 48px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.portal-card:hover {
    transform: translateY(-10px);
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 40px 80px -20px rgba(37, 99, 235, 0.15), 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: #8b5cf6;
}

/* Responsive */
@media (max-width: 991px) {
    .web-portal-page .hero-v2-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .web-portal-page .hero-v2-check-list {
        justify-content: center;
    }

    .web-portal-page .hero-monitor-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .web-portal-page .hero-badge-container {
        position: static;
        margin: 15px auto;
        width: fit-content;
        transform: none !important;
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .web-portal-page .hero-floating-badge {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .web-portal-page .h-badge-box {
        width: 45px;
        height: 45px;
    }

    .web-portal-page .hero-v2-check-list {
        grid-template-columns: 1fr;
    }
}

/* --- App Promotion Section (New Design) --- */
.app-promo-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.app-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.promo-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.promo-title .text-blue {
    color: #2563eb;
}

.promo-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 540px;
}

.promo-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.promo-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.promo-checklist .check-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-checklist .check-row {
    display: flex;
    gap: 40px;
}

.promo-checklist .check-text {
    font-weight: 600;
    color: #0f172a;
    font-size: 1rem;
}

.app-store-badges {
    display: flex;
    gap: 16px;
    align-items: center;
}

.app-store-badges .badge-link img {
    height: 48px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-store-badges .badge-link:hover img {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.app-promo-visual {
    position: relative;
}

.visual-container {
    background: #f8fafc;
    border-radius: 40px;
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.08);
}

.app-mockup {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.1); */
}

/* Responsive App Promo */
@media (max-width: 1024px) {
    .app-promo-grid {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .app-promo-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .promo-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .promo-checklist {
        align-items: center;
    }

    .check-row {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .app-store-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .app-promo-section {
        padding: 80px 0;
    }

    .promo-title {
        font-size: 2.25rem;
    }

    .visual-container {
        padding: 40px;
        border-radius: 30px;
    }
}

/* --- Additional Refined Styles (Replacing Inline Styles) --- */

/* Hero Access Row */
.hero-access-row {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-access-label-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1e293b;
    text-transform: capitalize;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}


.hero-access-platforms-card {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.08);
    padding: 14px 35px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 35px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.06), 0 4px 10px rgba(0, 0, 0, 0.02);
    width: fit-content;
    margin-top: 10px;
    flex-wrap: nowrap;
}

.access-url-link {
    font-size: 1.1rem;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex-shrink: 0;
}

.access-brand-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.access-brand-icons img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.access-brand-icons img:hover {
    transform: scale(1.2) translateY(-2px);
}

.access-device-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    border-left: 1.5px solid rgba(0, 0, 0, 0.08);
    padding-left: 25px;
    flex-shrink: 0;
}

.access-device-icons i {
    width: 22px;
    height: 22px;
    color: #0f172a;
    stroke-width: 2.2;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.access-device-icons i:hover {
    color: #2563eb;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hero-access-platforms-card {
        padding: 12px 25px;
        gap: 20px;
        border-radius: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .access-device-icons {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .hero-access-platforms-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    .access-device-icons {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding-top: 15px;
        width: 100%;
    }
}

.hero-v2-subtitle {
    margin-top: 3rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.web-portal-page .hero-v2-check-list.grid-3 {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.web-portal-page .check-icon-box.v2-blue {
    background: transparent;
    color: #ffffff;
}

.web-portal-page .check-text.v2-semi {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Values Section */
.valusess .max-w-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 3rem;
}

.values-heading {
    text-align: center;
    margin-bottom: 5rem;
}

.value-card {
    top: var(--card-top);
    z-index: var(--card-z);
    background-color: var(--card-bg);
    box-shadow: 0 -40px 100px -40px rgba(0, 0, 0, var(--card-shadow-opacity));
}

.value-icon i {
    width: 3rem;
    height: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Seamless Phone Mockup Content */
.sc-phone-static-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.sc-static-logo {
    margin-bottom: 2rem;
}

.sc-static-logo img {
    height: 45px;
    width: auto;
}

.sc-static-text {
    margin-bottom: 2.5rem;
}

.sc-static-text p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.sc-static-action {
    width: 100%;
}

.sc-btn-full {
    width: 100%;
    justify-content: center;
}

.sc-btn-full i {
    width: 18px;
    height: 18px;
    margin-left: 8px;
}

/* Onboarding Section */
.process-section .container {
    position: relative;
    z-index: 10;
}

.onboarding-heading {
    margin-bottom: 5rem;
    text-align: center;
}

.onboarding-heading h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.onboarding-line {
    height: 4px;
    width: 3rem;
    background: #2563eb;
    margin: 0 auto 1.5rem;
    border-radius: 9999px;
}

.onboarding-lead {
    color: #64748b;
    font-size: 1.25rem;
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

.onboarding-wave-wrapper {
    position: relative;
    margin-bottom: 5rem;
}

.onboarding-heading h2 span {
    color: #2563eb;
}

.onboarding-cta {
    text-align: center;
}

/* Trading Access Section (Premium Dark Theme) */
.trading-access-section {
    padding: 120px 0;
    background: #03050a;
    position: relative;
    overflow: hidden;
}

.trading-access-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.trading-access-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.value-icon-box svg {
    width: 45px;
    height: 45px;
    margin-bottom: 15px;
}

.value-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 1.3rem;
    letter-spacing: -0.02em;
    margin-bottom: 5px;
}

.trading-access-wrap {
    position: relative;
    z-index: 5;
    text-align: center;
    margin: 0 auto;
}

.access-title {

    color: #ffffff;

    margin-bottom: 30px;
}

.access-title span.v2-text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Global Portal Aesthetic (Universal Grid) */
.portal-grid-section {
    padding: 80px 0;
    background: #0b1a52;
    position: relative;
    overflow: hidden;
}


.text-yellow {
    background: linear-gradient(to right, #b8860b, #ffd700, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Fact Card Grid & Cards */
.fact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.fact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
}

.fact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.fact-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #ffffff;
    position: relative;
}

/* Specific Icon Glows */
.fact-icon-box.blue {
    background: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.fact-icon-box.green {
    background: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.fact-icon-box.orange {
    background: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.fact-icon-box.purple {
    background: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.fact-icon-box.teal {
    background: #14b8a6;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.4);
}

.fact-icon-box i {
    width: 24px;
    height: 24px;
    stroke-width: 2.5px;
}

.fact-info h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.fact-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1200px) {
    .fact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .fact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fact-grid {
        grid-template-columns: 1fr;
    }
}

/* Order Features Section (Dark Theme) */
.order-features-dark {
    padding: 100px 0;
    background: #05080f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.features-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-item-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-item-v2:hover {
    transform: translateX(10px);
}

.feature-icon-v2 {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    color: #3b82f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-item-v2:hover .feature-icon-v2 {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.feature-item-v2 h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    position: relative;
}

.feature-item-v2 h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.feature-item-v2:hover h3::after {
    width: 100%;
}

.feature-item-v2 p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .features-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* Trading Access: Refined Order Window Styles */
/* Trading Access: Vibrant Terminal Polish */
.terminal-container {
    max-width: 960px;
    margin: 60px auto 0;
    background: rgba(10, 15, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px;
    border-radius: 28px;
    backdrop-filter: blur(25px);
    position: relative;
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.terminal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
}

.dot-1 {
    background: #ff5f56;
    color: rgba(255, 95, 86, 0.4);
}

.dot-2 {
    background: #ffbd2e;
    color: rgba(255, 189, 46, 0.4);
}

.dot-3 {
    background: #27c93f;
    color: rgba(39, 201, 63, 0.4);
}

.badge-label.monospace {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.terminal-badge-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 30px 0;
}

.terminal-badge {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.icon-boxs {
    width: 55px;
    height: 55px;
    background: var(--accent-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.3);
    transition: all 0.5s ease;
}

.icon-boxs svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
    stroke-width: 2.5px;
}

.terminal-badge:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    border-color: #2563eb33;
}

.terminal-badge:hover .icon-boxs {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.6), 0 0 20px rgba(var(--accent-rgb), 0.4);
    background: var(--accent-color);
}

.badge-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.terminal-badge span {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.terminal-badge p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}





.terminal-badge.blue {
    --accent-color: #3b82f6;
    --accent-rgb: 59, 130, 246;
}

.terminal-badge.green {
    --accent-color: #10b981;
    --accent-rgb: 16, 185, 129;
}

.terminal-badge.orange {
    --accent-color: #f59e0b;
    --accent-rgb: 245, 158, 11;
}

.terminal-badge.purple {
    --accent-color: #8b5cf6;
    --accent-rgb: 139, 92, 246;
}

.terminal-badge.teal {
    --accent-color: #14b8a6;
    --accent-rgb: 20, 184, 166;
}

.terminal-badge.pink {
    --accent-color: #ec4899;
    --accent-rgb: 236, 72, 153;
}



@media (max-width: 991px) {
    .terminal-badge-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .terminal-badge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .terminal-badge img {
        width: 45px;
        height: 45px;
    }

    .terminal-badge span {
        font-size: 0.9rem;
    }
}



/* Platform Compatibility Bar */
.compatibility-bar {
    margin: 40px auto 0;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 40px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comp-group {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.comp-group:not(:last-child)::after {
    content: '';
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin-left: 10px;
}

.comp-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
    opacity: 0.7;
    filter: grayscale(100%);
    cursor: pointer;
    object-fit: contain;
}

.comp-icon:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.2);
}

/* Browser Colors */
.comp-icon.chrome {
    color: #4285F4;
}

.comp-icon.firefox {
    color: #FF7139;
}

.comp-icon.safari {
    color: #00AEEF;
}

.comp-icon.edge {
    color: #0078D7;
}

.comp-icon.device {
    color: #ffffff;
    width: 20px;
    height: 20px;
}

@media (max-width: 600px) {
    .compatibility-bar {
        padding: 15px 20px;
        gap: 15px;
        border-radius: 20px;
    }

    .comp-group:not(:last-child)::after {
        display: none;
    }

    /* Stacking Cards Section */
    .values-stack {
        position: relative;
        padding-bottom: 0vh;
        margin-top: 50px;
    }

    .value-card {
        position: sticky;
        width: 100%;
        min-height: 300px !important;
        border-radius: 24px !important;
        padding: 50px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: #ffffff;
        overflow: hidden;
        margin-bottom: 0px;
        box-shadow: none !important;
        /* Explicitly no box-shadow */
        border: none !important;
    }

    .value-card-inner {
        position: relative;
        z-index: 2;
        max-width: 800px;
    }

    .value-icon-box {
        width: 100px;
        height: 100px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 35px;
    }

    .value-icon-box i {
        width: 48px;
        height: 48px;
        color: #ffffff;
        stroke-width: 1.5px;
    }

    .value-title {
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: 20px;
        letter-spacing: -0.02em;
    }

    .value-desc {
        font-size: 1.25rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.9);
        max-width: 600px;
    }

    .value-card-mesh {
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
        background-size: 40px 40px;
        pointer-events: none;
        opacity: 0.5;
    }

    @media (max-width: 768px) {
        .value-card {
            padding: 30px 24px !important;
            min-height: auto !important;
            border-radius: 24px !important;
        }

        .value-icon-box {
            width: 30px !important;
            height: 30px !important;
            margin-bottom: 15px !important;
            background: transparent !important;
            border-radius: 0 !important;
        }

        .value-icon-box i,
        .value-icon-box svg {
            width: 30px !important;
            height: 30px !important;
            color: #ffffff !important;
        }

        .value-title {
            font-size: 22px !important;
            font-weight: 700 !important;
            line-height: 1.3 !important;
            margin-bottom: 10px !important;
        }
    }
}

/* Layout Containers */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Stacking Cards Section */
.valusess {
    padding: 40px 0 80px;
    background: #ffffff;
}

.values-heading {
    text-align: center;
    margin-bottom: 6rem;
}

/* Analysis & Market Watch Grids */
.analysis-section {
    padding: 120px 0;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.analysis-heading {
    text-align: left;
    margin-bottom: 4rem;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.analysis-item {
    padding: 40px;
    border: 0.5px solid rgba(37, 99, 235, 0.15);
    transition: background 0.3s ease;
}

.analysis-item:hover {
    background: rgba(37, 99, 235, 0.02);
}

.analysis-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.analysis-item-desc {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .analysis-grid {
        grid-template-columns: 1fr;
    }

    .section-container {
        padding: 0 1.5rem;
    }

    .valusess {
        padding: 20px 0 40px;
    }

    .analysis-section {
        padding: 40px 0;
    }

    .analysis-heading {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }

    .analysis-item {
        text-align: center !important;
        padding: 30px 20px !important;
    }

    .analysis-item .analysis-icon {
        margin: 0 auto 15px !important;
    }
}


/* Order Types Grid Section (Light Theme) */
.order-types-grid-v3 {
    padding: 0px 0 80px !important;
    background: #ffffff;
}

.order-grid-v4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.order-grid-item-v4 {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.order-grid-item-v4:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.order-grid-item-v4 h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.order-grid-item-v4 p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.order-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-icon-box i {
    width: 28px;
    height: 28px;
    stroke-width: 2px;
}

/* Unique Gradients */
.grad-1 {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.grad-2 {
    background: linear-gradient(135deg, #10b981, #059669);
}

.grad-3 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.grad-4 {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.grad-5 {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.grad-6 {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.grad-7 {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
}

.grad-8 {
    background: linear-gradient(135deg, #64748b, #475569);
}

.order-grid-item-v4:hover .order-icon-box {
    transform: scale(1.1) rotate(8deg);
}

.order-grid-item-v4:hover .order-icon-box.grad-1 {
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.order-grid-item-v4:hover .order-icon-box.grad-2 {
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
}

.order-grid-item-v4:hover .order-icon-box.grad-3 {
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
}

.order-grid-item-v4:hover .order-icon-box.grad-4 {
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.4);
}

.order-grid-item-v4:hover .order-icon-box.grad-5 {
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.4);
}

.order-grid-item-v4:hover .order-icon-box.grad-6 {
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.4);
}

.order-grid-item-v4:hover .order-icon-box.grad-7 {
    box-shadow: 0 15px 30px rgba(244, 63, 94, 0.4);
}

.order-grid-item-v4:hover .order-icon-box.grad-8 {
    box-shadow: 0 15px 30px rgba(100, 116, 139, 0.4);
}

@media (max-width: 1024px) {
    .order-grid-v4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .order-grid-v4 {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .order-types-grid-v3 {
        padding: 0px 0 40px !important;
    }

    .order-types-grid-v3 .section-header-v2 {
        margin-bottom: 1.5rem !important;
    }

    .order-grid-item-v4 {
        text-align: center !important;
        padding: 30px 24px !important;
    }

    .order-grid-item-v4 .order-icon-box {
        margin: 0 auto 20px !important;
    }

    .order-icon-box {
        width: 60px !important;
        height: 60px !important;
        border-radius: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0px auto 15px !important;
        color: #ffffff !important;
    }

    .demat-benefits-section {
        padding: 50px 0 !important;
    }

    .protection-item-v2 {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        justify-content: center !important;
    }

    .benefits-carousel-container .nav-btn.prev {
        left: 0px !important;
    }

    .benefits-carousel-container .nav-btn.next {
        right: 0px !important;
    }
}

/* Demat Benefits Section (Premium Dark) */
.demat-benefits-section {
    padding: 120px 0;
    background: #0b1a52;
    /* Dark Blue from About Us */
    position: relative;
    overflow: hidden;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 0px;
    align-items: center;
}

.benefits-content h2.white {
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
}

.benefits-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 480px;
}

.enterprise-protection-v2 {
    margin-top: 3.5rem;
    max-width: 600px;
}

.protection-title-v2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.75rem;
}

.protection-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
}

.protection-item-v2 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon-v2 {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4489fe;
    /* Specific blue from reference */
    flex-shrink: 0;
}

.check-icon-v2 svg {
    width: 100%;
    height: 100%;
}

.protection-item-v2 span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    line-height: 1.4;
}

.cta-feature span {
    font-size: 1rem;
    color: 000;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .protection-grid-v2 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.benefits-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    z-index: 10;
}

.benefits-cards-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 400px;
    margin: 0 auto;
}

.facts-mesh-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
}

.benefits-cards-wrapper::before,
.benefits-cards-wrapper::after {
    display: none;
    /* Removed static stack, using dynamic stack instead */
}

.benefits-cards-inner-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 5;
    border-radius: 24px;
}


.benefits-cards-inner {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.benefit-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateX(50px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* benefit-card.active:hover disabled */

.benefit-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1) rotate(0);
    z-index: 10;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.benefit-stack-bg {
    position: absolute;
    top: 10px;
    right: -15px;
    width: 100%;
    height: 100%;
    background: rgb(11 25 79);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    z-index: 1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    transform: rotate(2deg);
    pointer-events: none;
    box-sizing: border-box;
}

.benefit-card.prev,
.benefit-card.next,
.benefit-card.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px) scale(0.9);
    z-index: 1;
}

/* Only show content on active card to keep it clean */
.benefit-card .benefit-icon-pill,
.benefit-card h3,
.benefit-card p {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease;
    color: #ffffff;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
}

.benefit-card.active .benefit-icon-pill,
.benefit-card.active h3,
.benefit-card.active p {
    opacity: 1;
    transform: translateY(0);
}

/* Benefit Icon Hover Effects */
.benefit-card .benefit-icon-pill {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* benefit-card:hover icon effects disabled */

.benefit-card::-webkit-scrollbar {
    width: 5px;
}

.benefit-card::-webkit-scrollbar-track {
    background: transparent;
}

.benefit-card::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-card:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
}


.benefit-icon-pill {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.benefit-icon-pill i {
    width: 30px;
    height: 30px;
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.benefit-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* ONBOARDING SECTION (Exact Copy from Homepage) */
.process-section {
    padding: 120px 0;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}

.process-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right, #f1f5f9 1px, transparent 1px),
        linear-gradient(to bottom, #f1f5f9 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

.process-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 190px;
    z-index: 2;
    pointer-events: none;
}

.process-wave path {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
}

.process-wave.is-animating path {
    animation: waveConnect 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes waveConnect {
    to {
        stroke-dashoffset: 0;
    }
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 3;
}

.login-flow-steps {
    padding: 0 0;
}

@media (max-width: 992px) {
    .login-flow-steps {
        padding: 0;
    }

    .process-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }

    .process-wave {
        display: none;
    }
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.icon-box {
    width: 90px;
    height: 90px;
    backdrop-filter: blur(10px);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 35px;
    position: relative;
    color: #ffffff;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-box.color-1 {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.icon-box.color-2 {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
}

.icon-box.color-3 {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.icon-box.color-4 {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
}

.icon-box.color-5 {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
}

.ms-step-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #2563eb;
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    z-index: 5;
}

.step-item:hover .icon-box {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    z-index: 10;
}

.step-item:hover .step-label {
    color: #2563eb;
    transform: translateY(-3px);
}

.step-label {
    font-size: 15px;
    line-height: 1.4;
    color: #1e293b;
    font-weight: 700;
    width: 100%;
    margin: 0;
    transition: all 0.3s ease;
}

.onboarding-cta {
    margin-top: 5rem;
    text-align: center;
    position: relative;
    z-index: 10;
}


.onboarding-cta-btn i {
    transition: transform 0.3s ease;
}

.onboarding-cta-btn:hover i {
    transform: translateX(5px);
}

.process-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 194px !important;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 992px) {
    .process-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }

    .process-wave {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

.step-icon {
    width: 64px;
    height: 64px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.step-icon i {
    width: 32px;
    height: 32px;
}

.login-step p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.5;
}

.login-step p strong {
    color: #0f172a;
    display: block;
    margin-top: 5px;
}

@media (max-width: 1024px) {
    .login-flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .login-flow-grid {
        grid-template-columns: 1fr;
    }

    .login-step {
        padding: 40px 20px;
    }
}

.benefits-carousel-container .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: auto !important;
}

.benefits-carousel-container .nav-btn.prev {
    left: -20px;
}

.benefits-carousel-container .nav-btn.next {
    right: -20px;
}

.benefits-carousel-container .nav-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.benefits-carousel-container .nav-btn i {
    width: 24px;
    height: 24px;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .benefits-lead {
        margin: 0 auto;
    }

    .benefits-carousel-container {
        margin-top: 3rem;
    }
}



@media (max-width: 480px) {
    .benefits-cards-wrapper {
        height: 450px;
        margin: 0 20px;
    }

    .benefit-card {
        padding: 40px 25px;
    }
}

/* Works Everywhere Section */
.works-everywhere-section {
    padding: 100px 0;
    background: #0b1a52;
    position: relative;
    overflow: hidden;
}

.works-header {
    text-align: center;
    margin-bottom: 5rem;
}

.works-lead {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
}

.works-mockup-wrap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 6rem;
    display: flex;
    justify-content: center;
}

.multi-device-img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.work-card-v2 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.work-card-v2:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

#works-everywhere h2 {
    color: white;
}

.work-visual-v2 {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.work-visual-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}

.work-card-v2:hover .work-visual-v2 img {
    transform: scale(1.1);
}

.work-visual-v2.bg-blue {
    background: rgba(37, 99, 235, 0.07);
}

.work-visual-v2.bg-green {
    background: rgba(16, 185, 129, 0.07);
}

.work-visual-v2.bg-yellow {
    background: rgba(245, 158, 11, 0.07);
}

.work-visual-v2.bg-purple {
    background: rgba(139, 92, 246, 0.07);
}

.work-body-v2 {
    padding: 1.5rem 2rem 2.5rem;
}

.work-meta-v2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.work-mini-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.work-mini-icon i {
    width: 14px;
    height: 14px;
}

.work-mini-icon.color-blue {
    background: rgba(37, 99, 235, 0.1);
    color: #3b82f6;
}

.work-mini-icon.color-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.work-mini-icon.color-yellow {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.work-mini-icon.color-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.work-meta-v2 h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.work-body-v2 p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1200px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .works-grid {
        grid-template-columns: 1fr;
    }

    .works-header h2 {
        font-size: 2.5rem;
    }
}

/* Mobile App Promo V2 (Hand-held mockup) */
.mobile-app-promo-v2 {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.promo-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.promo-v2-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.promo-v2-lead {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.promo-v2-subtitle {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    text-transform: capitalize;
}

.promo-v2-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    margin-bottom: 3rem;
}

.p-v2-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.protection-grid-v2 .check-icon-box {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.p-v2-icon {
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-v2-icon i {
    width: 20px;
    height: 20px;
}

.p-v2-item span {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.promo-v2-badges {
    display: flex;
    gap: 16px;
    align-items: center;
}

.promo-v2-badges .badge-link img {
    height: 48px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.promo-v2-badges .badge-link:hover img {
    transform: translateY(-3px);
}

.promo-v2-visual {
    position: relative;
}

.promo-v2-img-wrap {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.1);
}

.promo-v2-main-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .promo-v2-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .promo-v2-badges {
        justify-content: center;
    }

    .promo-v2-check-grid {
        justify-content: center;
        text-align: left;
    }
}

.protection-grid-v2 .check-icon-box {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Card Pointers Grid */
.card-pointers {
    display: flex !important;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;

}

.pointer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

.pointer-item i {
    width: 20px;
    height: 20px;
    color: #3b82f6;
    /* Bright blue checkmark */
}

/* ============================================
   CORE VALUES SECTION (Premium Symmetrical Grid)
   ============================================ */
.about-values-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background-color: #0b1a52;
    /* Deep Navy from screenshot */
}

.values-mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15), transparent 80%);
    z-index: 1;
}

.values-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
}

.about-values-section .container {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title.dark {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: center;
}

.text-gradient-yellow {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
}

.values-symmetrical-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 992px) {
    .values-symmetrical-grid.grid-cols-5-balanced {
        grid-template-columns: repeat(6, 1fr);
    }

    .values-symmetrical-grid.grid-cols-5-balanced .value-card-item:nth-child(-n+3) {
        grid-column: span 2;
    }

    .values-symmetrical-grid.grid-cols-5-balanced .value-card-item:nth-child(n+4) {
        grid-column: span 3;
    }
}

@media (max-width: 991px) {
    .values-symmetrical-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .values-symmetrical-grid {
        grid-template-columns: 1fr;
    }
}

.value-card-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.value-card-item:hover {
    transform: translateY(-10px) !important;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.value-card-inner {
    position: relative;
    z-index: 5;
}

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.value-card-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    width: 24px;
    height: 24px;
}

.grad-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.grad-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.grad-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.grad-indigo {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.grad-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.value-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    transition: all 0.5s ease;
}

.value-card-item:hover .value-number {
    color: rgba(255, 255, 255, 0.06);
    transform: scale(1.1) translateX(-10px);
}

.value-card-item h4 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.value-card-item p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Portal CTA Section Spacing & Refinements */
.portal-cta-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.portal-cta-section .available-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.portal-cta-section .check-icon-box {
    color: #2563eb !important;
    /* Bright Blue Checkmark */
}

.portal-cta-section .check-text {
    font-weight: 600;
    color: #334155;
}

@media (max-width: 992px) {
    .portal-cta-section {
        padding: 60px 0;
    }
}

/* ==========================================================================
   Mobile Responsive Onboarding Timeline Styles (Fix for Overlaps and Grid alignment)
   ========================================================================== */
@media (max-width: 768px) {
    .process-steps {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2.5rem !important;
        max-width: 480px;
        margin: 0 auto !important;
        padding-left: 20px !important;
        position: relative !important;
    }

    /* Vertical timeline connecting line */
    .process-steps::before {
        content: '' !important;
        position: absolute !important;
        top: 35px !important; /* aligned to first icon center */
        bottom: 35px !important; /* aligned to last icon center */
        left: 55px !important; /* aligned to vertical line (padding-left 20px + icon-box 70px / 2 = 55px) */
        width: 2px !important;
        border-left: 2px dashed #2563eb !important;
        opacity: 0.3 !important;
        z-index: 1 !important;
        display: block !important;
    }

    .step-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 1.5rem !important;
        width: 100% !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .step-item .icon-box {
        width: 70px !important;
        height: 70px !important;
        border-radius: 20px !important;
        margin-bottom: 0 !important; /* reset margin */
        flex-shrink: 0 !important;
        z-index: 2 !important;
    }

    .step-item:hover .icon-box {
        transform: translateX(5px) scale(1.05) !important;
    }

    .step-item .icon-box i,
    .step-item .icon-box svg {
        width: 24px !important;
        height: 24px !important;
    }

    .step-item .ms-step-badge {
        width: 22px !important;
        height: 22px !important;
        font-size: 9px !important;
        border-width: 2px !important;
        top: -6px !important;
        right: -6px !important;
        position: absolute !important;
    }

    /* Handle text layouts */
    .step-text-wrap,
    .step-item .step-label {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding-top: 8px !important; /* align with icon box top */
        margin: 0 !important;
        width: auto !important;
        text-align: left !important;
    }

    .step-item .step-label strong {
        font-size: 1.1rem !important;
        color: #0f172a !important;
        display: block !important;
        margin-bottom: 4px !important;
    }

    .step-item .step-label span,
    .step-item .step-description {
        font-size: 0.9rem !important;
        color: #64748b !important;
        line-height: 1.5 !important;
        display: block !important;
        margin-top: 0 !important;
        font-weight: 500 !important;
        max-width: 100% !important;
    }
    
    .process-wave {
        display: none !important;
    }

    .values-heading {
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    .value-title {
        font-size: 22px !important;
        font-weight: 700 !important;
        line-height: 2.3rem !important;
    }
    .single-mf_product .value-desc p {
        font-size: 16px !important;
        color: rgba(255, 255, 255, 0.9) !important;
        line-height: 1.7 !important;
        font-weight: 300 !important;
        max-width: 48rem !important;
    }

    /* =====================================================
       ZIGZAG Timeline for Web Portal Login Flow Steps
       (same pattern as services page)
       ===================================================== */
    .login-flow-steps {
        align-items: center !important;
        padding-left: 0 !important;
        gap: 4rem !important;
        max-width: 420px !important;
    }

    /* Center the dashed vertical line for zigzag */
    .login-flow-steps::before {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* Grid layout: text | icon | text */
    .login-flow-steps .step-item {
        display: grid !important;
        grid-template-columns: 1fr 70px 1fr !important;
        align-items: center !important;
        gap: 12px !important;
        flex-direction: unset !important;
        text-align: unset !important;
    }

    /* Icon always in center column */
    .login-flow-steps .step-item .icon-box {
        grid-column: 2 !important;
        grid-row: 1 !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .login-flow-steps .step-item:hover .icon-box {
        transform: scale(1.08) !important;
    }

    /* Text label styling */
    .login-flow-steps .step-item .step-label {
        padding-top: 0 !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .login-flow-steps .step-item .step-label br {
        display: none !important;
    }

    .login-flow-steps .step-item .step-label strong {
        font-size: 15px !important;
        color: #0f172a !important;
        display: block !important;
        margin-bottom: 4px !important;
    }

    .login-flow-steps .step-item .step-label span {
        font-size: 13px !important;
        color: #64748b !important;
        line-height: 1.4 !important;
        font-weight: 500 !important;
        display: block !important;
        word-break: break-word !important;
    }

    /* Odd steps (1st, 3rd): text on LEFT side */
    .login-flow-steps .step-item:nth-child(odd) .step-label {
        grid-column: 1 !important;
        grid-row: 1 !important;
        text-align: right !important;
        align-items: flex-end !important;
    }

    /* Even steps (2nd, 4th): text on RIGHT side */
    .login-flow-steps .step-item:nth-child(even) .step-label {
        grid-column: 3 !important;
        grid-row: 1 !important;
        text-align: left !important;
        align-items: flex-start !important;
    }
            .value-card {
            padding: 50px !important;
            min-height: auto !important;
            border-radius: 24px !important;
        }
        .benefit-icon-pill {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin: 0px auto 20px;
}
.benefits-carousel-container {
        margin-top: 0;
    }
}