/* public/css/landing.css */

* { box-sizing: border-box; }

body {
    font-family: system-ui, sans-serif;
    margin: 0;
    background: #fdf9ee;
    color: #1a1a2e;
}

.page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    /*padding: 40px 20px;*/
}

.card {
    background: #fff;
    width: 100%;
    max-width: 480px;
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    height: fit-content;
}

.title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1e2a5e;
}

.description {
    font-size: .92rem;
    color: #555;
    line-height: 1.5;
    margin: 0 0 16px;
}

.product-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 16px;
    display: block;
}

.amount-box {
    border: 2px dashed #e8a33d;
    background: #fdf3df;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    margin-bottom: 22px;
}

.amount-label {
    display: block;
    font-size: .85rem;
    color: #8a6d3b;
    margin-bottom: 4px;
}

.amount-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #d98324;
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: #1e2a5e;
    margin-bottom: 6px;
}

.required { color: #d94040; }

.form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    font-size: .92rem;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #e8a33d;
}

.pay-btn {
    width: 100%;
    background: #1e2a5e;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.pay-btn:hover { background: #16204a; }
.pay-btn:disabled { opacity: .6; cursor: not-allowed; }

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: .85rem;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-error ul { margin: 0; padding-left: 18px; }

/* Result pages */
.result-card {
    text-align: center;
}

.result-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
}

.success-icon { background: #ecfdf5; color: #047857; }
.failed-icon { background: #fef2f2; color: #b91c1c; }

.result-meta {
    font-size: .8rem;
    color: #9ca3af;
    margin-top: 12px;
}

.section-title{
    font-weight:700;
    color:#0c2c63;
    margin-bottom:20px;
}

.language-card{
    position:relative;
    display:flex;
    align-items:center;
    width:100%;
    background:#fffdf7;
    border:1px solid #e6c98a;
    border-radius:18px;
    padding:18px 20px 18px 60px;
    margin-bottom:15px;
    cursor:pointer;
    transition:.3s;
    box-shadow:0 8px 18px rgba(0,0,0,.05);
}

.language-card:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(0,0,0,.08);
}

.language-card input{
    display:none;
}

.checkmark{
    position:absolute;
    left:22px;
    width:24px;
    height:24px;
    border-radius:50%;
    border:2px solid #d6b06b;
    background:#fff;
    transition:.3s;
}

.language-card input:checked + .checkmark{
    border-color:#0c2c63;
    background:#0c2c63;
}

.language-card input:checked + .checkmark::after{
    content:"";
    position:absolute;
    width:10px;
    height:10px;
    border-radius:50%;
    background:#fff;
    left:5px;
    top:5px;
}

.language-card input:checked ~ .language-content h5{
    color:#0c2c63;
}

.language-content{
    width:100%;
}

.language-content h5{
    margin:0;
    font-size:20px;
    font-weight:600;
    color:#222;
}

.language-content strong{
    color:#000;
    font-weight:700;
}

.language-card input:checked ~ .language-content{
    position:relative;
}

.language-card input:checked ~ .language-content::after{
    content:"✓";
    position:absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
    width:34px;
    height:34px;
    line-height:34px;
    text-align:center;
    border-radius:50%;
    background:#0c2c63;
    color:#fff;
    font-weight:bold;
}