/* Fustat font family */
@font-face {
    font-family: 'Fustat';
    src: url('./assets/fonts/fustat/Fustat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fustat';
    src: url('./assets/fonts/fustat/Fustat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fustat';
    src: url('./assets/fonts/fustat/Fustat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fustat';
    src: url('./assets/fonts/fustat/Fustat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fustat';
    src: url('./assets/fonts/fustat/Fustat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fustat';
    src: url('./assets/fonts/fustat/Fustat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fustat';
    src: url('./assets/fonts/fustat/Fustat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* zbd.gg-inspired palette */
    --bg: #070316;
    --accent1: #7c3aed;
    --accent2: #ff2d95;
    --muted: #c7d4f2;
    --card: #081022;
    --text: #eaf2ff;
    --glow-strong: rgba(124, 58, 237, 0.22);
    --glow-soft: rgba(255, 45, 149, 0.12);
    --glass: rgba(255, 255, 255, 0.03);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: Fustat, Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial;
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 44px 44px 44px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text)
}

.logo-mark {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: white;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
}

.logo-text {
    font-weight: 800;
    letter-spacing: 0.4px;
    font-size: 24px;
}

nav {
    display: flex;
    gap: 18px;
    align-items: center
}

nav a {
    color: rgba(234, 242, 255, 0.92);
    text-decoration: none;
    font-weight: 700
}

/* New header styles (responsive, compact, CTA-ready) */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
}

.site-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: black;
}

.site-header .logo-mark img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: white;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
}

.site-header .logo-text {
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 0.2px;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-actions a {
    color: black;
}

.hamburger {
    display: none;
    background: transparent;
    border: 1px solid black;
    color: black;
    font-size: 18px;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
}

.hero-center {
    margin-top: 50px;
    border-radius: 18px;
    background: #ffff20;
    border: 1px solid #000;
    box-shadow: 1px 1px 1px #000;
    color: black;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.hero-left {
    padding: 40px;
    height: auto;
}

.eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 30px;
    background: white;
    color: black;
    font-weight: 800;
    font-size: 12px;
    border: 1px solid #000;
    box-shadow: 1px 1px 1px #000;
}

h1 {
    font-size: 64px;
    margin: 14px 0 12px;
    line-height: 1.02;
    background: linear-gradient(90deg, var(--accent1) 10%, var(--accent2) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: black;
    text-shadow: 0 10px 40px var(--glow-strong), 0 0 40px var(--glow-soft)
}

p.lead {
    color: black;
    margin: 0 0 22px;
    font-size: 20px
}

.actions {
    display: flex;
    gap: 14px;
    align-items: center
}

.btn {
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px
}

.btn-primary {
    background: white;
    color: black;
    box-shadow: 1px 1px 1px #000;
    border: 1px solid #000;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
    position: relative;
    overflow: visible
}

.btn-primary .icon {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35)
}

.btn-primary .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1
}

.btn-primary .label {
    font-size: 15px
}

.btn-primary .sub {
    font-size: 12px;
    opacity: 0.9;
    color: grey;
    margin-top: 2px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 80px var(--glow-strong), 0 0 80px var(--glow-soft)
}

.btn-primary:before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.08), rgba(255, 45, 149, 0.06));
    filter: blur(18px);
    opacity: 0;
    transition: opacity 220ms ease
}

.btn-primary:hover:before {
    opacity: 1
}

/* Disabled CTA styling */
.btn[aria-disabled="true"],
.btn.disabled {
    opacity: 0.46;
    pointer-events: none;
    filter: saturate(0.85) grayscale(0.05);
    transform: none !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text);
    background: transparent
}

.btn-beta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 15px;
    font-weight: 900;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid #000;
    background: white;
    color: black;
    box-shadow: 1px 1px 1px #000
}

.btn-beta .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-beta .label {
    font-size: 15px;
    font-weight: 900;
    color: black
}

.btn-beta .sub {
    font-size: 11px;
    opacity: 0.9;
    color: black;
    margin-top: 2px;
    font-weight: 700
}

.btn-beta .icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* beta badge removed from markup; styling kept intentionally minimal */

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

.hero-right img {
    width: 700px;
    height: 700px;
}

@media (max-width:700px) {
    .wrap {
        padding: 0px !important;
    }

    .site-header,
    .faq,
    footer {
        padding: 20px 20px !important;
    }

    .nav-links {
        display: none;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .eyebrow {
        display: none;
    }

    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        color: black;
    }

    .hamburger i {
        width: 25px;
        height: 25px;
    }

    .hamburger:focus,
    .hamburger:focus-visible,
    .hamburger:hover,
    .hamburger:active,
    .hamburger:focus-within,
    .hamburger[aria-expanded="true"],
    .hamburger:focus[aria-expanded="true"] {
        outline: none !important;
        border-color: black !important;
        background: none !important;
    }

    .hero-center {
        flex-direction: column-reverse;
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .hero-left {
        padding: 40px 0px 0px 0px !important;
    }

    .hero-right {
        border-bottom: 1px solid #000;
    }

    .hero-right img {
        margin-top: -100px;
        width: 300px;
        height: 300px;
    }

    .how-it-works {
        display: none;
    }

    .about-us,
    .contact-us,
    .faq {
        margin: 50px 0px !important;
    }

    .privacy-policy,
    .legal-terms {
        border-radius: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        box-shadow: none !important;
    }

}


@media (max-width:1800px) {
    .wrap {
        width: 100% !important;
    }

}

@keyframes floaty {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

.device-stack .float {
    animation: floaty 4s ease-in-out infinite;
}

/* How It Works: step cards */
.how-it-works {
    margin-top: 28px
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 14px
}

.how-step {
    padding: 18px;
    border-radius: 12px;
    background: white;
    border: 1px solid #000;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}

.step-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 900;
    background: #ffff20;
    color: #071022;
    border: 1px solid #000;
}

.step-body {
    flex: 1;
}

.step-title {
    font-size: 16px;
    margin: 0 0 6px;
    font-weight: 800
}

.step-desc {
    margin: 0;
    color: grey;
    font-size: 14px
}

.step-num {
    position: absolute;
    margin-left: -8px;
    margin-top: -8px;
    background: var(--accent1);
    color: #071022;
    padding: 6px 8px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.12)
}

/* FAQ styles */
.faq {
    margin-top: 28px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.faq-card {
    padding: 16px;
    border-radius: 12px;
    background: white;
    border: 1px solid #000;
    box-shadow: 1px 1px 1px #000;
    overflow: hidden;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    padding-right: 6px;
}

.faq-q .q-text {
    font-weight: 800;
    color: black;
}

.faq-q .chev {
    color: black;
    font-weight: 900;
    transition: transform 200ms ease;
}

.faq-a {
    margin-top: 10px;
    color: black;
    line-height: 1.4;
    font-size: 14px;
    max-height: 0;
    opacity: 0;
    transition: max-height 280ms ease, opacity 200ms ease, padding 200ms ease;
    overflow: hidden;
    padding-bottom: 0;
}

.faq-card.open .faq-a {
    max-height: 240px;
    opacity: 1;
    padding-bottom: 8px;
}

.faq-card.open .chev {
    transform: rotate(180deg);
    color: var(--accent2);
}

@media (max-width:980px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px
}

.card {
    padding: 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px)
}

.card h3 {
    margin: 0 0 8px;
    color: var(--text)
}

.card p {
    margin: 0;
    color: var(--muted)
}

footer {
    margin-top: 48px;
    padding: 22px 32px;
    border-radius: 12px;
    background: white;
    border: 1px solid #000;
    box-shadow: 1px 1px 1px #000;
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

footer .left {
    display: flex;
    align-items: center;
    gap: 16px;
}

footer .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: black;
}

footer .brand .logo-mark img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: white;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
}

footer .brand .title {
    font-weight: 800;
}

footer .brand .tag {
    font-size: 12px;
    color: black;
}

footer .links {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 8px
}

footer .links a {
    color: black;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px
}

footer .right {
    display: flex;
    gap: 12px;
    align-items: center
}

footer .social {
    display: flex;
    gap: 8px;
    align-items: center
}

footer .social a {
    color: black;
    text-decoration: none;
    padding: 6px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px
}

@media (max-width:700px) {

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        border-right: 0 !important;
        border-left: 0 !important;
        border-radius: 0 !important;
    }

    footer .right {
        width: 100%;
        justify-content: space-between
    }

    footer .links {
        margin-left: 0
    }
}


@media (max-width:980px) {

    .hero-center {
        order: 1
    }
}

/* Mobile-first adjustments for small screens */
@media (max-width:700px) {
    .features {
        grid-template-columns: 1fr
    }

    .site-header .logo-text {
        font-size: 20px;
    }

    .site-header .tag {
        font-size: 12px;
    }

    .faq-card {
        padding: 14px
    }

    /* Extra small screen footer stacking and touch target improvements */
    @media (max-width:480px) {
        footer {
            padding: 12px;
            align-items: start;
        }

        footer .left {
            flex-direction: column;
            align-items: start;
            gap: 8px;
            width: 100%;
        }

        footer .links {
            width: 100%;
            flex-direction: column;
            gap: 10px;
            align-items: start;
            margin-left: 0;
        }

        footer .links a {
            display: inline-block;
            padding: 10px 12px;
            width: auto;
            font-size: 15px;
        }

        footer .right {
            width: 100%;
            justify-content: start;
            margin-top: 8px;
        }

        footer .social {
            justify-content: start
        }
    }

    .device {
        width: 260px;
        height: 520px
    }

    /* Reduce hero spacing & scale headings */
    .wrap {
        padding: 0 20px 28px
    }

    .hero {
        gap: 18px
    }

    .hero-center {
        padding: 18px
    }

    h1 {
        font-size: 36px;
        line-height: 1.05
    }

    p.lead {
        font-size: 16px
    }

    /* Stack CTAs vertically on narrow screens */
    .actions {
        flex-direction: column;
        align-items: stretch
    }

    .btn,
    .btn-primary,
    .btn-beta {
        width: 100%;
        justify-content: center;
        padding: 12px 16px
    }


    /* Increase tap targets for FAQ */
    .faq-q {
        padding: 14px 0px
    }

    .faq-card {
        padding: 14px
    }

    /* Mobile nav: hide nav-links and enable hamburger to open a small menu */
    .nav-links {
        display: none;
    }

    .nav-links.mobile-open {
        display: flex;
        position: absolute;
        right: 0;
        top: 80px;
        flex-direction: column;
        gap: 8px;
        z-index: 1;
        align-items: flex-start;
        justify-content: flex-start;
        background: white;
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 0 !important;
        padding: 12px 18px;
        width: 100%;
        height: 100vh;
    }
    .nav-links.mobile-open .btn {
        color: black;
        font-size: 18px;
        width: 50%;
        margin: 0 auto;
    }
    .hamburger {
        display: block
    }

    /* hide the secondary phone preview on small screens to avoid large images */
    .phone-small {
        display: none
    }

    /* hide the secondary phone preview on small screens to avoid large images */

    /* Footer adjustments on small screens */
    footer {
        padding: 18px;
        gap: 10px
    }

    footer .left,
    footer .right {
        width: 100%;
    }

    footer .left {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    footer .links {
        width: 100%;
        flex-direction: column;
        gap: 8px
    }

    footer .links a {
        display: block;
        width: 100%;
        padding: 10px 12px;
        border-radius: 10px;
        background: transparent;
        color: black;
    }

    footer .brand .title {
        font-size: 16px
    }

    footer .brand .tag {
        font-size: 12px
    }

    footer .social {
        justify-content: flex-start
    }

    footer .social a {
        padding: 8px 10px;
        font-size: 13px
    }
}

.about-us,
.contact-us {
    padding: 22px;
    width: 100%;
    text-align: center;
}

.privacy-policy,
.legal-terms {
    margin-top: 28px;
    padding: 22px;
    border-radius: 12px;
    background: white;
    border: 1px solid #000;
    box-shadow: 1px 1px 1px #000;
    color: black;
}