/*
Theme Name: Dareush Sales
Theme URI: https://frosh.pages.dev
Author: Dareush
Description: سایت فروش نرم‌افزار مدیریت گیمنت داریوش — اتصال به Supabase + ورود ادمین
Version: 1.1.0
Text Domain: dareush-sales
*/


    :root {
      --bg: #030a08;
      --surface: #0a1a15;
      --surface2: #0f241c;
      --border: rgba(45, 212, 168, 0.14);
      --text: #ecfdf7;
      --muted: #7daca0;
      --mint: #2dd4a8;
      --mint2: #14b8a6;
      --mint-dim: rgba(45, 212, 168, 0.12);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Vazirmatn', system-ui, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
      min-height: 100vh;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }

    .orb {
      position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0;
    }
    .orb-1 {
      width: 420px; height: 420px; top: -120px; right: -80px;
      background: rgba(45, 212, 168, 0.18);
    }
    .orb-2 {
      width: 360px; height: 360px; bottom: 10%; left: -100px;
      background: rgba(20, 184, 166, 0.12);
    }
    .orb-3 {
      width: 280px; height: 280px; top: 45%; right: 10%;
      background: rgba(52, 211, 153, 0.08);
    }

    .wrap { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

    /* glass nav */
    nav {
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 0; margin-bottom: 8px;
    }
    .logo {
      display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.05rem;
      letter-spacing: -0.02em;
    }
    .logo-mark {
      width: 42px; height: 42px; border-radius: 14px;
      background: linear-gradient(145deg, #2dd4a8, #0f766e);
      display: grid; place-items: center; font-size: 1.15rem;
      box-shadow: 0 8px 24px rgba(45, 212, 168, 0.25);
    }
    .nav-pill {
      padding: 10px 18px; border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(10, 26, 21, 0.7);
      backdrop-filter: blur(12px);
      font-size: 0.88rem; font-weight: 600; color: var(--mint);
      transition: border-color 0.2s, background 0.2s;
    }
    .nav-pill:hover { border-color: var(--mint); background: var(--mint-dim); }

    /* hero */
    .hero {
      text-align: center;
      padding: 48px 0 40px;
    }
    .badge {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
      background: var(--mint-dim);
      border: 1px solid rgba(45, 212, 168, 0.28);
      color: #5eead4; font-size: 0.8rem; font-weight: 600;
    }
    .badge-dot {
      width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
      box-shadow: 0 0 10px var(--mint); animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.4; }
    }
    .hero h1 {
      font-size: clamp(1.9rem, 5vw, 3rem);
      font-weight: 800; line-height: 1.3; margin-bottom: 16px;
      letter-spacing: -0.03em;
    }
    .hero h1 span {
      background: linear-gradient(120deg, #5eead4, #2dd4a8 40%, #99f6e4);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .hero-lead {
      color: var(--muted); max-width: 540px; margin: 0 auto 28px;
      font-size: 1.05rem; font-weight: 400;
    }
    .hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

    .btn-main {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      padding: 14px 28px; border-radius: 16px; border: none;
      font-family: inherit; font-weight: 800; font-size: 0.98rem; cursor: pointer;
      background: linear-gradient(135deg, #2dd4a8, #0d9488);
      color: #022c22;
      box-shadow: 0 12px 32px rgba(13, 148, 136, 0.35);
      transition: transform 0.18s, box-shadow 0.18s;
    }
    .btn-main:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(13, 148, 136, 0.45); }
    .btn-soft {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 14px 24px; border-radius: 16px;
      border: 1px solid var(--border); background: transparent;
      color: var(--text); font-family: inherit; font-weight: 600; font-size: 0.95rem;
      cursor: pointer; transition: border-color 0.2s, color 0.2s;
    }
    .btn-soft:hover { border-color: var(--mint); color: #5eead4; }

    /* feature strip */
    .strip {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
      margin: 8px 0 56px;
    }
    @media (max-width: 800px) { .strip { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 480px) { .strip { grid-template-columns: 1fr; } }
    .strip-item {
      position: relative;
      padding: 20px 16px; border-radius: 18px; text-align: center;
      background: linear-gradient(180deg, rgba(15, 36, 28, 0.9), rgba(10, 26, 21, 0.6));
      border: 1px solid var(--border);
      overflow: hidden;
    }
    .strip-item::before {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(45,212,168,0.06), transparent 50%);
      pointer-events: none;
    }
    .strip-item .ic { font-size: 1.6rem; margin-bottom: 8px; }
    .strip-item h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
    .strip-item p { font-size: 0.78rem; color: var(--muted); }

    /* section */
    .section-head { text-align: center; margin-bottom: 28px; }
    .section-head h2 {
      font-size: 1.65rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em;
    }
    .section-head p { color: var(--muted); font-size: 0.95rem; }

    /* plans grid */
    #pricing { padding-bottom: 56px; }
    .plans {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 16px;
      align-items: stretch;
    }
    .plan {
      position: relative;
      display: flex; flex-direction: column;
      padding: 24px 20px 20px;
      border-radius: 22px;
      background: linear-gradient(165deg, #0f241c 0%, #0a1a15 100%);
      border: 1px solid var(--border);
      transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
    }
    .plan:hover {
      transform: translateY(-6px);
      border-color: rgba(45, 212, 168, 0.35);
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(45, 212, 168, 0.1);
    }
    .plan.featured {
      border-color: rgba(45, 212, 168, 0.45);
      background: linear-gradient(165deg, #12352a 0%, #0c221b 100%);
      box-shadow: 0 0 40px rgba(45, 212, 168, 0.12);
    }
    .plan.featured::after {
      content: 'پیشنهادی';
      position: absolute; top: 14px; left: 14px;
      background: linear-gradient(135deg, #2dd4a8, #0d9488);
      color: #022c22; font-size: 0.68rem; font-weight: 800;
      padding: 4px 10px; border-radius: 999px;
    }
    .plan-emoji {
      width: 52px; height: 52px; border-radius: 16px;
      background: var(--mint-dim); border: 1px solid rgba(45,212,168,0.2);
      display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 14px;
    }
    .plan-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
    .plan-duration { color: var(--muted); font-size: 0.85rem; margin-bottom: 18px; }
    .plan-price {
      font-size: 1.75rem; font-weight: 800; margin-bottom: 2px;
      background: linear-gradient(90deg, #5eead4, #2dd4a8);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }
    .plan-price small {
      font-size: 0.8rem; font-weight: 500;
      -webkit-text-fill-color: var(--muted);
    }
    .plan-list {
      list-style: none; margin: 18px 0 20px; flex: 1;
    }
    .plan-list li {
      display: flex; gap: 10px; align-items: flex-start;
      font-size: 0.86rem; color: #c5e8dc;
      padding: 8px 0; border-bottom: 1px solid rgba(45, 212, 168, 0.08);
    }
    .plan-list li .check {
      color: var(--mint); font-weight: 800; flex-shrink: 0;
    }
    .plan-btn {
      width: 100%; padding: 13px; border-radius: 14px; border: none;
      font-family: inherit; font-weight: 800; font-size: 0.92rem; cursor: pointer;
      background: rgba(45, 212, 168, 0.12);
      color: #5eead4; border: 1px solid rgba(45, 212, 168, 0.25);
      transition: background 0.2s, color 0.2s;
    }
    .plan-btn:hover { background: rgba(45, 212, 168, 0.22); }
    .plan.featured .plan-btn {
      background: linear-gradient(135deg, #2dd4a8, #0d9488);
      color: #022c22; border: none;
    }

    .loading, .error-box {
      text-align: center; padding: 48px 20px; color: var(--muted);
      grid-column: 1 / -1;
    }
    .error-box { color: #fca5a5; }

    /* how */
    #how { padding-bottom: 56px; }
    .steps {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px;
    }
    .step {
      padding: 22px 18px; border-radius: 18px;
      background: rgba(10, 26, 21, 0.8);
      border: 1px solid var(--border);
    }
    .step-num {
      display: inline-grid; place-items: center;
      width: 34px; height: 34px; border-radius: 11px; margin-bottom: 12px;
      background: var(--mint-dim); color: #5eead4; font-weight: 800; font-size: 0.9rem;
    }
    .step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
    .step p { font-size: 0.84rem; color: var(--muted); }

    /* support placeholder */
    #support {
      margin-bottom: 56px;
      padding: 32px 24px; border-radius: 24px; text-align: center;
      background:
        linear-gradient(135deg, rgba(45, 212, 168, 0.1), rgba(13, 148, 136, 0.04)),
        var(--surface);
      border: 1px solid rgba(45, 212, 168, 0.22);
    }
    #support .label {
      color: #5eead4; font-weight: 800; font-size: 0.95rem; margin-bottom: 8px;
    }
    #support h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; }
    #support p { color: var(--muted); max-width: 480px; margin: 0 auto; font-size: 0.92rem; }

    /* faq */
    .faq { max-width: 680px; margin: 0 auto 60px; }
    .faq-item {
      margin-bottom: 10px; border-radius: 16px; overflow: hidden;
      background: rgba(10, 26, 21, 0.7); border: 1px solid var(--border);
    }
    .faq-q {
      width: 100%; text-align: right; background: transparent; border: none;
      color: var(--text); font-family: inherit; font-weight: 600; font-size: 0.94rem;
      padding: 15px 16px; cursor: pointer;
      display: flex; justify-content: space-between; gap: 12px; align-items: center;
    }
    .faq-q span { color: var(--mint); transition: transform 0.2s; }
    .faq-item.open .faq-q span { transform: rotate(180deg); }
    .faq-a { display: none; padding: 0 16px 14px; color: var(--muted); font-size: 0.88rem; }
    .faq-item.open .faq-a { display: block; }

    footer {
      border-top: 1px solid var(--border);
      padding: 28px 0 36px; text-align: center;
      color: var(--muted); font-size: 0.84rem;
    }

    /* modal */
    .modal-bg {
      position: fixed; inset: 0; z-index: 50;
      background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(6px);
      display: none; align-items: center; justify-content: center; padding: 16px;
    }
    .modal-bg.show { display: flex; }
    .modal {
      width: 100%; max-width: 420px; max-height: 90vh; overflow-y: auto;
      padding: 26px 22px; border-radius: 22px;
      background: #0a1a15; border: 1px solid rgba(45, 212, 168, 0.25);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    }
    .modal h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
    .modal .sub { color: var(--muted); font-size: 0.85rem; margin-bottom: 18px; }
    label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
    input, textarea {
      width: 100%; margin-bottom: 12px; padding: 12px 14px;
      border-radius: 12px; border: 1px solid rgba(45, 212, 168, 0.18);
      background: #030a08; color: var(--text);
      font-family: inherit; font-size: 0.95rem;
    }
    input:focus, textarea:focus { outline: none; border-color: var(--mint); }
    .modal-actions { display: flex; gap: 10px; margin-top: 6px; }
    .modal-actions button {
      flex: 1; padding: 12px; border-radius: 12px; border: none;
      font-family: inherit; font-weight: 700; cursor: pointer;
    }
    .btn-cancel { background: #12352a; color: var(--text); }
    .msg { display: none; margin-top: 12px; font-size: 0.85rem; }
    .msg.show { display: block; }
    .msg.ok { color: #6ee7b7; }
    .msg.err { color: #fca5a5; }
<a referrerpolicy='origin' target='_blank' href='https://trustseal.enamad.ir/?id=7952904&Code=jMHJfxuCO8ucoBN2gNlvuWbDfY49tMq7'><img referrerpolicy='origin' src='https://trustseal.enamad.ir/logo.aspx?id=7952904&Code=jMHJfxuCO8ucoBN2gNlvuWbDfY49tMq7' alt='' style='cursor:pointer' code='jMHJfxuCO8ucoBN2gNlvuWbDfY49tMq7'></a>
  