@import url('https://cdn.jsdelivr.net/npm/vazirmatn@33.003/Vazirmatn-font-face.css');

:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #eef6ff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #155eef;
  --primary-2: #2a78ff;
  --teal: #00b8a9;
  --green: #10b981;
  --orange: #f59e0b;
  --purple: #7c3aed;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
  --shadow-blue: 0 22px 60px rgba(21, 94, 239, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Vazirmatn, IRANSans, Tahoma, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(42, 120, 255, 0.10), transparent 28rem),
    radial-gradient(circle at 8% 20%, rgba(0, 184, 169, 0.08), transparent 22rem),
    var(--bg);
  line-height: 1.9;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 96px 0;
}

.section-pad.compact {
  padding-top: 72px;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  transform: translateY(-140%);
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
}

.brand img,
.footer-brand img {
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
}

.main-nav a {
  color: #334155;
  font-weight: 800;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
  background: #eff6ff;
  outline: none;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(21, 94, 239, 0.10);
}

.header-call span {
  font-size: 13px;
  color: #475569;
  font-weight: 800;
}

.header-call strong {
  direction: ltr;
  font-size: 15px;
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero {
  padding-top: 78px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 120px auto auto 4%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(21, 94, 239, 0.10), rgba(0, 184, 169, 0.13));
  filter: blur(2px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.18;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.28;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.hero-text,
.section-head p,
.feature-copy p,
.seo-panel p,
.contact-copy p,
.cta-card p,
.site-footer p {
  color: var(--muted);
  font-size: 17px;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 28px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-soft {
  background: #fff;
  color: var(--primary);
  border-color: #dbeafe;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badges span,
.tags span {
  color: #155eef;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: min(100%, 760px);
  margin-inline: auto;
  filter: drop-shadow(0 34px 48px rgba(15, 23, 42, 0.12));
}

.trust-strip {
  padding: 0 0 36px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-grid article {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  font-size: 18px;
  margin-bottom: 4px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 15px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.service-grid,
.portfolio-grid,
.steps {
  display: grid;
  gap: 20px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.step,
.portfolio-card,
.keyword-box,
.seo-panel,
.hosting-card,
.business-card,
.contact-copy {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.service-card {
  padding: 28px;
  min-height: 276px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.portfolio-card:hover,
.step:hover {
  transform: translateY(-6px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
}

.service-card p,
.step p,
.portfolio-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  font-size: 23px;
  margin-bottom: 20px;
}

.icon-blue { background: linear-gradient(135deg, #2a78ff, #155eef); }
.icon-teal { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.icon-indigo { background: linear-gradient(135deg, #6366f1, #4338ca); }
.icon-green { background: linear-gradient(135deg, #22c55e, #15803d); }
.icon-orange { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.icon-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.feature-section {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.60), rgba(255, 255, 255, 0.20));
  border-block: 1px solid rgba(226, 232, 240, 0.72);
}

.feature-grid,
.seo-grid,
.contact-grid {
  display: grid;
  align-items: center;
  gap: 32px;
}

.feature-grid {
  grid-template-columns: 1fr 0.9fr;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
}

.check-list li {
  position: relative;
  padding: 10px 40px 10px 0;
  color: #334155;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  font-weight: 900;
  line-height: 1;
}

.hosting-card {
  min-height: 460px;
  padding: 34px;
  display: grid;
  align-content: center;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.hosting-card::before {
  content: "";
  position: absolute;
  inset: auto -70px -70px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(0, 184, 169, 0.16);
}

.server-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(21, 94, 239, 0.10);
}

.server-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.server-card strong {
  display: block;
  color: var(--primary);
  font-size: 27px;
  direction: ltr;
  margin-top: 6px;
}

.server-card-top {
  transform: translateX(-20px);
}

.server-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.server-stack span {
  display: block;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef6ff, #ecfeff);
  border: 1px solid #dbeafe;
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.step {
  padding: 26px;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  font-weight: 900;
  margin-bottom: 20px;
}

.seo-section {
  background: #f8fafc;
}

.seo-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.seo-panel,
.keyword-box {
  padding: 34px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.keyword-box h3 {
  margin-bottom: 18px;
}

.portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
  padding: 18px 18px 24px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mock {
  min-height: 190px;
  border-radius: 24px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.70);
}

.mock::before,
.mock::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.mock::before {
  width: 62%;
  height: 18px;
  top: 34px;
  right: 28px;
  background: rgba(255, 255, 255, 0.70);
}

.mock::after {
  width: 44%;
  height: 54px;
  bottom: 28px;
  right: 28px;
  background: rgba(255, 255, 255, 0.52);
}

.mock-one { background: linear-gradient(135deg, #155eef, #00b8a9); }
.mock-two { background: linear-gradient(135deg, #7c3aed, #2a78ff); }
.mock-three { background: linear-gradient(135deg, #0f172a, #155eef); }

.cta-section {
  padding: 32px 0;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 44px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 18rem),
    linear-gradient(135deg, var(--primary), #0f3dbb 54%, var(--teal));
  border-radius: 36px;
  box-shadow: var(--shadow-blue);
}

.cta-card .eyebrow,
.cta-card p {
  color: rgba(255, 255, 255, 0.84);
}

.cta-card h2 {
  color: #fff;
}

.contact-grid {
  grid-template-columns: 0.88fr 1.12fr;
}

.contact-copy {
  padding: 34px;
}

.contact-items {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-items a {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  background: #f8fafc;
  transition: 0.25s ease;
}

.contact-items a:hover,
.contact-items a:focus-visible {
  background: #eff6ff;
  border-color: #bfdbfe;
  outline: none;
}

.contact-items span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-items strong {
  color: var(--primary);
  font-size: 20px;
}

.business-card {
  margin: 0;
  padding: 16px;
}

.business-card img {
  border-radius: 26px;
}

.business-card figcaption {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  margin-top: 12px;
}

.site-footer {
  background: #0f172a;
  color: #fff;
  padding: 70px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 0.75fr;
  gap: 28px;
}

.footer-grid p {
  color: #cbd5e1;
  max-width: 560px;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  color: #cbd5e1;
  margin-top: 12px;
  transition: color 0.25s ease;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: #fff;
  outline: none;
}

.footer-title {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
}

.copyright {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #94a3b8;
  font-size: 14px;
}

.copyright a {
  color: #dbeafe;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .header-call span {
    display: none;
  }
  .hero-grid,
  .feature-grid,
  .seo-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    text-align: center;
  }
  .hero-text,
  .section-head {
    margin-inline: auto;
  }
  .hero-actions,
  .hero-badges {
    justify-content: center;
  }
  .service-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    min-height: 76px;
    justify-content: space-between;
  }

  .brand {
    min-width: 172px;
  }

  .brand img {
    width: 172px;
  }

  .header-call {
    display: none;
  }

  .nav-button {
    display: grid;
    place-items: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    cursor: pointer;
  }

  .nav-button span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: 0.2s ease;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    transform-origin: top center;
    transform: scaleY(0.92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.22s ease;
  }

  .main-nav a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .nav-toggle:checked ~ .main-nav {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-toggle:checked + .nav-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked + .nav-button span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .nav-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section-pad {
    padding: 72px 0;
  }

  .hero {
    padding-top: 52px;
  }

  .service-grid,
  .portfolio-grid,
  .steps,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid article,
  .service-card,
  .step,
  .seo-panel,
  .keyword-box,
  .contact-copy {
    border-radius: 24px;
  }

  .hosting-card {
    min-height: 380px;
  }

  .copyright {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  h1 {
    font-size: 35px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-content {
    text-align: right;
  }

  .hero-actions,
  .hero-badges {
    justify-content: flex-start;
  }

  .btn {
    width: 100%;
  }

  .hero-badges span,
  .tags span {
    font-size: 13px;
  }

  .service-card,
  .step,
  .seo-panel,
  .keyword-box,
  .contact-copy,
  .hosting-card {
    padding: 22px;
  }

  .cta-card {
    padding: 28px 20px;
    border-radius: 26px;
  }

  .server-card strong {
    font-size: 21px;
  }

  .business-card {
    padding: 10px;
  }
}
