:root{
    --black:#050505;
    --matte:#0b0b0d;
    --deep:#101012;
    --gold:#d4af37;
    --gold2:#fff1a8;
    --silver:#c7c7c7;
    --muted:#858585;
    --white:#ffffff;
    --green:#34d399;
    --red:#fb7185;
    --orange:#fb923c;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    min-height:100vh;
    font-family:'Inter',sans-serif;
    color:white;
    background:
        radial-gradient(circle at top left, rgba(212,175,55,.18), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.08), transparent 20%),
        linear-gradient(135deg,#050505,#0c0c0e 45%,#000);
    overflow-x:hidden;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size:48px 48px;
    pointer-events:none;
    opacity:.45;
    z-index:0;
}

.page-shell{
    position:relative;
    z-index:2;
    width:min(1280px,94%);
    margin:0 auto;
}

/* HEADER */
.merchant-header{
    height:92px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.brand{
    display:flex;
    align-items:center;
    gap:13px;
}

.brand img{
    width:54px;
    height:54px;
    object-fit:contain;
    filter:drop-shadow(0 0 18px rgba(212,175,55,.35));
}

.brand h1{
    font-size:21px;
    line-height:1;
    letter-spacing:-.5px;
}

.brand span{
    color:var(--gold);
    font-size:12px;
}

.nav-links{
    display:flex;
    gap:28px;
}

.nav-links a{
    color:var(--silver);
    text-decoration:none;
    font-size:14px;
    transition:.25s;
}

.nav-links a:hover{
    color:var(--gold);
}

.auth-actions{
    display:flex;
    gap:12px;
}

.auth-actions button,
.hero-buttons button,
.final-cta button{
    border:none;
    cursor:pointer;
    font-family:inherit;
}

.login-btn{
    color:var(--silver);
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.10) !important;
    padding:12px 20px;
    border-radius:15px;
}

.register-btn,
.primary-cta,
.final-cta button{
    color:#050505;
    font-weight:800;
    background:linear-gradient(135deg,var(--gold),var(--gold2),#b88a1e);
    padding:12px 20px;
    border-radius:15px;
    box-shadow:0 18px 35px rgba(212,175,55,.22);
}

.system-alert{
    margin:10px 0 18px;
    padding:15px 18px;
    border-radius:16px;
    font-size:14px;
}

.success-alert{
    color:#bbf7d0;
    background:rgba(52,211,153,.13);
    border:1px solid rgba(52,211,153,.28);
}

.error-alert{
    color:#fecdd3;
    background:rgba(251,113,133,.13);
    border:1px solid rgba(251,113,133,.28);
}

.warning-alert{
    color:#fde68a;
    background:rgba(250,204,21,.13);
    border:1px solid rgba(250,204,21,.28);
}

/* HERO */
.hero-section{
    min-height:calc(100vh - 110px);
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:40px;
    align-items:center;
    padding:40px 0 80px;
}

.premium-pill{
    width:max-content;
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 14px;
    border-radius:999px;
    color:var(--gold);
    background:rgba(212,175,55,.09);
    border:1px solid rgba(212,175,55,.22);
    font-size:13px;
    margin-bottom:22px;
}

.premium-pill span{
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--green);
    box-shadow:0 0 18px var(--green);
}

.hero-copy h2{
    font-size:clamp(44px,6vw,78px);
    line-height:.98;
    letter-spacing:-3px;
    max-width:780px;
}

.hero-copy h2 span{
    display:block;
    color:transparent;
    background:linear-gradient(120deg,var(--gold),var(--gold2),var(--gold));
    background-size:200%;
    -webkit-background-clip:text;
    background-clip:text;
    animation:goldShine 4s linear infinite;
}

@keyframes goldShine{
    from{background-position:-200%;}
    to{background-position:200%;}
}

.hero-copy p{
    color:var(--silver);
    max-width:650px;
    line-height:1.8;
    margin-top:24px;
    font-size:16px;
}

.hero-buttons{
    display:flex;
    gap:14px;
    margin-top:32px;
}

.primary-cta,
.secondary-cta{
    height:56px;
    padding:0 25px;
    border-radius:18px;
}

.secondary-cta{
    background:rgba(255,255,255,.055);
    color:white;
    border:1px solid rgba(255,255,255,.12) !important;
}

.hero-trust{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    margin-top:34px;
    max-width:620px;
}

.hero-trust div{
    padding:18px;
    border-radius:22px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 20px 60px rgba(0,0,0,.32);
}

.hero-trust strong{
    display:block;
    color:var(--gold);
    margin-bottom:6px;
}

.hero-trust span{
    color:var(--muted);
    font-size:13px;
}

/* HERO VISUAL */
.hero-visual{
    position:relative;
    min-height:560px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.visual-glow{
    position:absolute;
    width:430px;
    height:430px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(212,175,55,.23), transparent 65%);
    filter:blur(20px);
    animation:pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow{
    0%,100%{transform:scale(.92);opacity:.65;}
    50%{transform:scale(1.08);opacity:1;}
}

.hero-image-wrap{
    position:relative;
    width:min(500px,100%);
    height:430px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-image-wrap img{
    width:100%;
    height:100%;
    object-fit:contain;
    position:relative;
    z-index:3;
    filter:
        drop-shadow(0 35px 80px rgba(0,0,0,.95))
        drop-shadow(0 0 35px rgba(212,175,55,.30));
    animation:floatHero 5s ease-in-out infinite;
}

@keyframes floatHero{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-16px);}
}

.route-line{
    position:absolute;
    width:120%;
    height:5px;
    left:-10%;
    top:50%;
    border-radius:30px;
    background:linear-gradient(90deg,transparent,var(--gold),var(--gold2),var(--gold),transparent);
    box-shadow:0 0 25px rgba(212,175,55,.9);
    z-index:2;
    animation:routeMove 2.8s ease-in-out infinite;
}

@keyframes routeMove{
    0%,100%{transform:translateX(0) scaleX(.92);opacity:.7;}
    50%{transform:translateX(22px) scaleX(1);opacity:1;}
}

.hero-card{
    position:absolute;
    z-index:5;
    width:230px;
    padding:18px;
    border-radius:24px;
    background:rgba(255,255,255,.075);
    backdrop-filter:blur(22px);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 28px 80px rgba(0,0,0,.55);
}

.hero-card-one{
    top:60px;
    left:0;
}

.hero-card-two{
    bottom:70px;
    right:5px;
}

.hero-card span{
    color:var(--silver);
    font-size:12px;
}

.hero-card strong{
    display:block;
    color:var(--gold);
    font-size:28px;
    margin:7px 0;
}

.hero-card small{
    color:var(--muted);
}

/* METRICS */
.progress-section{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    margin-bottom:80px;
}

.metric-card,
.benefit-card,
.step-card{
    padding:26px;
    border-radius:28px;
    background:
        linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.03));
    border:1px solid rgba(255,255,255,.08);
    box-shadow:
        0 28px 80px rgba(0,0,0,.42),
        inset 0 0 20px rgba(255,255,255,.025);
}

.metric-card span{
    color:var(--silver);
    font-size:13px;
}

.metric-card strong{
    display:block;
    font-size:36px;
    color:var(--gold);
    margin:8px 0;
}

.metric-card small{
    color:var(--muted);
}

/* SECTIONS */
.benefits-section,
.steps-section{
    margin-bottom:90px;
}

.section-heading{
    text-align:center;
    max-width:720px;
    margin:0 auto 34px;
}

.section-heading span{
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:5px;
    font-size:12px;
}

.section-heading h3{
    margin-top:13px;
    font-size:clamp(30px,4vw,48px);
    letter-spacing:-1.5px;
    line-height:1.1;
}

.benefits-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.benefit-card div{
    width:52px;
    height:52px;
    border-radius:18px;
    background:linear-gradient(135deg,var(--gold),var(--gold2));
    color:#050505;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    margin-bottom:18px;
}

.benefit-card h4,
.step-card h4{
    font-size:19px;
    margin-bottom:10px;
}

.benefit-card p,
.step-card p{
    color:var(--silver);
    line-height:1.7;
    font-size:14px;
}

.steps-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.step-card b{
    display:block;
    color:var(--gold);
    font-size:34px;
    margin-bottom:20px;
}

/* FINAL CTA */
.final-cta{
    text-align:center;
    padding:55px 24px;
    border-radius:36px;
    background:
        radial-gradient(circle at center, rgba(212,175,55,.18), transparent 40%),
        rgba(255,255,255,.055);
    border:1px solid rgba(212,175,55,.18);
    box-shadow:0 40px 120px rgba(0,0,0,.5);
    margin-bottom:70px;
}

.final-cta h3{
    font-size:clamp(30px,4vw,46px);
    margin-bottom:12px;
}

.final-cta p{
    color:var(--silver);
    margin-bottom:28px;
}

/* MODALS */
.modal-overlay{
    position:fixed;
    inset:0;
    display:none;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,.74);
    backdrop-filter:blur(18px);
    z-index:9999;
    padding:20px;
}

.modal-overlay.show{
    display:flex;
}

.auth-modal{
    width:min(460px,96vw);
    border-radius:32px;
    padding:32px;
    background:
        radial-gradient(circle at top left, rgba(212,175,55,.16), transparent 35%),
        linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
    border:1px solid rgba(255,255,255,.12);
    box-shadow:
        0 45px 140px rgba(0,0,0,.95),
        0 0 70px rgba(212,175,55,.14);
    position:relative;
    animation:modalIn .35s ease;
}

@keyframes modalIn{
    from{opacity:0;transform:translateY(24px) scale(.96);}
    to{opacity:1;transform:translateY(0) scale(1);}
}

.modal-close{
    position:absolute;
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.1);
    background:rgba(255,255,255,.06);
    color:white;
    font-size:24px;
    cursor:pointer;
}

.modal-header{
    text-align:center;
    margin-bottom:24px;
}

.modal-header img{
    width:76px;
    height:76px;
    object-fit:contain;
    filter:drop-shadow(0 0 20px rgba(212,175,55,.35));
    margin-bottom:14px;
}

.modal-header h3{
    font-size:26px;
    color:var(--gold);
    margin-bottom:8px;
}

.modal-header p{
    color:var(--silver);
    font-size:14px;
    line-height:1.6;
}

.input-group{
    margin-bottom:16px;
}

.input-group label{
    display:block;
    color:var(--silver);
    font-size:13px;
    margin-bottom:8px;
}

.input-group input{
    width:100%;
    height:54px;
    border:none;
    outline:none;
    color:white;
    padding:0 16px;
    border-radius:16px;
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.10);
    transition:.25s ease;
}

.input-group input:focus{
    border-color:rgba(212,175,55,.78);
    box-shadow:0 0 20px rgba(212,175,55,.17);
}

.auth-submit{
    width:100%;
    height:56px;
    border:none;
    border-radius:18px;
    cursor:pointer;
    color:#050505;
    font-weight:900;
    background:linear-gradient(135deg,var(--gold),var(--gold2),#b88a1e);
    box-shadow:0 18px 35px rgba(212,175,55,.28);
    margin-top:6px;
}

.switch-auth{
    margin-top:18px;
    text-align:center;
    color:var(--silver);
    font-size:14px;
}

.switch-auth button{
    border:none;
    background:transparent;
    color:var(--gold);
    font-weight:800;
    cursor:pointer;
}

/* RESPONSIVE */
@media(max-width:1050px){
    .hero-section{
        grid-template-columns:1fr;
        text-align:center;
    }

    .premium-pill,
    .hero-buttons{
        margin-left:auto;
        margin-right:auto;
    }

    .hero-copy p{
        margin-left:auto;
        margin-right:auto;
    }

    .progress-section,
    .benefits-grid,
    .steps-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:720px){
    .merchant-header{
        height:auto;
        padding:20px 0;
        align-items:flex-start;
    }

    .nav-links{
        display:none;
    }

    .auth-actions{
        flex-direction:column;
    }

    .login-btn,
    .register-btn{
        padding:10px 14px;
    }

    .hero-section{
        padding-top:30px;
    }

    .hero-copy h2{
        font-size:44px;
        letter-spacing:-2px;
    }

    .hero-trust,
    .progress-section,
    .benefits-grid,
    .steps-grid{
        grid-template-columns:1fr;
    }

    .hero-visual{
        min-height:420px;
    }

    .hero-image-wrap{
        height:330px;
    }

    .hero-card{
        position:relative;
        width:100%;
        margin:12px 0;
        top:auto;
        left:auto;
        right:auto;
        bottom:auto;
    }
}