* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #07080d;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    align-items: center;
    background: #111219;
    border: 1px solid #282a34;
    border-radius: 35px;
    display: flex;
    height: 70px;
    justify-content: space-between;
    left: 50%;
    padding: 0 25px 0 30px;
    position: fixed;
    top: 12px;
    transform: translateX(-50%);
    width: 78%;
    z-index: 10;
}

.logo {
    align-items: center;
    display: flex;
    font-size: 22px;
    font-weight: bold;
    gap: 12px;
}

.logo span:first-child {
    align-items: center;
    background: linear-gradient(135deg, #934dff, #ff5cc8);
    border-radius: 50%;
    display: flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.menu {
    display: flex;
    gap: 45px;
}

.menu a,
.header-buttons a:first-child {
    color: #9495a3;
    font-size: 17px;
}

.header-buttons {
    align-items: center;
    display: flex;
    gap: 24px;
}

.btn-white {
    align-items: center;
    background: #ffffff;
    border-radius: 25px;
    color: #111111;
    display: flex;
    font-weight: bold;
    gap: 13px;
    padding: 11px 18px;
}

.hero-buttons {
    align-items: center;
    display: flex;
    gap: 24px;
    margin-top: 28px;
}

.hero-buttons a:last-child {
    color: #ffffff;
    font-weight: bold;
}

.home {
    align-items: center;
    display: flex;
    gap: 80px;
    justify-content: space-between;
    margin: 0 auto;
    min-height: 835px;
    overflow: hidden;
    padding-top: 80px;
    width: 75%;
}

.left {
    width: 50%;
}

.badge {
    align-items: center;
    border: 1px solid #292b35;
    border-radius: 20px;
    display: inline-flex;
    font-size: 15px;
    font-weight: bold;
    gap: 10px;
    margin-bottom: 35px;
    padding: 8px 16px;
}

.badge span {
    background: #35c99c;
    border-radius: 50%;
    height: 8px;
    width: 8px;
}

.left h1 {
    font-size: 88px;
    line-height: 0.98;
    margin: 0;
}

.left h1 span {
    background: linear-gradient(90deg, #9d4dff, #ec5bcf, #ff5f7b);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

.left p {
    color: #b5b7c8;
    font-size: 23px;
    line-height: 1.5;
    margin-top: 35px;
    width: 610px;
}

.right {
    height: 650px;
    position: relative;
    width: 48%;
}

.small-card {
    background: linear-gradient(135deg, #35dfb4, #24c9dc);
    border-radius: 42px;
    color: #081016;
    left: 0;
    padding: 22px;
    position: absolute;
    top: 250px;
    width: 280px;
    z-index: 2;
}

.small-card p {
    color: #1f5860;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}

.small-card h2 {
    font-size: 32px;
    margin: 8px 0 14px;
}

.small-card span {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-top: 10px;
}

.bar {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    height: 7px;
}

.bar div {
    background: #020305;
    border-radius: 20px;
    height: 7px;
    width: 58%;
}

.phone {
    background: #07080d;
    border: 2px solid #1b1d28;
    border-radius: 60px 60px 0 0;
    bottom: 0;
    padding: 14px 14px 0;
    position: absolute;
    right: 0;
    width: 430px;
}

.notch {
    background: #000000;
    border-radius: 0 0 18px 18px;
    height: 30px;
    left: 145px;
    position: absolute;
    top: 10px;
    width: 140px;
    z-index: 2;
}

.phone-content {
    background: linear-gradient(145deg, #2b1b51, #15111c, #241124);
    border-radius: 45px 45px 0 0;
    min-height: 600px;
    padding: 52px 20px 25px;
}

.hello {
    color: #9f9cab;
    font-weight: bold;
    margin: 0;
}

.phone-content h2 {
    font-size: 24px;
    margin: 2px 0 25px;
}

.balance {
    background: linear-gradient(135deg, #9c4dff, #db52d9, #ff6571);
    border-radius: 42px;
    height: 215px;
    padding: 28px;
}

.balance p {
    color: #f1c8ff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.balance h3 {
    font-size: 48px;
    margin: 18px 0 5px;
}

.balance span {
    color: #f7cdfa;
    font-weight: bold;
}

.line {
    border-bottom: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    height: 42px;
    margin-top: 25px;
}

.actions {
    display: flex;
    gap: 11px;
    margin-top: 16px;
}

.actions button {
    background: rgba(255, 255, 255, 0.07);
    border: 0;
    border-radius: 23px;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    height: 56px;
    width: 80px;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.item {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    display: flex;
    gap: 12px;
    height: 56px;
    padding: 0 12px;
}

.item span {
    background: #30313a;
    border-radius: 50%;
    height: 36px;
    width: 36px;
}

.item span.green {
    background: #104d3f;
}

.item p {
    flex: 1;
    font-size: 14px;
    font-weight: bold;
}

.item strong {
    font-size: 14px;
}

.features {
    margin: 40px auto 0;
    text-align: center;
    width: 65%;
}

.section-label {
    color: #6e7080;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.features h2,
.faq h2 {
    font-size: 32px;
    line-height: 1.05;
    margin: 0 0 30px;
}

.features h2 span {
    color: #777989;
}

.feature-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    background: #13141d;
    border: 1px solid #292b36;
    border-radius: 16px;
    padding: 18px;
    text-align: left;
}

.feature-card span {
    align-items: center;
    background: #6624b8;
    border-radius: 50%;
    display: flex;
    height: 28px;
    justify-content: center;
    margin-bottom: 18px;
    width: 28px;
}

.feature-card h3 {
    font-size: 16px;
    margin: 0 0 8px;
}

.feature-card p {
    color: #8f91a0;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.quote {
    background: linear-gradient(145deg, #8d35ff, #38177c 55%, #db50c7);
    border-radius: 24px;
    margin: 110px auto;
    padding: 54px 58px;
    width: 62%;
}

.quote p {
    color: #d9c7ff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.quote h2 {
    font-size: 32px;
    line-height: 1.1;
    margin: 0;
}

.faq {
    margin: 0 auto;
    text-align: center;
    width: 46%;
}

.faq details {
    background: #11121a;
    border: 1px solid #282a34;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 15px 18px;
    text-align: left;
}

.faq summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.faq details p {
    color: #9a9cab;
    font-size: 13px;
    line-height: 1.5;
    margin: 12px 0 0;
}

.cta {
    margin: 120px auto 70px;
    text-align: center;
    width: 50%;
}

.cta h2 {
    font-size: 48px;
    line-height: 0.95;
    margin: 0 0 18px;
}

.cta p {
    color: #8f91a0;
    font-size: 14px;
    margin: 0 auto 24px;
    width: 360px;
}

.cta .btn-white {
    display: inline-flex;
}

.footer {
    align-items: center;
    border-top: 1px solid #282a34;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 28px 0;
    width: 75%;
}

.footer .logo {
    font-size: 14px;
}

.footer .logo span:first-child {
    height: 22px;
    width: 22px;
}

.footer p,
.footer a {
    color: #777989;
    font-size: 12px;
}

.footer div {
    display: flex;
    gap: 18px;
}

@media (max-width: 1000px) {
    .header,
    .home {
        width: 92%;
    }

    .menu {
        display: none;
    }

    .home {
        display: block;
        padding-top: 140px;
    }

    .left {
        width: 100%;
    }

    .left h1 {
        font-size: 60px;
    }

    .left p {
        font-size: 18px;
        width: 100%;
    }

    .right {
        margin-top: 40px;
        width: 100%;
    }

    .features,
    .quote,
    .faq,
    .cta,
    .footer {
        width: 92%;
    }

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

    .quote {
        margin: 70px auto;
        padding: 35px;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .header-buttons a:first-child,
    .logo span:last-child {
        display: none;
    }

    .phone {
        width: 350px;
    }

    .notch {
        left: 105px;
    }

    .actions button {
        width: 68px;
    }

    .hero-buttons {
        align-items: flex-start;
        flex-direction: column;
    }

    .quote h2,
    .features h2 {
        font-size: 26px;
    }

    .cta h2 {
        font-size: 38px;
    }

    .cta p {
        width: 100%;
    }
}


.legal-page {
    max-width: 980px;
    margin: 40px auto 80px;
    padding: 0 24px;
}

.legal-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
    padding: 38px;
    color: #172033;
}

.legal-card h1 {
    color: #111827;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 0.95;
    margin-bottom: 18px;
}

.legal-card h2 {
    color: #111827;
    margin-top: 30px;
    margin-bottom: 10px;
}

.legal-card p,
.legal-card li {
    color: #475569;
    line-height: 1.75;
}

.legal-card ul {
    padding-left: 22px;
}

.legal-card a {
    color: #6d5dfc;
    font-weight: 700;
}


/* Logo text-only cleanup */
.logo { gap: 0; }
.logo > span:first-child:last-child { width: auto; height: auto; border-radius: 0; background: transparent; color: inherit; }

/* Hero phone polish: full device, neon glow, no clipping. */
.home {
    overflow: visible;
}

.right {
    min-height: 720px;
    isolation: isolate;
}

.right::before {
    background:
        radial-gradient(circle at 68% 42%, rgba(191, 113, 245, 0.34), transparent 34%),
        radial-gradient(circle at 78% 58%, rgba(53, 223, 180, 0.22), transparent 38%);
    content: "";
    filter: blur(10px);
    inset: 12px -46px 32px 8px;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.phone {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 58px;
    bottom: 34px;
    box-shadow:
        0 0 0 1px rgba(191, 113, 245, 0.18),
        0 0 32px rgba(191, 113, 245, 0.35),
        0 0 72px rgba(53, 223, 180, 0.22),
        0 32px 80px rgba(0, 0, 0, 0.5);
    max-width: min(430px, 100%);
    padding: 14px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    z-index: 1;
}

.phone::before,
.phone::after {
    border-radius: inherit;
    content: "";
    inset: -2px;
    pointer-events: none;
    position: absolute;
}

.phone::before {
    background: linear-gradient(145deg, rgba(191, 113, 245, 0.8), rgba(53, 223, 180, 0.35), rgba(255, 101, 113, 0.5));
    filter: blur(16px);
    opacity: 0.55;
    z-index: -2;
}

.phone::after {
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.05);
    z-index: 3;
}

.phone-content {
    border-radius: 44px;
    min-height: 560px;
    overflow: hidden;
    position: relative;
}

.phone-content::before {
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 34%);
    content: "";
    height: 180px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}

.phone.is-floating {
    transition: filter 180ms ease;
}

.phone.is-floating:hover {
    filter: brightness(1.06) saturate(1.08);
}

@media (max-width: 1000px) {
    .right {
        min-height: 700px;
        overflow: visible;
    }

    .phone {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .right {
        min-height: 610px;
    }

    .phone {
        bottom: 18px;
        width: min(350px, 100%);
    }

    .phone-content {
        min-height: 520px;
    }
}

/* Mobile landing cleanup: keep the pre-login page readable. */
@media (max-width: 1000px) {
    body {
        overflow-x: hidden;
    }

    .home {
        min-height: auto;
    }

    .right {
        min-height: 560px;
    }

    .phone {
        width: min(340px, 86vw);
    }

    .small-card {
        top: 310px;
        width: min(260px, 72vw);
    }
}

@media (max-width: 700px) {
    .header {
        border-radius: 26px;
        height: 60px;
        padding: 0 10px 0 16px;
        top: 10px;
        width: calc(100% - 24px);
    }

    .logo span:last-child,
    .logo > span:first-child:last-child {
        display: inline-flex;
    }

    .logo {
        font-size: 18px;
    }

    .header-buttons {
        gap: 10px;
    }

    .header-buttons a:first-child {
        display: none;
    }

    .header .btn-white {
        border-radius: 999px;
        font-size: 14px;
        min-height: 42px;
        padding: 0 15px;
    }

    .home {
        padding-top: 104px;
        width: calc(100% - 32px);
    }

    .badge {
        align-items: flex-start;
        border-radius: 999px;
        font-size: 13px;
        line-height: 1.35;
        margin-bottom: 22px;
    }

    .left h1 {
        font-size: clamp(44px, 13vw, 62px);
        letter-spacing: -0.06em;
        line-height: 0.96;
    }

    .left p {
        font-size: 17px;
        line-height: 1.55;
        margin-top: 24px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .hero-buttons .btn-white,
    .hero-buttons a:last-child {
        justify-content: center;
        min-height: 48px;
        width: 100%;
    }

    .right {
        display: none;
    }

    .features {
        margin-top: 54px;
    }

    .quote,
    .cta {
        margin-block: 68px;
    }

    .quote {
        padding: 28px;
    }

    .footer div {
        flex-wrap: wrap;
    }
}
