/* ============================================
   LanaLand Tahator - Frontend Styles
   ============================================ */
.llt-wrap {
    --llt-primary: #1abc9c;
    --llt-primary-dark: #16a085;
    --llt-accent: #f39c12;
    --llt-dark: #2c3e50;
    --llt-gray: #7f8c8d;
    --llt-light: #ecf0f1;
    --llt-bg: #f8fafb;
    --llt-radius: 14px;
    font-family: Vazirmatn, IRANSans, Tahoma, sans-serif;
    color: var(--llt-dark);
    max-width: 920px;
    margin: 0 auto;
    line-height: 1.9;
}
.llt-wrap *,
.llt-wrap *::before,
.llt-wrap *::after { box-sizing: border-box; }

/* ====== مراحل ====== */
.llt-steps {
    background: linear-gradient(135deg, #ffffff 0%, #f0fbf9 100%);
    border-radius: var(--llt-radius);
    padding: 32px 24px;
    margin-bottom: 28px;
    box-shadow: 0 8px 30px rgba(26, 188, 156, 0.08);
    border: 1px solid #e6f4f1;
}
.llt-steps-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 28px;
    color: var(--llt-dark);
}
.llt-steps-title span { color: var(--llt-primary); }
.llt-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.llt-step {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 22px 16px 18px;
    text-align: center;
    border: 1px solid #eef3f2;
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}
.llt-step::before {
    content: "";
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--llt-primary), var(--llt-accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s ease;
}
.llt-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(26, 188, 156, 0.15);
}
.llt-step:hover::before { transform: scaleX(1); }
.llt-step-num {
    position: absolute;
    top: 12px;
    left: 14px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background: var(--llt-accent);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
}
.llt-step-icon {
    width: 76px;
    height: 76px;
    margin: 6px auto 14px;
}
.llt-step-icon svg { width: 100%; height: 100%; }
.llt-step p {
    margin: 0;
    font-size: 14px;
    color: var(--llt-gray);
    font-weight: 600;
    line-height: 1.8;
}

/* ====== فرم ====== */
.llt-form-card {
    background: #fff;
    border-radius: var(--llt-radius);
    padding: 32px 28px;
    box-shadow: 0 8px 30px rgba(44, 62, 80, 0.07);
    border: 1px solid #eef3f2;
}
.llt-form-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--llt-light);
    position: relative;
}
.llt-form-title::after {
    content: "";
    position: absolute;
    bottom: -2px; right: 0;
    width: 60px; height: 2px;
    background: var(--llt-primary);
}
.llt-field { margin-bottom: 18px; }
.llt-field label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--llt-dark);
}
.llt-field label .req { color: #e74c3c; }
.llt-field input[type="text"],
.llt-field input[type="tel"],
.llt-field select,
.llt-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #dfe6e9;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fbfdfd;
    transition: border-color .2s, box-shadow .2s;
    color: var(--llt-dark);
}
.llt-field input:focus,
.llt-field select:focus,
.llt-field textarea:focus {
    outline: none;
    border-color: var(--llt-primary);
    box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.12);
    background: #fff;
}
.llt-field textarea { resize: vertical; }
.llt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.llt-err {
    display: block;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    min-height: 14px;
}
.llt-field.has-error input,
.llt-field.has-error select { border-color: #e74c3c; }

/* فایل */
.llt-file-box {
    position: relative;
    border: 1.5px dashed #bdc3c7;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    background: #fbfdfd;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.llt-file-box:hover { border-color: var(--llt-primary); background: #f0fbf9; }
.llt-file-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.llt-file-label { color: var(--llt-gray); font-size: 14px; font-weight: 600; }
.llt-file-box.has-file { border-color: var(--llt-primary); background: #eafaf6; }
.llt-file-box.has-file .llt-file-label { color: var(--llt-primary-dark); }

/* دکمه */
.llt-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--llt-primary), var(--llt-primary-dark));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: transform .15s, box-shadow .25s, opacity .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.llt-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26, 188, 156, 0.3); }
.llt-submit:active { transform: translateY(0); }
.llt-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.llt-spinner {
    width: 18px; height: 18px;
    border: 2.5px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: llt-spin .7s linear infinite;
}
@keyframes llt-spin { to { transform: rotate(360deg); } }

/* پیام‌ها */
.llt-alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 14px;
}
.llt-alert-success { background: #eafaf6; color: var(--llt-primary-dark); border: 1px solid #b2e6d8; }
.llt-alert-error { background: #fdeded; color: #c0392b; border: 1px solid #f5c6c6; }

/* نتیجه */
.llt-result {
    text-align: center;
    padding: 20px 10px;
    animation: llt-fade .4s ease;
}
@keyframes llt-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.llt-result-icon {
    width: 70px; height: 70px;
    line-height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--llt-primary);
    color: #fff;
    font-size: 36px;
    font-weight: 800;
}
.llt-result h3 { font-size: 20px; margin: 0 0 8px; }
.llt-tracking {
    display: inline-block;
    background: var(--llt-dark);
    color: #fff;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 8px 0;
    direction: ltr;
}
.llt-result-hint { color: var(--llt-gray); font-size: 13px; }
.llt-result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 22px 0 16px;
}
.llt-btn-preview, .llt-btn-pdf {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: transform .15s, box-shadow .2s;
}
.llt-btn-preview { background: var(--llt-light); color: var(--llt-dark); }
.llt-btn-pdf { background: var(--llt-accent); color: #fff; }
.llt-btn-preview:hover, .llt-btn-pdf:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.llt-new-request {
    background: none;
    border: none;
    color: var(--llt-primary);
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    text-decoration: underline;
}

/* واکنش‌گرا */
@media (max-width: 768px) {
    .llt-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .llt-steps-grid { grid-template-columns: 1fr; }
    .llt-row { grid-template-columns: 1fr; }
    .llt-form-card, .llt-steps { padding: 20px 16px; }
}
