:root {
    --primary: #1E40AF; --primary-2: #3B82F6; --primary-soft: #EFF6FF; --violet: #7C3AED;
    --ink: #0F172A; --muted: #64748B; --faint: #94A3B8; --border: #E2E8F0;
    --bg: #FFFFFF; --bg-2: #F8FAFC; --success: #059669; --success-soft: #D1FAE5;
    --r: 16px; --r-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(15,23,42,.06);
    --shadow: 0 10px 30px -12px rgba(15,23,42,.18);
    --shadow-lg: 0 24px 50px -16px rgba(15,23,42,.28);
    --ink-grad: linear-gradient(135deg,#0F172A,#1E3A8A);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Vazirmatn', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  a { text-decoration: none; color: inherit; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
  .sec { padding: 84px 0; }
  .sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
  .sec-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
  .sec-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 14px; }
  .sec-head p { font-size: 16.5px; color: var(--muted); line-height: 1.9; }

  /* buttons */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-size: 15px; font-weight: 700; padding: 12px 22px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; transition: all .2s; white-space: nowrap; }
  .btn-lg { font-size: 16px; padding: 15px 30px; }
  .btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(30,64,175,.6); }
  .btn-primary:hover { background: #1B3AA0; transform: translateY(-1px); }
  .btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
  .btn-ghost:hover { border-color: var(--primary-2); color: var(--primary); }
  .btn-white { background: #fff; color: var(--primary); }
  .btn-white:hover { transform: translateY(-1px); }

  /* nav */
  .nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
  .logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
  .logo .mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg,var(--primary),var(--primary-2)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; }
  .logo .vert { color: var(--primary); }
  .nav-links { display: flex; gap: 30px; }
  .nav-links a { font-size: 15px; color: var(--muted); font-weight: 500; transition: .15s; }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { display: flex; gap: 10px; align-items: center; }

  /* hero */
  .hero { background: radial-gradient(1100px 520px at 50% -120px, var(--primary-soft), transparent), var(--bg); padding: 64px 0 72px; position: relative; }
  .hero-center { text-align: center; }
  .hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 24px; box-shadow: var(--shadow-sm); }
  .hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
  h1.hero-title { font-size: 52px; font-weight: 900; letter-spacing: -.03em; line-height: 1.18; margin-bottom: 20px; }
  h1.hero-title .grad { background: linear-gradient(120deg,var(--primary),var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .hero-sub { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 auto 30px; line-height: 1.9; }
  .hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
  .hero-note { font-size: 13.5px; color: var(--faint); margin-top: 18px; }

  .hero-shot { margin-top: 54px; position: relative; max-width: 880px; margin-left: auto; margin-right: auto; }
  .hero-shot-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #fff; }
  .browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
  .browser-bar .d { width: 11px; height: 11px; border-radius: 50%; }
  .browser-bar .url { margin-right: 14px; font-size: 12px; color: var(--faint); direction: ltr; }
  .shot-body { padding: 28px; background: linear-gradient(160deg,#F1F5F9,#fff); min-height: 320px; }
  .float-card { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
  @keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

  /* dashboard mock */
  .mock { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
  .mock-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
  .mock-h { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
  .mock-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #F1F5F9; }
  .mock-av { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; flex-shrink: 0; }
  .mock-name { font-size: 13px; font-weight: 600; }
  .mock-meta { font-size: 11px; color: var(--faint); }
  .mock-badge { margin-right: auto; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
  .kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi-box { background: var(--bg-2); border-radius: 11px; padding: 12px; }
  .kpi-n { font-size: 22px; font-weight: 900; }
  .kpi-l { font-size: 11px; color: var(--muted); margin-top: 2px; }

  /* strip */
  .strip { background: var(--ink-grad); padding: 36px 0; }
  .strip-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
  .stat .n { font-size: 32px; font-weight: 900; color: #fff; letter-spacing: -.02em; }
  .stat .l { font-size: 13.5px; color: rgba(255,255,255,.7); margin-top: 4px; }

  /* features */
  .feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
  .feat { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 26px; transition: all .25s cubic-bezier(.16,1,.3,1); }
  .feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C7D2FE; }
  .feat-ico { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 22px; }
  .feat h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
  .feat p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }

  /* ai band */
  .ai-band { background: var(--ink-grad); border-radius: var(--r-lg); padding: 56px; color: #fff; position: relative; overflow: hidden; }
  .ai-band::before { content:''; position:absolute; top:-80px; left:-60px; width:320px; height:320px; border-radius:50%; background: radial-gradient(circle, rgba(124,58,237,.5), transparent 70%); }
  .ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
  .ai-band h2 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; line-height: 1.4; }
  .ai-band .lead { font-size: 16px; color: rgba(255,255,255,.82); line-height: 1.9; margin-bottom: 24px; }
  .ai-feat { display: flex; gap: 12px; margin-bottom: 16px; }
  .ai-feat .ico { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 17px; }
  .ai-feat b { display: block; font-size: 15px; }
  .ai-feat span { font-size: 13.5px; color: rgba(255,255,255,.7); }
  .ai-chat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r); padding: 20px; backdrop-filter: blur(8px); }
  .ai-msg { background: rgba(255,255,255,.1); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 10px; line-height: 1.8; }
  .ai-msg.user { background: var(--primary-2); margin-right: 36px; }
  .ai-msg.bot { margin-left: 36px; }

  /* steps */
  .steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
  .step { text-align: center; }
  .step-n { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; margin: 0 auto 16px; border: 2px solid #C7D2FE; }
  .step h3 { font-size: 18px; margin-bottom: 8px; }
  .step p { font-size: 14.5px; color: var(--muted); }

  /* pricing */
  .price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
  .plan { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; transition: .25s; }
  .plan:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
  .plan.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); position: relative; }
  .plan.featured .ribbon { position: absolute; top: -13px; right: 28px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
  .plan-name { font-size: 16px; font-weight: 700; color: var(--primary); }
  .plan-desc { font-size: 13px; color: var(--muted); margin: 4px 0 18px; min-height: 38px; }
  .plan-price { font-size: 40px; font-weight: 900; letter-spacing: -.02em; }
  .plan-price small { font-size: 15px; font-weight: 500; color: var(--muted); }
  .plan-cycle { font-size: 13px; color: var(--faint); margin-bottom: 22px; }
  .plan ul { list-style: none; margin-bottom: 24px; flex: 1; }
  .plan li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; padding: 7px 0; }
  .plan li svg { flex-shrink: 0; margin-top: 4px; }
  .plan li.off { color: var(--faint); }

  /* quotes */
  .quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
  .quote { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 26px; }
  .quote p { font-size: 14.5px; line-height: 1.9; margin-bottom: 18px; }
  .quote .who { display: flex; align-items: center; gap: 12px; }
  .quote .av { width: 42px; height: 42px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
  .quote .who b { font-size: 14px; display: block; }
  .quote .who span { font-size: 12.5px; color: var(--muted); }
  .stars { color: #F59E0B; margin-bottom: 12px; font-size: 14px; letter-spacing: 2px; }

  /* faq */
  .faq { max-width: 760px; margin: 0 auto; }
  .faq-item { border-bottom: 1px solid var(--border); }
  .faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; cursor: pointer; font-weight: 600; font-size: 16px; gap: 16px; }
  .faq-q .pm { width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; transition: .2s; color: var(--primary); font-size: 18px; }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); font-size: 14.5px; line-height: 1.9; }
  .faq-item.open .faq-a { max-height: 260px; padding-bottom: 20px; }
  .faq-item.open .pm { transform: rotate(45deg); background: var(--primary); color: #fff; }

  /* cta */
  .cta-band { background: var(--ink-grad); border-radius: var(--r-lg); padding: 64px; text-align: center; color: #fff; position: relative; overflow: hidden; }
  .cta-band::before { content:''; position:absolute; inset:0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 50%); }
  .cta-band h2 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; position: relative; }
  .cta-band p { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 30px; position: relative; }

  /* footer */
  footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 48px 0 28px; }
  .foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
  .foot-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--faint); flex-wrap: wrap; gap: 12px; }
  .foot-verticals { display: flex; gap: 8px; flex-wrap: wrap; }
  .foot-verticals a { font-size: 12.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 99px; padding: 5px 12px; transition: .15s; }
  .foot-verticals a:hover { border-color: var(--primary-2); color: var(--primary); }

  .reveal { opacity: 1; transform: none; }
  /* Hidden base state applies ONLY when JS confirms reveal-on-scroll is active.
     If IntersectionObserver never fires (or JS is off), content stays visible. */
  .js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: all .7s cubic-bezier(.16,1,.3,1); }
  .js-reveal .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

  @media (max-width: 960px) {
    h1.hero-title { font-size: 36px; }
    .ai-grid, .strip-grid, .feat-grid, .steps, .price-grid, .quotes, .mock { grid-template-columns: 1fr; }
    .strip-grid { grid-template-columns: repeat(2,1fr); }
    .nav-links { display: none; }
    .sec { padding: 56px 0; }
    .ai-band, .cta-band { padding: 36px 24px; }
    .sec-head h2, .ai-band h2, .cta-band h2 { font-size: 27px; }
    .float-card { display: none; }
  }