
 @font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/SpaceMono-Regular.woff2') format('woff2');
  font-weight: 400;
}

@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/SpaceMono-Bold.woff2') format('woff2');
  font-weight: 700;
}
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg: #05050a;
      --surface: #0d0d18;
      --surface2: #131328;
      --border: rgba(255,255,255,0.07);
      --accent: #7c6aff;
      --accent2: #ff6a8a;
      --accent3: #00d4aa;
      --text: #f0eeff;
      --muted: #8882b8;
      --card-bg: rgba(255,255,255,0.03);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Vazirmatn', sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      cursor: none;
    }

    /* Custom Cursor */
    .cursor {
      position: fixed; top: 0; left: 0;
      width: 12px; height: 12px;
      background: var(--accent);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
      mix-blend-mode: screen;
    }
    .cursor-ring {
      position: fixed; top: 0; left: 0;
      width: 36px; height: 36px;
      border: 1.5px solid var(--accent);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: transform 0.2s ease, width 0.3s, height 0.3s, opacity 0.3s;
      opacity: 0.4;
    }
    body:hover .cursor { opacity: 1; }

    /* Noise overlay */
    body::before {
      content: '';
      position: fixed; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 0;
      opacity: 0.4;
    }

    /* ===== NAV ===== */
    nav {
      position: fixed; top: 0; width: 100%;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.2rem 4rem;
      z-index: 100;
      border-bottom: 1px solid transparent;
      transition: background 0.4s, border-color 0.4s;
      backdrop-filter: blur(0px);
    }
    nav.scrolled {
      background: rgba(5,5,10,0.85);
      border-color: var(--border);
      backdrop-filter: blur(16px);
    }
    .nav-logo {
      font-size: 1.6rem; font-weight: 800; letter-spacing: -1px;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      text-decoration: none;
    }
    .nav-links { display: flex; gap: 2.5rem; list-style: none; }
    .nav-links a {
      color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 400;
      transition: color 0.2s; letter-spacing: 0.3px;
    }
    .nav-links a:hover { color: var(--text); }
    .nav-cta {
      background: var(--accent); color: #fff; border: none;
      padding: 0.6rem 1.5rem; border-radius: 100px;
      font-family: 'Vazirmatn', sans-serif; font-size: 0.88rem; font-weight: 600;
      cursor: none; transition: transform 0.2s, box-shadow 0.2s;
    }
    .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124,106,255,0.4); }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: none; background: none; border: none; }
    .hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

    /* ===== HERO ===== */
    #hero {
      min-height: 100vh;
      display: flex; align-items: center; justify-content: center;
      position: relative; overflow: hidden;
      padding: 7rem 2rem 4rem;
    }

    .hero-bg {
      position: absolute; inset: 0; z-index: 0;
    }
    .orb {
      position: absolute; border-radius: 50%;
      filter: blur(90px); opacity: 0.15;
      animation: float 8s ease-in-out infinite;
    }
    .orb-1 { width: 600px; height: 600px; background: var(--accent); top: -100px; right: -150px; }
    .orb-2 { width: 400px; height: 400px; background: var(--accent2); bottom: -80px; left: -100px; animation-delay: -3s; }
    .orb-3 { width: 300px; height: 300px; background: var(--accent3); top: 40%; left: 40%; animation-delay: -6s; opacity: 0.08; }
    @keyframes float {
      0%, 100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(-30px) scale(1.04); }
    }

    /* Grid lines */
    .grid-lines {
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
      background-size: 60px 60px;
    }

    .hero-content {
      position: relative; z-index: 1;
      text-align: center; max-width: 860px;
    }
    .hero-tag {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: rgba(124,106,255,0.12); border: 1px solid rgba(124,106,255,0.3);
      color: var(--accent); padding: 0.4rem 1.1rem; border-radius: 100px;
      font-size: 0.82rem; font-weight: 500; margin-bottom: 2rem;
      animation: fadeUp 0.6s ease both;
    }
    .hero-tag .dot {
      width: 6px; height: 6px; background: var(--accent3);
      border-radius: 50%; animation: pulse 2s infinite;
    }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

    h1 {
      font-size: clamp(2.8rem, 6vw, 5.2rem);
      font-weight: 800; line-height: 1.1; letter-spacing: -2px;
      margin-bottom: 1.5rem;
      animation: fadeUp 0.6s 0.1s ease both;
    }
    h1 .line-2 { display: block; }
    .gradient-text {
      background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--accent3) 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero-sub {
      font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 300;
      color: var(--muted); max-width: 560px; margin: 0 auto 2.5rem;
      line-height: 1.8;
      animation: fadeUp 0.6s 0.2s ease both;
    }
    .hero-btns {
      display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
      animation: fadeUp 0.6s 0.3s ease both;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--accent), #9b6aff);
      color: #fff; border: none; padding: 0.85rem 2.2rem;
      border-radius: 100px; font-family: 'Vazirmatn', sans-serif;
      font-size: 1rem; font-weight: 600; cursor: none;
      transition: transform 0.2s, box-shadow 0.3s;
      box-shadow: 0 0 40px rgba(124,106,255,0.3);
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124,106,255,0.5); }
    .btn-outline {
      background: transparent; color: var(--text);
      border: 1px solid var(--border); padding: 0.85rem 2.2rem;
      border-radius: 100px; font-family: 'Vazirmatn', sans-serif;
      font-size: 1rem; font-weight: 400; cursor: none;
      transition: border-color 0.2s, background 0.2s;
    }
    .btn-outline:hover { border-color: var(--accent); background: rgba(124,106,255,0.06); }

    .hero-stats {
      display: flex; justify-content: center; gap: 3.5rem;
      margin-top: 4rem; padding-top: 3rem;
      border-top: 1px solid var(--border);
      animation: fadeUp 0.6s 0.4s ease both;
      flex-wrap: wrap;
    }
    .stat { text-align: center; }
    .stat-num {
      display: block; font-size: 2.2rem; font-weight: 800;
      background: linear-gradient(135deg, var(--text), var(--accent));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      letter-spacing: -1px;
    }
    .stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 0.25rem; }

    @keyframes fadeUp { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform: none; } }

    /* ===== SECTIONS COMMON ===== */
    section { padding: 6rem 2rem; position: relative; }
    .section-inner { max-width: 1160px; margin: 0 auto; }
    .section-label {
      font-family: 'Space Mono', monospace;
      font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase;
      color: var(--accent); margin-bottom: 1rem;
    }
    .section-title {
      font-size: clamp(1.8rem, 3.5vw, 2.8rem);
      font-weight: 700; line-height: 1.15; letter-spacing: -1px;
      margin-bottom: 1rem;
    }
    .section-sub { color: var(--muted); font-size: 1.05rem; font-weight: 300; line-height: 1.8; max-width: 520px; }

    /* ===== SERVICES ===== */
    #services { background: var(--surface); }
    .services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1.5rem; }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: 20px; overflow: hidden;
    }
    .service-card {
      background: var(--surface);
      padding: 2.5rem;
      transition: background 0.3s;
      position: relative; overflow: hidden;
    }
    .service-card::before {
      content: ''; position: absolute;
      inset: 0; opacity: 0;
      background: linear-gradient(135deg, rgba(124,106,255,0.06), transparent);
      transition: opacity 0.3s;
    }
    .service-card:hover { background: var(--surface2); }
    .service-card:hover::before { opacity: 1; }
    .service-icon {
      width: 52px; height: 52px; border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.5rem; margin-bottom: 1.5rem;
    }
    .service-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.7rem; }
    .service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; }
    .service-arrow {
      display: inline-flex; align-items: center; gap: 0.4rem;
      margin-top: 1.5rem; font-size: 0.82rem; color: var(--accent);
      opacity: 0; transform: translateX(8px); transition: 0.3s;
    }
    .service-card:hover .service-arrow { opacity: 1; transform: none; }

    /* ===== HOW IT WORKS ===== */
    #how { background: var(--bg); }
    .how-container { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
    .how-visual {
      position: relative; height: 480px;
      display: flex; align-items: center; justify-content: center;
    }
    .how-circle {
      width: 280px; height: 280px; border-radius: 50%;
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      position: relative;
      animation: spin 20s linear infinite;
    }
    .how-circle-inner {
      width: 180px; height: 180px; border-radius: 50%;
      background: linear-gradient(135deg, rgba(124,106,255,0.15), rgba(255,106,138,0.15));
      border: 1px solid rgba(124,106,255,0.2);
      display: flex; align-items: center; justify-content: center;
      animation: spin 20s linear infinite reverse;
      font-size: 2.5rem;
    }
    @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
    .orbit-dot {
      position: absolute; width: 10px; height: 10px; border-radius: 50%;
    }
    .orbit-dot:nth-child(1) { background: var(--accent); top: -5px; left: 50%; margin-left: -5px; }
    .orbit-dot:nth-child(2) { background: var(--accent2); bottom: -5px; left: 50%; margin-left: -5px; }
    .orbit-dot:nth-child(3) { background: var(--accent3); left: -5px; top: 50%; margin-top: -5px; }
    .orbit-dot:nth-child(4) { background: #ffca6a; right: -5px; top: 50%; margin-top: -5px; }

    .how-steps { display: flex; flex-direction: column; gap: 2rem; }
    .step {
      display: flex; gap: 1.2rem; align-items: flex-start;
      opacity: 0; transform: translateX(20px);
      transition: opacity 0.5s, transform 0.5s;
    }
    .step.visible { opacity: 1; transform: none; }
    .step-num {
      min-width: 40px; height: 40px; border-radius: 10px;
      background: rgba(124,106,255,0.1); border: 1px solid rgba(124,106,255,0.2);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Space Mono', monospace; font-size: 0.78rem; color: var(--accent);
    }
    .step-content h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
    .step-content p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

    /* ===== PRICING ===== */
    #pricing { background: var(--surface); }
    .pricing-header { text-align: center; margin-bottom: 3.5rem; }
    .pricing-header .section-sub { margin: 0 auto; }
    .pricing-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
    }
    .plan {
      background: var(--card-bg); border: 1px solid var(--border);
      border-radius: 20px; padding: 2.5rem; position: relative;
      transition: transform 0.3s, border-color 0.3s;
    }
    .plan:hover { transform: translateY(-4px); border-color: rgba(124,106,255,0.3); }
    .plan.featured {
      background: linear-gradient(145deg, rgba(124,106,255,0.12), rgba(255,106,138,0.06));
      border-color: rgba(124,106,255,0.4);
    }
    .plan.featured::before {
      content: 'محبوب‌ترین';
      position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: #fff; font-size: 0.72rem; font-weight: 600;
      padding: 0.25rem 1rem; border-radius: 100px;
    }
    .plan-name { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 1rem; }
    .plan-price {
      font-size: 3rem; font-weight: 800; letter-spacing: -2px; margin-bottom: 0.3rem;
    }
    .plan-price span { font-size: 1rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
    .plan-desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.6; }
    .plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2rem; }
    .plan-features li {
      display: flex; align-items: center; gap: 0.7rem;
      font-size: 0.9rem; color: var(--muted);
    }
    .plan-features li::before {
      content: ''; width: 18px; height: 18px; min-width: 18px;
      border-radius: 50%; background: rgba(0,212,170,0.15);
      border: 1px solid rgba(0,212,170,0.3);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4aa' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
      background-size: 11px; background-repeat: no-repeat; background-position: center;
    }
    .plan-btn {
      width: 100%; padding: 0.85rem; border-radius: 100px;
      font-family: 'Vazirmatn', sans-serif; font-size: 0.95rem; font-weight: 600;
      cursor: none; transition: 0.2s; letter-spacing: 0.2px;
    }
    .plan-btn.outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
    .plan-btn.outline:hover { border-color: var(--accent); }
    .plan-btn.filled { background: var(--accent); border: none; color: #fff; box-shadow: 0 8px 30px rgba(124,106,255,0.3); }
    .plan-btn.filled:hover { box-shadow: 0 12px 40px rgba(124,106,255,0.5); transform: translateY(-1px); }

    /* ===== TESTIMONIALS ===== */
    #testimonials { background: var(--bg); }
    .testimonials-header { text-align: center; margin-bottom: 3.5rem; }
    .testimonials-header .section-sub { margin: 0 auto; }
    .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .testimonial {
      background: var(--card-bg); border: 1px solid var(--border);
      border-radius: 16px; padding: 2rem;
      transition: border-color 0.3s;
    }
    .testimonial:hover { border-color: rgba(124,106,255,0.25); }
    .testimonial-text { font-size: 0.95rem; line-height: 1.8; color: var(--muted); margin-bottom: 1.5rem; }
    .testimonial-author { display: flex; align-items: center; gap: 1rem; }
    .author-avatar {
      width: 42px; height: 42px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem; font-weight: 700; color: #fff;
    }
    .author-name { font-size: 0.9rem; font-weight: 600; }
    .author-role { font-size: 0.78rem; color: var(--muted); margin-top: 0.1rem; }
    .stars { color: #ffca6a; font-size: 0.8rem; margin-bottom: 1rem; letter-spacing: 2px; }

    /* ===== CTA BANNER ===== */
    #cta {
      background: var(--surface);
      padding: 6rem 2rem;
    }
    .cta-box {
      max-width: 800px; margin: 0 auto; text-align: center;
      background: linear-gradient(135deg, rgba(124,106,255,0.12), rgba(255,106,138,0.08));
      border: 1px solid rgba(124,106,255,0.25);
      border-radius: 28px; padding: 4rem 3rem;
      position: relative; overflow: hidden;
    }
    .cta-box::before {
      content: ''; position: absolute;
      width: 350px; height: 350px; border-radius: 50%;
      background: var(--accent); filter: blur(100px); opacity: 0.08;
      top: 50%; left: 50%; transform: translate(-50%, -50%);
      pointer-events: none;
    }
    .cta-box h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 1rem; }
    .cta-box p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2.5rem; line-height: 1.8; }
    .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

    /* ===== FOOTER ===== */
    footer {
      background: var(--bg);
      border-top: 1px solid var(--border);
      padding: 3rem 2rem 2rem;
    }
    .footer-inner { max-width: 1160px; margin: 0 auto; }
    .footer-top {
      display: flex; justify-content: space-between; align-items: flex-start;
      flex-wrap: wrap; gap: 2rem; margin-bottom: 2.5rem;
    }
    .footer-brand p { color: var(--muted); font-size: 0.88rem; margin-top: 0.8rem; max-width: 260px; line-height: 1.7; }
    .footer-cols { display: flex; gap: 4rem; flex-wrap: wrap; }
    .footer-col h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 1.2rem; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
    .footer-col a { color: var(--muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
    .footer-col a:hover { color: var(--text); }
    .footer-bottom {
      border-top: 1px solid var(--border); padding-top: 1.5rem;
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
      font-size: 0.82rem; color: var(--muted);
    }
    .footer-socials { display: flex; gap: 0.8rem; }
    .social-icon {
      width: 34px; height: 34px; border-radius: 8px;
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      color: var(--muted); text-decoration: none; font-size: 0.85rem;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
    }
    .social-icon:hover { border-color: var(--accent); color: var(--accent); background: rgba(124,106,255,0.08); }

    /* ===== MOBILE NAV ===== */
    .mobile-menu {
      display: none; position: fixed; inset: 0; z-index: 99;
      background: rgba(5,5,10,0.97); backdrop-filter: blur(20px);
      flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { color: var(--text); text-decoration: none; font-size: 1.4rem; font-weight: 500; }
    .close-menu { position: absolute; top: 1.5rem; left: 2rem; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: none; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 900px) {
      nav { padding: 1.2rem 1.5rem; }
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
      .services-grid { grid-template-columns: 1fr 1fr; }
      .how-container { grid-template-columns: 1fr; }
      .how-visual { height: 280px; }
      .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
      .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    }
    @media (max-width: 600px) {
      .services-grid { grid-template-columns: 1fr; }
      .hero-stats { gap: 2rem; }
      .footer-cols { gap: 2rem; }
      .cta-box { padding: 2.5rem 1.5rem; }
    }

    /* ===== SCROLL REVEAL ===== */
    .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.6s, transform 0.6s; }
    .reveal.visible { opacity: 1; transform: none; }