* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #05060a;
  color: #f2f4fb;
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
a:hover { color: #f2f4fb; }
::selection { background: rgba(110,231,201,0.3); }

#root { position: relative; background: #05060a; color: #f2f4fb; }

/* custom cursor */
.cursor-ring {
  position: fixed; top: 0; left: 0; width: 36px; height: 36px;
  margin-left: -18px; margin-top: -18px;
  border: 1.5px solid rgba(110,231,201,0.55);
  border-radius: 50%; pointer-events: none; z-index: 9999; will-change: transform;
}
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 6px; height: 6px;
  margin-left: -3px; margin-top: -3px;
  background: #6ee7c9; border-radius: 50%; pointer-events: none; z-index: 9999;
}
/* touch devices have no hover-tracking pointer to follow */
@media (hover: none), (pointer: coarse) {
  .cursor-ring, .cursor-dot { display: none; }
}

/* support widget panel */
.support-panel {
  position: absolute; z-index: 5; width: 280px; max-width: calc(100vw - 32px);
  background: #0b0d14; border: 1px solid rgba(110,231,201,0.22);
  border-radius: 16px; padding: 18px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5); text-align: center;
}
.support-panel-title { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.support-panel-row { display: flex; gap: 8px; }
.support-code {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 10px 12px; color: #6ee7c9;
  font-family: 'Inter', sans-serif; font-size: 13px;
}
.support-input {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 10px 12px; color: #f2f4fb;
  font-family: inherit; font-size: 13px; outline: none; box-sizing: border-box;
}
.support-submit {
  margin-top: 14px; width: 100%; background: #6ee7c9; color: #03201a;
  font-weight: 700; font-size: 13px; padding: 10px; border-radius: 10px;
  border: none; font-family: inherit; cursor: pointer; opacity: 0.5;
}
.support-submit:not(:disabled) { opacity: 1; cursor: pointer; }
.support-submit:disabled { cursor: not-allowed; }
.support-done { font-size: 13px; font-weight: 600; color: #6ee7c9; text-align: center; padding: 8px 0; }
.support-done span { color: rgba(242,244,251,0.5); font-weight: 400; font-size: 12px; }

.hover-tooltip {
  position: fixed; background: #0b0d14; border: 1px solid rgba(110,231,201,0.3);
  color: #6ee7c9; font-size: 12px; font-weight: 600; padding: 5px 10px;
  border-radius: 8px; pointer-events: none; z-index: 9999; white-space: nowrap;
}

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 64px; background: rgba(5,6,10,0.7);
  backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.1);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name {
  font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.5px;
  background: linear-gradient(90deg,#fff 0%,#6ee7c9 60%,#6ee7c9 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 13px; color: rgba(242,244,251,0.45); text-decoration: none; font-weight: 500; }

.btn-primary {
  background: #6ee7c9; color: #03201a; font-weight: 600; font-size: 13px;
  padding: 10px 22px; border-radius: 10px; border: none; font-family: inherit;
  white-space: nowrap; cursor: pointer; transition: opacity .15s;
}
.btn-primary:hover { opacity: 0.88; }
.btn-primary.btn-lg { font-weight: 700; font-size: 14px; padding: 13px 28px; border-radius: 12px; }

.btn-secondary {
  background: transparent; color: #f2f4fb; font-weight: 500; font-size: 14px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
  font-family: inherit; cursor: pointer; transition: border-color .15s, color .15s;
}
.btn-secondary:hover { border-color: #6ee7c9; color: #6ee7c9; }

/* hero */
.hero {
  position: relative; width: 100%; min-height: 100vh;
  display: flex; align-items: center; overflow: visible; padding: 140px 0 40px;
}
.globe-wrap { position: fixed; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; will-change: top,left,width,height; }
.globe-wrap canvas {
  width: 100%; height: 100%; display: block;
  /* allow native vertical scroll to win over the drag-to-rotate gesture,
     otherwise a finger placed on the canvas can't scroll the page at all */
  touch-action: pan-y;
}
.hero-content { position: relative; z-index: 2; max-width: 560px; padding: 0 64px; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500;
  color: #6ee7c9; background: rgba(110,231,201,0.08); border: 1px solid rgba(110,231,201,0.22);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 24px; letter-spacing: 0.3px;
}
.hero-title { font-size: 52px; font-weight: 800; line-height: 1.25; color: #fff; margin: 0; }
.hero-title-en {
  font-family: 'Inter', sans-serif; font-size: 44px; font-weight: 700; color: #6ee7c9;
  display: block; margin-top: 4px; letter-spacing: -1px;
}
.hero-desc { font-size: 15px; color: rgba(242,244,251,0.45); line-height: 1.9; margin-top: 20px; max-width: 420px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; }
.hero-cards { display: flex; gap: 14px; margin-top: 40px; perspective: 1000px; flex-wrap: wrap; }
.hero-card {
  width: 180px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 16px 18px; backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.12) inset;
  transform-style: preserve-3d; transition: transform .15s ease-out, border-color .15s, box-shadow .15s;
}
.hero-card-tag { font-size: 11px; color: #6ee7c9; font-weight: 500; }
.hero-card-title { font-size: 15px; font-weight: 600; margin-top: 8px; color: #fff; }
.hero-card-meta { font-size: 11px; color: rgba(242,244,251,0.45); margin-top: 6px; line-height: 1.6; }

.divider { width: 100%; height: 1px; background: linear-gradient(90deg,transparent,rgba(110,231,201,0.22),transparent); }

/* consult */
.consult { padding: 88px 64px 0; background: #05060a; text-align: center; }
.consult-text { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.consult-text.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.consult-slot { height: 552px; }

/* generic sections */
.section { padding: 100px 64px; background: #05060a; }
.section-alt { background: #0b0d14; }
.eyebrow {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; color: #6ee7c9;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
}
.section-title { font-size: 36px; font-weight: 800; line-height: 1.3; color: #fff; max-width: 560px; }
.section-title-en { display: block; color: rgba(242,244,251,0.45); font-size: 20px; font-weight: 400; margin-top: 6px; }
.section-desc { font-size: 15px; color: rgba(242,244,251,0.45); line-height: 1.8; margin-top: 16px; max-width: 480px; }

/* services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; margin-top: 52px; }
.service-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.service-card:hover { border-color: rgba(110,231,201,0.22); transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.service-icon {
  width: 44px; height: 44px; background: rgba(110,231,201,0.08); border: 1px solid rgba(110,231,201,0.22);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.service-title { font-size: 17px; font-weight: 700; color: #fff; }
.service-title-en { font-family: 'Inter', sans-serif; font-size: 12px; color: #6ee7c9; display: block; margin-top: 3px; font-weight: 500; }
.service-desc { font-size: 13px; color: rgba(242,244,251,0.45); line-height: 1.8; margin-top: 12px; }

/* products */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; margin-top: 52px; }
.product-card {
  display: block; text-decoration: none; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 28px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.product-card:not(.product-card-soon):hover { border-color: rgba(110,231,201,0.35); transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.product-card-soon { opacity: 0.6; cursor: default; }
.product-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.product-card-top .service-icon { margin-bottom: 0; }
.product-badge {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: #6ee7c9; background: rgba(110,231,201,0.1); border: 1px solid rgba(110,231,201,0.3);
  padding: 4px 10px; border-radius: 999px;
}
.product-badge-soon { color: rgba(242,244,251,0.45); background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.product-card-cta { font-size: 12px; font-weight: 600; color: #6ee7c9; margin-top: 18px; }

/* why */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 52px; align-items: start; }
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
  transition: border-color .2s;
}
.why-item:hover { border-color: rgba(110,231,201,0.22); }
.why-num {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; color: #6ee7c9; min-width: 28px;
  background: rgba(110,231,201,0.08); border: 1px solid rgba(110,231,201,0.22); border-radius: 6px;
  padding: 3px 7px; margin-top: 2px; text-align: center;
}
.why-title { font-size: 15px; font-weight: 600; color: #fff; }
.why-desc { font-size: 13px; color: rgba(242,244,251,0.45); margin-top: 5px; line-height: 1.7; }
.stat-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
  padding: 32px; position: relative; overflow: hidden;
}
.stat-card-head {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: #6ee7c9; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.stat-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(242,244,251,0.45); }
.stat-val { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 700; color: #fff; }
.stat-unit { color: #6ee7c9; }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px; }
.price-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; position: relative; transition: border-color .2s, transform .2s;
}
.price-card:hover { transform: translateY(-3px); }
.price-card-featured { background: linear-gradient(135deg, rgba(110,231,201,0.08), rgba(5,6,10,0.9)); border-color: rgba(110,231,201,0.22); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #6ee7c9; color: #03201a; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 999px;
}
.price-name { font-size: 14px; font-weight: 600; color: rgba(242,244,251,0.45); }
.price-amount { font-family: 'Inter', sans-serif; font-size: 36px; font-weight: 800; color: #fff; margin-top: 12px; }
.price-amount span { font-size: 14px; color: rgba(242,244,251,0.45); font-weight: 400; }
.price-desc { font-size: 13px; color: rgba(242,244,251,0.45); margin-top: 8px; line-height: 1.7; }
.price-sep { height: 1px; background: rgba(255,255,255,0.1); margin: 24px 0; }
.price-features { display: flex; flex-direction: column; gap: 10px; flex: 1; font-size: 13px; color: #f2f4fb; }
.price-btn {
  margin-top: 28px; padding: 13px; border-radius: 12px; font-family: inherit; font-size: 14px; font-weight: 600;
  transition: all .2s; text-align: center; cursor: pointer;
}
.price-btn-outline { border: 1px solid rgba(255,255,255,0.1); background: transparent; color: #f2f4fb; }
.price-btn-outline:hover { border-color: #6ee7c9; color: #6ee7c9; }
.price-btn-filled { border: 1px solid #6ee7c9; background: #6ee7c9; color: #03201a; }
.price-btn-filled:hover { opacity: 0.88; }

/* contact */
.contact-wrap { max-width: 520px; margin: 0 auto; text-align: center; }
.contact-form { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-input {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 13px 16px; color: #f2f4fb; font-family: inherit; font-size: 14px; outline: none; width: 100%;
  appearance: none; transition: border-color .15s;
}
.contact-input:focus { border-color: rgba(110,231,201,0.4); }
.contact-textarea { resize: vertical; min-height: 100px; }

/* footer */
.footer {
  padding: 40px 64px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-name {
  font-family: 'Inter', sans-serif; font-weight: 700;
  background: linear-gradient(90deg,#fff,#6ee7c9); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-copy { font-size: 12px; color: rgba(242,244,251,0.45); }

@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 110px 0 32px; }
  .hero-content { padding: 0 24px; max-width: 100%; }
  .hero-title { font-size: 38px; }
  .hero-title-en { font-size: 32px; }
  .hero-desc { max-width: 100%; }
  .hero-cards { margin-top: 28px; }
  .section, .consult { padding-left: 24px; padding-right: 24px; }
  .section-title { font-size: 28px; }
  .section-title-en { font-size: 17px; }
  .services-grid { margin-top: 36px; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .pricing-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .price-card { padding: 24px; }
  .contact-row { grid-template-columns: 1fr; }
  .footer { padding: 32px 24px; }
  .consult-slot { height: 460px; }
  /* iOS Safari zooms the page on focus of any input under 16px */
  .contact-input, .support-input, .support-code { font-size: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .hero-title-en { font-size: 25px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-cards { flex-direction: column; }
  .hero-card { width: 100%; }
  .eyebrow-pill { font-size: 11px; padding: 4px 12px; }
  .section-title { font-size: 24px; }
  .consult-slot { height: 380px; }
  .support-panel { padding: 14px 16px; }
}
