@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Regular.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #964cb6;
    --accent: #ff91ae;
    --light: #f6f0fb;
    --dark: #363055;
    --shadow: 0 4px 28px rgba(168, 103, 188, 0.09);
    --gradient: linear-gradient(102deg, #ff91ae 0%, #964cb6 100%);
    --pink-glow: 0 0 18px #ffd6e5, 0 0 32px #ffebe680;
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: 'Vazirmatn', sans-serif;
    color: var(--dark);
    min-height: 100vh;
    box-sizing: border-box;
    direction: rtl;
    position: relative;
    overflow-x: hidden;
    height: 100vh;
}

.container {
    max-width: 750px;
    margin: 60px auto 60px auto;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 26px;
    box-shadow: var(--shadow), var(--pink-glow);
    padding: 46px 32px 38px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: box-shadow .25s;
    z-index: 2;
    overflow: visible;
}

/* ----------------------------------index.html---------------------------------- */


.image-top {
    width: 124px;
    height: 124px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    border: 5px solid #f6e1fc;
    box-shadow: 0 8px 24px #f3cae880, 0 0 0 10px #fffafb44;
    background: #faf9fc;
    position: relative;
    animation: popin 1s cubic-bezier(.37, 1.4, .34, 1.01);
    z-index: 10;
}

.image-top:hover {
    transform: scale(1.05) rotate(-7deg);
    box-shadow: 0 14px 48px #de89ac50, 0 0 0 10px #fffafb77;
    transition: all .23s cubic-bezier(.29, 1.2, .68, 1);
}

@keyframes popin {
    from {
        transform: scale(0.75);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


@keyframes floathearts {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-12px) rotate(-6deg);
    }
}

.waslatino {
    font-size: 2.66rem;
    font-family: 'Lalezar', 'Vazirmatn', Tahoma, sans-serif;
    color: transparent;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 900;
    margin-bottom: 9px;
    letter-spacing: -.7px;
    text-shadow: 0 4px 22px #ffeff9bb, 0 2px 13px #dda6e542;
    line-height: 1.12;
    user-select: none;
    animation: fadein 1.2s linear;
}

@keyframes fadein {
    from {
        opacity: 0;
        filter: blur(7px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}

.subtitle {
    font-size: 1.14em;
    color: #b975cc;
    margin: 2.5px 0 16px 0;
    background: linear-gradient(94deg, #ffd6e8 0%, #ece2ff 100%);
    display: inline-block;
    padding: 5px 20px 5px 20px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 0.5px 5px #b987c91a;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 6px #fff;
    animation: fadein 2.1s;
}

.desc {
    font-size: 1.16rem;
    color: #7a3a82;
    background: linear-gradient(110deg, #fcf5ff 60%, #fcf1fa 100%);
    border-radius: 12px;
    padding: 21px 17px 20px 17px;
    margin-bottom: 20px;
    line-height: 2.05;
    font-weight: 540;
    word-break: break-word;
    box-shadow: 0 0.5px 8px #abb5dc15, 0 2px 24px #f9bbdb18;
    max-width: 940px;
    border: 2.4px dashed #f3d5fa;
    position: relative;
    isolation: isolate;
    animation: fadein 1.7s;
}

.desc b,
.desc strong {
    color: #b975cc;
    font-weight: bold;
    font-family: 'Lalezar', inherit;
    font-size: 1.11em;
    letter-spacing: .01em;
}

.gif-heart {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin: 0 1px -4px 1px;
    filter: drop-shadow(0 1px 5px #fa97c880);
    animation: pulse2 2.09s infinite alternate;
}

@keyframes pulse2 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.18);
    }
}

.callout {
    font-size: 15.3px;
    color: #a45dbf;
    margin: 14px 0 19px 0;
    background: linear-gradient(97deg, #fdd8ff 70%, #ffedfa 100%);
    padding: 12px 19px;
    border-radius: 23px 21px 23px 21px / 18px 22px 13px 19px;
    border-right: 6.5px solid #caa7ffb0;
    border-left: 2.5px solid #fff;
    display: inline-block;
    max-width: 83%;
    box-shadow: 0 0.5px 7px #b987c91b;
    font-weight: 600;
    position: relative;
    animation: fadein 2.3s ease-out;
}

.callout::before {
    content: "🔒";
    margin-left: 7px;
    font-size: 18px;
    opacity: .85;
}

.btn {
    font-family: inherit;
    padding: 15px 55px;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 32px 30px 32px 30px / 22px 33px 25px 32px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1.1px;
    box-shadow: 0 6px 18px #beafd533, 0 0 0 5px #fbd8ffaa;
    cursor: pointer;
    outline: none;
    margin-top: 18px;
    margin-bottom: 7px;
    transition: background .21s, transform .21s, box-shadow .21s;
    position: relative;
    isolation: isolate;
    animation: popin .88s cubic-bezier(.45, 1, 0.56, 0.87);
}

.btn::after {
    /* content: "➜"; */
    margin-right: 0.7em;
    font-size: 1.22em;
    vertical-align: middle;
    transition: margin .17s;
}

.btn:hover,
.btn:focus {
    background: linear-gradient(94deg, #ca72e0 30%, #ff91ae);
    transform: scale(1.055) translateY(-1.5px);
    box-shadow: 0 15px 44px #f6b0db44, 0 0 0 7px #fbd8ffbb;
}

.btn:active {
    transform: scale(0.99);
    box-shadow: 0 3px 10px #ca72e060;
}

.footer {
    margin-top: 33px;
    font-size: 14px;
    color: #b698cf;
    opacity: 0.97;
    font-family: 'Lalezar', Vazirmatn, Tahoma;
    letter-spacing: .01em;
    text-shadow: 0 1.6px 6px #eedaef60;
    border-top: 1.1px dashed #e8ceff2b;
    padding-top: 12px;
    user-select: none;
    animation: pulse2 2.01s .8s infinite alternate;
}

@media (max-width: 600px) {

    html,
    body {
        height: auto !important;
        overflow: auto !important;
    }

    .container {
        max-width: 99vw;
        padding: 9vw 4vw 11vw 4vw;
        margin: 0;
        border-radius: 0;
    }

    .image-top {
        width: 74px;
        height: 74px;
    }

    .waslatino {
        font-size: 1.47rem;
        margin-bottom: 7px;
    }

    .desc {
        font-size: 1rem;
        padding: 10px 2px 12px 2px;
        max-width: 99vw;
    }

    .subtitle {
        font-size: .97em;
    }

    .btn {
        font-size: 1rem;
        padding: 8.5px 7vw;
    }

    .footer {
        font-size: 12.2px;
        padding-top: 9px;
    }
}

@media (max-width: 365px) {
    .container {
        padding: 2vw 1vw 6vw 1vw;
    }

    .image-top {
        width: 49px;
        height: 49px;
    }

    .desc {
        font-size: 0.92rem;
    }

    .waslatino {
        font-size: 1.09rem;
    }
}



/* ---------------------------form.html------------------------------- */
.form-card {
    background: #faf6fe;
    border-radius: 16px;
    background: rgba(255,255,255,0.98);
    padding: 24px 10px 24px 10px;
    margin-bottom: 9px;
    animation: popin .5s cubic-bezier(.37,1.4,.34,1.01);
    position: relative;
    text-align: right;
  }
  .form-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 4px solid #f6e1fc;
    background: #faf9fc;
    box-shadow: 0 6px 22px #f3cae870, 0 0 0 7px #fffafb27;
  }
  .form-card h1 {
    font-size: 1.5rem;
    color: var(--primary);
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    margin-bottom: 12px;
    margin-top: 0;
    background: var(--gradient);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: 0.01em;
    text-align:center;
  }
  .form-section-title {
    background: var(--gradient);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-family: 'Vazirmatn';
    font-size: 1.12em;
    margin: 25px 0 12px 0;
  }
  label {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #7a3a82;
    font-size: 1.02em;
    padding-right: 4px;
  }
  .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
    padding: 20px 16px;
    background: linear-gradient(135deg, #fef9ff 0%, #faf6fe 100%);
    border-radius: 14px;
    border: 1px solid #f0d5f5;
    border-right: 3px solid #d4a3ee;
    box-shadow: 0 2px 10px rgba(150, 76, 182, 0.08);
    transition: all 0.3s ease;
    position: relative;
  }
  .form-row:hover {
    box-shadow: 0 4px 15px rgba(150, 76, 182, 0.12);
    border-color: #e8c4ed;
    transform: translateY(-2px);
  }
  .form-row::before {
    content: '';
    position: absolute;
    right: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #d4a3ee 0%, #b975cc 50%, #d4a3ee 100%);
    border-radius: 0 14px 14px 0;
  }
  .form-row > * {
    flex: 1 1 170px;
    min-width: 120px;
  }
  .form-row-single {
    margin-bottom: 10px;
  }
  input[type="text"], 
  input[type="number"],
  input[type="email"],
  select,
  textarea
  {
    width: 100%;
    padding: 8px 11px;
    margin-top: 3px;
    margin-bottom: 6px;
    border-radius: 11px;
    border: 1px solid #e1bee7;
    background: #fffafd;
    font-family: inherit;
    font-size: 1em;
    transition: border .18s;
    box-sizing: border-box;
    direction: rtl;
  }
  textarea {resize: vertical;}
  input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    outline: none;
    background: #f7ecfb;
  }
  .radio-group, .checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 10px 0 15px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    border: 1px solid #f0d5f5;
  }
  .radio-label {
    cursor: pointer;
    margin: 6px 8px 6px 0;
    font-size: 1em;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
  }
  .radio-label:hover {
    background: rgba(214, 163, 238, 0.15);
  }
  .desc {
    color: #a077b5;
    font-size: 1.01em;
    margin-bottom: 14px;
    margin-top: 3px;
    text-align:center;
  }
  .section-hr {
    border: 0;
    border-top: 2px dashed #f0c9f5;
    margin: 27px auto 22px auto;
    width: 99%;
  }
  .question-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e8c4ed 20%, #d4a3ee 50%, #e8c4ed 80%, transparent);
    margin: 28px 0;
    position: relative;
  }
  .question-divider::before {
    content: '❀';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #faf6fe;
    padding: 0 12px;
    color: #b975cc;
    font-size: 1.2em;
  }
  .form-row .form-row {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #f5e0fa;
    border-right: 2px solid #e8c4ed;
    padding: 12px;
    margin-bottom: 0;
    box-shadow: none;
  }
  .form-row .form-row::before {
    display: none;
  }
  .step {
    padding: 10px 0;
  }
  .form-section-title {
    margin-bottom: 24px !important;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0d5f5;
  }
  .question-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e8c4ed 20%, #d4a3ee 50%, #e8c4ed 80%, transparent);
    margin: 28px 0;
    position: relative;
  }
  .question-divider::before {
    content: '❀';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #faf6fe;
    padding: 0 12px;
    color: #b975cc;
    font-size: 1.2em;
  }
  .form-question-group {
    margin-bottom: 32px;
    padding: 20px 16px;
    background: linear-gradient(135deg, #fef9ff 0%, #faf6fe 100%);
    border-radius: 14px;
    border-right: 4px solid #d4a3ee;
    box-shadow: 0 3px 10px rgba(150, 76, 182, 0.08);
  }
  .form-question-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: #8a4a92;
    font-size: 1.05em;
  }
  .input-tiny {
    width: 3.8em !important;
    display: inline-block !important;
    margin-left: 5px;
    margin-right: 2px;
  }
  .note {
    color: #ab90c5;
    font-size: 0.89em;
    margin: 4px 0 8px 0;
  }
  .btn {
    padding: 8px 32px;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 22px 20px 22px 20px / 14px 16px 15px 19px;
    font-size: 1.07rem;
    font-weight: 700;
    box-shadow: 0 2px 10px #beafd53d, 0 0 0 2px #fbd8ff36;
    cursor: pointer;
    margin-top: 14px;
    margin-bottom: 5px;
    transition: background .23s, transform .18s, box-shadow .21s;
    position: relative;
    font-family: inherit;
    display:block;
    margin-right:auto;
    margin-left:auto;
  }
  .btn:active {
    transform: scale(0.98);
  }
  .statusbar-wrapper {
    margin: 22px auto 24px auto;
    width: 95%;
    max-width: 470px;
    background: #eee1f3;
    border-radius: 24px;
    height: 18px;
    position: relative;
    box-shadow: 0 1px 9px #dec7ed44;
    overflow: hidden;
    z-index: 2;
    display: flex;
    align-items: center;
    border: 1px solid #efdcfa;
  }
  .statusbar-progress {
    background: var(--gradient);
    height: 100%;
    border-radius: 19px;
    transition: width .48s cubic-bezier(.49,1.56,.49,1);
    box-shadow: 0 0 14px #d4a3ee60;
    min-width: 6%;
  }
  .statusbar-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color: #964cb6;
    font-family: 'Lalezar','Vazirmatn',sans-serif;
    font-size: 1.08em;
    font-weight: bold;
    text-shadow: 0 1px 6px #f8d1f150;
    pointer-events: none;
    white-space: nowrap;
  }
  .custom-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(45,25,64,0.38);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadein .25s;
  }
  .custom-modal {
    background: #fffafd;
    border-radius: 20px;
    box-shadow: 0 7px 32px #704f9445, 0 0 0 8px #e6caee2e;
    max-width: 420px;
    font-family: 'Vazirmatn';
    padding: 35px 26px 23px 23px;
    position: relative;
    text-align: center;
    animation: popin .5s cubic-bezier(.37,1.4,.34,1.01);
    border: 1px solid var(--primary);
  }
  .custom-modal-title {
    font-family: 'Lalezar', 'Vazirmatn', Tahoma;
    font-size: 1.03em;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 0.01em;
  }
  .custom-modal-content {
    color: #6d558b;
    font-size: 1.02em;
    margin-bottom: 10px;
    text-align: right;
    line-height: 1.9;
  }
  .custom-modal-checkbox {
    margin: 23px 0 7px 0;
    text-align: right;
    display: block;
    font-size:1em;
  }
  .custom-modal-checkbox input[type="checkbox"] {
    accent-color: var(--primary);
    transform: scale(1.27);
    margin-left: 7px;
    vertical-align: middle;
    margin-bottom: 2px;
  }
  .custom-modal-btn {
    margin-top: 12px;
    margin-bottom: 0;
  }
  .custom-modal-btn .btn {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    font-size: 1.11em;
  }
  .custom-modal-required-note {
    color: #b176d3;
    font-size: 0.97em;
    margin: 22px 0 3px 0;
    text-align: right;
  }
  @media (max-width: 700px) {
    .container {margin: 0; border-radius: 0;} 
    .form-row {}
    .form-row > * {min-width: unset;}
    .steps-buttons {justify-content:center;}
    .statusbar-wrapper {height: 13px; font-size: .91em;}
    .statusbar-label {font-size: .98em;}
    .custom-modal {max-width:98vw;}
  }
  @media (max-width: 480px) {
    .statusbar-label {font-size: .82em;}
    .statusbar-wrapper {height: 20px;}
    .custom-modal {padding: 13px 5vw 17px 5vw;}
  }
  @keyframes popin {from{transform:scale(0.93); opacity:0;} to{transform:scale(1); opacity:1;}}
  @keyframes fadein {from {opacity:0;} to {opacity:1;}}