﻿@font-face {
      font-family: "Vazir";
      src: url("../../media/fonts/Vazir.ttf") format("truetype");
      font-weight: 100 600;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "Vazir";
      src: url("../../media/fonts/Vazir-Bold.ttf") format("truetype");
      font-weight: 700 950;
      font-style: normal;
      font-display: swap;
    }

    :root {
      --font: "Vazir", sans-serif;
      --bg: #08080d;
      --bg-2: #101018;
      --panel: rgba(255, 255, 255, 0.055);
      --panel-strong: rgba(255, 255, 255, 0.085);
      --line: rgba(255, 255, 255, 0.12);
      --line-orange: rgba(255, 106, 0, 0.32);
      --text: #f4efe7;
      --muted: rgba(244, 239, 231, 0.62);
      --soft: rgba(244, 239, 231, 0.38);
      --orange: #ff6a00;
      --orange-2: #ff9b3d;
      --orange-3: #ffbf69;
      --red: #ff4545;
      --cyan: #51d8ff;
      --green: #45ffb0;
      --radius: 18px;
      --shadow: 0 32px 110px rgba(0, 0, 0, 0.56);
      --glow: 0 0 48px rgba(255, 106, 0, 0.34);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: var(--font) !important;
      letter-spacing: 0 !important;
    }

    html {
      scroll-behavior: smooth;
      background: var(--bg);
    }

    body {
      min-height: 100vh;
      color: var(--text);
      background:
        radial-gradient(circle at 88% 5%, rgba(255, 106, 0, 0.22), transparent 28%),
        radial-gradient(circle at 12% 84%, rgba(255, 69, 69, 0.13), transparent 27%),
        linear-gradient(145deg, #08080d 0%, #0c0c13 45%, #160e0b 100%);
      overflow-x: hidden;
    }

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

    button, a {
      -webkit-tap-highlight-color: transparent;
    }

    .noise,
    .grid,
    #fx {
      position: fixed;
      inset: 0;
      pointer-events: none;
    }

    .noise {
      z-index: 1;
      opacity: 0.08;
      background-image:
        linear-gradient(115deg, transparent 0 48%, rgba(255,255,255,0.18) 49%, transparent 51%),
        radial-gradient(circle, rgba(255,255,255,0.24) 1px, transparent 1px);
      background-size: 130px 130px, 19px 19px;
      mix-blend-mode: screen;
    }

    .grid {
      z-index: 0;
      opacity: 0.74;
      background-image:
        linear-gradient(rgba(255, 106, 0, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 106, 0, 0.035) 1px, transparent 1px);
      background-size: 58px 58px;
      transform-origin: center;
      animation: gridTravel 24s linear infinite;
      mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
    }

    #fx {
      z-index: 0;
    }

    .wrap {
      position: relative;
      z-index: 2;
      min-height: 100vh;
    }

    .nav {
      position: fixed;
      top: 16px;
      left: 50%;
      z-index: 20;
      width: min(1120px, calc(100% - 28px));
      height: 62px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transform: translateX(-50%);
      padding: 0 12px 0 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 18px;
      background: rgba(9, 9, 14, 0.66);
      box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
      backdrop-filter: blur(22px);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 11px;
      min-width: 0;
    }

    .brand img {
      width: 42px;
      height: 42px;
      object-fit: cover;
      border-radius: 14px;
      border: 1px solid rgba(255, 139, 40, 0.54);
      box-shadow: var(--glow);
    }

    .brand strong {
      display: block;
      font-size: 1rem;
      line-height: 1;
    }

    .brand span {
      display: block;
      margin-top: 5px;
      color: var(--muted);
      font-size: 0.76rem;
      direction: ltr;
      text-align: right;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .nav-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 0 14px;
      border-radius: 12px;
      color: var(--muted);
      font-size: 0.86rem;
      font-weight: 800;
      transition: color 180ms ease, background 180ms ease, transform 180ms ease;
    }

    .nav-links a:hover {
      color: var(--text);
      background: rgba(255, 255, 255, 0.07);
      transform: translateY(-1px);
    }

    .menu-toggle {
      display: none;
      width: 42px;
      height: 42px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 13px;
      background: rgba(255, 255, 255, 0.055);
      cursor: pointer;
      position: relative;
      transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
    }

    .menu-toggle span,
    .menu-toggle::before,
    .menu-toggle::after {
      content: "";
      position: absolute;
      left: 11px;
      right: 11px;
      height: 2px;
      border-radius: 999px;
      background: var(--text);
      transition: transform 220ms ease, opacity 180ms ease, top 220ms ease;
    }

    .menu-toggle::before { top: 13px; }
    .menu-toggle span { top: 20px; }
    .menu-toggle::after { top: 27px; }

    body.menu-open .menu-toggle {
      border-color: rgba(255, 154, 61, 0.58);
      background: rgba(255, 106, 0, 0.12);
      box-shadow: 0 0 28px rgba(255, 106, 0, 0.22);
    }

    body.menu-open .menu-toggle::before {
      top: 20px;
      transform: rotate(45deg);
    }

    body.menu-open .menu-toggle span {
      opacity: 0;
    }

    body.menu-open .menu-toggle::after {
      top: 20px;
      transform: rotate(-45deg);
    }

    .lang-switch {
      display: flex;
      align-items: center;
      gap: 5px;
      padding: 5px;
      margin-inline-start: 6px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 13px;
      background: rgba(255, 255, 255, 0.045);
    }

    .lang-btn {
      min-width: 34px;
      height: 31px;
      border: 0;
      border-radius: 9px;
      color: var(--muted);
      background: transparent;
      cursor: pointer;
      font-size: 0.72rem;
      font-weight: 950;
      transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    }

    .lang-btn:hover {
      color: var(--text);
      transform: translateY(-1px);
    }

    .lang-btn.active {
      color: #09090d;
      background: linear-gradient(135deg, var(--orange), var(--orange-3));
      box-shadow: 0 0 24px rgba(255, 106, 0, 0.26);
    }

    .hero {
      position: relative;
      min-height: 100vh;
      display: grid;
      align-items: center;
      padding: 116px max(24px, calc((100vw - 1160px) / 2)) 72px;
      perspective: 1300px;
      overflow: hidden;
    }

    .hero-shell {
      display: grid;
      grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
      gap: 52px;
      align-items: center;
    }

    .hero-copy {
      position: relative;
      z-index: 3;
      transform-style: preserve-3d;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border: 1px solid rgba(255, 106, 0, 0.28);
      border-radius: 999px;
      color: var(--orange-3);
      background: rgba(255, 106, 0, 0.08);
      box-shadow: 0 0 38px rgba(255, 106, 0, 0.13);
      font-size: 0.83rem;
      font-weight: 900;
    }

    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--green);
      box-shadow: 0 0 18px var(--green);
    }

    h1 {
      margin-top: 24px;
      max-width: 700px;
      font-size: clamp(3.2rem, 8.5vw, 8.2rem);
      line-height: 0.88;
      font-weight: 950;
    }

    .gradient-text {
      color: transparent;
      background: linear-gradient(135deg, #fff4e8 0%, #ffbf69 24%, #ff6a00 58%, #ff4545 100%);
      -webkit-background-clip: text;
      background-clip: text;
      filter: drop-shadow(0 0 34px rgba(255, 106, 0, 0.24));
    }

    .hero-copy p {
      max-width: 560px;
      margin-top: 24px;
      color: var(--muted);
      font-size: clamp(1rem, 1.65vw, 1.22rem);
      line-height: 2;
      font-weight: 600;
    }

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

    .btn {
      position: relative;
      min-height: 52px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 0 21px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 15px;
      overflow: hidden;
      isolation: isolate;
      font-weight: 950;
      transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }

    .btn::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent);
      opacity: 0;
      transition: opacity 180ms ease;
    }

    .btn:hover {
      transform: translateY(-3px);
      border-color: rgba(255, 154, 61, 0.52);
      box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
    }

    .btn:hover::before {
      opacity: 1;
    }

    .btn-primary {
      color: #0b0b10;
      border-color: transparent;
      background: linear-gradient(135deg, var(--orange), var(--orange-3));
      box-shadow: 0 18px 54px rgba(255, 106, 0, 0.27);
    }

    .btn-ghost {
      background: rgba(255, 255, 255, 0.055);
      color: var(--text);
      backdrop-filter: blur(12px);
    }

    .mini-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      max-width: 560px;
      margin-top: 34px;
    }

    .stat {
      padding: 15px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.045);
      backdrop-filter: blur(14px);
    }

    .stat b {
      display: block;
      color: var(--orange-3);
      font-size: 1.15rem;
      line-height: 1;
    }

    .stat span {
      display: block;
      margin-top: 8px;
      color: var(--muted);
      font-size: 0.78rem;
      font-weight: 800;
    }

    .showcase {
      position: relative;
      transform-style: preserve-3d;
      min-height: 570px;
    }

    .orbit {
      position: absolute;
      inset: -14%;
      border-radius: 50%;
      border: 1px solid rgba(255, 106, 0, 0.16);
      transform: rotateX(68deg) rotateZ(-18deg);
      animation: orbitSpin 18s linear infinite;
    }

    .orbit:nth-child(2) {
      inset: 2%;
      border-color: rgba(81, 216, 255, 0.12);
      animation-duration: 24s;
      animation-direction: reverse;
    }

    .app-stage {
      position: absolute;
      inset: 62px 0 0;
      transform-style: preserve-3d;
      transform: rotateX(58deg) rotateZ(-34deg) translateZ(20px);
      animation: stageFloat 6.5s ease-in-out infinite;
    }

    .app-window {
      position: relative;
      width: min(720px, 100%);
      margin-inline: auto;
      aspect-ratio: 1.58;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 22px;
      background: #0b0b11;
      box-shadow:
        0 50px 120px rgba(0, 0, 0, 0.58),
        0 0 80px rgba(255, 106, 0, 0.19);
      transform-style: preserve-3d;
    }

    .app-window::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,0.16) 50%, transparent 60%);
      transform: translateX(80%);
      animation: screenSheen 5.8s ease-in-out infinite;
      pointer-events: none;
    }

    .app-window img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.94;
      transform: scale(1.015);
    }

    .glass-chip {
      position: absolute;
      z-index: 4;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 17px;
      background: rgba(13, 13, 20, 0.72);
      box-shadow: 0 22px 64px rgba(0, 0, 0, 0.34);
      backdrop-filter: blur(16px);
      transform-style: preserve-3d;
      animation: chipFloat 5s ease-in-out infinite;
    }

    .glass-chip img {
      width: 38px;
      height: 38px;
      object-fit: cover;
      border-radius: 12px;
    }

    .glass-chip b {
      display: block;
      font-size: 0.9rem;
    }

    .glass-chip span {
      display: block;
      margin-top: 4px;
      color: var(--muted);
      font-size: 0.74rem;
      font-weight: 800;
    }

    .chip-one {
      top: 34px;
      right: 34px;
      transform: translateZ(120px) rotateZ(4deg);
    }

    .chip-two {
      left: 16px;
      bottom: 42px;
      animation-delay: -1.8s;
      transform: translateZ(150px) rotateZ(-4deg);
    }

    section {
      position: relative;
      z-index: 2;
      padding: 96px max(24px, calc((100vw - 1160px) / 2));
    }

    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 28px;
    }

    .section-head h2 {
      max-width: 680px;
      font-size: clamp(2rem, 4vw, 4.4rem);
      line-height: 1.08;
      font-weight: 950;
    }

    .section-head p {
      max-width: 430px;
      color: var(--muted);
      line-height: 1.9;
      font-weight: 700;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      perspective: 1200px;
    }

    .feature {
      min-height: 210px;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background:
        radial-gradient(circle at 18% 12%, rgba(255, 106, 0, 0.18), transparent 34%),
        rgba(255, 255, 255, 0.047);
      box-shadow: 0 28px 72px rgba(0, 0, 0, 0.24);
      transform: translateY(24px) rotateX(8deg);
      opacity: 0;
      transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 200ms ease;
      transform-style: preserve-3d;
    }

    .feature.visible {
      opacity: 1;
      transform: translateY(0) rotateX(0);
    }

    .feature:hover {
      border-color: var(--line-orange);
      transform: translateY(-8px) rotateX(4deg) rotateY(-5deg);
    }

    .feature .icon {
      width: 45px;
      height: 45px;
      display: grid;
      place-items: center;
      margin-bottom: 26px;
      border-radius: 15px;
      color: #0b0b10;
      background: linear-gradient(135deg, var(--orange), var(--orange-3));
      box-shadow: 0 0 32px rgba(255, 106, 0, 0.26);
      font-size: 1.15rem;
      font-weight: 950;
    }

    .feature h3 {
      font-size: 1.08rem;
      font-weight: 950;
    }

    .feature p {
      margin-top: 13px;
      color: var(--muted);
      line-height: 1.9;
      font-size: 0.9rem;
      font-weight: 650;
    }

    .download-band {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 28px;
      align-items: center;
      padding: 34px;
      border: 1px solid rgba(255, 106, 0, 0.26);
      border-radius: 24px;
      background:
        linear-gradient(135deg, rgba(255, 106, 0, 0.18), rgba(255, 255, 255, 0.045)),
        rgba(10, 10, 15, 0.72);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .download-band::before {
      content: "";
      position: absolute;
      width: 340px;
      height: 340px;
      left: 8%;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 106, 0, 0.34), transparent 64%);
      filter: blur(18px);
      animation: pulseGlow 4s ease-in-out infinite;
    }

    .download-copy,
    .download-actions {
      position: relative;
      z-index: 1;
    }

    .download-copy h2 {
      font-size: clamp(2rem, 4vw, 4.2rem);
      line-height: 1.08;
      font-weight: 950;
    }

    .download-copy p {
      max-width: 640px;
      margin-top: 15px;
      color: var(--muted);
      line-height: 1.9;
      font-weight: 700;
    }

    .download-actions {
      display: grid;
      gap: 11px;
      min-width: 220px;
    }

    .about {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 36px;
      align-items: center;
    }

    .about-mark {
      min-height: 380px;
      display: grid;
      place-items: center;
      perspective: 1000px;
    }

    .logo-plate {
      position: relative;
      width: min(330px, 78vw);
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 32px;
      background:
        radial-gradient(circle at 35% 22%, rgba(255, 106, 0, 0.32), transparent 38%),
        rgba(255, 255, 255, 0.055);
      box-shadow: var(--shadow), var(--glow);
      transform: rotateX(14deg) rotateY(-18deg);
      transform-style: preserve-3d;
      animation: plateMove 6s ease-in-out infinite;
    }

    .logo-plate img {
      width: 68%;
      height: 68%;
      object-fit: cover;
      border-radius: 28px;
      transform: translateZ(72px);
      box-shadow: 0 30px 70px rgba(0, 0, 0, 0.36);
    }

    .about-text {
      padding: 34px 0;
    }

    .about-text h2 {
      font-size: clamp(2rem, 4vw, 4rem);
      line-height: 1.1;
      font-weight: 950;
    }

    .about-text p {
      margin-top: 18px;
      color: var(--muted);
      line-height: 2;
      font-size: 1.02rem;
      font-weight: 650;
    }

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

    .about-list div {
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.045);
      color: var(--text);
      font-weight: 900;
    }

    footer {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 32px max(24px, calc((100vw - 1160px) / 2));
      color: var(--soft);
      border-top: 1px solid rgba(255,255,255,0.08);
      background: rgba(5, 5, 9, 0.72);
    }

    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 750ms ease, transform 750ms cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @keyframes gridTravel {
      to { background-position: 58px 58px; }
    }

    @keyframes orbitSpin {
      to { transform: rotateX(68deg) rotateZ(342deg); }
    }

    @keyframes stageFloat {
      0%, 100% { transform: rotateX(58deg) rotateZ(-34deg) translate3d(0, 0, 20px); }
      50% { transform: rotateX(55deg) rotateZ(-31deg) translate3d(0, -18px, 56px); }
    }

    @keyframes screenSheen {
      0%, 44% { transform: translateX(90%); opacity: 0; }
      58% { opacity: 1; }
      100% { transform: translateX(-90%); opacity: 0; }
    }

    @keyframes chipFloat {
      0%, 100% { translate: 0 0; }
      50% { translate: 0 -16px; }
    }

    @keyframes pulseGlow {
      0%, 100% { transform: scale(0.9); opacity: 0.38; }
      50% { transform: scale(1.12); opacity: 0.72; }
    }

    @keyframes plateMove {
      0%, 100% { transform: rotateX(14deg) rotateY(-18deg) translateY(0); }
      50% { transform: rotateX(8deg) rotateY(-12deg) translateY(-16px); }
    }

    @media (max-width: 980px) {
      .hero-shell,
      .about {
        grid-template-columns: 1fr;
      }

      .showcase {
        min-height: 520px;
      }

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

      .download-band {
        grid-template-columns: 1fr;
      }

      .download-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    @media (max-width: 680px) {
      .nav {
        top: 10px;
        width: calc(100% - 18px);
        align-items: center;
        flex-wrap: wrap;
        height: auto;
        min-height: 62px;
        padding: 9px;
      }

      .brand {
        flex: 1 1 auto;
      }

      .menu-toggle {
        display: block;
        order: 2;
      }

      .nav-links {
        order: 4;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0;
        opacity: 0;
        transform: translateY(-6px);
        transition: max-height 260ms ease, opacity 220ms ease, transform 220ms ease, padding 220ms ease;
      }

      body.menu-open .nav-links {
        max-height: 190px;
        padding-top: 9px;
        opacity: 1;
        transform: translateY(0);
      }

      .nav-links a,
      .nav-links a:not(.keep) {
        display: flex;
        width: 100%;
        min-height: 42px;
        background: rgba(255, 255, 255, 0.045);
      }

      .lang-switch {
        order: 3;
        flex: 0 0 100%;
        justify-content: center;
        gap: 3px;
        margin: 8px 0 0;
      }

      .lang-btn {
        min-width: 29px;
        height: 29px;
        font-size: 0.66rem;
      }

      .hero {
        padding-top: 104px;
      }

      .hero-actions,
      .mini-stats,
      .download-actions,
      .about-list {
        grid-template-columns: 1fr;
      }

      .hero-actions {
        display: grid;
      }

      .btn {
        width: 100%;
      }

      .showcase {
        min-height: 430px;
      }

      .app-stage {
        inset: 58px -40px 0;
      }

      .chip-one {
        right: 8px;
      }

      .chip-two {
        left: 4px;
      }

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

      .section-head {
        display: block;
      }

      .section-head p {
        margin-top: 14px;
      }

      footer {
        display: block;
        text-align: center;
      }

      footer div + div {
        margin-top: 10px;
      }
    }

