/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;

    min-height: 100vh;
    min-height: 900px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--color-ink);
    color: white;
}

.hero-background {
    position: absolute;
    inset: 0;

    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;

    opacity: .3;

    background-image:
        linear-gradient(
            rgba(255,255,255,.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.04) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );
}

.hero-glow {
    position: absolute;

    width: 800px;
    height: 800px;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;
}

.hero-glow-one {
    top: -400px;
    right: -200px;

    background: rgba(79, 128, 101, .18);
}

.hero-glow-two {
    bottom: -500px;
    left: -300px;

    background: rgba(43, 91, 72, .14);
}

.hero-content {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;

    align-items: center;

    padding-top: 100px;
}

.hero-copy {
    max-width: 800px;
}

.hero-copy h1 {
    max-width: 850px;

    margin-bottom: 35px;
}

.hero-copy h1 span {
    display: block;

    color: var(--color-accent);
}

.hero-description {
    max-width: 520px;

    margin-bottom: 40px;

    color: rgba(255,255,255,.55);

    font-size: 17px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 25px;

    margin-top: 70px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -.03em;
}

.trust-item span {
    margin-top: 3px;

    color: rgba(255,255,255,.4);

    font-size: 9px;
    letter-spacing: .03em;
}

.trust-divider {
    width: 1px;
    height: 35px;

    background: rgba(255,255,255,.15);
}


/* =====================================================
   HERO VISUAL
===================================================== */

.hero-visual {
    position: relative;

    min-height: 600px;

    display: grid;
    place-items: center;
}

/* Updated: White/Silver Glassmorphic Card with Transparent Background */
.hero-card {
    position: relative;
    z-index: 3;

    width: min(500px, 90%);
    aspect-ratio: 1.6;

    padding: 35px;

    /* Silver border accent */
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 25px;

    /* Transparent background with subtle silver reflection */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(200, 210, 215, 0.03) 100%
    ) !important;

    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.35);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transform:
        perspective(1200px)
        rotateY(-12deg)
        rotateX(5deg);

    transition: transform var(--transition);
}

.hero-card:hover {
    transform:
        perspective(1200px)
        rotateY(-4deg)
        rotateX(2deg)
        translateY(-10px);
}

.card-top,
.card-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.card-top {
    color: #ffffff;
}

.card-label {
    display: block;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    color: #f0f4f2;
}

.card-type {
    display: block;

    margin-top: 5px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 7px;
    letter-spacing: .2em;
}

.card-chip {
    width: 43px;
    height: 32px;

    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 7px;

    /* Silver metallic chip gradient */
    background: linear-gradient(
        135deg,
        rgba(240, 240, 240, 0.5),
        rgba(170, 175, 180, 0.15)
    );
}

.card-number {
    margin-top: 95px;

    color: rgba(255, 255, 255, 0.95);

    font-size: 19px;
    letter-spacing: .18em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-bottom {
    position: absolute;

    left: 35px;
    right: 35px;
    bottom: 30px;
}

.card-bottom div {
    display: flex;
    flex-direction: column;
}

.card-bottom small {
    color: rgba(255, 255, 255, 0.55);

    font-size: 7px;
    letter-spacing: .15em;
}

.card-bottom strong {
    margin-top: 3px;

    color: #ffffff;

    font-size: 9px;
    letter-spacing: .08em;
}

.banking-orbit {
    position: absolute;

    width: 570px;
    height: 570px;

    border: 1px solid rgba(183,215,194,.12);
    border-radius: 50%;
}

.orbit-two {
    width: 700px;
    height: 700px;

    border-color: rgba(183,215,194,.07);

    animation: orbitSpin 25s linear infinite;
}

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =====================================================
   FLOATING STATS
===================================================== */

.floating-stat {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 15px 18px;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 14px;

    background: rgba(10,20,17,.7);

    box-shadow: 0 20px 50px rgba(0,0,0,.2);

    backdrop-filter: blur(20px);
}

.floating-stat-one {
    top: 90px;
    right: 10px;
}

.floating-stat-two {
    bottom: 100px;
    left: 0;
}

.floating-icon {
    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    background: rgba(183,215,194,.12);
    color: var(--color-accent);

    font-size: 15px;
}

.floating-stat small {
    display: block;

    color: rgba(255,255,255,.4);

    font-size: 8px;
}

.floating-stat strong {
    display: block;

    margin-top: 2px;

    color: white;

    font-size: 11px;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #7ecb94;

    box-shadow: 0 0 15px #7ecb94;
}


/* =====================================================
   HERO SCROLL
===================================================== */

.hero-scroll {
    position: absolute;
    z-index: 5;

    bottom: 35px;
    left: 50%;

    display: flex;
    align-items: center;
    gap: 15px;

    transform: translateX(-50%);

    color: rgba(255,255,255,.35);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: .2em;
}

.scroll-line {
    width: 45px;
    height: 1px;

    background: rgba(255,255,255,.3);
}


/* =====================================================
   INTRO
===================================================== */

.intro {
    background: var(--color-surface);
}

.intro-grid {
    display: grid;
    grid-template-columns: 80px 1.5fr 1fr;
    gap: 50px;
}

.section-number {
    color: var(--color-muted);

    font-size: 11px;
    font-weight: 700;
}

.intro-heading h2 {
    max-width: 800px;
}

.intro-heading h2 em {
    color: var(--color-muted);
    font-style: normal;
}

.intro-copy {
    padding-top: 70px;
}

.intro-copy p {
    max-width: 390px;

    margin-bottom: 35px;

    font-size: 15px;
}


/* =====================================================
   NUMBERS
===================================================== */

.numbers {
    background: var(--color-ink);
    color: white;
}

.numbers-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 100px;
}

.numbers-header .eyebrow {
    margin-bottom: 10px;

    color: var(--color-accent);
}

.numbers-header h2 {
    margin: 0;
}

.numbers-header h2 span {
    color: rgba(255,255,255,.35);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid rgba(255,255,255,.12);
}

.number-item {
    min-height: 260px;

    padding: 45px 35px;

    border-right: 1px solid rgba(255,255,255,.12);
}

.number-item:last-child {
    border-right: 0;
}

.number-item strong {
    display: block;

    margin-bottom: 20px;

    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 400;
    letter-spacing: -.07em;
    line-height: 1;
}

.number-item span {
    display: block;

    max-width: 150px;

    color: rgba(255,255,255,.4);

    font-size: 10px;
    line-height: 1.5;
}


/* =====================================================
   ACCOUNT CTA
===================================================== */

.account-cta {
    background: var(--color-surface);
}


/* =====================================================
   SUPPLIED BANK BUILDING — CONTAINER OVERRIDES
===================================================== */

.hero-visual {
    position: relative;
    min-height: 600px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 28px;
    isolation: isolate;
    background: var(--color-ink);
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

/* Background layer — Image removed */
.hero-visual:before {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: -2;
    background: linear-gradient(135deg, rgba(7,17,15,.16), rgba(7,17,15,.42));
    transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.12);
    will-change: transform;
}

/* Background overlay — independent of the card */
.hero-visual:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(7,17,15,.10), rgba(7,17,15,.38));
    pointer-events: none;
}

/* Accessibility image wrapper hidden */
.bank-building-image {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    clip: rect(0 0 0 0);
}

/* Transparent silver card override */
.hero-visual .hero-card {
    position: relative;
    z-index: 3;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(220, 225, 230, 0.03) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-visual .floating-stat {
    position: relative;
    z-index: 4;
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual:before {
        transform: translate3d(0, 0, 0) scale(1.12);
    }
}