/* 100kit.ir - Static Pages CSS
   Shared stylesheet for About, Contact, Privacy, Report Bug and Support.
*/


/* ============================================
   SHARED STATIC PAGE FOUNDATIONS
   ============================================ */

/* جلوگیری از بیرون‌زدگی افقی در صفحات استاتیک */
html,
body{
    max-width:100%;
    overflow-x:clip;
}

.about-page,
.contact-page,
.privacy-page,
.problem-page,
.support-page{
    width:100%;
    max-width:100%;
    min-width:0;
}

.about-shell,
.contact-shell,
.problem-shell,
.contact-layout,
.problem-layout,
.contact-card,
.problem-card,
.contact-side,
.problem-side{
    min-width:0;
}

/* مدل جعبه‌ای */
.about-page *,
.contact-page *,
.privacy-page *,
.problem-page *{
    box-sizing:border-box;
}

/* هیروی مشترک صفحات درباره، تماس و گزارش مشکل */
.about-hero,
.contact-hero,
.problem-hero{
    position:relative;
    overflow:hidden;
    max-width:var(--page-max);
    margin:0 auto;
    padding:64px 24px 24px;
    text-align:center;
}

.about-hero::before,
.contact-hero::before,
.problem-hero::before{
    content:"";
    position:absolute;
    inset:0 auto auto 50%;
    width:520px;
    height:260px;
    transform:translateX(-50%);
    background:radial-gradient(circle,rgba(30,64,255,.12),transparent 68%);
    pointer-events:none;
}

.about-hero h1,
.contact-hero h1,
.privacy-hero h1,
.problem-hero h1{
    position:relative;
    margin:0;
    color:var(--text);
    font-size:clamp(2rem,5vw,3.4rem);
    line-height:1.3;
    font-weight:900;
    letter-spacing:-.03em;
}

.about-hero p,
.contact-hero p,
.privacy-hero p,
.problem-hero p{
    position:relative;
    margin:10px auto 0;
    color:var(--text3);
    font-size:.82rem;
    line-height:1.9;
}

.about-hero p,
.privacy-hero p{
    max-width:760px;
}

.contact-hero p,
.problem-hero p{
    max-width:720px;
}

.about-shell,
.contact-shell,
.problem-shell{
    width:100%;
    max-width:var(--page-max);
    margin:0 auto;
    padding:12px 24px 72px;
}

/* کارت و فرم مشترک تماس / گزارش مشکل */
.contact-card,
.problem-card{
    min-height:100%;
    padding:24px;
    border:1px solid var(--border);
    border-radius:calc(var(--r) + 2px);
    background:var(--bg2);
    box-shadow:var(--sh);
}

.contact-card-head h2,
.problem-card-head h2{
    margin:0;
    color:var(--text);
    font-size:1.04rem;
    font-weight:850;
}

.contact-form,
.problem-form{
    display:grid;
    gap:15px;
}

.contact-field input,
.contact-field select,
.contact-field textarea,
.problem-field input,
.problem-field select,
.problem-field textarea{
    width:100%;
    min-height:46px;
    padding:11px 13px;
    border:1px solid var(--border);
    border-radius:12px;
    outline:0;
    background:var(--bg3);
    color:var(--text);
    font:inherit;
    font-size:.8rem;
    transition:.18s ease;
}

.contact-submit:disabled,
.problem-submit:disabled{
    cursor:wait;
    opacity:.68;
    transform:none;
}

.contact-side-title,
.problem-side-title{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.contact-side-card .side-icon,
.problem-side-icon{
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    flex:0 0 auto;
    border-radius:11px;
    background:var(--primary-l);
    color:var(--primary);
}

.contact-side-card h3,
.problem-side-card h3{
    margin:0;
    color:var(--text);
    font-size:.88rem;
    font-weight:850;
}

.contact-message h3,
.problem-message h3{
    margin:0 0 7px;
    color:var(--text);
    font-size:.95rem;
}

.contact-message p,
.problem-message p{
    margin:0;
    color:var(--text2);
    font-size:.77rem;
    line-height:1.9;
}

.contact-honeypot,
.problem-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.about-note i,
.privacy-note i{
    margin-top:4px;
    color:var(--primary);
}


/* ============================================
   ABOUT
   ============================================ */

.about-page {
    --page-max: 1120px;
    --page-gap: 18px;
  }


  .about-page a {
    color: inherit;
  }


  .about-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--page-gap);
  }

  .about-card {
    grid-column: span 6;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: calc(var(--r) + 2px);
    background: var(--bg2);
    box-shadow: var(--sh);
  }

  .about-card.wide {
    grid-column: 1 / -1;
  }

  .about-card.accent {
    background:
      linear-gradient(145deg, color-mix(in srgb, var(--primary-l) 72%, var(--bg2)), var(--bg2));
  }

  .about-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }

  .about-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 13px;
    background: var(--primary-l);
    color: var(--primary);
    font-size: 1rem;
  }

  .about-card h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 850;
  }

  .about-card p {
    margin: 0;
    color: var(--text2);
    font-size: .86rem;
    line-height: 2;
  }

  .about-card p + p {
    margin-top: 12px;
  }

  .about-principles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
  }

  .principle {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 11px;
    align-items: start;
    min-height: 112px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--bg3);
  }

  .principle i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 12px;
    background: var(--primary-l);
    color: var(--primary);
    font-size: .95rem;
  }

  .principle b {
    display: block;
    margin: 2px 0 5px;
    color: var(--text);
    font-size: .8rem;
  }

  .principle span {
    display: block;
    color: var(--text3);
    font-size: .69rem;
    line-height: 1.8;
  }

  .about-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding: 15px 16px;
    border: 1px dashed color-mix(in srgb, var(--primary) 26%, var(--border));
    border-radius: 15px;
    background: color-mix(in srgb, var(--primary-l) 50%, var(--bg2));
    color: var(--text2);
    font-size: .78rem;
    line-height: 1.9;
  }


  .about-founder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .about-founder-copy {
    max-width: 720px;
  }

  .about-founder-copy h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 850;
  }

  .about-founder-copy p {
    margin: 0;
    color: var(--text2);
    font-size: .85rem;
    line-height: 2;
  }

  .about-founder-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 800;
    transition: .2s ease;
  }

  .about-btn.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(30, 64, 255, .18);
  }

  .about-btn.secondary {
    border-color: var(--border);
    background: var(--bg3);
    color: var(--text);
  }

  .about-btn:hover {
    transform: translateY(-1px);
  }

  @media (max-width: 860px) {
    .about-card {
      grid-column: 1 / -1;
    }

    .about-principles {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-founder {
      align-items: flex-start;
      flex-direction: column;
    }
  }

  @media (max-width: 560px) {
    .about-hero {
      padding: 38px 16px 14px;
    }

    .about-hero h1 {
      font-size: 1.8rem;
    }

    .about-hero p {
      margin-top: 7px;
      font-size: .76rem;
    }

    .about-shell {
      padding: 8px 14px 44px;
    }

    .about-grid {
      gap: 12px;
    }

    .about-card {
      padding: 17px;
      border-radius: 16px;
    }

    .about-card-head {
      gap: 10px;
      margin-bottom: 11px;
    }

    .about-icon {
      width: 36px;
      height: 36px;
      border-radius: 11px;
    }

    .about-card h2 {
      font-size: .94rem;
    }

    .about-card p {
      font-size: .8rem;
      line-height: 1.95;
    }

    .about-principles {
      grid-template-columns: 1fr;
      gap: 8px;
    }

    .principle {
      min-height: 0;
      padding: 13px;
    }

    .about-note {
      padding: 13px;
      font-size: .74rem;
    }

    .about-founder {
      gap: 14px;
    }

    .about-founder-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      width: 100%;
    }

    .about-btn {
      width: 100%;
      min-height: 40px;
      padding: 0 10px;
      font-size: .72rem;
    }
  }

  @media (max-width: 390px) {
    .about-founder-actions {
      grid-template-columns: 1fr;
    }
  }


/* ============================================
   CONTACT
   ============================================ */

.contact-page {
    --page-max: 1120px;
  }


  .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, .7fr);
    gap: 18px;
    align-items: start;
  }


  .contact-card-head {
    margin-bottom: 20px;
  }

  .contact-card-head span {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: .68rem;
    font-weight: 800;
  }


  .contact-card-head p {
    margin: 7px 0 0;
    color: var(--text3);
    font-size: .73rem;
    line-height: 1.8;
  }


  .contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .contact-field label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 7px;
    color: var(--text2);
    font-size: .74rem;
    font-weight: 750;
  }

  .contact-field label .optional {
    color: var(--text3);
    font-size: .66rem;
    font-weight: 500;
  }

  .contact-field label .required {
    color: #ef4444;
  }


  .contact-field textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.9;
  }

  .contact-field input:focus,
  .contact-field select:focus,
  .contact-field textarea:focus {
    border-color: var(--primary);
    background: var(--bg2);
    box-shadow: 0 0 0 4px rgba(30, 64, 255, .07);
  }

  .contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 13px;
    background: var(--primary);
    color: #fff;
    font: inherit;
    font-size: .82rem;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(30, 64, 255, .18);
    transition: .2s ease;
  }

  .contact-submit:hover {
    transform: translateY(-1px);
    background: var(--primary-d);
  }


  .contact-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: var(--text3);
    font-size: .67rem;
    line-height: 1.8;
  }

  .contact-note i {
    margin-top: 3px;
    color: var(--primary);
  }

  .contact-side {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 12px;
    height: 100%;
  }

  .contact-side-card {
    display: flex;
    flex-direction: column;
  }

  .contact-side-card .contact-email,
  .contact-side-card .contact-link {
    margin-top: auto;
  }

  .contact-side-card {
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: calc(var(--r) + 1px);
    background: var(--bg2);
    box-shadow: var(--sh);
  }


  .contact-side-card p {
    margin: 0;
    color: var(--text2);
    font-size: .76rem;
    line-height: 1.9;
  }

  .contact-email {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    padding: 10px 11px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--bg3);
  }

  .contact-email span {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    direction: ltr;
    color: var(--primary);
    font-size: .74rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .contact-copy {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 9px;
    background: var(--primary-l);
    color: var(--primary);
    cursor: pointer;
  }

  .contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    margin-top: 14px;
    padding: 0 14px;
    border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--border));
    border-radius: 11px;
    background: var(--primary-l);
    color: var(--primary);
    text-decoration: none;
    font-size: .74rem;
    font-weight: 850;
    transition: .18s ease;
  }

  .contact-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
  }

  .contact-message {
    display: none;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg3);
    text-align: center;
  }

  .contact-message.show {
    display: block;
  }

  .contact-message i {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 50%;
    font-size: 1.15rem;
  }

  .contact-message.success i {
    background: #ecfdf5;
    color: #059669;
  }

  .contact-message.error i {
    background: #fef2f2;
    color: #dc2626;
  }


  .contact-retry {
    margin-top: 14px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
  }

  @media (max-width: 860px) {
    .contact-layout {
      grid-template-columns: 1fr;
    }

    .contact-side {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: auto;
      height: auto;
    }

    .contact-side-card:last-child {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 620px) {
    .contact-hero {
      padding: 38px 16px 14px;
    }

    .contact-hero h1 {
      font-size: 1.8rem;
    }

    .contact-hero p {
      margin-top: 7px;
      font-size: .76rem;
    }

    .contact-shell {
      padding: 8px 14px 44px;
    }

    .contact-layout {
      gap: 12px;
    }

    .contact-card,
    .contact-side-card {
      padding: 17px;
      border-radius: 16px;
    }

    .contact-form-row,
    .contact-side {
      grid-template-columns: 1fr;
    }

    .contact-side-card:last-child {
      grid-column: auto;
    }

    .contact-field input,
    .contact-field select {
      min-height: 44px;
    }

    .contact-field textarea {
      min-height: 132px;
    }

    .contact-submit {
      min-height: 46px;
    }

    .contact-side-title {
      margin-bottom: 8px;
    }

    .contact-link {
      width: 100%;
    }
  }


/* ============================================
   PRIVACY
   ============================================ */

.privacy-page{
    --page-max:1120px;
    --page-gap:18px;
  }

  .privacy-page a{color:inherit}

  .privacy-hero{
    position:relative;
    overflow:hidden;
    max-width:var(--page-max);
    margin:0 auto;
    padding:64px 24px 26px;
    text-align:center;
  }

  .privacy-hero::before{
    content:"";
    position:absolute;
    inset:0 auto auto 50%;
    width:560px;
    height:280px;
    transform:translateX(-50%);
    background:radial-gradient(circle,rgba(30,64,255,.12),transparent 68%);
    pointer-events:none;
  }

  .privacy-hero h1{
    position:relative;
    margin:0;
    color:var(--text);
    font-size:clamp(2rem,5vw,3.4rem);
    line-height:1.3;
    font-weight:900;
    letter-spacing:-.03em;
  }

  .privacy-hero p{
    position:relative;
    max-width:760px;
    margin:10px auto 0;
    color:var(--text3);
    font-size:.82rem;
    line-height:1.9;
  }

  .privacy-shell{
    max-width:var(--page-max);
    margin:0 auto;
    padding:4px 24px 76px;
  }


  .privacy-main{
    display:grid;
    grid-template-columns:250px minmax(0,1fr);
    gap:18px;
    align-items:start;
  }

  .privacy-sidebar{
    position:sticky;
    top:88px;
    display:grid;
    gap:12px;
  }

  .privacy-toc,
  .privacy-side-note{
    padding:18px;
    border:1px solid var(--border);
    border-radius:17px;
    background:var(--bg2);
    box-shadow:var(--sh);
  }

  .privacy-toc h2,
  .privacy-side-note h2{
    margin:0 0 12px;
    color:var(--text);
    font-size:.86rem;
    font-weight:850;
  }

  .privacy-toc nav{
    display:grid;
    gap:4px;
  }

  .privacy-toc a{
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 9px;
    border-radius:10px;
    color:var(--text2);
    text-decoration:none;
    font-size:.72rem;
    line-height:1.6;
    transition:.16s ease;
  }

  .privacy-toc a:hover{
    background:var(--bg3);
    color:var(--primary);
  }

  .privacy-toc a i{
    width:14px;
    color:var(--primary);
    text-align:center;
    font-size:.68rem;
  }

  .privacy-side-note p{
    margin:0;
    color:var(--text3);
    font-size:.7rem;
    line-height:1.9;
  }

  .privacy-side-note a{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:11px;
    color:var(--primary);
    text-decoration:none;
    font-size:.71rem;
    font-weight:800;
  }

  .privacy-content{
    display:grid;
    gap:12px;
  }

  .privacy-card{
    scroll-margin-top:100px;
    padding:24px;
    border:1px solid var(--border);
    border-radius:18px;
    background:var(--bg2);
    box-shadow:var(--sh);
  }

  .privacy-card.emphasis{
    background:
      linear-gradient(145deg,color-mix(in srgb,var(--primary-l) 65%,var(--bg2)),var(--bg2));
  }

  .privacy-card-head{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:14px;
  }

  .privacy-card-icon{
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    flex:0 0 auto;
    border-radius:12px;
    background:var(--primary-l);
    color:var(--primary);
  }

  .privacy-card-icon i{
    display:block;
    width:auto;
    height:auto;
    margin:0;
    color:inherit;
    font-size:.95rem;
    line-height:1;
    text-align:center;
  }

  .privacy-card h2{
    margin:0;
    color:var(--text);
    font-size:1rem;
    font-weight:850;
    line-height:1.7;
  }

  .privacy-card h3{
    margin:18px 0 7px;
    color:var(--text);
    font-size:.84rem;
    font-weight:820;
  }

  .privacy-card p{
    margin:0;
    color:var(--text2);
    font-size:.82rem;
    line-height:2.05;
  }

  .privacy-card p+p{margin-top:10px}

  .privacy-list{
    display:grid;
    gap:8px;
    margin:13px 0 0;
    padding:0;
    list-style:none;
  }

  .privacy-list li{
    display:flex;
    gap:9px;
    align-items:flex-start;
    color:var(--text2);
    font-size:.79rem;
    line-height:1.95;
  }

  .privacy-list i{
    margin-top:7px;
    color:var(--primary);
    font-size:.48rem;
  }

  .privacy-note{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin-top:14px;
    padding:14px 15px;
    border:1px dashed color-mix(in srgb,var(--primary) 25%,var(--border));
    border-radius:14px;
    background:color-mix(in srgb,var(--primary-l) 45%,var(--bg2));
    color:var(--text2);
    font-size:.75rem;
    line-height:1.95;
  }

  .privacy-note i{
    margin-top:4px;
    color:var(--primary);
  }

  .privacy-table{
    display:grid;
    gap:8px;
    margin-top:14px;
  }

  .privacy-row{
    display:grid;
    grid-template-columns:160px minmax(0,1fr);
    gap:12px;
    padding:11px 12px;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--bg3);
  }

  .privacy-row b{
    color:var(--text);
    font-size:.73rem;
  }

  .privacy-row span{
    color:var(--text2);
    font-size:.73rem;
    line-height:1.85;
  }

  .privacy-contact{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
  }

  .privacy-contact-copy{
    max-width:670px;
  }

  .privacy-contact-copy h2{
    margin:0 0 7px;
    color:var(--text);
    font-size:1rem;
  }

  .privacy-contact-copy p{
    margin:0;
  }

  .privacy-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:42px;
    padding:0 15px;
    border:1px solid var(--border);
    border-radius:11px;
    background:var(--bg3);
    color:var(--text);
    text-decoration:none;
    font-size:.74rem;
    font-weight:820;
    transition:.18s ease;
    white-space:nowrap;
  }

  .privacy-btn:hover{
    border-color:var(--primary);
    color:var(--primary);
    transform:translateY(-1px);
  }

  @media(max-width:900px){
    .privacy-main{
      grid-template-columns:1fr;
    }

    .privacy-sidebar{
      position:static;
      grid-template-columns:1fr;
    }

    .privacy-toc{
      display:none;
    }
  }

  @media(max-width:560px){
    .privacy-hero{
      padding:38px 16px 14px;
    }

    .privacy-hero h1{
      font-size:1.8rem;
    }

    .privacy-hero p{
      margin-top:7px;
      font-size:.76rem;
    }

    .privacy-shell{
      padding:8px 14px 46px;
    }

    .privacy-card,
    .privacy-side-note{
      padding:16px;
      border-radius:15px;
    }

    .privacy-card-head{
      gap:9px;
      margin-bottom:11px;
    }

    .privacy-card-icon{
      width:36px;
      height:36px;
      border-radius:10px;
    }

    .privacy-card h2{
      font-size:.92rem;
    }

    .privacy-card h3{
      font-size:.8rem;
    }

    .privacy-card p{
      font-size:.78rem;
      line-height:2;
    }

    .privacy-list li{
      font-size:.76rem;
    }

    .privacy-row{
      grid-template-columns:1fr;
      gap:4px;
      padding:10px 11px;
    }

    .privacy-contact{
      align-items:flex-start;
      flex-direction:column;
    }

    .privacy-btn{
      width:100%;
    }
  }


/* ============================================
   REPORT-BUG
   ============================================ */

.problem-page{--page-max:1120px}

.problem-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.7fr);gap:18px;align-items:stretch}

.problem-card-head{margin-bottom:20px}

.problem-card-head p{margin:7px 0 0;color:var(--text3);font-size:.73rem;line-height:1.85}

.problem-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.problem-field label{display:flex;gap:5px;align-items:center;margin-bottom:7px;color:var(--text2);font-size:.74rem;font-weight:750}
.problem-field .required{color:#ef4444}
.problem-field .optional{color:var(--text3);font-size:.65rem;font-weight:500}

.problem-field textarea{min-height:132px;resize:vertical;line-height:1.9}
.problem-field textarea.steps{min-height:100px}
.problem-field input:focus,.problem-field select:focus,.problem-field textarea:focus{border-color:var(--primary);background:var(--bg2);box-shadow:0 0 0 4px rgba(30,64,255,.07)}
.problem-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;padding:0 16px;border:0;border-radius:13px;background:var(--primary);color:#fff;font:inherit;font-size:.82rem;font-weight:850;cursor:pointer;box-shadow:0 8px 24px rgba(30,64,255,.18);transition:.2s ease}
.problem-submit:hover{background:var(--primary-d);transform:translateY(-1px)}

.problem-form-note{margin:-3px 0 0;color:var(--text3);font-size:.66rem;line-height:1.8;text-align:center}
.problem-side{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:12px;height:100%}
.problem-side-card{display:flex;flex-direction:column;padding:19px;border:1px solid var(--border);border-radius:calc(var(--r) + 1px);background:var(--bg2);box-shadow:var(--sh)}

.problem-side-card p,.problem-side-card li{color:var(--text2);font-size:.75rem;line-height:1.9}
.problem-side-card p{margin:0}
.problem-side-card ul{margin:0;padding:0 18px 0 0}
.problem-side-card li+li{margin-top:4px}
.problem-tech{display:grid;gap:7px;margin-top:auto;padding-top:12px}
.problem-tech-row{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px;align-items:center;font-size:.68rem}
.problem-tech-row b{color:var(--text)}
.problem-tech-row span{overflow:hidden;padding:6px 8px;border-radius:8px;background:var(--bg3);color:var(--text2);direction:ltr;text-align:left;text-overflow:ellipsis;white-space:nowrap}
.problem-email{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:12px}
.problem-email-box{display:flex;align-items:center;width:100%;gap:8px;padding:9px 10px;border:1px solid var(--border);border-radius:11px;background:var(--bg3)}
.problem-email-box span{min-width:0;flex:1;overflow:hidden;direction:ltr;color:var(--primary);font-size:.72rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.problem-copy{display:grid;place-items:center;width:33px;height:33px;flex:0 0 auto;border:0;border-radius:9px;background:var(--primary-l);color:var(--primary);cursor:pointer}
.problem-message{display:none;padding:28px 22px;border:1px solid var(--border);border-radius:16px;background:var(--bg3);text-align:center}
.problem-message.show{display:block}
.problem-message i{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 12px;border-radius:50%;background:#ecfdf5;color:#059669}

.problem-message a{display:inline-flex;align-items:center;gap:7px;margin-top:14px;color:var(--primary);text-decoration:none;font-size:.75rem;font-weight:800}
.problem-error{display:none;margin-top:12px;padding:11px 13px;border:1px solid #fecaca;border-radius:11px;background:#fef2f2;color:#991b1b;font-size:.73rem;line-height:1.8}
.problem-error.show{display:block}

@media(max-width:860px){.problem-layout{grid-template-columns:1fr}.problem-side{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;height:auto}.problem-side-card:last-child{grid-column:1/-1}}
@media(max-width:620px){.problem-hero{padding:38px 16px 14px}.problem-hero h1{font-size:1.8rem}.problem-hero p{margin-top:7px;font-size:.76rem}.problem-shell{padding:8px 14px 44px}.problem-layout{gap:12px}.problem-card,.problem-side-card{padding:17px;border-radius:16px}.problem-row,.problem-side{grid-template-columns:1fr}.problem-side-card:last-child{grid-column:auto}.problem-field input,.problem-field select{min-height:44px}.problem-field textarea{min-height:120px}.problem-submit{min-height:46px}}


/* ============================================
   SUPPORT
   ============================================ */

.support-page{
    max-width:900px;
    margin:0 auto;
    padding:18px 0 48px;
}

/* ============================================
   HERO
   ============================================ */

.support-hero{
    text-align:center;
    padding:34px 20px 30px;
}

.support-icon{
    width:68px;
    height:68px;
    margin:0 auto 16px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:22px;
    background:var(--primary-l);
    color:var(--primary);
    font-size:28px;
}

.support-hero h1{
    font-size:clamp(1.55rem,4vw,2rem);
    font-weight:800;
    margin:0 0 10px;
    color:var(--text);
}

.support-hero p{
    max-width:610px;
    margin:0 auto;
    color:var(--text2);
    font-size:.93rem;
    line-height:2;
}

.support-meta{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    margin-top:18px;
}

.support-meta span{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 11px;
    border-radius:999px;
    background:var(--bg2);
    border:1px solid var(--border);
    color:var(--text3);
    font-size:.72rem;
    font-weight:600;
}


/* ============================================
   SUPPORT CARDS
   ============================================ */

.support-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    margin-bottom:30px;
}

@media(min-width:620px){
    .support-grid{
        grid-template-columns:1fr 1fr;
    }
}

.support-card{
    position:relative;
    background:var(--bg2);
    border:1px solid var(--border);
    border-radius:18px;
    padding:18px;
    display:flex;
    flex-direction:column;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
    box-shadow:var(--sh);
}

.support-card:hover{
    transform:translateY(-2px);
    border-color:var(--primary);
    box-shadow:var(--sh2);
}

.support-card.featured{
    border:2px solid var(--primary);
    background:
        linear-gradient(
            180deg,
            var(--primary-l) 0%,
            var(--bg2) 65%
        );
}

.support-badge{
    position:absolute;
    top:-10px;
    right:14px;
    background:var(--primary);
    color:#fff;
    border-radius:999px;
    padding:4px 11px;
    font-size:.65rem;
    font-weight:700;
}

.support-card-head{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:8px;
}

.support-card-icon{
    width:42px;
    height:42px;
    border-radius:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--primary-l);
    color:var(--primary);
    font-size:17px;
    flex-shrink:0;
}

.support-card-title{
    font-size:.95rem;
    font-weight:800;
    color:var(--text);
}

.support-card-desc{
    color:var(--text3);
    font-size:.76rem;
    line-height:1.8;
    margin-bottom:15px;
    flex:1;
}

.support-card-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.support-price{
    color:var(--primary);
    font-size:.88rem;
    font-weight:800;
    white-space:nowrap;
}

/* مبلغ‌ها در حالت تاریک */
[data-theme="dark"] .support-price{
    color:var(--text);
}


/* ============================================
   BUTTONS
   ============================================ */

.support-pay-btn,
.custom-submit{
    border:0;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;

    padding:9px 14px;
    min-height:42px;

    border-radius:11px;

    background:var(--primary);
    color:#fff;

    font-family:inherit;
    font-size:.76rem;
    font-weight:700;

    transition:
        transform .2s ease,
        filter .2s ease,
        box-shadow .2s ease;
}

.support-pay-btn:hover,
.custom-submit:hover{
    transform:translateY(-1px);
    filter:brightness(.95);
}

.support-pay-btn:active,
.custom-submit:active{
    transform:translateY(0) scale(.97);
}

.support-pay-btn:focus-visible,
.custom-submit:focus-visible{
    outline:2px solid var(--primary);
    outline-offset:3px;
}


/* ============================================
   CUSTOM AMOUNT
   ============================================ */

.custom-support{
    max-width:600px;
    margin:0 auto 30px;
}

.custom-support-box{
    padding:24px;
    background:var(--bg2);
    border:1px solid var(--border);
    border-radius:20px;
    box-shadow:var(--sh);
    text-align:center;
}

.custom-support-box h2{
    font-size:1rem;
    margin-bottom:5px;
    color:var(--text);
}

.custom-support-box > p{
    color:var(--text3);
    font-size:.77rem;
    line-height:1.8;
    margin-bottom:16px;
}

.quick-amounts{
    display:flex;
    gap:7px;
    justify-content:center;
    flex-wrap:wrap;
    margin-bottom:14px;
}

.quick-amount{
    border:1px solid var(--border);
    background:var(--bg3);
    color:var(--text2);
    border-radius:999px;
    padding:7px 12px;
    cursor:pointer;
    font-family:inherit;
    font-size:.72rem;
    font-weight:600;
    transition:
        border-color .2s ease,
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.quick-amount:hover{
    border-color:var(--primary);
    color:var(--primary);
    background:var(--primary-l);
    transform:translateY(-1px);
}

.quick-amount:active{
    transform:scale(.97);
}

.custom-row{
    max-width:380px;
    margin:0 auto;
    display:flex;
    gap:8px;
}

.custom-input-wrap{
    display:flex;
    flex:1;
    background:var(--bg3);
    border:1.5px solid var(--border);
    border-radius:12px;
    overflow:hidden;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.custom-input-wrap:focus-within{
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(30,64,255,.08);
}

.custom-input{
    min-width:0;
    width:100%;
    padding:11px 12px;

    background:transparent;
    border:0;
    outline:0;
    box-shadow:none;
    appearance:none;
    -webkit-appearance:none;

    color:var(--text);
    text-align:center;
    font-family:inherit;
    font-size:.85rem;
}

.custom-input::placeholder{
    color:var(--text3);
}

.custom-unit{
    display:flex;
    align-items:center;
    padding:0 10px;
    color:var(--text3);
    font-size:.7rem;
    background:var(--bg2);
}


/* ============================================
   WHERE SUPPORT GOES
   ============================================ */

.support-purpose{
    margin:38px 0 30px;
}

.section-heading{
    text-align:center;
    margin-bottom:18px;
}

.section-heading h2{
    font-size:1.05rem;
    color:var(--text);
    margin-bottom:5px;
}

.section-heading p{
    color:var(--text3);
    font-size:.76rem;
}

.purpose-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
}

@media(min-width:650px){
    .purpose-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

.purpose-item{
    background:var(--bg2);
    border:1px solid var(--border);
    border-radius:16px;
    padding:18px;
    text-align:center;
}

.purpose-item i{
    width:42px;
    height:42px;
    margin:0 auto 10px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    color:var(--primary);
    background:var(--primary-l);
}

.purpose-item h3{
    font-size:.82rem;
    margin-bottom:5px;
    color:var(--text);
}

.purpose-item p{
    font-size:.7rem;
    line-height:1.8;
    color:var(--text3);
}


/* ============================================
   BUSINESS SUPPORT
   ============================================ */

.business-support{
    margin-top:30px;
}

.business-box{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
    padding:24px;
    border-radius:20px;
    border:1px solid var(--border);
    background:var(--bg2);
    box-shadow:var(--sh);
}

@media(min-width:650px){
    .business-box{
        flex-direction:row;
        text-align:right;
    }
}

.business-icon{
    width:56px;
    height:56px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:var(--primary-l);
    color:var(--primary);
    font-size:21px;
}

.business-content{
    flex:1;
}

.business-content h2{
    color:var(--text);
    font-size:.95rem;
    margin-bottom:5px;
}

.business-content p{
    color:var(--text3);
    font-size:.75rem;
    line-height:1.9;
}

.business-actions{
    display:flex;
    gap:7px;
    margin-top:10px;
    flex-wrap:wrap;
}

.business-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:8px 13px;
    border-radius:10px;
    font-size:.72rem;
    font-weight:700;
    transition:
        transform .2s ease,
        background .2s ease;
}

.business-btn:hover{
    transform:translateY(-1px);
}

.business-btn.primary{
    color:#fff;
    background:var(--primary);
}

.business-btn.secondary{
    color:var(--primary);
    border:1px solid var(--primary);
    background:transparent;
}

.business-btn.secondary:hover{
    background:var(--primary-l);
}


/* ============================================
   TRUST
   ============================================ */

.support-trust{
    display:flex;
    justify-content:center;
    margin-top:24px;
}

.trust-pill{
    display:inline-flex;
    align-items:center;
    gap:7px;
    border:1px solid var(--border);
    background:var(--bg2);
    color:var(--text3);
    padding:9px 14px;
    border-radius:999px;
    font-size:.72rem;
}

.trust-pill i{
    color:var(--accent);
}


/* ============================================
   MOBILE
   ============================================ */

@media(max-width:480px){

    .support-page{
        padding-top:5px;
    }

    .support-hero{
        padding:24px 4px;
    }

    .support-card-bottom{
        align-items:flex-end;
    }

    .custom-row{
        flex-direction:column;
    }

    .custom-submit{
        min-height:44px;
        width:100%;
    }

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

/* دسترس‌پذیری و بازخورد فرم */
.support-sr-only{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}

.custom-help{
    margin:10px 0 0;
    color:var(--text3);
    font-size:.68rem;
    line-height:1.8;
    text-align:center;
}

.support-status{
    min-height:22px;
    margin-top:4px;
    color:var(--text3);
    font-size:.72rem;
    line-height:1.8;
    text-align:center;
}

.support-status.error{
    color:#b91c1c;
}

[data-theme="dark"] .support-status.error{
    color:#fca5a5;
}

.quick-amount:focus-visible,
.business-btn:focus-visible,
.custom-input:focus-visible{
    outline:2px solid var(--primary);
    outline-offset:3px;
}

.support-pay-btn:disabled,
.custom-submit:disabled{
    cursor:wait;
    opacity:.7;
    transform:none;
}

@media (prefers-reduced-motion: reduce){
    .support-card,
    .support-pay-btn,
    .custom-submit,
    .quick-amount,
    .business-btn{
        transition:none!important;
    }

    .support-card:hover,
    .support-pay-btn:hover,
    .custom-submit:hover,
    .quick-amount:hover,
    .business-btn:hover{
        transform:none!important;
    }
}
