/* Custom styles for the home page */

html {
    scroll-behavior: smooth;
}

.hover-glow {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(0, 115, 223, 0.3);
    border-color: rgba(0, 115, 223, 0.5); /* primary-container with 50% opacity */
}

/* Card specific Neon variables */
.service-card-1 {
    --neon-color-1: #2b92f3;
    --neon-color-2: #005bb2;
    --neon-glow: rgba(43, 146, 243, 0.35);
}

.service-card-2 {
    --neon-color-1: #4b6bf5;
    --neon-color-2: #3856c1;
    --neon-glow: rgba(75, 107, 245, 0.35);
}

.service-card-3 {
    --neon-color-1: #0073df;
    --neon-color-2: #005db6;
    --neon-glow: rgba(0, 115, 223, 0.35);
}

/* Service Card Premium Redesign with Neon Border beam (Hardware Accelerated) */
.service-card {
    position: relative;
    border-radius: 24px;
    background: transparent;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 10;
    display: flex;
    flex-direction: column;
}

/* Card inner background (white) */
.service-card-bg {
    position: absolute;
    inset: 1.5px;
    border-radius: 22.5px;
    background: #ffffff;
    z-index: -1;
    transition: background-color 0.4s ease;
}

/* Base Gradient Border (Off State) */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(43, 146, 243, 0.15), rgba(29, 63, 171, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

/* Active Neon border beam layer (Rotates on hover) */
.service-card-border-glow {
    content: '';
    position: absolute;
    width: 170%;
    height: 170%;
    top: -35%;
    left: -35%;
    background: conic-gradient(from 0deg, transparent 20%, var(--neon-color-1), var(--neon-color-2), transparent 60%);
    animation: rotate-gradient 3.5s linear infinite;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -2;
    pointer-events: none;
    will-change: transform;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Card Hover States */
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px -10px var(--neon-glow), 0 0 15px 1px var(--neon-glow);
}

.service-card:hover .service-card-border-glow {
    opacity: 1;
}

.service-card:hover::before {
    opacity: 0; /* Hide static border to show running neon */
}

/* Featured Card specific override */
.service-card-featured {
    box-shadow: 0 10px 30px -10px rgba(29, 63, 171, 0.08);
}

/* Featured card has a subtle neon border always active, which gets stronger on hover */
.service-card-featured .service-card-border-glow {
    opacity: 0.45;
}

.service-card-featured:hover .service-card-border-glow {
    opacity: 1;
}

.service-card-featured::before {
    opacity: 0; /* always use neon */
}

/* Icon Animations (Hardware Accelerated) */
.service-card .icon-container {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.service-card:hover .icon-container {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 12px 24px -6px rgba(29, 63, 171, 0.25);
}

/* List Item Micro-interactions */
.service-card-list-item {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Staggered translations */
.service-card:hover .service-card-list-item:nth-child(1) {
    transform: translateX(4px);
}
.service-card:hover .service-card-list-item:nth-child(2) {
    transform: translateX(6px);
}
.service-card:hover .service-card-list-item:nth-child(3) {
    transform: translateX(8px);
}

/* Button transitions (Fades in gradient smoothly without reflows) */
.service-btn {
    position: relative;
    overflow: hidden;
    z-index: 5;
    transition: border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2b92f3, #1D3FAB);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.service-btn > * {
    position: relative;
    z-index: 2;
}

.service-btn .arrow-icon {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.service-card:hover .service-btn {
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 10px 20px -8px rgba(29, 63, 171, 0.3);
}

.service-card:hover .service-btn::before {
    opacity: 1;
}

.service-card:hover .service-btn .arrow-icon {
    transform: translate(4px, 0px) rotate(90deg) scale(1.05);
    filter: brightness(0) invert(1);
}

/* Featured Badge Pulse */
@keyframes badge-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(43, 146, 243, 0.5);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(43, 146, 243, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(43, 146, 243, 0);
    }
}

.featured-badge-pulse {
    animation: badge-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Background Ambient Glow */
.bg-glow-blob {
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.45;
    pointer-events: none;
    z-index: 1;
}

/* Background Grid Pattern */
.bg-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(29, 63, 171, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(29, 63, 171, 0.035) 1px, transparent 1px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

/* Carousel Container & Slides */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 10;
    transform: translate3d(0, 0, 0);
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    width: 100%;
    transform: translate3d(0, 0, 0);
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    opacity: 0.4;
    scale: 0.98;
    filter: blur(2px);
    transition: opacity 0.6s ease, scale 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (min-width: 1024px) {
    .carousel-slide {
        padding: 0 35px;
    }
}

.carousel-slide.slide-active {
    opacity: 1;
    scale: 1;
    filter: blur(0);
}

.slide-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(29, 63, 171, 0.08);
    border-radius: 28px;
    padding: 1.5rem 1rem;
    box-shadow: 
        0 15px 35px -15px rgba(29, 63, 171, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: border-color 0.6s ease, box-shadow 0.6s ease, background-color 0.6s ease;
}

@media (min-width: 1024px) {
    .slide-content-grid {
        grid-template-columns: 1.25fr 0.75fr;
        gap: 3rem;
        padding: 1.75rem 3.5rem;
    }
}

.slide-active .slide-content-grid {
    border-color: rgba(43, 146, 243, 0.25);
    background: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 25px 50px -20px rgba(29, 63, 171, 0.1),
        0 0 15px rgba(43, 146, 243, 0.08);
}

.slide-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(29, 63, 171, 0.08);
}

.slide-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1D3FAB;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #1D3FAB, #2b92f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 1024px) {
    .slide-title {
        font-size: 1.6rem;
    }
}

.slide-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(29, 63, 171, 0.8);
    margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
    .slide-description {
        font-size: 0.92rem;
        margin-bottom: 1rem;
    }
}

.slide-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.slide-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1D3FAB;
}

@media (min-width: 1024px) {
    .slide-features li {
        font-size: 0.82rem;
    }
}

.slide-features li span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2b92f3;
    box-shadow: 0 0 6px #2b92f3;
}

.slide-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Premium Widget Container - Transparent & Seamless */
.widget-card {
    position: relative;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    overflow: visible;
}

.widget-neon-glow {
    position: absolute;
    inset: -10px;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, #1D3FAB, #2b92f3, #00d4ff, #2b92f3, #1D3FAB);
    background-size: 300% 300%;
    -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;
    transition: opacity 0.8s ease;
    z-index: 2;
}

.slide-active .widget-card .widget-neon-glow {
    opacity: 0.45;
    animation: neon-border-flow 4s ease infinite;
}

@keyframes neon-border-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- Carousel Arrows --- */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(29, 63, 171, 0.08);
    color: #1D3FAB;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 12px rgba(29, 63, 171, 0.04);
}

.carousel-arrow.prev { left: 8px; }
.carousel-arrow.next { right: 8px; }

.carousel-arrow:hover {
    background: #1D3FAB;
    color: #ffffff;
    border-color: #1D3FAB;
    box-shadow: 0 8px 20px rgba(29, 63, 171, 0.2);
}

.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }

@media (max-width: 768px) {
    .carousel-arrow { display: none; }
    .carousel-slide {
        padding: 0.5rem 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.6s ease, scale 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease, visibility 0.6s ease;
    }
    .carousel-slide.slide-active {
        opacity: 1;
        visibility: visible;
    }
    .slide-content-grid {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

/* --- Navigation & Progress --- */
.carousel-nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.carousel-dots-container {
    display: flex;
    gap: 10px;
    z-index: 25;
}

.carousel-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(29, 63, 171, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.carousel-nav-dot.active {
    background: #2b92f3;
    width: 28px;
    border-radius: 6px;
    box-shadow: 
        0 0 10px rgba(43, 146, 243, 0.8),
        0 0 20px rgba(43, 146, 243, 0.4);
}

.carousel-progress-bar-bg {
    width: 120px;
    height: 3px;
    background: rgba(29, 63, 171, 0.06);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.carousel-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #1D3FAB, #2b92f3);
    border-radius: 2px;
}

/* --- Scaled Widgets inside slide-active --- */

/* Widget: Dashboard */
.widget-dashboard-lg {
    max-width: 440px;
}

.widget-dashboard-lg .chart-line {
    stroke: url(#chartGradient);
    stroke-width: 3.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    filter: drop-shadow(0 0 0px rgba(43, 146, 243, 0));
    transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
}

.slide-active .widget-dashboard-lg .chart-line {
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 8px rgba(43, 146, 243, 0.5)) drop-shadow(0 0 16px rgba(29, 63, 171, 0.2));
}

.widget-dashboard-lg .chart-area {
    fill: url(#areaGradient);
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}

.slide-active .widget-dashboard-lg .chart-area {
    opacity: 1;
}

.widget-dashboard-lg .chart-dot {
    fill: #2b92f3;
    opacity: 0;
    transition: opacity 0.5s ease, filter 0.5s ease;
    r: 4.5;
    filter: drop-shadow(0 0 0px rgba(43, 146, 243, 0));
}

.slide-active .widget-dashboard-lg .chart-dot {
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(43, 146, 243, 0.8)) drop-shadow(0 0 10px rgba(43, 146, 243, 0.4));
}

.slide-active .widget-dashboard-lg .chart-dot:nth-child(1) { transition-delay: 0.4s; }
.slide-active .widget-dashboard-lg .chart-dot:nth-child(2) { transition-delay: 0.6s; }
.slide-active .widget-dashboard-lg .chart-dot:nth-child(3) { transition-delay: 0.8s; }
.slide-active .widget-dashboard-lg .chart-dot:nth-child(4) { transition-delay: 1.0s; }
.slide-active .widget-dashboard-lg .chart-dot:nth-child(5) { transition-delay: 1.2s; }

.chart-grid-line {
    stroke: rgba(29, 63, 171, 0.05);
    stroke-width: 1.2;
    stroke-dasharray: 4 4;
}

.chart-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(29, 63, 171, 0.08);
    font-size: 12px;
    font-weight: 700;
    color: #1D3FAB;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-active .chart-label {
    opacity: 1;
    transform: translateY(0);
}

.slide-active .chart-label:nth-child(1) { transition-delay: 0.8s; }
.slide-active .chart-label:nth-child(2) { transition-delay: 1.0s; }
.slide-active .chart-label:nth-child(3) { transition-delay: 1.2s; }

.chart-label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2b92f3;
}

/* Widget: Radar */
.widget-radar {
    position: relative;
    width: 160px;
    height: 160px;
}

.radar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(29, 63, 171, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.slide-active .radar-ring {
    border-color: rgba(43, 146, 243, 0.25);
    box-shadow: 0 0 10px rgba(43, 146, 243, 0.1);
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    background: conic-gradient(from 0deg, transparent, rgba(43, 146, 243, 0.3) 60deg, transparent 60deg);
    animation: radar-spin 3s linear infinite;
    opacity: 0.5;
    transition: opacity 0.6s ease, background 0.6s ease;
}

.slide-active .radar-sweep {
    opacity: 1;
    animation-duration: 2s;
    background: conic-gradient(from 0deg, transparent, rgba(43, 146, 243, 0.5) 60deg, transparent 60deg);
}

@keyframes radar-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.radar-core {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2b92f3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(43, 146, 243, 0.4);
    z-index: 2;
    transition: box-shadow 0.6s ease;
}

.slide-active .radar-core {
    box-shadow:
        0 0 12px rgba(43, 146, 243, 0.8),
        0 0 24px rgba(43, 146, 243, 0.5),
        0 0 40px rgba(43, 146, 243, 0.25);
    animation: neon-core-pulse 2s ease-in-out infinite;
}

.radar-core::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(43, 146, 243, 0.3);
    animation: radar-pulse-ring 2s ease-out infinite;
}

.online-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    letter-spacing: 0.04em;
    transition: box-shadow 0.6s ease, border-color 0.6s ease;
}

.slide-active .online-badge {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 
        0 0 12px rgba(16, 185, 129, 0.15),
        0 0 24px rgba(16, 185, 129, 0.08);
}

.online-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
    animation: online-neon-blink 1.5s ease-in-out infinite;
}

/* Widget: Years */
.widget-years {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.years-ring svg {
    transform: rotate(-90deg);
}

.years-ring-track {
    fill: none;
    stroke: rgba(29, 63, 171, 0.06);
}

.years-ring-progress {
    fill: none;
    stroke: url(#yearsGradient);
    stroke-linecap: round;
    stroke-dasharray: 251;
    stroke-dashoffset: 251;
    filter: drop-shadow(0 0 0px rgba(43, 146, 243, 0));
    transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
}

.slide-active .years-ring-progress {
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 8px rgba(43, 146, 243, 0.6)) drop-shadow(0 0 16px rgba(29, 63, 171, 0.25));
}

.years-number {
    position: relative;
    z-index: 2;
    font-weight: 850;
    background: linear-gradient(135deg, #1D3FAB, #2b92f3, #1D3FAB);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: filter 0.5s ease;
}

.slide-active .years-number {
    animation: shimmer-text 3s ease infinite;
}

.years-unit {
    font-weight: 700;
    color: #1D3FAB;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.65;
}

/* Widget: Tech */
.tech-line {
    stroke: rgba(29, 63, 171, 0.06);
    stroke-width: 2;
    stroke-dasharray: 5 5;
    transition: stroke 0.6s ease, stroke-width 0.6s ease;
}

.slide-active .tech-line {
    stroke: rgba(43, 146, 243, 0.2);
    stroke-width: 2.5;
    stroke-dasharray: none;
    animation: line-pulse 2s ease infinite;
}

.tech-dot {
    fill: rgba(29, 63, 171, 0.1);
    stroke: rgba(29, 63, 171, 0.2);
    stroke-width: 2;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-active .tech-dot {
    fill: #2b92f3;
    stroke: #ffffff;
    stroke-width: 3;
    r: 8.5;
    filter: 
        drop-shadow(0 0 8px rgba(43, 146, 243, 0.8))
        drop-shadow(0 0 16px rgba(43, 146, 243, 0.4));
}

.slide-active .tech-dot:nth-child(even) {
    fill: #10b981;
    filter: 
        drop-shadow(0 0 8px rgba(16, 185, 129, 0.8))
        drop-shadow(0 0 16px rgba(16, 185, 129, 0.4));
}

/* --- Metallic Blue Credit Card Style --- */
.credit-card-style {
    background: linear-gradient(135deg, #0e275f 0%, #1c4599 30%, #2b92f3 50%, #1c4599 70%, #0a1f4d 100%);
    border-radius: 16px;
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.5),
        0 15px 35px -10px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(29, 63, 171, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 320px !important;
    height: 201px !important;
    padding: 0 !important;
}

/* Metallic reflection */
.credit-card-style::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 35%,
        rgba(255, 255, 255, 0.3) 45%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(35deg);
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: overlay;
}

/* Base noise texture */
.credit-card-style::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

.credit-card-style .widget-neon-glow {
    inset: -2px;
    border-radius: 18px;
    z-index: -1;
    opacity: 0.7;
    background: linear-gradient(135deg, #00d4ff, #2b92f3, #1D3FAB);
}

.cc-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #ffe066, #d4af37, #aa801a);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
}

.cc-chip::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    background-image: 
        linear-gradient(to bottom, rgba(0,0,0,0.15) 1px, transparent 1px),
        linear-gradient(to right, rgba(0,0,0,0.15) 1px, transparent 1px);
    background-size: 10px 12px;
}

.credit-card-style .years-number {
    background: linear-gradient(to bottom, #ffffff, #c2d6f5, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.credit-card-style .years-unit {
    color: #e2eeff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.cc-emboss {
    text-shadow: 
        -1px -1px 1px rgba(255, 255, 255, 0.3),
        1px 1px 1px rgba(0, 0, 0, 0.6);
}

.credit-card-style .years-ring-track {
    stroke: rgba(255, 255, 255, 0.1);
}

.slide-active .credit-card-style .years-ring-progress {
    stroke: #ffffff;
    filter: none;
}

/* --- Tech Widget Overrides for Credit Card Style --- */
.credit-card-style .tech-line {
    stroke: rgba(255, 255, 255, 0.15);
}

.slide-active .credit-card-style .tech-line {
    stroke: rgba(255, 255, 255, 0.4);
}

.credit-card-style .tech-dot {
    fill: rgba(255, 255, 255, 0.1);
    stroke: rgba(255, 255, 255, 0.3);
}

.slide-active .credit-card-style .tech-dot {
    fill: #00d4ff;
    stroke: #ffffff;
    filter: none;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.slide-active .credit-card-style .tech-dot:nth-child(even) {
    fill: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

/* --- Dashboard Widget Overrides for Credit Card Style --- */
.credit-card-style .chart-grid-line {
    stroke: rgba(255, 255, 255, 0.15);
}

.slide-active .credit-card-style .chart-line {
    stroke: #00d4ff;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.6));
}

.slide-active .credit-card-style .chart-area {
    fill: rgba(0, 212, 255, 0.15);
}

.slide-active .credit-card-style .chart-dot {
    fill: #00d4ff;
    stroke: #ffffff;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.8));
}
.slide-active .tech-dot {
    fill: #2b92f3;
    stroke: #ffffff;
    stroke-width: 3;
    r: 8.5;
    filter: 
        drop-shadow(0 0 8px rgba(43, 146, 243, 0.8))
        drop-shadow(0 0 16px rgba(43, 146, 243, 0.4));
}

.slide-active .tech-dot:nth-child(even) {
    fill: #10b981;
    filter: 
        drop-shadow(0 0 8px rgba(16, 185, 129, 0.8))
        drop-shadow(0 0 16px rgba(16, 185, 129, 0.4));
}

/* --- Metallic Blue Credit Card Style --- */
.credit-card-style {
    background: linear-gradient(135deg, #0e275f 0%, #1c4599 30%, #2b92f3 50%, #1c4599 70%, #0a1f4d 100%);
    border-radius: 16px;
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.5),
        0 15px 35px -10px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(29, 63, 171, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 320px !important;
    height: 201px !important;
    padding: 0 !important;
}

/* Metallic reflection */
.credit-card-style::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 35%,
        rgba(255, 255, 255, 0.3) 45%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(35deg);
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: overlay;
}

/* Base noise texture */
.credit-card-style::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

.credit-card-style .widget-neon-glow {
    inset: -2px;
    border-radius: 18px;
    z-index: -1;
    opacity: 0.7;
    background: linear-gradient(135deg, #00d4ff, #2b92f3, #1D3FAB);
}

.cc-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #ffe066, #d4af37, #aa801a);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
}

.cc-chip::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    background-image: 
        linear-gradient(to bottom, rgba(0,0,0,0.15) 1px, transparent 1px),
        linear-gradient(to right, rgba(0,0,0,0.15) 1px, transparent 1px);
    background-size: 10px 12px;
}

.credit-card-style .years-number {
    background: linear-gradient(to bottom, #ffffff, #c2d6f5, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.credit-card-style .years-unit {
    color: #e2eeff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.cc-emboss {
    text-shadow: 
        -1px -1px 1px rgba(255, 255, 255, 0.3),
        1px 1px 1px rgba(0, 0, 0, 0.6);
}

.credit-card-style .years-ring-track {
    stroke: rgba(255, 255, 255, 0.1);
}

.slide-active .credit-card-style .years-ring-progress {
    stroke: #ffffff;
    filter: none;
}

/* --- Tech Widget Overrides for Credit Card Style --- */
.credit-card-style .tech-line {
    stroke: rgba(255, 255, 255, 0.15);
}

.slide-active .credit-card-style .tech-line {
    stroke: rgba(255, 255, 255, 0.4);
}

.credit-card-style .tech-dot {
    fill: rgba(255, 255, 255, 0.1);
    stroke: rgba(255, 255, 255, 0.3);
}

.slide-active .credit-card-style .tech-dot {
    fill: #00d4ff;
    stroke: #ffffff;
    filter: none;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.slide-active .credit-card-style .tech-dot:nth-child(even) {
    fill: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

/* --- Dashboard Widget Overrides for Credit Card Style --- */
.credit-card-style .chart-grid-line {
    stroke: rgba(255, 255, 255, 0.15);
}

.slide-active .credit-card-style .chart-line {
    stroke: #00d4ff;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.6));
}

.slide-active .credit-card-style .chart-area {
    fill: rgba(0, 212, 255, 0.15);
}

.slide-active .credit-card-style .chart-dot {
    fill: #00d4ff;
    stroke: #ffffff;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.8));
}

.metallic-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2rem;
    border-radius: 1.25rem;
    border: 1.5px solid rgba(13, 58, 148, 0.5);
    text-decoration: none;
    background: linear-gradient(90deg, #2b92f3 0%, #0a2869 100%);
    background-size: 100% 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4), 
                inset 0 2px 2px rgba(255,255,255,0.3), 
                inset 0 -4px 8px rgba(0,0,0,0.5);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metallic-cta svg,
.metallic-cta span {
    position: relative;
    z-index: 2;
}

.metallic-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: metallic-band-shine 2.8s ease-in-out infinite alternate;
    z-index: 1;
    pointer-events: none;
}

@keyframes metallic-band-shine {
    0% { left: -100%; }
    100% { left: 150%; }
}

.metallic-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 
                inset 0 2px 2px rgba(255,255,255,0.4), 
                inset 0 -4px 8px rgba(0,0,0,0.6);
    border-color: rgba(0, 184, 255, 0.6);
}

.metallic-cta:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3), 
                inset 0 2px 2px rgba(255,255,255,0.2), 
                inset 0 -2px 4px rgba(0,0,0,0.4);
}

/* --- Modal Metallic Style --- */
.modal-metallic-style {
    background: linear-gradient(135deg, #0e275f 0%, #1c4599 30%, #2b92f3 50%, #1c4599 70%, #0a1f4d 100%);
    border-radius: 24px;
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.5),
        0 20px 40px -10px rgba(0, 0, 0, 0.6),
        0 5px 15px rgba(29, 63, 171, 0.5);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Metallic reflection */
.modal-metallic-style::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 35%,
        rgba(255, 255, 255, 0.2) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(35deg);
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: overlay;
}

/* Base noise texture */
.modal-metallic-style::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}
