/* RTL theme "Golestan" (Persian, Arabic): soft round shapes, gradients, glass cards,
   centered hero, light wavy footer. Its own design, not a mirror of the LTR theme. */

.theme-rtl { --radius: 22px; --grad: linear-gradient(135deg, var(--blue) 0%, #1585c9 50%, var(--green) 100%); }
.theme-rtl body { line-height: 1.9; }
.theme-rtl h1, .theme-rtl h2 { font-weight: 900; }

/* ribbon + header */
.ribbon { background: var(--grad); color: #fff; font-size: .86rem; }
.ribbon-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.ribbon .lang-switch a { color: rgba(255, 255, 255, .88); }
.ribbon .lang-switch a:hover { color: #fff; }
.ribbon .lang-switch a.active { background: #fff; color: var(--blue); }
.ribbon .lang-switch .icon { color: #fff; }
.ribbon-contact a { color: #fff; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
@media (max-width: 600px) { .ribbon-contact { display: none; } .ribbon-in { justify-content: center; } }

.site-header { margin: 12px auto 0; max-width: calc(var(--container) - 0px); border-radius: 20px; top: 10px; background: rgba(255, 255, 255, .82); box-shadow: 0 8px 30px -18px rgba(11, 84, 196, .4); }
.site-header .header-in { min-height: 74px; }
.site-header.scrolled { background: rgba(255, 255, 255, .96); }
.main-nav { margin-inline: auto; }
.main-nav a { border-radius: 999px; padding: 8px 16px; }
.main-nav a.active { background: var(--grad); color: #fff; }
.main-nav a:hover:not(.active) { background: var(--blue-50); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn-buy { border-radius: 999px; padding-inline: 26px; box-shadow: 0 10px 22px -12px rgba(18, 163, 127, .9); }
@media (max-width: 1100px) { .site-header { margin-inline: 12px; } }
@media (max-width: 960px) {
  .header-actions .nav-toggle { margin-inline-start: 0; }
  .main-nav { border-radius: 0; }
  .main-nav a.active { border-radius: 12px; }
}
@media (max-width: 420px) { .header-actions .btn-buy { padding-inline: 16px; } .brand-text small { display: none; } }

/* hero: centered, colour blobs, glass cards */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 8vw, 110px) clamp(40px, 6vw, 80px); margin-top: -90px; padding-top: calc(clamp(48px, 8vw, 110px) + 90px); background: linear-gradient(180deg, var(--blue-50), #fff 85%); }
.hero-blobs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero-blobs span:nth-child(1) { width: 420px; height: 420px; background: #b9d3ff; top: -80px; inset-inline-end: -100px; }
.hero-blobs span:nth-child(2) { width: 380px; height: 380px; background: #b5ecd9; top: 160px; inset-inline-start: -120px; }
.hero-blobs span:nth-child(3) { width: 260px; height: 260px; background: #cfe7ff; bottom: -60px; inset-inline-end: 30%; }
.hero-center { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .pill { background: rgba(255, 255, 255, .8); color: var(--green-600); box-shadow: 0 6px 18px -10px rgba(18, 163, 127, .6); }
.hero h1 { margin-top: 20px; max-width: 900px; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.45; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 20px; }
.hero-actions .btn { border-radius: 999px; }
.hero-actions .btn-primary { background: var(--grad); box-shadow: 0 14px 28px -14px rgba(11, 84, 196, .8); }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

.glass-row { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 18px; width: 100%; margin-top: 48px; text-align: start; }
.glass { background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .9); border-radius: 24px; padding: 20px; box-shadow: 0 24px 50px -30px rgba(11, 84, 196, .45); }
.glass-title { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.glass-title .icon { color: var(--blue); }
.g-slot { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #fff; margin-bottom: 8px; font-size: .88rem; }
.g-slot b { color: var(--blue); }
.g-slot em { font-style: normal; font-size: .76rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-600); }
.g-free { background: transparent; border: 1.5px dashed var(--blue-100); color: var(--muted); }
.glass-ai { background: linear-gradient(160deg, rgba(11, 84, 196, .92), rgba(18, 163, 127, .92)); color: #e8f1ff; border: 0; transform: translateY(-18px); }
.glass-ai .glass-title, .glass-ai .glass-title .icon { color: #fff; }
.glass-sub { display: flex; align-items: center; gap: 6px; font-weight: 800; margin: 12px 0 4px; color: #fff; }
.glass-text { margin: 0; font-size: .92rem; color: #dbe9ff; }
.eq { display: flex; gap: 4px; align-items: center; height: 36px; }
.eq i { flex: 1; background: rgba(255, 255, 255, .85); border-radius: 3px; height: 30%; animation: eq 1.2s ease-in-out infinite; }
.eq i:nth-child(2n) { animation-delay: .15s; } .eq i:nth-child(3n) { animation-delay: .3s; } .eq i:nth-child(4n) { animation-delay: .45s; }
@keyframes eq { 50% { height: 100%; } }
.ch-icons { display: flex; flex-wrap: wrap; gap: 10px; }
.ch-icons .icon { width: 48px; height: 48px; padding: 11px; border-radius: 16px; background: #fff; color: var(--blue); }
.ch-icons .icon:nth-child(2n) { color: var(--green); }
@media (max-width: 860px) {
  .glass-row { grid-template-columns: minmax(0, 1fr); }
  .glass-ai { transform: none; }
}

/* section heading accent */
.section-head h2::after, .group-head h2::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 5px; background: var(--grad); margin: 14px auto 0; }
.group-head h2::after { margin-inline: 0; }

/* blocks: soft, borderless, rounded */
.card, .icon-list li, .steps li, .faq-item, .customer, .review, .post-card, .contact-card, .contact-info, .custom-plan, .ai-card {
  border-radius: var(--radius); background: #fff; box-shadow: 0 12px 40px -24px rgba(15, 31, 58, .3);
}
.card { padding: 28px 24px; text-align: center; transition: transform .25s, box-shadow .25s; }
.card:hover, .post-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(11, 84, 196, .45); }
.card-icon { border-radius: 50%; color: #fff; background: var(--grad); width: 58px; height: 58px; }
.cards .card:nth-child(even) .card-icon { background: linear-gradient(135deg, var(--green), #19b6c9); }
.audience li { border-radius: 999px; background: linear-gradient(135deg, var(--blue-50), var(--green-50)); justify-content: center; text-align: center; }
.audience li .icon { color: var(--blue); }
.audience li:nth-child(even) .icon { color: var(--green-600); }
.icon-list li { align-items: center; }
.icon-list .card-icon { width: 50px; height: 50px; }
.section-tint { background: linear-gradient(180deg, #f3f8ff, #f2fbf7); }
.steps li { text-align: center; padding-top: 40px; }
.step-no { width: 60px; height: 60px; font-size: 1.4rem; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -12px rgba(11, 84, 196, .8); }

/* AI: bright gradient panel with white cards */
.section-ai { background: radial-gradient(circle at 15% 10%, #dcebff, transparent 45%), radial-gradient(circle at 85% 90%, #d6f5ea, transparent 45%), #f7fbff; }
.pill-ai { background: var(--grad); color: #fff; margin-bottom: 14px; }
.ai-card { text-align: start; }
.ai-card .card-icon { width: 52px; height: 52px; }
.ai-card-key { background: var(--grad); color: #eaf3ff; box-shadow: 0 30px 60px -30px rgba(11, 84, 196, .7); }
.ai-card-key h3 { color: #fff; }
.ai-card-key .card-icon { background: #fff; color: var(--blue); }
.feature-list .feature-key { background: var(--grad); color: #eaf3ff; }
.feature-list .feature-key h3, .feature-list .feature-key p, .feature-list .feature-key > .icon { color: #fff; }

/* features page */
.chips a { background: #fff; color: var(--text); box-shadow: 0 6px 16px -12px rgba(15, 31, 58, .5); }
.chips a:hover { color: var(--blue); }
.chips a.active { background: var(--grad); color: #fff; }
.feature-list li { padding: 16px; border-radius: 16px; }
.feature-list li:not(.feature-key):hover { background: #fff; box-shadow: 0 10px 30px -22px rgba(15, 31, 58, .4); }
.feature-list li > .icon { background: var(--green-50); border-radius: 50%; padding: 4px; width: 28px; height: 28px; margin-top: 0; }

/* plans: gradient header band */
.plans { gap: 22px; }
.plan { padding: 0 0 26px; border-radius: 26px; overflow: visible; box-shadow: 0 16px 44px -26px rgba(15, 31, 58, .35); }
.plan-head { padding: 28px 20px 22px; border-radius: 26px 26px 0 0; background: linear-gradient(180deg, var(--blue-50), #fff); }
.plan-org .plan-head { background: linear-gradient(180deg, var(--green-50), #fff); }
.plan > .btn, .plan-features { margin-inline: 22px; }
.plan > .btn { border-radius: 999px; width: auto; }
.plan-featured { box-shadow: 0 0 0 3px var(--green), 0 30px 60px -28px rgba(18, 163, 127, .7); transform: scale(1.03); }
.plan-featured .plan-head { background: var(--grad); }
.plan-featured .plan-head *, .plan-featured .plan-price strong, .plan-featured .plan-price span { color: #fff; }
.plan-featured .btn-primary { background: var(--green); }
.plan-featured .btn-primary:hover { background: var(--green-600); }
.plan-badge { background: var(--green); top: -16px; z-index: 1; box-shadow: 0 10px 20px -10px rgba(18, 163, 127, .9); }
.plan-features li .icon { background: var(--green-50); border-radius: 50%; padding: 2px; }
.plan-features li.off .icon { background: #f1f4f8; }
@media (max-width: 600px) { .plan-featured { transform: none; } }
.custom-plan { background: linear-gradient(135deg, var(--blue-50), var(--green-50)); box-shadow: none; }

/* subscription switch: gradient pill */
.billing { border: 0; box-shadow: 0 14px 36px -22px rgba(11, 84, 196, .5); }
.billing-opt.active { background: var(--grad); box-shadow: 0 10px 20px -12px rgba(11, 84, 196, .8); }

/* faq */
.faq-item summary { padding: 20px 24px; }
.faq-item[open] { box-shadow: 0 0 0 2px var(--blue-100), 0 12px 40px -24px rgba(15, 31, 58, .3); }

/* customers */
.customer-mark { background: var(--grad); border-radius: 18px; }

/* forms */
.field input, .field select, .field textarea { border-radius: 14px; background-color: var(--bg-soft); border-color: transparent; }
.field input:focus, .field select:focus, .field textarea:focus { background-color: #fff; }
.form .btn-primary { background: var(--grad); border-radius: 999px; padding-inline: 40px; }

/* page head */
.page-head { text-align: center; background: radial-gradient(circle at 80% 0, #dcebff, transparent 50%), radial-gradient(circle at 10% 100%, #d9f6ec, transparent 50%), #fafcff; margin-top: -90px; padding-top: calc(clamp(40px, 6vw, 72px) + 90px); }
.page-head .lead { margin-inline: auto; }
.page-head .breadcrumbs ol { justify-content: center; }
.article-head { margin-top: -90px; padding-top: calc(clamp(36px, 5vw, 64px) + 90px); background: linear-gradient(180deg, var(--blue-50), #fff); }

/* CTA band: rounded card */
.cta-band { padding-block: clamp(40px, 6vw, 72px); }
.cta-band-in { background: var(--grad); border-radius: 32px; padding: clamp(28px, 5vw, 56px); box-shadow: 0 30px 60px -30px rgba(11, 84, 196, .7); max-width: calc(var(--container) - 2 * var(--gutter)); }
.cta-band .btn { border-radius: 999px; }

/* footer: light with a wave */
.site-footer { position: relative; margin-top: 40px; color: var(--muted); }
.footer-wave { display: block; width: 100%; height: 60px; fill: #eef5ff; }
.footer-body { background: linear-gradient(180deg, #eef5ff, #effaf5); padding-top: 24px; }
.footer-logo { width: 150px; height: auto; margin-bottom: 10px; }
.site-footer .footer-title { color: var(--ink); }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--blue); }
.footer-contact p { margin: 0 0 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 6px; }
.footer-contact .btn { margin-top: 10px; border-radius: 999px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(11, 84, 196, .12); }
.footer-bottom a { color: var(--blue); }
