@font-face {
    font-family: "Yekan";
    src: url("../font/Far_Yekan.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Yekan", sans-serif;
}

body {
    background: radial-gradient(circle at top, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    min-height: 100vh;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.subtitle {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn {
    display: block;
    padding: 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.btn.primary {
    background: #f5c16c;
    color: #1a1a1a;
}

.btn.primary:hover {
    background: #ffd68a;
}

.btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
    .card {
        padding: 3rem;
    }
}

.input-field {
    display: block;
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border: none;
    outline: none;
}
.result-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.result-table th,
.result-table td {
    padding: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.result-table th {
    text-align: right;
    opacity: 0.8;
}

.result-image {
    width: 100%;
    max-width: 260px;
    margin: 1.5rem auto;
    display: block;
    border-radius: 14px;
}


.error-card {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    text-align: center;
    border: 2px solid #f44336;
    border-radius: 12px;
    background-color: #ffe6e6;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.error-card .error-img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.error-card .title {
    font-size: 24px;
    color: #f44336;
    margin-bottom: 10px;
}

.error-card .subtitle {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.error-card .btn.secondary {
    padding: 10px 25px;
    background-color: #f44336;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.error-card .btn.secondary:hover {
    background-color: #d32f2f;
}

.faq-container {
    max-width: 800px;
    margin: auto;
}

.faq-category-title {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    font-weight: bold;
    border-bottom: 2px solid #ffd369;
    padding-bottom: 5px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    overflow: hidden;
    transition: 0.3s;
}

.faq-question {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.faq-question:hover {
    background: rgba(255,255,255,0.08);
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    line-height: 1.9;
}

.faq-answer ul {
    padding-right: 20px;
}


.payment-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    background: linear-gradient(135deg, #00c853, #009624);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.payment-btn .price {
    background: rgba(255,255,255,0.15);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.required {
    color: #ff5252;
    margin-right: 4px;
}

.form-note {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
}