* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #07111f;
    color: #fff;
}

a {
    color: #38bdf8;
    text-decoration: none;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 420px;
    background: #0d1b2a;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 30px;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 7px;
}

input {
    width: 100%;
    padding: 14px;
    border: 1px solid #263b50;
    border-radius: 10px;
    background: #081421;
    color: white;
    outline: none;
}

button {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: #0ea5e9;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.alert {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.error {
    background: #451a1a;
}

.success {
    background: #123d28;
}

.bottom-link {
    text-align: center;
    margin-top: 25px;
}

.topbar {
    padding: 20px;
    background: #0d1b2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.dashboard {
    max-width: 1100px;
    margin: auto;
    padding: 25px;
}

.balance-card {
    background: #0d1b2a;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 20px;
}

.balance-card span {
    color: #94a3b8;
}

.balance-card h2 {
    font-size: 38px;
    margin-bottom: 0;
}

.actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.actions a {
    background: #0ea5e9;
    color: white;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
}

.card {
    background: #0d1b2a;
    border-radius: 18px;
    padding: 25px;
}

.transaction {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #203244;
}

.transaction small {
    display: block;
    color: #94a3b8;
    margin-top: 5px;
}

@media (max-width: 600px) {

    .actions {
        grid-template-columns: 1fr;
    }

    .topbar {
        flex-direction: column;
        gap: 15px;
    }

}

/* ==========================================
   SYNC BANK - INDEX
========================================== */

.container {
    width: 100%;
    max-width: 1180px;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 17, 31, .92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #172a3d;
}

.nav {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 21px;
    font-weight: 800;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #0ea5e9;
    color: white;
    box-shadow: 0 0 25px rgba(14,165,233,.35);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #94a3b8;
    transition: .2s;
}

.nav-links a:hover {
    color: white;
}

.nav-login {
    padding: 11px 18px;
    border: 1px solid #24435d;
    border-radius: 9px;
    color: white !important;
}

.menu-button {
    display: none;
    width: auto;
    margin: 0;
    padding: 8px 12px;
    background: transparent;
    font-size: 22px;
}

/* HERO */

.hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 30px;
    background: rgba(14,165,233,.1);
    border: 1px solid rgba(14,165,233,.25);
    color: #38bdf8;
    font-size: 13px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 76px);
    line-height: 1.02;
    margin: 0;
    letter-spacing: -3px;
}

.hero h1 span {
    display: block;
    color: #38bdf8;
}

.hero-content > p {
    max-width: 600px;
    color: #94a3b8;
    font-size: 18px;
    line-height: 1.7;
    margin: 25px 0;
}

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

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: bold;
}

.btn-primary {
    background: #0ea5e9;
    color: white;
    box-shadow: 0 10px 30px rgba(14,165,233,.2);
}

.btn-secondary {
    border: 1px solid #29445d;
    color: white;
}

.hero-info {
    display: flex;
    gap: 35px;
    margin-top: 40px;
}

.hero-info div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-info strong {
    font-size: 18px;
}

.hero-info span {
    color: #64748b;
    font-size: 12px;
}

/* CARD */

.hero-card-wrapper {
    min-height: 450px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow {
    width: 300px;
    height: 300px;
    position: absolute;
    border-radius: 50%;
    background: #0ea5e9;
    filter: blur(130px);
    opacity: .2;
}

.bank-card {
    width: 390px;
    max-width: 85%;
    height: 240px;
    position: relative;
    z-index: 2;
    padding: 27px;
    border-radius: 22px;
    background: linear-gradient(
        135deg,
        #132b42,
        #07111f
    );
    border: 1px solid #31506b;
    box-shadow: 0 35px 80px rgba(0,0,0,.45);
    transform: rotate(-5deg);
}

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

.card-top {
    color: #cbd5e1;
    font-weight: bold;
}

.chip {
    font-size: 30px;
}

.card-balance {
    margin-top: 55px;
}

.card-balance small {
    color: #94a3b8;
}

.card-balance strong {
    display: block;
    font-size: 28px;
    margin-top: 8px;
}

.card-bottom {
    position: absolute;
    left: 27px;
    right: 27px;
    bottom: 25px;
    color: #64748b;
    font-size: 11px;
}

.floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    border-radius: 13px;
    background: #0d1b2a;
    border: 1px solid #243b51;
    box-shadow: 0 15px 40px rgba(0,0,0,.35);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card small {
    color: #64748b;
    margin-top: 3px;
}

.floating-icon {
    font-size: 22px;
}

.card-pix {
    top: 60px;
    right: 10px;
}

.card-secure {
    bottom: 50px;
    left: 5px;
}

/* SECTIONS */

.features,
.security,
.about {
    padding: 100px 0;
}

.features {
    background: #091624;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-heading.left {
    text-align: left;
    margin-left: 0;
}

.section-heading span,
.about-content > span {
    color: #38bdf8;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-heading h2,
.about h2 {
    font-size: 40px;
    margin: 12px 0;
}

.section-heading p,
.about p {
    color: #94a3b8;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    padding: 28px;
    border-radius: 16px;
    background: #0d1b2a;
    border: 1px solid #1b3044;
    transition: .25s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #0ea5e9;
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-card p {
    color: #7f91a4;
    line-height: 1.6;
}

/* SECURITY */

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

.security-list > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 17px 0;
}

.security-list span {
    color: #22c55e;
    font-weight: bold;
}

.security-list p {
    margin: 0;
    color: #94a3b8;
}

.security-panel {
    padding: 50px 35px;
    text-align: center;
    background: #0d1b2a;
    border: 1px solid #1d354b;
    border-radius: 22px;
}

.security-circle {
    width: 85px;
    height: 85px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(14,165,233,.1);
    font-size: 35px;
}

.security-panel h3 {
    margin-top: 25px;
}

.security-panel p {
    color: #7f91a4;
    line-height: 1.6;
}

.status-line {
    margin-top: 25px;
    padding: 12px;
    border-radius: 10px;
    background: #081421;
    color: #94a3b8;
    font-size: 13px;
}

.status-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 6px;
}

/* ABOUT */

.about {
    text-align: center;
}

.about-content {
    max-width: 750px;
}

.about p {
    max-width: 650px;
    margin: 0 auto 30px;
}

/* FOOTER */

.site-footer {
    background: #050d16;
    border-top: 1px solid #172a3d;
    padding-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-content p {
    color: #64748b;
}

.footer-content > div:last-child {
    display: flex;
    gap: 20px;
}

.footer-bottom {
    margin-top: 35px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #172a3d;
    color: #526273;
    font-size: 12px;
}

/* MOBILE */

@media (max-width: 850px) {

    .nav-links {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        padding: 20px;
        background: #091624;
        flex-direction: column;
        border-bottom: 1px solid #1b3044;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .menu-button {
        display: block;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }

    .hero-card-wrapper {
        min-height: 380px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 550px) {

    .hero h1 {
        font-size: 46px;
    }

    .hero-info {
        gap: 18px;
    }

    .hero-info span {
        font-size: 10px;
    }

    .bank-card {
        height: 210px;
    }

    .card-pix {
        right: 0;
    }

    .card-secure {
        left: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .about h2 {
        font-size: 32px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-content > div:last-child {
        flex-direction: column;
    }

}