:root {
  --primary-50: #e6fbf9;
  --primary-100: #c0f3ee;
  --primary-200: #8ce5df;
  --primary-300: #54d6cf;
  --primary-400: #2ac7c0;
  --primary-500: #12b3ac;
  --primary-600: #0b8f8a;
  --primary-700: #066a66;
  --surface: #f4fbfb;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 20px 45px rgba(18, 179, 172, 0.15);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --glass-border: rgba(255, 255, 255, 0.35);
}

@font-face {
    font-family: 'IRANSansWeb';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/iransans/woff2/IRANSansWeb.woff2') format('woff2'),
    url('../fonts/iransans/woff/IRANSansWeb.woff') format('woff'),
    url('../fonts/iransans/ttf/IRANSansWeb.ttf') format('truetype');
}

@font-face {
    font-family: 'IRANSansWeb';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/iransans/woff2/IRANSansWeb_Medium.woff2') format('woff2'),
    url('../fonts/iransans/woff/IRANSansWeb_Medium.woff') format('woff'),
    url('../fonts/iransans/ttf/IRANSansWeb_Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'IRANSansWeb';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('..../fonts/iransans/woff2/IRANSansWeb_Bold.woff2') format('woff2'),
    url('../fonts/iransans/woff/IRANSansWeb_Bold.woff') format('woff'),
    url('../fonts/iransans/ttf/IRANSansWeb_Bold.ttf') format('truetype');
}


* {
  box-sizing: border-box;
  font-family: 'IRANSans', 'IRANSansWeb', sans-serif;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text-dark);
  line-height: 1.7;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 32px 0 120px;
  background: linear-gradient(135deg, var(--primary-50), var(--surface));
  overflow: hidden;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-600);
}

.nav-cta {
  padding: 10px 22px;
  background: white;
  color: var(--primary-600);
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(18, 179, 172, 0.2);
  box-shadow: 0 8px 20px rgba(18, 179, 172, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(18, 179, 172, 0.2);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-text p {
  margin-bottom: 24px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--primary-500);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(6, 106, 102, 0.1);
  color: var(--primary-600);
}

.btn-secondary:hover {
  background: rgba(6, 106, 102, 0.16);
}

.btn-outline {
  border: 1px solid var(--primary-300);
  color: var(--primary-600);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-50);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 12px;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  position: relative;
  padding-right: 20px;
}

.hero-highlights li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-500);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  position: relative;
}

.device-frame {
  background: white;
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 28px 65px rgba(6, 106, 102, 0.18);
  border: 1px solid rgba(12, 179, 172, 0.14);
  max-width: 320px;
  position: relative;
}

.device-frame::before,
.device-frame::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.device-frame::before {
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(6, 106, 102, 0.08);
}

.device-frame::after {
  right: 30%;
  bottom: -32px;
  height: 70px;
  width: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(18, 179, 172, 0.2), transparent 70%);
  filter: blur(12px);
  z-index: -1;
}

.device-frame img {
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(6, 106, 102, 0.15);
}

.hero-card {
  background: white;
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(7, 106, 102, 0.15);
  border: 1px solid rgba(18, 179, 172, 0.1);
  max-width: 340px;
  position: relative;
}

.hero-card .badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--primary-500);
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero-card h2 {
  margin-top: 16px;
  margin-bottom: 12px;
}

.hero-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.stats {
  display: grid;
  gap: 16px;
}

.stats strong {
  font-size: 1.5rem;
  color: var(--primary-600);
}

.stats span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-wave {
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: radial-gradient(circle at top, rgba(18, 179, 172, 0.18), transparent 65%);
  pointer-events: none;
}

.section {
  padding: 100px 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(12, 179, 172, 0.12);
  border: 1px solid rgba(6, 106, 102, 0.08);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
}

.highlight {
  background: linear-gradient(120deg, rgba(18, 179, 172, 0.12), rgba(244, 251, 251, 0.9));
}

.highlight-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.highlight-text ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}

.highlight-text li {
  position: relative;
  padding-right: 22px;
  color: var(--text-muted);
}

.highlight-text li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--primary-600);
}

.highlight-visual {
  position: relative;
  display: grid;
  gap: 16px;
  justify-items: start;
}

.highlight-screenshot {
  width: min(420px, 100%);
  border-radius: 24px;
  box-shadow: 0 32px 70px rgba(12, 179, 172, 0.2);
  border: 1px solid rgba(12, 179, 172, 0.12);
}

.highlight-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 25px 50px rgba(12, 179, 172, 0.15);
  border: 1px solid rgba(12, 179, 172, 0.12);
  width: min(340px, 100%);
}

.highlight-card span {
  color: var(--primary-600);
  font-weight: 600;
}

.highlight-card strong {
  display: block;
  margin: 12px 0;
  font-size: 1.4rem;
}

.highlight-card p {
  margin: 0;
  color: var(--text-muted);
}

.steps {
  background: white;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(6, 106, 102, 0.08);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.step-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-100);
  color: var(--primary-600);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.step p {
  color: var(--text-muted);
}

.testimonials {
  background: var(--surface);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial {
  background: white;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  margin: 0;
}

.testimonial p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.testimonial footer {
  font-weight: 600;
  color: var(--primary-600);
}

.demo-gallery {
  background: white;
  position: relative;
  overflow: hidden;
}

.demo-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.demo-intro-text {
  max-width: 520px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(6, 106, 102, 0.1);
  color: var(--primary-600);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.section-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-500);
  box-shadow: 0 0 0 6px rgba(18, 179, 172, 0.15);
}

.demo-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  min-width: 240px;
}

.demo-meta li {
  background: linear-gradient(135deg, rgba(18, 179, 172, 0.12), rgba(244, 251, 251, 0.95));
  border: 1px solid rgba(6, 106, 102, 0.12);
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: 0 20px 40px rgba(6, 106, 102, 0.08);
  backdrop-filter: blur(6px);
}

.demo-meta strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-600);
  margin-bottom: 8px;
}

.demo-meta span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.demo-divider {
  width: 100%;
  height: 1px;
  margin: 56px 0;
  background: linear-gradient(90deg, rgba(18, 179, 172, 0), rgba(18, 179, 172, 0.35), rgba(18, 179, 172, 0));
  position: relative;
  overflow: hidden;
}

.demo-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  animation: shimmer 3.2s linear infinite;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
  perspective: 1200px;
}

.demo-item {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 10px;
  border: 1px solid rgba(6, 106, 102, 0.12);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
  transform-style: preserve-3d;
  margin: 0 0;
}

.demo-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 179, 172, 0.1), rgba(18, 179, 172, 0));
  opacity: 0;
  transition: opacity 0.6s var(--ease-out-expo);
  pointer-events: none;
}

.demo-item:hover {
  transform: translate3d(0, -14px, 0) rotateX(3deg);
  box-shadow: 0 32px 70px rgba(6, 106, 102, 0.16);
}

.demo-item:hover::before {
  opacity: 1;
}

.demo-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(12, 179, 172, 0.2);
  box-shadow: 0 30px 60px rgba(6, 106, 102, 0.18);
}

.demo-media img {
  border-radius: 16px;
  display: block;
}

.demo-glow {
  position: absolute;
  inset: auto 10% -40px 10%;
  height: 80px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(18, 179, 172, 0.45), transparent 65%);
  filter: blur(10px);
  animation: pulseGlow 5s ease-in-out infinite;
  pointer-events: none;
}

.demo-item figcaption {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.demo-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.65;
  filter: blur(0px);
  background: radial-gradient(circle at 30% 30%, rgba(18, 179, 172, 0.4), rgba(18, 179, 172, 0));
  animation: floatOrbit 16s ease-in-out infinite alternate;
}

.orb-one {
  width: 320px;
  height: 320px;
  top: -120px;
  left: 12%;
  animation-duration: 22s;
}

.orb-two {
  width: 260px;
  height: 260px;
  bottom: -90px;
  right: 14%;
  animation-duration: 18s;
}

.cta {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  border-radius: 40px;
  margin: 0 5vw;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: '';
  position: absolute;
  inset: auto -20% -40% -20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 65%);
  pointer-events: none;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta .btn-primary {
  background: white;
  color: var(--primary-600);
  box-shadow: none;
}

.cta .btn-primary:hover {
  background: var(--primary-50);
}

.cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

.contact {
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid rgba(6, 106, 102, 0.08);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

label {
  font-weight: 600;
}

input,
textarea {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: white;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-300);
  box-shadow: 0 0 0 4px rgba(18, 179, 172, 0.1);
}

textarea {
  resize: vertical;
}

.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.88);
  padding: 60px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  align-items: start;
}

.footer .logo {
  color: white;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.footer-meta {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

@keyframes floatOrbit {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-20px, 30px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(30px, -20px, 0) scale(0.98);
  }
}

[data-animate] {
  --animate-delay: 0ms;
  --animate-x: 0px;
  --animate-y: 42px;
  --animate-scale: 0.98;
  --animate-rotate: 0deg;
  opacity: 0;
  transform: translate3d(var(--animate-x), var(--animate-y), 0) scale(var(--animate-scale)) rotate(var(--animate-rotate));
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
  transition-delay: var(--animate-delay);
  will-change: transform, opacity;
}

[data-animate].is-visible {
  opacity: 1;
  --animate-x: 0px;
  --animate-y: 0px;
  --animate-scale: 1;
  --animate-rotate: 0deg;
}

[data-animate="slide-left"] {
  --animate-x: -60px;
  --animate-y: 0px;
}

[data-animate="slide-right"] {
  --animate-x: 60px;
  --animate-y: 0px;
}

[data-animate="slide-up"] {
  --animate-x: 0px;
  --animate-y: 70px;
}

[data-animate="fade-up"] {
  --animate-x: 0px;
  --animate-y: 48px;
}

[data-animate="scale-in"] {
  --animate-scale: 0.88;
  --animate-y: 36px;
}

[data-animate="tilt-left"] {
  --animate-rotate: 4deg;
  --animate-y: 60px;
}

[data-animate="tilt-right"] {
  --animate-rotate: -4deg;
  --animate-y: 60px;
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .demo-orb,
  .demo-divider::after,
  .demo-glow {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    order: 2;
  }

  .hero-visual {
    flex-direction: column;
    gap: 32px;
  }

  .hero-card {
    max-width: 100%;
    text-align: right;
  }

  .highlight-visual {
    justify-items: center;
  }

  .highlight-card {
    width: min(340px, 100%);
  }

  .hero-actions,
  .hero-highlights {
    justify-items: center;
  }

  .hero-highlights li {
    justify-content: center;
    padding-right: 0;
  }

  .hero-highlights li::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 24px;
  }

  .nav {
    flex-direction: column;
    gap: 16px;
  }

  .btn {
    width: 100%;
  }

  .device-frame::after {
    right: 20%;
  }

  .cta {
    margin: 0;
    border-radius: 0;
  }
}
