@font-face {
  font-family: "iranyekan";
  src: url("/fonts/iranyekanwebbold.woff") format("woff2-variations");
  font-weight: 500 900;
  font-display: swap;
  font-style: normal;
  font-variation-settings: "KSHD" 0;
}
@font-face {
  font-family: "iranyekan";
  src: url("/fonts/iranyekanwebregular.woff") format("woff2-variations");
  font-weight: 100 400;
  font-display: swap;
  font-style: normal;
  font-variation-settings: "KSHD" 0;
}
@font-face {
  font-family: "Font Awesome 7 Free";
  src: url("/fonts/fa-regular-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
}

/* ===================== TOKENS ===================== */
:root {
  --bg-deep: #03060f;
  --bg-1: #050b1c;
  --bg-2: #081230;
  --navy: #0a1838;
  --blue: #1f6fff;
  --cyan: #36c5ff;
  --gold: #e7b94e;
  --gold-2: #f6d27a;
  --text: #eaf1ff;
  --muted: #8ea2c8;
  --card: rgba(10, 22, 50, 0.55);
  --border: rgba(70, 110, 190, 0.25);
  --primary: #000000ک;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--bg-deep);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "iranyekan", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 50% -10%, #0c1d44 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-deep) 30%, #02040c 100%);
  overflow-x: hidden;
  line-height: 1.6;
}

.en {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 1px;
  direction: ltr;
  display: inline-block;
}

/* ===================== PARTICLE CANVAS ===================== */
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
}

/* ===================== SECTION BASE ===================== */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
}

.section-heading {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}

.section-heading .en {
  color: var(--text);
  margin-inline-start: 8px;
}
.samtel-logo {
  position: absolute;
  top: 10px;
  
}
.samtel-logo img{
max-width: 150px;
height: auto;
}

/* ===================== SECTION 1 : HERO ===================== */
.hero {
  justify-content: flex-start;
  padding-top: 18vh;
  z-index: 2;
}

.hero-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  margin: -300px 0 0 -300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(54, 197, 255, 0.22) 0%,
    rgba(31, 111, 255, 0.08) 35%,
    transparent 70%
  );
  pointer-events: none;
  transition: transform 0.18s ease-out;
  z-index: 0;
}

.hero-astronaut {
  position: absolute;
  top: 4%;
  left: 30%;
  transform: translateX(-50%);
  width: 45%;
  z-index: 1;
  animation: floatY 7s ease-in-out infinite;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
}

.hero-astronaut img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: min(200px, 48vw);
}
.hero-content .title-img {
  min-width: 50vw;
  overflow: visible;
}
.hero-footer {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}
.hero-footer img {
  max-width: min(300px, 48vw);
}

.brand {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #b9c9e8 55%, #6f86b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(54, 197, 255, 0.25);
}

.tagline {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(0.7rem, 1.6vw, 1rem);
  letter-spacing: 6px;
  color: var(--muted);
  margin-top: 18px;
  text-transform: uppercase;
}

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 2px solid var(--border);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  background: var(--cyan);
  border-radius: 4px;
  animation: scrollDot 1.6s infinite;
}

/* ===================== SECTION 2 : OFFER ===================== */
.earth-wrap {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(500px, 90vw);
  z-index: 0;
  opacity: 0.9;
  max-width: 80vw;
}

.earth-spin {
  width: 100%;
  height: auto;
  display: block;
  animation: spin 60s linear infinite;
  filter: drop-shadow(0 0 60px rgba(31, 111, 255, 0.35));
}

.offer-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1900px;
}

.offer-title img {
  width: min(1340px, 90vw);
}
.offer-desc img {
  width: min(620px, 90vw);
}

.offer-desc strong {
  color: var(--gold-2);
  font-weight: 700;
}

.offer-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}

.offer-product {
  flex: 1 1 260px;
  max-width: 580px;
}

.offer-product img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
}

.offer-gift {
  max-width: 380px;
  animation: floatY 6s ease-in-out infinite;
}

.offer-gift img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.stamp {
  position: absolute;
  top: -10px;
  inset-inline-end: -6px;
  z-index: 3;
  font-weight: 900;
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  color: var(--gold-2);
  border: 3px solid var(--gold);
  padding: 6px 14px;
  border-radius: 8px;
  transform: rotate(-12deg);
  background: rgba(3, 6, 15, 0.4);
  box-shadow: 0 0 20px rgba(231, 185, 78, 0.2);
}

/* reveal animation */
.reveal {
  opacity: 0;
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}
.reveal[data-side="right"] {
  transform: translateX(60px);
}
.reveal[data-side="left"] {
  transform: translateX(-60px);
}
.reveal[data-side="top"] {
  transform: translateY(-60px);
}
.reveal.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* تاخیرهای پله‌ای */
.reveal:nth-child(1) {
  transition-delay: 0.1s;
}
.reveal:nth-child(2) {
  transition-delay: 0.25s;
}
.reveal:nth-child(3) {
  transition-delay: 0.4s;
}
.reveal:nth-child(4) {
  transition-delay: 0.55s;
}
.reveal:nth-child(5) {
  transition-delay: 0.7s;
}

/* ===================== SECTION 5 : SPECS ===================== */

.spec-grid-parent {
  display: flex;
  justify-content: space-between;
  max-width: 1480px;
  width: 100%;
}

.spec-grid-parent .specs-grid{
  width: 50%;
}
.specs-grid {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  position: relative;

  max-width: 100%;
  margin: auto;
}
.specs-column {
  display: flex;
  min-height: 1px;
  position: relative;
}
.specs-col-25 {
  width: 25%;
}
.specs-col-50 {
  width: 50%;
}
.specs-side {
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  position: relative;
  width: 100%;
  padding: 10px;
}
.specs-item{
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}
.services-1 {
    margin-top: 5px;
    margin-right: -50px;
}
.services-2{
  margin-top: 2px;
}
.services-3{
margin-top: 2px;
    margin-right: -50px;
}
.services-4 {
  margin-top: 2px;
    
}
.services-5{
  margin-top: 5px;
    margin-left: 20px;
}
.services-6{
margin-top: 2px;
  
}
.services_b.right {
    text-align: right;
}
.services_b.left {
    text-align: left;
}
.services_b.left .service_custom, .services_b.right .service_custom {
    float: none;
}
 .services .service_text {
    font-size: 16px;
    color: #9d9d9d;
    line-height: 26px;
}
.services h3 {
    display: inline-block;
    padding: 0 0 8px;
    color: #ffffff;
}
.services .service_custom i {
    position: absolute;
    left: 0;
    top: 10px;
    display: table;
    transition: all .2s ease-in-out;
    font-size: 2em;
    line-height: 2em;
    width: 2em;
    height: 2em;
    padding: 0;
    text-align: center;
}
.services_b .service_custom i {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    text-align: center;
    top: -10px;
    font-size: 40px;
}
.services_b.left .service_custom i {
    transform: none;
    left: auto;
    right: 0;
}

.services i:not(.cz_sb_sep_icon) {
    color: #0088ff;
}
.services.right .service_custom i {
    left: auto;
    right: 0;
}
.services_b.right .service_custom i {
    transform: none;
}
.cz_wpe_content{
  font-size: 13px;
}
.specs-tivo img {
  max-height: 80vh;
  max-width: 90vw;
}
.specs-OP18S{
  text-align: center;
}
.specs-OP18S img {
  max-height: 40vh;
  max-width: 70vw;
}
.specs-item:hover .service_custom, .specs-item:hover .service_img {
    transform: rotateY(360deg);
    transition: all .4s ease;
}
.services_b .service_custom {
    display: inline-block;
    margin: 0 0 20px;
}
.specs-tivo{
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}
/* ===================== SECTION 3 : STORES ===================== */

.stores .section-heading {
  font-family: "iranyekan";
}
.stores-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.store-astronaut {
  position: relative;
  display: flex;
  justify-content: center;
}

.store-astronaut img {
  width: min(520px, 70%);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(120, 90, 220, 0.45));
}

.moon-deco {
  position: absolute;
  top: -20px;
  inset-inline-start: 8%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow: inset -22px 6px 0 0 rgba(180, 200, 240, 0.85);
  opacity: 0.7;
  filter: drop-shadow(0 0 16px rgba(160, 190, 255, 0.4));
}

.store-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-right: auto;
}

.store-box {
  color: #000;
  text-decoration: none;
  transition: transform 0.4s ease;
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 50px;
  font-weight: 100;
  position: relative;
}
.store-box strong {
  font-weight: 600;
}
.store-box .bg-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.store-box .bg-svg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-box .text {
  position: relative;
  z-index: 1;
}

.store-box:hover .bg-svg {
  opacity: 0.9;
}

.store-box:hover {
  transform: translateY(-1px);
  border-color: #c96bff;
}

.store-box:hover strong {
  color: #ffffff;
}
.store-box .bg-svg {
  animation: rotateGlow 5s linear infinite alternate;
}

.store-logo {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
  transition: transform 0.35s;
}

.store-box:hover .store-logo {
  transform: scale(1.08);
}

.logo-torob {
  color: #ff3b5c;
}
.logo-digi {
  color: #ef394e;
}
.logo-snapp {
  color: #04ce5d;
}
.logo-pindo {
  color: var(--gold-2);
  font-family: "Vazirmatn", sans-serif;
  font-weight: 900;
}

.store-label {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
}

/* ===================== SECTION 4 : IN-STORE ===================== */
.instore {
  padding-bottom: 0;
}
.instore .section-heading {
  font-family: "iranyekan";
}
.instore-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
  align-items: start;
}

.map-img {
  width: 100%;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 30px rgba(31, 111, 255, 0.3));
}

.map-astronaut {
  position: absolute;
  bottom: -20px;
  width: 150px;
  left: 0;
}

.map-astronaut img {
  width: 100%;
  height: auto;
}
.instore-map {
  position: relative;
}

.city-list {
  list-style: none;
}

.city-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 6px;
  background: none;
  border: none;
  color: var(--text);
  font-family: "iranyekan", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  text-align: right;
  transition: color 0.25s;
}

.city-head:hover {
  color: var(--cyan);
}

.city-head .arrow {
  color: #ffffff;
  transition: transform 0.3s ease;
  font-size: 2rem;
  transform: rotate(90deg);
}

.city.open .city-head .arrow {
  transform: rotate(-120deg);
}

.city-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease,
    padding 0.4s ease;
  opacity: 0;
  padding: 0 26px;
  font-weight: 300;
}

.city.open .city-body {
  opacity: 1;
  padding: 0 26px 18px;
}

.city-body p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.city-body .pin {
  color: var(--cyan);
  font-size: 0.7rem;
}

.closing-astronaut {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  overflow: hidden;
  width: min(260px, 60vw);
}

.closing-astronaut img {
  width: 100%;
  height: auto;
  position: relative;
  top: 12px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
}
.city-wrapper {
  position: relative;
  width: 100%;
}

.city-list-container {
  max-height: 400px; /* ارتفاع دلخواه */
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.city-list-container.expanded {
  max-height: 5000px; /* عددی بزرگتر از ارتفاع کل لیست */
}

.toggle-btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: right;
  font-family: "iranyekan";
}

.toggle-btn:hover {
  background: var(--primary);
  color: #fff;
}
/* ===================== SHARED ANIMATIONS ===================== */
.float-anim {
  animation: floatY 6s ease-in-out infinite;
}
.float-anim-slow {
  animation: floatY 9s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-22px);
  }
}
@keyframes floatYDwon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(22px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .hero-content {
    margin-top: min(150px, 60vw);
  }
  .spec-grid-parent{
    flex-direction: column;
    gap:3rem;
  }
  .hero-content .title-img {
    min-width: 100vw;
  }
  .hero-footer {
    bottom: 20%;
  }
  .hero-footer img {
    max-width: min(200px, 48vw);
  }
  .hero-astronaut {
    top: 20%;
    width: 90%;
    left: 10%;
  }
  .stores-grid,
  .instore-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .store-astronaut {
    order: -1;
  }
  .offer-media {
    flex-direction: column;
  }
  .map-astronaut {
    width: 120px;
  }
  .store-links {
    margin: auto;
    gap: 20px;
  }
  .specs-col{
    width: 100% !important;
  }
  .specs-grid {
        flex-wrap: wrap;
    }
    .services{
      margin: 0 !important;
      text-align: center !important;
    }
    .store-links {
    grid-template-columns: 1fr;

}
}
@media (min-width: 769px) and (max-width: 1200px) {
    .specs-tivo img {
        max-width: 50vw;
    }
}

@keyframes rotateGlow {
  0% {
    filter: brightness(0.8) hue-rotate(0deg);
  }
  50% {
    filter: brightness(1.2) hue-rotate(50deg);
  }
  100% {
    filter: brightness(0.8) hue-rotate(-50deg);
  }
}

@keyframes pulseColor {
  0% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(201, 107, 255, 0.2));
  }
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 30px rgba(201, 107, 255, 0.6));
  }
}
