:root {
    --color-primary: #5B2C6F;
    --color-secondary: #C95CC7;
    --color-accent: #F6C945;
    --color-light: #F5E6FF;
    --color-dark: #1F1B2C;
    --color-muted: rgba(255, 255, 255, 0.75);
    --transition: all 0.4s ease;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Vazirmatn", sans-serif;
    background: radial-gradient(circle at top left, rgba(201, 92, 199, 0.25), transparent 55%),
                radial-gradient(circle at bottom right, rgba(91, 44, 111, 0.4), transparent 60%),
                #130e1d;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-repeat: no-repeat;
    background-position: top -150px left -100px;
    background-size: 380px;
    background-image: image-set(
        url("../images/orchid-emblem.webp") type("image/webp"),
        url("../images/orchid-emblem.png") type("image/png")
    );
    opacity: 0.06;
    pointer-events: none;
    transform: rotate(-12deg);
    z-index: -2;
}

.blur-orb {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(110px);
    z-index: -1;
    pointer-events: none;
}

.orb-top {
    top: -140px;
    right: -120px;
    background: rgba(201, 92, 199, 0.35);
}

.orb-bottom {
    bottom: -160px;
    left: -140px;
    background: rgba(246, 201, 69, 0.25);
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(22px);
    background: rgba(15, 11, 24, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: nowrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    place-items: center;
    padding: 6px;
    overflow: hidden;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: inline-flex;
    gap: 18px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    display: inline-block;
}

.nav-links > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    text-decoration: none;
    color: var(--color-muted);
    transition: color 0.2s ease;
}

.nav-links > li > a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

.nav-links > li > a:hover,
.nav-links > li > a:focus {
    color: #fff;
}

.nav-links > li > a:hover::after,
.nav-links > li > a:focus::after {
    width: 100%;
}

.nav-links .nav-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-block;
    margin: 0 12px;
}

.nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-auth a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-auth a:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.nav-auth-register {
    background: linear-gradient(135deg, #7D5BFF, #4D3CF7);
    border: none !important;
    box-shadow: 0 16px 38px rgba(125, 91, 255, 0.38);
}

.nav-auth-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(125, 91, 255, 0.45);
}

.nav-links .nav-auth a::after {
    display: none;
}

.nav-user {
    position: relative;
    display: none;
}

.nav-user-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #9A6BFF, #6330FF);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(99, 48, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.nav-user-button::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.18);
    opacity: 0.25;
}

.nav-user-button:hover,
.nav-user-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(99, 48, 255, 0.45);
    outline: none;
}

.nav-user-button span,
.nav-user-button svg {
    position: relative;
    z-index: 1;
}

.nav-user-button svg {
    width: 16px;
    height: 16px;
}

.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 220px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(145deg, rgba(34, 22, 54, 0.98), rgba(17, 12, 28, 0.92));
    box-shadow: 0 28px 70px rgba(36, 0, 80, 0.55);
    z-index: 400;
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    pointer-events: none;
    visibility: hidden;
    backdrop-filter: blur(14px);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.nav-user-dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 32px;
    width: 20px;
    height: 20px;
    background: linear-gradient(145deg, rgba(34, 22, 54, 0.98), rgba(17, 12, 28, 0.92));
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: rotate(45deg);
    z-index: -1;
}

.nav-user-dropdown-content {
    display: grid;
    gap: 6px;
}

.nav-user-dropdown a,
.nav-user-dropdown button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(122, 99, 255, 0.08);
    color: #f5f1ff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.3s ease, background 0.2s ease;
}

.nav-user-dropdown a:hover,
.nav-user-dropdown a:focus,
.nav-user-dropdown button:hover,
.nav-user-dropdown button:focus {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(122, 99, 255, 0.22);
    color: #fff;
    box-shadow: 0 18px 38px rgba(99, 48, 255, 0.25);
    transform: translateY(-1px);
    outline: none;
}

.nav-user-dropdown button {
    text-align: inherit;
}

.nav-user.open .nav-user-dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.hamburger span {
    position: relative;
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.hamburger span::before,
.hamburger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.hamburger span::before {
    transform: translateY(-6px);
}

.hamburger span::after {
    transform: translateY(6px);
}

.hamburger.active span {
    background: transparent;
}

.hamburger.active span::before {
    transform: rotate(45deg);
}

.hamburger.active span::after {
    transform: rotate(-45deg);
}

main {
    position: relative;
    z-index: 1;
}

section {
    padding: 90px 24px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero {
    position: relative;
    display: grid;
    gap: 48px;
    align-items: center;
    padding-top: 120px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 40px 0 -60px;
    background: linear-gradient(135deg, rgba(201, 92, 199, 0.16), rgba(25, 19, 40, 0.9));
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    z-index: -1;
}

.hero-content {
    display: grid;
    gap: 28px;
    padding: 48px 54px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(196, 94, 199, 0.16);
    color: var(--color-secondary);
    font-size: 13px;
}

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

.cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Vazirmatn", sans-serif;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #9A6BFF, #6330FF);
    box-shadow: 0 20px 60px rgba(99, 48, 255, 0.45);
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    opacity: 0.4;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.btn-plan {
    background: linear-gradient(135deg, #ff9a6b, #ff4d82);
    box-shadow: 0 20px 60px rgba(255, 77, 130, 0.35);
}

.btn-plan::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    opacity: 0.35;
}

.btn-plan:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 28px 75px rgba(255, 77, 130, 0.45);
}

.hero-visual {
    position: relative;
    padding: 28px 48px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-screenshot {
    position: relative;
    max-width: 520px;
    width: 100%;
    border-radius: 28px;
    background: rgba(22, 16, 34, 0.92);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(10, 8, 18, 0.45);
    overflow: hidden;
}

.hero-screenshot::before {
    content: "";
    position: absolute;
    inset: -120px 20% 50% -20%;
    background: linear-gradient(160deg, rgba(125, 91, 255, 0.4), transparent 60%);
    z-index: 0;
}

.hero-screenshot img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.hero-version {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    z-index: 1;
}

.hero-card {
    position: relative;
    background: rgba(22, 16, 34, 0.92);
    border-radius: 28px;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(10, 8, 18, 0.45);
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -120px 30% 40% -30%;
    background: linear-gradient(160deg, rgba(201, 92, 199, 0.45), transparent 60%);
    z-index: 0;
}

.hero-orchid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
}

.hero-orchid img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 18px 35px rgba(201, 92, 199, 0.45));
}

.hero-orchid h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.hero-stats {
    margin-top: 32px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.stat {
    min-width: 150px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px 22px;
}

.stat strong {
    display: block;
    font-size: 28px;
    margin-bottom: 6px;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(246, 201, 69, 0.16);
    color: var(--color-accent);
    font-size: 12px;
    letter-spacing: 0.6px;
}

.section-title {
    font-size: 34px;
    margin-bottom: 16px;
    font-family: "Vazirmatn", sans-serif;
    font-weight: 700;
}

.section-subtitle {
    max-width: 560px;
    color: var(--color-muted);
    margin-bottom: 48px;
    line-height: 1.8;
}

.features-grid,
.product-grid,
.pricing-grid,
.testimonials-grid {
    display: grid;
    gap: 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list--program {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-list--program li {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
}

.feature-list--program .feature-text {
    display: grid;
    gap: 6px;
}

.feature-list--program .feature-text strong {
    font-size: 18px;
    color: #fff;
}

.feature-list--program .feature-text span {
    color: var(--color-muted);
    line-height: 1.8;
    font-size: 14px;
}

.feature-article {
    margin-top: 36px;
    display: grid;
    gap: 18px;
}

.feature-gallery {
    margin-top: 48px;
    display: grid;
    gap: 28px;
}

.feature-gallery__header {
    display: grid;
    gap: 10px;
}

.feature-gallery__title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.feature-gallery__subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.feature-gallery__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-gallery__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    background: rgba(19, 14, 29, 0.72);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(12, 8, 24, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-gallery__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 65px rgba(12, 8, 24, 0.48);
}

.feature-gallery__thumb {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-gallery__thumb:focus-visible {
    outline: 3px solid rgba(125, 91, 255, 0.6);
    outline-offset: 4px;
}

.feature-gallery__item img {
    width: 100%;
    border-radius: 14px;
    height: auto;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.feature-gallery__item figcaption {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.feature-gallery__note {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    text-align: right;
}

.feature-video {
    margin-top: 48px;
    display: grid;
    gap: 16px;
}

.blog-hero {
    padding: 140px 0 24px;
    text-align: center;
}

.blog-hero__inner {
    display: grid;
    gap: 18px;
    justify-items: center;
    max-width: 720px;
}

.blog-hero__title {
    margin: 0;
    font-size: 40px;
    line-height: 1.35;
    color: #fff;
}

.blog-hero__meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
}

.blog-content {
    padding-bottom: 80px;
}

.blog-article {
    display: grid;
    gap: 16px;
}

.blog-section {
    display: grid;
    gap: 8px;
    text-align: right;
}

.blog-section + .blog-section {
    margin-top: 12px;
}

.blog-section h2 {
    margin: 0;
    font-size: 29px;
    color: #fff;
}

.blog-section h3 {
    margin: 14px 0 6px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.blog-article__intro,
.blog-section p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 2;
    font-size: 16px;
}

.blog-list {
    margin: 0;
    padding-inline-start: 22px;
    display: grid;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.95;
}

.blog-article__note {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.blog-article__footer {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.blog-cta {
    justify-self: center;
}

.blog-footer .footer-bar {
    margin-top: 0;
}

@media (max-width: 992px) {
    .blog-hero {
        padding: 112px 0 20px;
    }

    .blog-hero__title {
        font-size: 34px;
    }

    .blog-content {
        padding-bottom: 60px;
    }

    .blog-article {
        padding: 24px;
    }

    .blog-section h2 {
        font-size: 25px;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        padding: 94px 0 18px;
    }

    .blog-hero__title {
        font-size: 26px;
    }

    .blog-hero__inner {
        gap: 12px;
    }

    .blog-article {
        gap: 12px;
        padding: 16px;
    }

    .blog-section h2 {
        font-size: 22px;
    }

    .blog-list {
        padding-inline-start: 18px;
    }
}

.feature-video__frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(12, 9, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 60px rgba(10, 6, 18, 0.45);
}

.feature-video__player {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.feature-video__caption {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    text-align: right;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6, 4, 12, 0.82);
    backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    padding: 32px;
    z-index: 1000;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__content {
    position: relative;
    max-width: min(960px, 90vw);
    width: 100%;
    display: grid;
    gap: 16px;
    background: rgba(14, 10, 24, 0.95);
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

.lightbox__image {
    width: 100%;
    border-radius: 16px;
    object-fit: contain;
    max-height: 70vh;
}

.lightbox__caption {
    margin: 0;
    text-align: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.lightbox__close {
    position: absolute;
    top: 24px;
    inset-inline-end: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
    outline: none;
}

.glass-panel,
.feature-card,
.product-card,
.pricing-card,
.testimonial-card {
    background: rgba(22, 16, 34, 0.82);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    position: relative;
    overflow: hidden;
}

.feature-card::before,
.product-card::before,
.pricing-card::before,
.testimonial-card::before,
.glass-panel::before {
    content: "";
    position: absolute;
    inset: -160px 40% 60% -60px;
    background: linear-gradient(135deg, rgba(201, 92, 199, 0.18), transparent 65%);
    pointer-events: none;
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-items: center;
    align-items: start;
}

.product-card img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 18px;
}

.pricing-card {
    display: grid;
    gap: 18px;
    text-align: center;
}

.plan-toggle {
    margin-top: auto;
}

.plan-order-wrapper {
    display: grid;
    gap: 12px;
    padding: 18px;
    background: rgba(19, 14, 29, 0.72);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(12, 8, 24, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-order-wrapper[hidden] {
    display: none;
}

.plan-order[hidden] {
    display: none;
}

.plan-order.is-visible {
    animation: planOrderReveal 0.35s ease;
}

.plan-order__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    text-align: right;
    color: #fff;
}

.plan-order__grid {
    display: grid;
    gap: 14px;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.plan-order__field {
    display: grid;
    gap: 8px;
    text-align: right;
}

.plan-order__field span {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.75);
}

.plan-order__input {
    display: inline-grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: stretch;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(16, 10, 26, 0.92), rgba(8, 5, 14, 0.95));
    overflow: hidden;
    position: relative;
}

.plan-order__input:focus-within {
    border-color: rgba(125, 91, 255, 0.65);
    box-shadow: 0 0 0 3px rgba(125, 91, 255, 0.18);
}

.plan-order__field input {
    width: 100%;
    border: none;
    background: transparent;
    color: #fff;
    padding: 0 12px;
    font-size: 16px;
    font-family: "Vazirmatn", sans-serif;
    text-align: center;
    appearance: textfield;
}

.plan-order__field input:focus {
    outline: none;
}

.plan-order__field input::-webkit-outer-spin-button,
.plan-order__field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.plan-counter {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    font-family: "Vazirmatn", sans-serif;
    font-weight: 600;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.plan-counter:hover,
.plan-counter:focus {
    background: rgba(125, 91, 255, 0.35);
    transform: translateY(-1px);
    outline: none;
}

.plan-order__summary {
    display: grid;
    gap: 6px;
    text-align: center;
}

.plan-order__summary span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.plan-order__summary strong {
    font-size: 20px;
    color: #fff;
}

.plan-order__hint {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68);
}

.plan-order__cta {
    justify-self: center;
}

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

.plan-duration {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-muted);
    font-size: 14px;
}

.feature-list li::before {
    content: "\2713";
    color: var(--color-accent);
    font-size: 16px;
}

.testimonial-card {
    display: grid;
    gap: 18px;
}

.testimonial-quote {
    font-style: italic;
    line-height: 1.9;
    color: var(--color-muted);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.14);
}

.about-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.contact-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.contact-grid form {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    font-size: 14px;
    color: var(--color-muted);
}

input,
textarea {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 11, 24, 0.75);
    color: #fff;
    resize: vertical;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: 1px solid rgba(201, 92, 199, 0.6);
    box-shadow: 0 0 0 4px rgba(201, 92, 199, 0.12);
}

footer {
    padding: 40px 24px;
    background: rgba(15, 11, 24, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bar {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-copy {
    color: var(--color-muted);
    font-size: 14px;
}

.footer-actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.footer-pill {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: var(--transition);
}

.footer-pill:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.footer-pill svg {
    width: 22px;
    height: 22px;
}

.social-links {
    display: flex;
    gap: 18px;
}

.social-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(201, 92, 199, 0.4);
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        inset: 80px 24px auto 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 28px;
        border-radius: 24px;
        background: radial-gradient(circle at top, rgba(72, 52, 119, 0.78), rgba(18, 12, 32, 0.92));
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 28px 70px rgba(6, 3, 15, 0.55);
        backdrop-filter: blur(18px);
        font-family: "Vazirmatn", sans-serif;
        font-weight: 500;
        z-index: 1200;
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-links > li {
        display: block;
    }

    .nav-links > li > a,
    .nav-links .nav-auth a {
        justify-content: center;
        width: 100%;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hamburger {
        display: inline-flex;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-content {
        padding: 32px;
    }

    .hero-card {
        padding: 32px;
    }
}

@media (min-width: 769px) {
    .hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    header {
        border-bottom: none;
    }

    .nav-wrapper {
        padding: 14px 18px;
    }

    section {
        padding: 72px 18px;
    }

    .hero-content,
    .hero-card {
        padding: 28px;
    }

    .hero::after {
        inset: 20px 0 -40px;
    }

    .cta-group {
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-bar {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .footer-actions {
        justify-content: center;
    }
}
