/* Ravand — public landing page */

:root {
  --lp-primary: #0f766e;
  --lp-primary-light: #14b8a6;
  --lp-primary-soft: #ccfbf1;
  --lp-ink: #0f172a;
  --lp-muted: #64748b;
  --lp-border: #e2e8f0;
  --lp-bg: #f8fafc;
  --lp-surface: #ffffff;
  --lp-radius: 14px;
  --lp-nav-h: 64px;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/vazirmatn/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/vazirmatn/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/vazirmatn/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/vazirmatn/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Vazirmatn ss02 draws Latin digits as Persian numerals. */
  font-feature-settings: "ss02";
}

input,
textarea,
select {
  font-family: inherit;
  font-feature-settings: "ss02";
}

.bi {
  font-feature-settings: normal;
}

body.lp-body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  color: var(--lp-ink);
  background: var(--lp-bg);
  font-size: 0.95rem;
  line-height: 1.65;
  overflow-x: hidden;
}

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

.lp-shell {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 100% -5%, rgba(15, 118, 110, 0.14), transparent 58%),
    radial-gradient(700px 420px at 0% 35%, rgba(20, 184, 166, 0.08), transparent 55%),
    radial-gradient(600px 360px at 50% 100%, rgba(15, 23, 42, 0.04), transparent 60%),
    var(--lp-bg);
}

.lp-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(15, 118, 110, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

/* Nav */
.lp-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--lp-nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.lp-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-color: var(--lp-border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.lp-nav-inner {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.lp-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lp-nav-links a {
  color: var(--lp-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s;
}

.lp-nav-links a:hover {
  color: var(--lp-primary);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0.35rem 0.95rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.lp-btn:hover {
  transform: translateY(-1px);
}

.lp-btn-primary {
  background: var(--lp-primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.22);
}

.lp-btn-primary:hover {
  background: #0d9488;
  color: #fff;
}

.lp-btn-outline {
  background: #fff;
  border-color: var(--lp-border);
  color: var(--lp-ink);
}

.lp-btn-outline:hover {
  border-color: var(--lp-primary);
  color: var(--lp-primary);
}

.lp-btn-ghost {
  background: transparent;
  color: var(--lp-muted);
}

.lp-btn-ghost:hover {
  color: var(--lp-primary);
}

.lp-hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .lp-hide-mobile {
    display: inline-flex;
  }
}

.lp-btn-lg {
  min-height: 42px;
  padding: 0.5rem 1.25rem;
  font-size: 0.92rem;
}

/* Layout */
.lp-container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.lp-section {
  padding: 4.5rem 0;
}

.lp-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--lp-primary-soft);
  color: var(--lp-primary);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.lp-section-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
}

.lp-section-lead {
  margin: 0;
  color: var(--lp-muted);
  max-width: 52ch;
  font-size: 0.95rem;
}

.lp-section-head {
  margin-bottom: 2.25rem;
}

.lp-section-head.is-center {
  text-align: center;
}

.lp-section-head.is-center .lp-section-lead {
  margin-inline: auto;
}

/* Hero */
.lp-hero {
  padding-top: calc(var(--lp-nav-h) + 3rem);
  padding-bottom: 3rem;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: rgba(255, 255, 255, 0.75);
  color: var(--lp-primary);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.lp-hero-badge .bi {
  font-size: 0.85rem;
}

.lp-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lp-hero-title span {
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp-hero-lead {
  margin: 0 0 1.5rem;
  color: var(--lp-muted);
  font-size: 1.02rem;
  max-width: 46ch;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.lp-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.lp-stat {
  min-width: 110px;
}

.lp-stat strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lp-primary);
}

.lp-stat span {
  font-size: 0.8rem;
  color: var(--lp-muted);
}

.lp-hero-visual {
  position: relative;
}

.lp-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.lp-hero-glow {
  position: absolute;
  inset: 10% 5% auto;
  height: 60%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25), transparent 70%);
  filter: blur(24px);
  z-index: -1;
  animation: lp-float 6s ease-in-out infinite;
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Trust / key highlights */
.lp-trust {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.07) 0%, rgba(20, 184, 166, 0.04) 50%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(15, 118, 110, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 12px 40px rgba(15, 118, 110, 0.1);
}

.lp-trust-head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.lp-trust-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--lp-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.28);
}

.lp-trust-kicker .bi {
  font-size: 0.95rem;
}

.lp-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.lp-trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.1rem 0.75rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.lp-trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.14);
}

.lp-trust-card-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--lp-primary-soft), #f0fdfa);
  color: var(--lp-primary);
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.12);
}

.lp-trust-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lp-ink);
  line-height: 1.4;
}

.lp-trust-card span {
  font-size: 0.72rem;
  color: var(--lp-muted);
  line-height: 1.5;
  max-width: 16ch;
}

/* Module cards */
.lp-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lp-module-card {
  padding: 1.15rem;
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.lp-module-card:hover {
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.08);
  transform: translateY(-2px);
}

.lp-module-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--lp-primary-soft);
  color: var(--lp-primary);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.lp-module-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.lp-module-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Flow */
.lp-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  align-items: stretch;
}

.lp-flow-step {
  position: relative;
  padding: 1rem 0.85rem;
  border-radius: 12px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  text-align: center;
}

.lp-flow-step:not(:last-child)::after {
  content: "\F285";
  font-family: "bootstrap-icons";
  position: absolute;
  left: -0.55rem;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--lp-primary);
  font-size: 0.75rem;
  opacity: 0.55;
}

.lp-flow-num {
  width: 26px;
  height: 26px;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--lp-primary-soft);
  color: var(--lp-primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.lp-flow-step h4 {
  margin: 0 0 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.lp-flow-step p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--lp-muted);
  line-height: 1.45;
}

/* Benefits */
.lp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.lp-benefit {
  display: flex;
  gap: 0.85rem;
  padding: 1.1rem;
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
}

.lp-benefit-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f1f5f9;
  color: var(--lp-primary);
}

.lp-benefit h3 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.lp-benefit p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--lp-muted);
}

/* Tech */
.lp-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.lp-tech-card {
  padding: 1rem;
  border-radius: 12px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  text-align: center;
}

.lp-tech-card .bi {
  font-size: 1.35rem;
  color: var(--lp-primary);
  margin-bottom: 0.45rem;
  display: block;
}

.lp-tech-card strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.lp-tech-card span {
  font-size: 0.75rem;
  color: var(--lp-muted);
}

/* Audience */
.lp-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.lp-audience-card {
  padding: 1.35rem;
  border-radius: var(--lp-radius);
  background: linear-gradient(145deg, #fff, #f8fafc);
  border: 1px solid var(--lp-border);
}

.lp-audience-card .bi {
  font-size: 1.4rem;
  color: var(--lp-primary);
  margin-bottom: 0.65rem;
  display: block;
}

.lp-audience-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.lp-audience-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.85rem;
}

.lp-audience-card ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.lp-audience-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--lp-muted);
  margin-bottom: 0.35rem;
}

.lp-audience-card li .bi {
  font-size: 0.85rem;
  margin: 0.15rem 0 0;
  color: var(--lp-primary-light);
}

/* CTA */
.lp-cta {
  padding: 3.5rem 0 4.5rem;
}

.lp-cta-box {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 45%, #14b8a6 100%);
  color: #fff;
  text-align: center;
}

.lp-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 0% 0%, rgba(255, 255, 255, 0.12), transparent),
    radial-gradient(300px 180px at 100% 100%, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.lp-cta-box > * {
  position: relative;
  z-index: 1;
}

.lp-cta-box h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
}

.lp-cta-box p {
  margin: 0 auto 1.25rem;
  max-width: 48ch;
  opacity: 0.92;
  font-size: 0.92rem;
}

.lp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.lp-cta-box .lp-btn-primary {
  background: #fff;
  color: var(--lp-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lp-cta-box .lp-btn-primary:hover {
  background: #f0fdfa;
  color: #0d9488;
}

.lp-cta-box .lp-btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

.lp-cta-box .lp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.lp-contact-hints {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  opacity: 0.9;
}

.lp-contact-hints a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
}

.lp-contact-hints a:hover {
  text-decoration: underline;
}

/* Footer */
.lp-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--lp-border);
  color: var(--lp-muted);
  font-size: 0.8rem;
}

.lp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.lp-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--lp-ink);
}

.lp-footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

/* Mobile nav toggle */
.lp-nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  background: #fff;
  color: var(--lp-ink);
  cursor: pointer;
}

.lp-mobile-menu {
  display: none;
  position: fixed;
  top: var(--lp-nav-h);
  right: 0;
  left: 0;
  z-index: 99;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lp-border);
  flex-direction: column;
  gap: 0.5rem;
}

.lp-mobile-menu.is-open {
  display: flex;
}

.lp-mobile-menu a {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  color: var(--lp-muted);
  font-weight: 500;
}

.lp-mobile-menu a:hover {
  background: var(--lp-primary-soft);
  color: var(--lp-primary);
}

/* Responsive */
@media (max-width: 991px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lp-hero-visual {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }

  .lp-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-trust-card span {
    max-width: none;
  }

  .lp-flow {
    grid-template-columns: 1fr;
  }

  .lp-flow-step:not(:last-child)::after {
    content: "\F282";
    left: 50%;
    top: auto;
    bottom: -0.55rem;
    transform: translate(-50%, 50%) rotate(90deg);
  }

  .lp-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .lp-nav-links,
  .lp-nav-actions .lp-btn-ghost {
    display: none;
  }

  .lp-nav-toggle {
    display: inline-flex;
  }

  .lp-modules-grid,
  .lp-benefits-grid,
  .lp-audience-grid {
    grid-template-columns: 1fr;
  }

  .lp-section {
    padding: 3rem 0;
  }

  .lp-hero-stats {
    gap: 0.85rem;
  }

  .lp-stat {
    min-width: calc(50% - 0.5rem);
  }

  .lp-trust {
    padding: 1.25rem;
  }

  .lp-trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .lp-tech-grid {
    grid-template-columns: 1fr;
  }

  .lp-cta-box {
    padding: 1.75rem 1.25rem;
  }
}
