/* ==========================================================================
   Dastak / دستک — landing page stylesheet
   Palette (color.md): primary #0d9394 · secondary #282a42 · background #f7f7f9
   Type: IRY (local woff2, weights 400–700), Persian RTL-first.
   ========================================================================== */

/* ---------- Fonts (local, ../font/IRY) ---------- */
@font-face {
  font-family: IRY;
  src: url('../font/IRY/IRY-Medium.ttf') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f7f9;
  color: #282a42;
  font-family: IRY;
  line-height: 1.8;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
strong,
button,
em,
.f-setting,
.e-control,
.e-css,
input.e-input {
  font-family: IRY !important;
  user-select: none;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3 {
  font-weight: 700;
}

img,
svg {
  max-width: 100%;
}

/* Keyboard focus ring (accessibility) */
:focus-visible {
  outline: 3px solid #0d9394;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link — hidden until focused (accessibility) */
.skip-link {
  position: absolute;
  right: 16px;
  top: -60px;
  z-index: 99;
  background: #0d9394;
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-size: 13px;
  transition: top .2s;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Scroll-reveal (progressive enhancement, applied only with JS) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

html.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Shared ---------- */
.section-tag {
  color: #0d9394;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: .2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 21px;
  border-radius: 11px;
  font-size: 14px;
  transition: .25s;
}

.btn span {
  margin-right: 8px;
}

.btn.primary {
  background: #0d9394;
  color: #fff;
  box-shadow: 0 9px 20px #0d939433;
}

.btn.primary:hover {
  background: #087577;
  transform: translateY(-2px);
}

.btn.ghost {
  border: 1px solid #d8d9e3;
}

.btn.ghost:hover {
  border-color: #0d9394;
  color: #0d9394;
}

.icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.icon.teal {
  background: #e1f6f3;
  color: #0d9394;
}

.icon.purple {
  background: #eeebff;
  color: #7259c7;
}

.icon.orange {
  background: #fff1df;
  color: #db8c26;
}

.bar {
  height: 7px;
  background: #e8e9f0;
  border-radius: 9px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  background: #0d9394;
  border-radius: 9px;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  height: 78px;
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: bold;
}

.brand b {
  font-size: 13px;
  opacity: .55;
  direction: ltr;
}

.mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #fff;
  font-size: 22px;
}

.nav nav {
  display: flex;
  gap: 32px;
  color: #62647a;
  font-size: 14px;
}

.nav nav a:hover {
  color: #0d9394;
}

.nav-cta {
  border: 1px solid #d8d9e3;
  border-radius: 10px;
  padding: 8px 15px;
  font-size: 13px;
  transition: .25s;
}

.nav-cta span {
  margin-right: 8px;
}

.nav-cta:hover {
  border-color: #0d9394;
  color: #0d9394;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  max-width: 1180px;
  margin: auto;
  padding: 80px 24px 105px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  color: #0d9394;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: .2px;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.3;
  margin: 16px 0;
}

.hero h1 em {
  font-style: normal;
  color: #0d9394;
}

.hero p {
  font-size: 18px;
  color: #65677d;
  max-width: 510px;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.micro {
  font-size: 11px;
  color: #85879a;
  margin-top: 22px;
}

.micro span {
  color: #0d9394;
  margin: 0 6px;
}

/* --- hero visual: dashboard mockup --- */
.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  width: 390px;
  height: 390px;
  background: #0d93941a;
  border-radius: 50%;
  filter: blur(5px);
}

.dashboard {
  position: relative;
  width: min(100%, 480px);
  background: #fff;
  border: 1px solid #e4e5ec;
  border-radius: 18px;
  box-shadow: 0 24px 55px #282a4217;
  padding: 20px;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.dots {
  color: #d2d4df;
  font-size: 9px;
  letter-spacing: 3px;
}

.avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #e2f5f3;
  color: #0d7778;
  border-radius: 50%;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 25px 0;
}

.metric-row>div {
  background: #f7f8fa;
  border-radius: 12px;
  padding: 14px;
}

.metric-row small {
  display: block;
  color: #888b9d;
  font-size: 10px;
}

.metric-row strong {
  display: block;
  font-size: 24px;
}

.metric-row strong i {
  font-size: 10px;
  font-style: normal;
  font-weight: normal;
}

.metric-row label {
  color: #0d9394;
  font-size: 10px;
}

.chart {
  background: #fbfbfc;
  border-radius: 12px;
  padding: 13px;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.chart-head small {
  color: #9294a5;
  font-size: 10px;
}

.chart svg {
  width: 100%;
  height: 120px;
  margin-top: 8px;
}

.deal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 10px;
  background: #f7f8fa;
  border-radius: 10px;
}

.deal-icon {
  color: #0d9394;
  font-size: 20px;
}

.deal small {
  display: block;
  color: #888b9d;
  font-size: 10px;
}

.deal b {
  font-size: 11px;
}

.deal strong {
  color: #0d9394;
  font-size: 13px;
}

.float-card {
  position: absolute;
  left: -18px;
  bottom: 42px;
  background: #282a42;
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 15px 35px #282a4233;
}

.float-card span,
.float-card small {
  display: block;
  color: #aeb1c2;
  font-size: 10px;
}

.float-card b {
  font-size: 25px;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust {
  text-align: center;
  padding: 25px 24px 70px;
  border-top: 1px solid #e9e9ef;
}

.trust p {
  font-size: 12px;
  color: #9698a8;
}

.trust div {
  display: flex;
  justify-content: center;
  gap: 55px;
  flex-wrap: wrap;
  color: #9b9cac;
  font-weight: bold;
}

/* ==========================================================================
   STATS COUNTERS
   ========================================================================== */
.stats {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  background: #fff;
  border: 1px solid #e7e8ee;
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
  transition: .25s;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px #282a4210;
}

.stat strong {
  display: block;
  font-size: 34px;
  color: #0d9394;
  line-height: 1.4;
}

.stat span {
  font-size: 12px;
  color: #76788b;
}

/* ==========================================================================
   KEY BENEFITS (intro)
   ========================================================================== */
.intro {
  max-width: 1180px;
  margin: auto;
  padding: 90px 24px;
  text-align: center;
}

.intro h2 {
  font-size: 42px;
  line-height: 1.45;
  margin: 10px 0;
}

.intro h2 span {
  color: #0d9394;
}

.intro>p {
  max-width: 580px;
  margin: 0 auto;
  color: #74768a;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 45px;
  text-align: right;
}

.cards article {
  background: #fff;
  border: 1px solid #e7e8ee;
  border-radius: 16px;
  padding: 25px;
  transition: .25s;
}

.cards article:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px #282a4210;
}

.cards h3 {
  font-size: 18px;
  margin: 18px 0 8px;
}

.cards p {
  font-size: 13px;
  color: #76788b;
  margin: 0 0 12px;
}

.cards a {
  color: #0d9394;
  font-size: 12px;
}

/* ==========================================================================
   FEATURE GRID
   ========================================================================== */
.feature-grid {
  max-width: 1180px;
  margin: auto;
  padding: 20px 24px 90px;
  text-align: center;
}

.feature-grid h2 {
  font-size: 42px;
  line-height: 1.45;
  margin: 10px 0;
}

.feature-grid h2 span {
  color: #0d9394;
}

.feature-grid>p {
  max-width: 640px;
  margin: 0 auto;
  color: #74768a;
}

.feature-grid .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 45px;
  text-align: right;
}

.feature-grid .grid article {
  background: #fff;
  border: 1px solid #e7e8ee;
  border-radius: 16px;
  padding: 25px;
  transition: .25s;
}

.feature-grid .grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px #282a4210;
  border-color: #0d939440;
}

.feature-grid .grid h3 {
  font-size: 17px;
  margin: 18px 0 8px;
}

.feature-grid .grid p {
  font-size: 13px;
  color: #76788b;
  margin: 0;
}

/* ==========================================================================
   WORKFLOW
   ========================================================================== */
.workflow {
  max-width: 1180px;
  margin: auto;
  padding: 90px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.workflow h2 {
  font-size: 42px;
  line-height: 1.45;
  margin: 10px 0;
}

.workflow h2 span {
  color: #0d9394;
}

.workflow>div>p {
  font-size: 13px;
  color: #76788b;
}

.workflow ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.workflow li {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #e6e7ed;
}

.workflow li>b {
  color: #0d9394;
  font-size: 12px;
}

.workflow li strong {
  display: block;
  font-size: 14px;
}

.workflow li small {
  display: block;
  font-size: 11px;
  color: #858799;
}

.ops-card {
  background: #282a42;
  color: #fff;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 22px 45px #282a4230;
}

.ops-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 28px;
}

.live {
  font-size: 10px;
  color: #7fe1d4;
}

.ops-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin: 22px 0 5px;
}

.ops-stat b {
  font-size: 16px;
}

/* dark-panel variant of the bar track */
.ops-card .bar {
  background: #45475c;
}

.bar.warn i {
  background: #e0a258;
}

.bar.purplebar i {
  background: #8b78df;
}

.ops-foot {
  border-top: 1px solid #44465b;
  padding-top: 18px;
  color: #aeb1c2;
  font-size: 10px;
}

.ops-foot span {
  color: #7fe1d4;
}

/* ==========================================================================
   FINANCE & OPERATIONS
   ========================================================================== */
.finance {
  max-width: 1180px;
  margin: auto;
  padding: 90px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.finance h2 {
  font-size: 42px;
  line-height: 1.45;
  margin: 10px 0;
}

.finance h2 span {
  color: #0d9394;
}

.finance-copy>p {
  font-size: 13px;
  color: #76788b;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0;
}

.check-list li {
  position: relative;
  padding: 7px 30px 7px 0;
  font-size: 13px;
  color: #4b4d63;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  top: 7px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  background: #e1f6f3;
  color: #0d9394;
  border-radius: 50%;
  font-size: 11px;
}

.finance-panel {
  background: #fff;
  border: 1px solid #e4e5ec;
  border-radius: 18px;
  box-shadow: 0 24px 55px #282a4217;
  padding: 22px;
}

.fin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 22px;
}

.fin-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.fin-stats>div {
  background: #f7f8fa;
  border-radius: 12px;
  padding: 14px 12px;
}

.fin-stats small {
  display: block;
  color: #888b9d;
  font-size: 10px;
}

.fin-stats b {
  display: block;
  font-size: 18px;
  margin: 3px 0 8px;
}

.fin-rows {
  margin-top: 18px;
  border-top: 1px solid #eef0f4;
}

.fin-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #eef0f4;
}

.fin-row:last-child {
  border-bottom: none;
}

.fin-icon {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 13px;
}

.fin-icon.ok {
  background: #e1f6f3;
  color: #0d9394;
}

.fin-icon.wait {
  background: #fff1df;
  color: #db8c26;
}

.fin-row b {
  display: block;
  font-size: 12px;
}

.fin-row small {
  display: block;
  color: #8b8da0;
  font-size: 10px;
}

.fin-row strong {
  margin-right: auto;
  color: #0d9394;
  font-size: 12px;
}

.fin-row:has(.fin-icon.wait) strong {
  color: #db8c26;
}

/* ==========================================================================
   SECURITY
   ========================================================================== */
.security {
  max-width: 1180px;
  margin: auto;
  padding: 90px 24px;
}

.security-box {
  background: #e5f6f3;
  border-radius: 22px;
  padding: 60px 70px;
  display: flex;
  gap: 45px;
  align-items: center;
}

.shield {
  width: 80px;
  height: 80px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #0d9394;
  color: #fff;
  font-size: 36px;
}

.security h2 {
  font-size: 42px;
  line-height: 1.45;
  margin: 10px 0;
}

.security h2 span {
  color: #0d9394;
}

.security p {
  font-size: 13px;
  color: #76788b;
}

.pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.pills span {
  background: #fff;
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 11px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
  max-width: 1180px;
  margin: auto;
  padding: 20px 24px 90px;
  text-align: center;
}

.testimonials h2 {
  font-size: 42px;
  line-height: 1.45;
  margin: 10px 0;
}

.testimonials h2 span {
  color: #0d9394;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 45px;
  text-align: right;
}

.quote-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid #e7e8ee;
  border-radius: 16px;
  padding: 25px;
  transition: .25s;
}

.quote-grid figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px #282a4210;
}

.quote-grid blockquote {
  margin: 0 0 20px;
  font-size: 13.5px;
  color: #4b4d63;
  line-height: 2;
}

.t-avatar {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  background: #e1f6f3;
  color: #0d7778;
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
}

.quote-grid figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-grid figcaption b {
  display: block;
  font-size: 13px;
}

.quote-grid figcaption small {
  display: block;
  color: #8b8da0;
  font-size: 11px;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.cta {
  max-width: 1180px;
  margin: 20px auto 70px;
  padding: 65px 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #282a42;
  color: #fff;
  border-radius: 22px;
  overflow: hidden;
}

.cta h2 {
  font-size: 42px;
  line-height: 1.45;
  margin: 10px 0;
}

.cta h2 span {
  color: #7fe1d4;
}

.cta .section-tag {
  color: #7fe1d4;
}

.cta p {
  color: #b6b8c8;
  font-size: 14px;
}

.cta .btn {
  margin-top: 14px;
}

.cta-mark {
  font-size: 250px;
  line-height: 1;
  color: #ffffff0a;
  user-select: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  max-width: 1180px;
  margin: auto;
  padding: 45px 24px 30px;
  border-top: 1px solid #e5e6ec;
  color: #898b9d;
  font-size: 11px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  text-align: right;
}

.foot-brand .brand {
  color: #282a42;
  font-size: 16px;
}

.foot-brand .mark {
  width: 30px;
  height: 30px;
  font-size: 18px;
}

.foot-brand p {
  margin: 14px 0 0;
  max-width: 260px;
  line-height: 2;
}

footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer nav b {
  color: #282a42;
  font-size: 12px;
  margin-bottom: 4px;
}

footer nav a {
  color: #898b9d;
  font-size: 12px;
  transition: color .2s;
}

footer nav a:hover {
  color: #0d9394;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid #ecedef;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {

  .workflow,
  .finance {
    gap: 45px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .nav nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    gap: 35px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .float-card {
    left: 0;
    bottom: 20px;
  }

  .intro,
  .feature-grid,
  .testimonials {
    padding-top: 20px;
  }

  .intro h2,
  .feature-grid h2,
  .workflow h2,
  .finance h2,
  .security h2,
  .testimonials h2,
  .cta h2 {
    font-size: 32px;
  }

  .cards,
  .feature-grid .grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .workflow,
  .finance {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .security {
    padding-top: 20px;
  }

  .security-box {
    padding: 35px 25px;
    display: block;
  }

  .shield {
    margin-bottom: 25px;
  }

  .cta {
    margin: 20px 24px 50px;
    padding: 40px 28px;
    display: block;
  }

  .cta-mark {
    display: none;
  }

  .trust div {
    gap: 20px 30px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .fin-stats {
    grid-template-columns: 1fr;
  }
}








/* ==========================================================================
   PRICING PLANS
   ========================================================================== */
.pricing {
  max-width: 1180px;
  margin: auto;
  padding: 40px 24px 90px;
  text-align: center;
}

.pricing h2 {
  font-size: 42px;
  line-height: 1.45;
  margin: 10px 0;
}

.pricing h2 span {
  color: #0d9394;
}

.pricing>p {
  max-width: 640px;
  margin: 0 auto 45px;
  color: #74768a;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: right;
}

.plan-card {
  background: #fff;
  border: 1px solid #e7e8ee;
  border-radius: 18px;
  padding: 28px 22px 32px;
  transition: .3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px #282a4215;
  border-color: #0d939460;
}

.plan-card.popular {
  border-color: #0d9394;
  box-shadow: 0 12px 30px #0d939430;
}

.plan-card.popular:hover {
  box-shadow: 0 20px 45px #0d939450;
}

.plan-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #0d9394;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: .3px;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  color: #282a42;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-name small {
  font-size: 12px;
  font-weight: 400;
  color: #898b9d;
}

.plan-price {
  font-size: 25px;
  font-weight: 700;
  color: #0d9394;
  margin: 10px 0 4px;
  line-height: 1.2;
}

.plan-price small {
  font-size: 14px;
  font-weight: 400;
  color: #898b9d;
}

.plan-desc {
  font-size: 12px;
  color: #76788b;
  margin-bottom: 20px;
  border-bottom: 1px solid #eef0f4;
  padding-bottom: 18px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: #4b4d63;
  border-bottom: 1px solid #f5f6f8;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li .fa-check {
  color: #0d9394;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.plan-features li .fa-xmark {
  color: #c5c6d0;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.plan-features li .fa-xmark.disabled {
  color: #e0a258;
  /* برای ضربدرهای هشداردهنده مثل عدم پشتیبانی */
}

.plan-features li .fa-check.disabled {
  color: #c5c6d0;
}

.plan-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

/* Responsive Pricing */
@media (max-width: 1000px) {
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}






/* ==========================================================================
   MODAL STYLES
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(40, 42, 66, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .3s ease;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: #fff;
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px 32px;
  position: relative;
  animation: slideUp .3s ease;
  box-shadow: 0 40px 80px rgba(40, 42, 66, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Modal Close Button */
.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: #f7f7f9;
  border-radius: 50%;
  font-size: 18px;
  color: #62647a;
  cursor: pointer;
  transition: .25s;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  background: #0d9394;
  color: #fff;
  transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: #e1f6f3;
  color: #0d9394;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.modal-header h2 {
  font-size: 26px;
  margin: 0 0 8px;
  color: #282a42;
}

.modal-header p {
  font-size: 13px;
  color: #76788b;
  margin: 0;
}

/* Form */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #282a42;
}

.form-group .required {
  color: #e74c3c;
  margin-right: 2px;
}

.form-group input {
  padding: 12px 14px;
  border: 2px solid #e7e8ee;
  border-radius: 11px;
  font-family: IRY;
  font-size: 14px;
  transition: .25s;
  background: #fcfcfd;
  color: #282a42;
}

.form-group input:focus {
  border-color: #0d9394;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 4px #0d939420;
}

.form-group input.error {
  border-color: #e74c3c;
  background: #fef6f6;
}

.form-group input.error:focus {
  box-shadow: 0 0 0 4px #e74c3c20;
}

.form-group input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.error-message {
  font-size: 11px;
  color: #e74c3c;
  display: none;
  margin-top: 2px;
}

.error-message.visible {
  display: block;
}

.input-hint {
  font-size: 10px;
  color: #9698a8;
  margin-top: 2px;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  justify-content: center;
  gap: 12px;
  padding: 14px 21px;
  font-size: 15px;
  margin-top: 8px;
  position: relative;
}

.submit-btn .spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Form Footer */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: #9698a8;
  margin-top: 6px;
}

.form-footer i {
  color: #0d9394;
}

/* Success State */
.modal-success {
  text-align: center;
  padding: 20px 0 10px;
  animation: fadeIn .4s ease;
}

.success-icon {
  font-size: 64px;
  color: #0d9394;
  margin-bottom: 16px;
}

.modal-success h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: #282a42;
}

.modal-success p {
  font-size: 14px;
  color: #76788b;
  margin: 0 0 24px;
}

/* Scrollbar */
.modal-container::-webkit-scrollbar {
  width: 6px;
}

.modal-container::-webkit-scrollbar-track {
  background: #f7f7f9;
}

.modal-container::-webkit-scrollbar-thumb {
  background: #d2d4df;
  border-radius: 10px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
  background: #0d9394;
}

/* Responsive */
@media (max-width: 600px) {
  .modal-container {
    padding: 28px 20px 24px;
    max-height: 95vh;
  }

  .modal-header h2 {
    font-size: 22px;
  }

  .modal-icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .submit-btn {
    font-size: 14px;
    padding: 12px 16px;
  }
}



/* ==========================================================================
   CONTACT MODAL (Social Networks)
   ========================================================================== */
.contact-modal .modal-container {
  max-width: 540px;
}

.contact-header {
  margin-bottom: 30px;
}

.contact-icon {
  background: #e1f6f3;
  color: #0d9394;
}

.contact-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
}

.contact-header p {
  font-size: 14px;
  color: #76788b;
  margin: 0;
}

/* Contact Grid - 6 items in a row */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px 14px;
  background: #f7f7f9;
  border-radius: 14px;
  border: 2px solid transparent;
  text-decoration: none;
  color: #282a42;
  transition: all .3s cubic-bezier(.25, .46, .45, .94);
  cursor: pointer;
}

.contact-item:hover {
  transform: translateY(-4px);
  border-color: #0d9394;
  box-shadow: 0 12px 28px rgba(13, 147, 148, 0.15);
  background: #fff;
}

.contact-item:active {
  transform: scale(0.94);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 8px;
  background: #e1f6f3;
  color: #0d9394;
  transition: all .3s ease;
}

.contact-item:hover .contact-item-icon {
  transform: scale(1.05);
}

/* Eitaa - ORANGE special */
.contact-item-icon.eitaa-orange {
  background: #fff0e8;
  color: #ff6b35;
}

.contact-item:hover .contact-item-icon.eitaa-orange {
  background: #ff6b35;
  color: #fff;
}

.contact-item-name {
  font-size: 11px;
  font-weight: 500;
  color: #62647a;
}

.contact-item:hover .contact-item-name {
  color: #0d9394;
}

.contact-item[data-platform="eitaa"]:hover .contact-item-name {
  color: #ff6b35;
}

/* Contact Footer */
.contact-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 2px dashed #e7e8ee;
  font-size: 12px;
  color: #9698a8;
}

.contact-dot {
  color: #0d9394;
  font-size: 8px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet: 3 columns */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .contact-item {
    padding: 14px 6px 12px;
  }

  .contact-item-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

/* Mobile: 3 columns (smaller) */
@media (max-width: 500px) {
  .contact-modal .modal-container {
    padding: 28px 16px 24px;
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .contact-item {
    padding: 12px 4px 10px;
    border-radius: 12px;
  }

  .contact-item-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 10px;
  }

  .contact-item-name {
    font-size: 10px;
  }

  .contact-footer {
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
  }

  .contact-dot {
    display: none;
  }
}

/* Very small phones: 2 columns */
@media (max-width: 380px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .contact-item {
    padding: 10px 2px 8px;
  }

  .contact-item-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .contact-item-name {
    font-size: 9px;
  }
}

/* ==========================================================================
   PASSWORD FIELD STYLES
   ========================================================================== */

/* Password Wrapper */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  flex: 1;
  padding-left: 110px !important;
  /* فضا برای دکمه‌ها */
}

.password-toggle,
.password-generate {
  position: absolute;
  left: 8px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #9698a8;
  cursor: pointer;
  border-radius: 8px;
  transition: all .25s;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.password-toggle {
  left: 46px;
}

.password-toggle:hover {
  color: #0d9394;
  background: #e1f6f3;
}

.password-generate {
  left: 8px;
  color: #0d9394;
}

.password-generate:hover {
  background: #0d9394;
  color: #fff;
  transform: rotate(30deg);
}

.password-generate:active {
  transform: rotate(60deg) scale(0.9);
}

/* Password Strength */
.password-strength {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.strength-bar {
  flex: 1;
  height: 4px;
  background: #e7e8ee;
  border-radius: 4px;
  overflow: hidden;
}

.strength-level {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width .4s ease, background .4s ease;
}

.strength-level.weak {
  width: 25%;
  background: #e74c3c;
}

.strength-level.medium {
  width: 50%;
  background: #f39c12;
}

.strength-level.strong {
  width: 75%;
  background: #2ecc71;
}

.strength-level.very-strong {
  width: 100%;
  background: #0d9394;
}

.strength-text {
  font-size: 11px;
  color: #9698a8;
  min-width: 40px;
  text-align: left;
}

.strength-text.weak {
  color: #e74c3c;
}

.strength-text.medium {
  color: #f39c12;
}

.strength-text.strong {
  color: #2ecc71;
}

.strength-text.very-strong {
  color: #0d9394;
}

/* Password Requirements */
.password-requirements {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
}

.password-requirements li {
  font-size: 11px;
  color: #9698a8;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  transition: all .3s ease;
}

.password-requirements li i {
  font-size: 12px;
  transition: all .3s ease;
}

.password-requirements li.valid {
  color: #2ecc71;
}

.password-requirements li.valid i {
  color: #2ecc71;
}

.password-requirements li.valid i.fa-regular {
  color: #2ecc71;
}

/* Toast Notification for Copy */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 50%;
  transform: translateX(50%);
  background: #282a42;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 13px;
  z-index: 9999;
  opacity: 0;
  transform: translateX(50%) translateY(20px);
  transition: all .4s ease;
  box-shadow: 0 12px 30px rgba(40, 42, 66, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.toast-notification i {
  color: #7fe1d4;
}

/* Responsive Password */
@media (max-width: 500px) {
  .password-requirements {
    grid-template-columns: 1fr;
  }

  .password-wrapper input {
    padding-left: 90px !important;
  }

  .password-toggle {
    left: 42px;
  }

  .password-generate {
    left: 8px;
  }
}


p#resuultError {
  color: #e74c3c;
  margin-bottom: 0;
  text-align: center;
}