
:root{
    --nda-bg:#eef2f8;
    --nda-text:#0f1932;
    --nda-muted:#60718f;
    --nda-line:rgba(15,25,50,0.10);
    --nda-primary:#5a67ff;
    --nda-primary-dark:#17265c;
    --nda-card:#ffffff;
    --nda-shadow:0 28px 90px rgba(15,25,50,0.14);
    --nda-shadow-soft:0 18px 48px rgba(15,25,50,0.08);
    --nda-shell:1320px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:"Inter",sans-serif;
    color:var(--nda-text);
    background:
        radial-gradient(circle at 12% 10%, rgba(90,103,255,0.14), transparent 20%),
        radial-gradient(circle at 86% 8%, rgba(110,233,184,0.12), transparent 18%),
        linear-gradient(180deg, #f5f7fb 0%, #eef2f8 100%);
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,select{font:inherit}

.nda-checkout-page{
    min-height:100vh;
    padding:28px;
}
.nda-checkout-shell{
    width:min(100%, var(--nda-shell));
    margin:0 auto;
}
.nda-checkout-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-bottom:22px;
}
.nda-brand img{
    height:42px;
    width:auto;
}
.nda-header-link{
    display:inline-flex;
    align-items:center;
    min-height:46px;
    padding:0 18px;
    border-radius:999px;
    background:rgba(255,255,255,0.72);
    border:1px solid rgba(15,25,50,0.08);
    color:#31415f;
    font-weight:600;
    box-shadow:var(--nda-shadow-soft);
}

.nda-checkout-layout{
    display:grid;
    grid-template-columns:0.92fr 1.08fr;
    gap:26px;
    align-items:start;
}
.nda-summary-panel,
.nda-payment-panel{
    border-radius:34px;
    background:linear-gradient(145deg, rgba(255,255,255,0.84) 0%, rgba(255,255,255,0.68) 100%);
    border:1px solid rgba(255,255,255,0.7);
    box-shadow:var(--nda-shadow);
    backdrop-filter:blur(12px);
}
.nda-summary-panel{
    padding:34px;
    position:sticky;
    top:28px;
    overflow:hidden;
}
.nda-summary-panel::before{
    content:"";
    position:absolute;
    inset:auto auto -120px -120px;
    width:280px;
    height:280px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(90,103,255,0.16), rgba(90,103,255,0));
    pointer-events:none;
}
.nda-summary-top{
    position:relative;
    z-index:2;
}
.nda-eyebrow,
.nda-eyebrow-soft{
    display:inline-flex;
    align-items:center;
    padding:10px 14px;
    border-radius:999px;
    border:1px solid rgba(90,103,255,0.12);
    background:rgba(90,103,255,0.07);
    color:var(--nda-primary);
    font-size:13px;
    font-weight:800;
    letter-spacing:.02em;
}
.nda-eyebrow-soft{
    background:rgba(23,38,92,0.05);
    color:#2b3a68;
}
.nda-summary-top h1{
    margin:18px 0 16px;
    font-size:clamp(1.6rem, 4.6vw, 3.8rem);
    line-height:.95;
    letter-spacing:-0.05em;
    max-width:11ch;
}
.nda-summary-lead{
    margin:0;
    color:var(--nda-muted);
    font-size:1.08rem;
    line-height:1.72;
    max-width:52ch;
}

.nda-summary-visual{
    margin:28px 0 22px;
    border-radius:28px;
    overflow:hidden;
}
.nda-summary-visual img{
    width:100%;
    height:auto;
}

.nda-invoice-card{
    position:relative;
    z-index:2;
    padding:24px;
    border-radius:26px;
    background:rgba(255,255,255,0.86);
    border:1px solid rgba(255,255,255,0.7);
    box-shadow:var(--nda-shadow-soft);
}
.nda-invoice-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
}
.nda-label{
    display:block;
    color:var(--nda-muted);
    font-size:.88rem;
    margin-bottom:6px;
}
.nda-invoice-row strong{
    font-size:1.08rem;
}
.nda-price-tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 14px;
    border-radius:999px;
    background:#eef2ff;
    color:#2d3d71;
    font-weight:800;
}
.nda-product-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:18px;
    padding:18px;
    border-radius:20px;
    background:linear-gradient(180deg, rgba(90,103,255,0.06), rgba(255,255,255,0.6));
    border:1px solid rgba(15,25,50,0.06);
}
.nda-product-copy h2{
    margin:0 0 6px;
    font-size:1.08rem;
}
.nda-product-copy p{
    margin:0;
    color:var(--nda-muted);
    line-height:1.6;
}
.nda-product-price{
    font-size:1.25rem;
    font-weight:800;
}
.nda-summary-note{
    margin:18px 0 0;
    color:var(--nda-muted);
    line-height:1.72;
}
.nda-security-strip{
    display:grid;
    gap:10px;
    margin-top:18px;
}
.nda-security-item{
    padding:14px 16px;
    border-radius:18px;
    background:rgba(255,255,255,0.72);
    border:1px solid rgba(255,255,255,0.65);
    color:#344563;
    font-size:.96rem;
    box-shadow:var(--nda-shadow-soft);
}

.nda-payment-panel{
    padding:34px;
}
.nda-payment-head h2{
    margin:18px 0 10px;
    font-size:clamp(2rem, 4vw, 3rem);
    line-height:1.02;
    letter-spacing:-0.04em;
}
.nda-payment-head p{
    margin:0 0 24px;
    color:var(--nda-muted);
    font-size:1.04rem;
    line-height:1.72;
}
.nda-payment-form{
    margin:0;
}
.nda-form-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:18px;
}
.nda-form-group-full{
    grid-column:1 / -1;
}
.nda-form-group label{
    display:block;
    margin-bottom:8px;
    color:#334364;
    font-weight:600;
    font-size:.95rem;
}
.nda-input,
.nda-select{
    width:100%;
    min-height:58px;
    border:1px solid rgba(15,25,50,0.10);
    background:#f9fbff;
    color:var(--nda-text);
    border-radius:18px;
    padding:0 18px;
    outline:none;
    transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.nda-input:focus,
.nda-select:focus{
    border-color:rgba(90,103,255,0.38);
    box-shadow:0 0 0 4px rgba(90,103,255,0.10);
    background:#fff;
}
.nda-address-grid,
.nda-card-grid{
    display:grid;
    gap:12px;
}
.nda-address-row,
.nda-card-row{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:12px;
}
.nda-card-row{
    grid-template-columns:repeat(3, 1fr);
}
.nda-check{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:2px 0 0;
}
.nda-check input{
    margin-top:4px;
}
.nda-check span{
    color:var(--nda-muted);
    line-height:1.65;
}
.nda-check a{
    color:var(--nda-primary);
}
.nda-pay-btn{
    width:100%;
    border:0;
    min-height:64px;
    padding:0 24px;
    border-radius:999px;
    background:linear-gradient(135deg,#111d49 0%, #314aa6 100%);
    color:#fff;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 22px 40px rgba(17,29,73,0.22);
}
.nda-pay-btn-text{
    font-size:1rem;
    letter-spacing:.02em;
}

.nda-payment-footer{
    margin-top:24px;
    padding-top:22px;
    border-top:1px solid rgba(15,25,50,0.08);
}
.nda-encryption-note{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:var(--nda-muted);
    font-size:.95rem;
    line-height:1.6;
}
.nda-encryption-note svg{
    width:16px;
    height:16px;
    fill:#c3c9d7;
    flex:0 0 auto;
}
.nda-powered-by{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:18px;
    color:var(--nda-muted);
    font-size:.95rem;
}
.nda-powered-by img{
    height:30px;
    width:auto;
}
.nda-card-brands{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    margin-top:18px;
}
.nda-card-brands img{
    height:26px;
    width:auto;
}

@media (max-width: 1100px){
    .nda-checkout-layout{
        grid-template-columns:1fr;
    }
    .nda-summary-panel{
        position:relative;
        top:auto;
    }
}
@media (max-width: 720px){
    .nda-checkout-page{
        padding:16px;
    }
    .nda-checkout-header{
        flex-direction:column;
        align-items:flex-start;
    }
    .nda-summary-panel,
    .nda-payment-panel{
        padding:24px;
        border-radius:26px;
    }
    .nda-summary-top h1{
        max-width:none;
    }
    .nda-form-grid,
    .nda-address-row,
    .nda-card-row{
        grid-template-columns:1fr;
    }
}


.nda-payment-status,
.nda-payment-error{
    display:none;
    margin-top:16px;
    padding:14px 16px;
    border-radius:16px;
    font-size:.97rem;
    line-height:1.6;
}

.nda-payment-status{
    background:rgba(90,103,255,0.08);
    border:1px solid rgba(90,103,255,0.16);
    color:#33449a;
}

.nda-payment-error{
    background:rgba(255,97,97,0.08);
    border:1px solid rgba(255,97,97,0.18);
    color:#b22929;
}

.nda-payment-status.is-visible,
.nda-payment-error.is-visible{
    display:block;
}

.nda-pay-btn{
    position:relative;
    transition:opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nda-pay-btn:disabled{
    cursor:not-allowed;
    opacity:.88;
}

.nda-pay-btn.is-loading .nda-pay-btn-text{
    opacity:0;
}

.nda-pay-btn-spinner{
    position:absolute;
    left:50%;
    top:50%;
    width:22px;
    height:22px;
    margin-left:-11px;
    margin-top:-11px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,0.34);
    border-top-color:#ffffff;
    animation:ndaPaySpin .8s linear infinite;
    opacity:0;
    pointer-events:none;
}

.nda-pay-btn.is-loading .nda-pay-btn-spinner{
    opacity:1;
}

@keyframes ndaPaySpin{
    to{transform:rotate(360deg);}
}
