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

    @font-face {
        font-family: "Vazirmatn";
        src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
        font-weight: 700;
        font-style: normal;
    }

    :root {
        --bg: #f4f8f2;
        --surface: rgba(255, 255, 255, 0.86);
        --text: #0f1f3d;
        --muted: #48607f;
        --accent: #9ad94f;
        --accent-dark: #6fab2d;
        --green: #7fcf3c;
        --green-soft: #b7ea7c;
        --navy: #10284f;
        --navy-soft: #1e3d72;
        --border: rgba(16, 40, 79, 0.1);
        --shadow: 0 30px 60px rgba(16, 40, 79, 0.12);
    }

    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        font-family: "Vazirmatn", 'Segoe UI', Tahoma, sans-serif;
        color: var(--text);
        direction: rtl;
        background:
            radial-gradient(circle at top left, rgba(154, 217, 79, 0.24), transparent 30%),
            radial-gradient(circle at bottom right, rgba(16, 40, 79, 0.16), transparent 32%),
            linear-gradient(180deg, #f8fcf5 0%, #e8f0f6 100%);
    }

    .container {
        width: min(1120px, calc(100% - 2rem));
        margin: 0 auto;
    }

    .site-header {
        padding: 1rem 0;
        position: sticky;
        top: 0;
        z-index: 10;
        backdrop-filter: blur(14px);
        background: rgba(248, 252, 245, 0.78);
        border-bottom: 1px solid rgba(16, 40, 79, 0.08);
    }

    .site-header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .brand,
    .site-nav a,
    .footer-links a {
        color: #9ad94f;
        text-decoration: none;
        font-weight: 800;
    }

    .brand {
        display: inline-flex;
        align-items: center;
    }

    .brand-mark {
        display: inline-block;
        padding: 0.65rem 1rem;
        border: 1px solid rgba(16, 40, 79, 0.14);
        border-radius: 999px;
        background:
            radial-gradient(circle at top left, rgba(154, 217, 79, 0.35), transparent 45%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 240, 246, 0.94));
        color: var(--navy);
        letter-spacing: 0.34em;
        font-size: 0.9rem;
        line-height: 1;
        box-shadow: 0 12px 30px rgba(16, 40, 79, 0.12);
        position: relative;
    }

    .brand-icon {
        width: 1.5rem;
        height: 1.5rem;
        margin-right: 0.7rem;
        vertical-align: middle;
    }

    /* .brand-icon {
        width: 24px;
        height: 24px;
        margin-right: 8px;
        vertical-align: middle;
    } */

    .site-nav {
        display: flex;
        align-items: center;
        gap: 1.25rem;
    }

    .site-nav a {
        font-size: 0.95rem;
        color: var(--muted);
    }

    .site-nav a:hover,
    .footer-links a:hover {
        color: #9ad94f;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        align-items: center;
    }

    .eyebrow {
        letter-spacing: 0.08em;
        color: var(--navy-soft);
        font-weight: 800;
    }

    h1 {
        font-size: clamp(2.5rem, 5vw, 5rem);
        line-height: 1.05;
        margin: 0.25rem 0 1rem;
    }

    .lead {
        max-width: 36rem;
        color: var(--muted);
        font-size: 1.12rem;
        line-height: 2;
    }

    .footer-text,
    .info-card p {
        color: var(--muted);
        line-height: 1.9;
    }

    .hero-copy {
        position: relative;
    }

    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.9rem;
        margin-top: 1.75rem;
    }

    .primary-link,
    .secondary-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        padding: 0.8rem 1.25rem;
        border-radius: 16px;
        text-decoration: none;
        font-weight: 700;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .primary-link {
        background: var(--navy);
        color: #fff;
        box-shadow: 0 16px 30px rgba(16, 40, 79, 0.16);
    }

    .secondary-link {
        border: 1px solid rgba(16, 40, 79, 0.12);
        background: rgba(255, 255, 255, 0.72);
        color: var(--navy);
    }

    .primary-link:hover,
    .secondary-link:hover {
        transform: translateY(-2px);
    }

    .hero-points {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .hero-points span {
        padding: 0.7rem 1rem;
        border-radius: 999px;
        background: rgba(154, 217, 79, 0.18);
        color: var(--navy);
        font-weight: 700;
    }

    .hero-highlight {
        display: grid;
        gap: 1rem;
    }

    .highlight-card {
        padding: 1.35rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(16, 40, 79, 0.1);
        box-shadow: 0 18px 36px rgba(16, 40, 79, 0.08);
    }

    .highlight-card strong {
        display: block;
        margin-bottom: 0.55rem;
        font-size: 1.25rem;
    }

    .highlight-card span {
        color: var(--muted);
        line-height: 1.8;
    }

    .highlight-card.primary {
        background:
            radial-gradient(circle at top right, rgba(154, 217, 79, 0.22), transparent 42%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 240, 246, 0.94));
    }

    .highlight-label {
        margin: 0 0 0.6rem;
        color: var(--navy-soft);
        font-weight: 800;
    }

    .highlight-value {
        margin: 0 0 0.35rem;
        color: var(--navy);
        font-size: 2.2rem;
        font-weight: 800;
    }

    .intro-section {
        padding: 0 0 4.5rem;
    }

    .licence-page {
        padding: 4rem 0 5rem;
    }

    .licence-shell {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        justify-items: center;
        gap: 1.5rem;
    }

    .licence-card {
        width: min(100%, 760px);
        padding: 1.5rem;
        border: 1px solid var(--border);
        border-radius: 28px;
        background: var(--surface);
        box-shadow: var(--shadow);
        backdrop-filter: blur(16px);
    }

    .licence-intro {
        margin-bottom: 1.5rem;
    }

    .licence-title {
        margin: 0 0 0.55rem;
        color: var(--navy);
        font-size: clamp(1.8rem, 4vw, 2.6rem);
    }

    .licence-note {
        margin: 0;
        color: var(--muted);
        line-height: 1.9;
    }

    .licence-label {
        display: block;
        margin: 1rem 0 0.7rem;
        font-weight: 700;
        color: var(--navy);
    }

    .licence-input {
        width: 100%;
        padding: 1rem 1.1rem;
        border: 1px solid rgba(16, 40, 79, 0.14);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.9);
        color: var(--text);
        font: inherit;
        line-height: 1.9;
        resize: vertical;
    }

    .licence-input:focus {
        outline: none;
        border-color: rgba(127, 207, 60, 0.9);
        box-shadow: 0 0 0 4px rgba(154, 217, 79, 0.18);
    }

    .licence-actions {
        display: flex;
        align-items: center;
        gap: 0.9rem;
        margin: 1rem 0 1.25rem;
        flex-wrap: wrap;
    }

    .licence-actions-secondary {
        margin-bottom: 0;
    }

    .licence-button {
        min-width: 140px;
        border: 0;
        cursor: pointer;
        font: inherit;
    }

    .licence-button:disabled {
        opacity: 0.55;
        cursor: not-allowed;
        transform: none;
    }

    .licence-button.is-success {
        background: var(--green);
        color: #10284f;
        box-shadow: 0 12px 24px rgba(127, 207, 60, 0.28);
    }

    .licence-status {
        color: var(--navy-soft);
        font-weight: 700;
        min-height: 1.75rem;
        display: inline-flex;
        align-items: center;
    }

    .licence-status.is-error {
        color: #c0392b;
    }

    @media (max-width: 900px) {
        .licence-page {
            padding: 2.5rem 0 3.5rem;
        }

        .licence-shell {
            grid-template-columns: 1fr;
        }

        .licence-card {
            padding: 1.25rem;
            border-radius: 22px;
        }
    }

    @media (max-width: 640px) {
        .licence-actions {
            flex-direction: column;
            align-items: stretch;
        }

        .licence-button,
        .licence-status {
            width: 100%;
        }

        .licence-button {
            min-height: 48px;
        }

        .licence-status {
            text-align: center;
        }

        .licence-input {
            padding: 0.9rem 1rem;
            border-radius: 16px;
            font-size: 16px;
        }
    }

    .intro-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.68);
        border: 1px solid var(--border);
        box-shadow: 0 18px 36px rgba(16, 40, 79, 0.08);
    }

    .info-card h3 {
        margin-top: 0;
        margin-bottom: 0.7rem;
    }

    .feature-card {
        position: relative;
        overflow: hidden;
    }

    .feature-card::after {
        content: "";
        position: absolute;
        inset: auto auto -30px -30px;
        width: 110px;
        height: 110px;
        border-radius: 999px;
        background: radial-gradient(circle, rgba(154, 217, 79, 0.18), transparent 70%);
    }

    .value-section {
        padding: 0 0 4.5rem;
    }

    .value-grid {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 1.5rem;
        align-items: start;
    }

    .value-panel,
    .benefit-list {
        padding: 1.6rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.68);
        border: 1px solid var(--border);
        box-shadow: 0 18px 36px rgba(16, 40, 79, 0.08);
    }

    .value-panel h2 {
        margin: 0.35rem 0 0.85rem;
        font-size: clamp(1.7rem, 3vw, 2.4rem);
    }

    .benefit-list {
        display: grid;
        gap: 0.9rem;
    }

    .benefit-item {
        padding: 0.95rem 1rem;
        border-radius: 18px;
        background: rgba(154, 217, 79, 0.16);
        color: var(--navy);
        font-weight: 700;
    }

    .systems-section {
        padding: 0 0 4.5rem;
    }

    .section-heading {
        max-width: 52rem;
        margin-bottom: 1.75rem;
    }

    .section-heading h2 {
        margin: 0.35rem 0 0.85rem;
        font-size: clamp(1.8rem, 3vw, 2.6rem);
    }

    .section-copy {
        color: var(--muted);
        line-height: 1.9;
    }

    .systems-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.85rem;
    }

    .system-chip {
        padding: 0.9rem 1rem;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(16, 40, 79, 0.1);
        color: var(--navy);
        font-weight: 700;
        box-shadow: 0 14px 24px rgba(16, 40, 79, 0.06);
    }

    .pricing-section {
        padding: 0 0 4.5rem;
    }

    .download-preview {
        overflow: hidden;
    }

    .download-preview-screen {
        margin-top: 1.25rem;
        border-radius: 22px;
        background: linear-gradient(180deg, rgba(16, 40, 79, 0.96), rgba(30, 61, 114, 0.92));
        padding: 1rem;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .download-preview-bar {
        display: flex;
        gap: 0.45rem;
        margin-bottom: 1rem;
    }

    .download-preview-bar span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.65);
    }

    .download-preview-body {
        padding: 0.35rem;
    }

    .download-preview-badge {
        display: inline-flex;
        padding: 0.5rem 0.8rem;
        border-radius: 999px;
        background: rgba(154, 217, 79, 0.18);
        color: #fff;
        font-size: 0.82rem;
        letter-spacing: 0.24em;
    }

    .download-preview-line {
        height: 12px;
        margin-top: 0.9rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.2);
    }

    .download-preview-line.is-wide {
        margin-top: 1.1rem;
        width: 100%;
        height: 88px;
        border-radius: 20px;
        background:
            radial-gradient(circle at top left, rgba(154, 217, 79, 0.45), transparent 38%),
            linear-gradient(135deg, rgba(154, 217, 79, 0.75), rgba(255, 255, 255, 0.14));
    }

    .download-preview-line.is-short {
        width: 62%;
    }

    .download-step-list {
        gap: 1rem;
    }

    .simple-steps {
        display: grid;
        gap: 1rem;
        margin-top: 1.25rem;
    }

    .simple-step {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1rem;
        padding: 1rem;
        border-radius: 18px;
        background: rgba(16, 40, 79, 0.04);
        border: 1px solid rgba(16, 40, 79, 0.08);
    }

    .simple-step-no {
        display: inline-grid;
        place-items: center;
        width: 48px;
        height: 48px;
        border-radius: 14px;
        background: linear-gradient(180deg, var(--navy), var(--navy-soft));
        color: #fff;
        font-weight: 800;
    }

    .simple-step h3 {
        margin: 0 0 0.35rem;
    }

    .simple-step p {
        margin: 0;
        color: var(--muted);
        line-height: 1.9;
    }

    .download-support-card {
        display: grid;
        align-content: start;
        gap: 0.9rem;
    }

    .download-support-card strong {
        font-size: 1.35rem;
        color: var(--navy);
    }

    .download-support-card .secondary-link,
    .download-support-card .primary-link {
        justify-self: start;
    }

    .download-note {
        color: var(--muted);
        line-height: 1.9;
    }

    .support-box {
        margin: 1.25rem 0;
        padding: 1rem 1.1rem;
        border-radius: 18px;
        background: rgba(154, 217, 79, 0.14);
        color: var(--navy);
    }

    .support-box strong,
    .support-box span {
        display: block;
    }

    .support-box span {
        margin-top: 0.45rem;
    }

    .primary-link.is-disabled {
        pointer-events: none;
        opacity: 0.65;
    }

    .pricing-card {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 1.5rem;
        align-items: center;
        padding: 2rem;
        border-radius: 28px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(231, 246, 211, 0.92));
        border: 1px solid rgba(16, 40, 79, 0.1);
        box-shadow: var(--shadow);
    }

    .price-badge {
        display: grid;
        place-items: center;
        min-height: 190px;
        border-radius: 24px;
        background: linear-gradient(180deg, var(--navy), var(--navy-soft));
        color: #fff;
        text-align: center;
    }

    .price-badge strong {
        display: block;
        font-size: clamp(2rem, 4vw, 3.2rem);
        line-height: 1.1;
    }

    .price-badge span {
        margin-top: 0.35rem;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 700;
    }

    .otp-page {
        padding: 5rem 0 4.5rem;
    }

    .otp-error{
        color:#ff4d4f;
        font-size:0.85rem;
        margin-top:4px;
        display:block;
    }


    .otp-layout {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        justify-items: center;
        gap: 1.5rem;
    }

    .otp-button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .otp-copy,
    .otp-card {
        margin: 0 auto;
        padding: 2rem;
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.74);
        border: 1px solid rgba(16, 40, 79, 0.1);
        box-shadow: var(--shadow);
    }

    .otp-copy {
        background:
            radial-gradient(circle at top right, rgba(154, 217, 79, 0.18), transparent 38%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(236, 244, 250, 0.86));
    }

    .otp-card {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(241, 247, 252, 0.88));
    }

    .otp-points {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .otp-points span {
        padding: 0.75rem 1rem;
        border-radius: 999px;
        background: rgba(154, 217, 79, 0.18);
        color: var(--navy);
        font-weight: 700;
    }

    .otp-card-head h2 {
        margin: 0.35rem 0 0.7rem;
    }

    .otp-card-head p {
        color: var(--muted);
        line-height: 1.9;
    }

    .otp-kicker {
        margin: 0;
        color: var(--navy-soft);
        font-weight: 800;
    }

    .otp-form {
        display: grid;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .otp-stage {
        display: none;
        gap: 1rem;
    }

    .otp-stage.active {
        display: grid;
    }

    .otp-title {
        margin: 0.35rem 0 0.85rem;
        font-size: clamp(2rem, 4vw, 3.1rem);
        line-height: 1.15;
    }

    .otp-subtitle {
        margin: 0;
        color: var(--muted);
        line-height: 1.9;
    }

    .otp-steps {
        display: grid;
        gap: 0.9rem;
        margin-top: 1.5rem;
    }

    .otp-step {
        display: flex;
        align-items: flex-start;
        gap: 0.9rem;
        padding: 1rem;
        border-radius: 18px;
        background: rgba(16, 40, 79, 0.04);
        border: 1px solid rgba(16, 40, 79, 0.08);
    }

    .otp-step.active {
        background: rgba(154, 217, 79, 0.14);
        border-color: rgba(154, 217, 79, 0.3);
    }

    .otp-step.muted {
        opacity: 0.72;
    }

    .otp-step p,
    .otp-step strong {
        margin: 0;
    }

    .otp-step p {
        color: var(--muted);
        line-height: 1.8;
    }

    .otp-step-number {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--navy);
        color: #fff;
        font-weight: 800;
        flex-shrink: 0;
    }

    .otp-field {
        display: grid;
        gap: 0.45rem;
    }

    .otp-field span {
        font-weight: 700;
        color: var(--navy);
    }

    .otp-field input {
        width: 100%;
        min-height: 54px;
        border-radius: 16px;
        border: 1px solid rgba(16, 40, 79, 0.12);
        background: rgba(255, 255, 255, 0.92);
        padding: 0.9rem 1rem;
        font: inherit;
        color: var(--text);
    }

    .otp-field input:focus {
        outline: 2px solid rgba(154, 217, 79, 0.45);
        border-color: rgba(16, 40, 79, 0.2);
    }

    .otp-code-group {
        display: grid;
        gap: 0.55rem;
    }

    .otp-code-label {
        font-weight: 700;
        color: var(--navy);
    }

    .otp-code-inputs {
        display: flex;
        justify-content: center;
        gap: 0.65rem;
    }

    .otp-code-inputs input {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        border: 1px solid rgba(16, 40, 79, 0.12);
        background: rgba(255, 255, 255, 0.92);
        text-align: center;
        font: inherit;
        font-weight: 800;
        color: var(--navy);
    }

    .otp-code-inputs input:focus {
        outline: 2px solid rgba(154, 217, 79, 0.45);
        border-color: rgba(16, 40, 79, 0.2);
    }

    .otp-code-inputs input:disabled {
        background: rgba(16, 40, 79, 0.05);
        color: rgba(16, 40, 79, 0.4);
        cursor: not-allowed;
    }

    .otp-actions {
        display: flex;
        gap: 0.8rem;
    }

    .otp-button {
        min-height: 54px;
        border: 0;
        border-radius: 16px;
        background: var(--navy);
        color: #fff;
        font: inherit;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 16px 30px rgba(16, 40, 79, 0.16);
        padding: 0 1.2rem;
        flex: 1;
    }

    .otp-button:hover {
        background: var(--navy-soft);
    }

    .otp-button.secondary {
        background: rgba(16, 40, 79, 0.08);
        color: var(--navy);
        box-shadow: none;
    }

    .otp-button.secondary:hover {
        background: rgba(16, 40, 79, 0.14);
    }

    .otp-preview {
        margin-top: 1.25rem;
        padding-top: 1.1rem;
        border-top: 1px dashed rgba(16, 40, 79, 0.14);
    }

    .otp-preview-title {
        margin: 0 0 0.8rem;
        color: var(--muted);
        font-weight: 700;
    }

    .user-page {
        padding: 4.5rem 0;
    }

    .user-layout {
        display: grid;
        grid-template-columns: 320px 1fr;
        gap: 1.5rem;
        align-items: start;
    }

    .user-sidebar,
    .user-hero-card,
    .user-stat-card,
    .user-panel {
        border-radius: 26px;
        background: rgba(255, 255, 255, 0.78);
        border: 1px solid rgba(16, 40, 79, 0.1);
        box-shadow: var(--shadow);
    }

    .user-sidebar {
        padding: 1.3rem;
        position: sticky;
        top: 90px;
    }

    .user-profile-card {
        padding: 1.2rem;
        border-radius: 22px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 246, 211, 0.9));
    }

    .user-profile-card h2,
    .user-profile-card p,
    .user-panel h3,
    .user-panel p {
        margin: 0;
    }

    .user-profile-card p,
    .user-panel p {
        margin-top: 0.55rem;
        color: var(--muted);
        line-height: 1.9;
    }

    .user-avatar {
        display: grid;
        place-items: center;
        width: 66px;
        height: 66px;
        margin-bottom: 1rem;
        border-radius: 20px;
        background: linear-gradient(135deg, var(--green), var(--navy-soft));
        color: #fff;
        font-size: 1.6rem;
        font-weight: 800;
    }

    .user-menu {
        display: grid;
        gap: 0.65rem;
        margin-top: 1rem;
    }

    .user-menu a {
        padding: 0.9rem 1rem;
        border-radius: 16px;
        text-decoration: none;
        color: var(--navy);
        background: rgba(16, 40, 79, 0.04);
        font-weight: 700;
    }

    .user-menu a.active,
    .user-menu a:hover {
        background: rgba(154, 217, 79, 0.16);
    }

    .user-main {
        display: grid;
        gap: 1.5rem;
    }

    .user-hero-card,
    .user-panel {
        padding: 1.6rem;
    }

    .user-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .user-stat-card {
        padding: 1.4rem;
    }

    .user-stat-card span {
        display: block;
        color: var(--muted);
        margin-bottom: 0.45rem;
    }

    .user-stat-card strong {
        font-size: 1.6rem;
        color: var(--navy);
    }

    .user-panels {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .site-footer {
        padding: 3rem 0 1.5rem;
        background: linear-gradient(180deg, #0f2343, #10284f);
        color: #eef6ff;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-title {
        margin: 0 0 0.75rem;
        font-size: 1.05rem;
        font-weight: 800;
    }

    .footer-text,
    .footer-links a,
    .footer-bottom {
        color: rgba(247, 241, 231, 0.8);
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
    }

    .social-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-width: 122px;
        padding: 0.7rem 1rem;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.08);
        color: #eef6ff;
        text-decoration: none;
        font-weight: 700;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .social-links a:hover {
        background: rgba(154, 217, 79, 0.16);
    }

    .social-links svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .enamad-badge {
        margin-top: 1rem;
    }

    .enamad-badge img {
        display: block;
        width: 116px;
        height: auto;
        border-radius: 14px;
        background: #fff;
        padding: 0.35rem;
    }

    .footer-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(247, 241, 231, 0.12);
        font-size: 0.95rem;
    }

    .footer-meta {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .footer-copy {
        margin: 0;
    }

    .designer-credit {
        display: inline-flex;
        align-items: center;
        gap: 0.8rem;
        padding: 0.5rem 0.75rem 0.5rem 0.6rem;
        border-radius: 999px;
        text-decoration: none;
        color: #eef6ff;
        background: linear-gradient(135deg, rgba(154, 217, 79, 0.14), rgba(255, 255, 255, 0.06));
        border: 1px solid rgba(154, 217, 79, 0.22);
        transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }

    .designer-credit:hover {
        transform: translateY(-1px);
        background: linear-gradient(135deg, rgba(154, 217, 79, 0.22), rgba(255, 255, 255, 0.1));
        border-color: rgba(154, 217, 79, 0.34);
    }

    .designer-credit__label {
        color: rgba(247, 241, 231, 0.78);
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .designer-credit__brand {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        color: #9ad94f;
        font-weight: 800;
        direction: ltr;
    }


    .designer-credit__brand svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    @media (max-width: 800px) {
        .site-header .container,
        .footer-grid,
        .otp-layout,
        .pricing-card,
        .user-panels,
        .user-stats,
        .user-layout,
        .value-grid,
        .intro-grid,
        .hero-grid {
            grid-template-columns: 1fr;
        }

        .site-header .container {
            display: grid;
            gap: 1rem;
        }

        .site-nav,
        .hero-points,
        .hero-actions {
            gap: 0.6rem;
        }

        .footer-bottom {
            flex-direction: column;
            align-items: flex-start;
            gap: 1rem;
        }

        .footer-meta {
            justify-content: flex-start;
        }

        .price-badge {
            min-height: 150px;
        }

        .simple-step {
            grid-template-columns: 1fr;
        }

        .simple-step-no {
            width: 46px;
            height: 46px;
        }

        .otp-code-inputs {
            flex-wrap: wrap;
        }

        .user-sidebar {
            position: static;
        }
    }
    .license-card{
        max-width:700px;
        margin:40px auto;
        padding:25px;
        border-radius:16px;
        background:#ffffff;
        box-shadow:0 8px 25px rgba(0,0,0,0.08);
        direction:rtl;
    }

    .license-header{
        font-size:20px;
        font-weight:700;
        color:#15803d;
        margin-bottom:15px;
    }

    .activation-box{
        border:1px solid #e5e7eb;
        background:#f9fafb;
        border-radius:12px;
        padding:12px;
    }

    .activation-text{
        max-height:160px;
        overflow-y:auto;
        font-family:monospace;
        font-size:14px;
        line-height:1.7;
        white-space:pre-wrap;
        word-break:break-word;
    }

    .copy-btn{
        margin-top:15px;
        width:100%;
        padding:12px;
        border:none;
        border-radius:10px;
        background:#16a34a;
        color:white;
        font-weight:600;
        cursor:pointer;
        transition:0.2s;
    }

    .copy-btn:hover{
        background:#15803d;
    }

    .copy-status{
        text-align:center;
        margin-top:10px;
        font-size:14px;
        color:#16a34a;
        font-weight:600;
    }
    .licence-output {
        width: 100%;
        padding: 1rem 1.1rem;
        border: 1px solid rgba(16, 40, 79, 0.14);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.9);
        color: var(--text);
        font: inherit;
        line-height: 1.9;
        resize: vertical;
    }

    .licence-output:focus {
        outline: none;
        border-color: rgba(127, 207, 60, 0.9);
        box-shadow: 0 0 0 4px rgba(154, 217, 79, 0.18);
    }

    .licence-output {
        direction: ltr;
        text-align: left;
        margin-top: 0.2rem;
    }

    .error-page {
        min-height: 70vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 5rem 0 4rem;
        background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
        border-radius: 24px;
        box-shadow: 0 12px 40px rgba(20, 40, 80, 0.08);
        margin: 40px auto;
        max-width: 720px;
        border: 1px solid rgba(60, 90, 140, 0.12);
    }

    .error-page h1 {
        margin: 0;
        font-size: clamp(72px, 12vw, 160px);
        line-height: 1;
        font-weight: 900;
        letter-spacing: 4px;
        color: #1d4ed8;
        text-shadow: 0 8px 24px rgba(29, 78, 216, 0.18);
    }

    .error-page h2 {
        margin: 14px 0 10px;
        font-size: clamp(22px, 3vw, 34px);
        font-weight: 800;
        color: #0f172a;
    }

    .error-page p {
        margin: 0 0 28px;
        max-width: 520px;
        font-size: 16px;
        line-height: 1.9;
        color: #475569;
    }

    .error-page .btn.btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 180px;
        padding: 12px 22px;
        border-radius: 14px;
        background: #2563eb;
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        transition: all 0.25s ease;
        box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
    }

    .error-page .btn.btn-primary:hover {
        background: #1d4ed8;
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
    }

    .error-page .btn.btn-primary:active {
        transform: translateY(0);
    }
/* switch login link */

.switch-login{
    margin-top:14px;
    font-size:13px;
    text-align:center;
    color:#6b7280;
}

.link-btn{
    background:none;
    border:none;
    color:#2563eb;
    cursor:pointer;
    font-weight:500;
    padding:0;
}

.link-btn:hover{
    text-decoration:underline;
}


/* password login box */

#password-login-box{
    animation:fadeIn .25s ease;
}

#otp-login-box{
    animation:fadeIn .25s ease;
}


/* password input style (هماهنگ با otp-field) */

.otp-field input[type="password"]{
    direction:ltr;
}


/* subtle transition */

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(6px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* improve spacing for second stage */

#code-stage .otp-actions{
    margin-top:18px;
}


/* responsive */

@media (max-width:480px){

    .switch-login{
        font-size:12px;
    }

}
