/* VPS landing page — RTL, CloudMe-inspired layout */

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

html {
  scroll-behavior: smooth;
}

body.svp-landing-body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1e293b;
  background: #f8fafc;
}

img {
  max-width: 100%;
  height: auto;
}

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

.svp-landing-container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.svp-landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.svp-landing-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.svp-landing-brand__logo {
  height: 42px;
  width: auto;
  display: block;
}

.svp-landing-brand__text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--svp-landing-primary, #0e7c86);
}

.svp-landing-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.svp-landing-nav a {
  font-weight: 600;
  color: #334155;
  transition: color 0.2s;
}

.svp-landing-nav a:hover {
  color: var(--svp-landing-primary, #0e7c86);
}

.svp-landing-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.svp-landing-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #0f172a;
  transition: transform 0.2s, opacity 0.2s;
}

.svp-landing-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(26, 156, 176, 0.35), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(14, 124, 134, 0.5), transparent 35%),
    linear-gradient(135deg, #0b1a2e 0%, #0e3d52 45%, var(--svp-landing-primary, #0e7c86) 100%);
}

.svp-landing-hero__overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}

.svp-landing-hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  max-width: 760px;
}

.svp-landing-hero__eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 600;
}

.svp-landing-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.25;
  font-weight: 800;
}

.svp-landing-hero__subtitle {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
}

.svp-landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.svp-landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

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

.svp-landing-btn--primary {
  background: #fff;
  color: var(--svp-landing-primary, #0e7c86);
}

.svp-landing-btn--primary:hover {
  background: #ecfeff;
}

.svp-landing-btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.svp-landing-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.svp-landing-btn--light {
  background: #fff;
  color: var(--svp-landing-dark, #0b1a2e);
}

.svp-landing-btn--block {
  width: 100%;
}

.svp-landing-section {
  padding: 5rem 0;
}

.svp-landing-section--alt {
  background: #eef6f8;
}

.svp-landing-section--contact {
  background: linear-gradient(180deg, #fff 0%, #eef6f8 100%);
}

.svp-landing-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.svp-landing-section__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
}

.svp-landing-section__head p {
  margin: 0;
  color: #64748b;
  font-size: 1.05rem;
}

.svp-landing-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.svp-landing-feature {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.svp-landing-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.svp-landing-feature__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(14, 124, 134, 0.1);
  color: var(--svp-landing-primary, #0e7c86);
}

.svp-landing-feature__icon svg {
  width: 26px;
  height: 26px;
}

.svp-landing-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: #0f172a;
}

.svp-landing-feature p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
}

.svp-landing-promo {
  background: linear-gradient(90deg, var(--svp-landing-primary, #0e7c86), var(--svp-landing-accent, #1a9cb0));
  color: #fff;
  padding: 3rem 0;
}

.svp-landing-promo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.svp-landing-promo__label {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.svp-landing-promo h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.svp-landing-promo__code {
  margin: 0;
  font-size: 1rem;
}

.svp-landing-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.svp-landing-plan {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.svp-landing-plan--featured {
  border-color: var(--svp-landing-primary, #0e7c86);
  box-shadow: 0 20px 48px rgba(14, 124, 134, 0.15);
  transform: scale(1.03);
}

.svp-landing-plan__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--svp-landing-primary, #0e7c86);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.svp-landing-plan h3 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  color: #0f172a;
}

.svp-landing-plan__features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}

.svp-landing-plan__features li {
  position: relative;
  padding: 0.45rem 1.25rem 0.45rem 0;
  color: #475569;
}

.svp-landing-plan__features li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--svp-landing-primary, #0e7c86);
  font-weight: 700;
}

.svp-landing-plan__price {
  margin-bottom: 1rem;
  text-align: center;
}

.svp-landing-plan__amount {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}

.svp-landing-plan__period {
  display: block;
  color: #64748b;
  font-size: 0.9rem;
}

.svp-landing-testimonials__track {
  position: relative;
  min-height: 220px;
}

.svp-landing-testimonial {
  display: none;
  margin: 0;
  padding: 2rem;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  text-align: center;
}

.svp-landing-testimonial.is-active {
  display: block;
}

.svp-landing-testimonial p {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  color: #334155;
}

.svp-landing-testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.svp-landing-testimonial strong {
  color: #0f172a;
}

.svp-landing-testimonial span {
  color: #64748b;
  font-size: 0.9rem;
}

.svp-landing-testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.svp-landing-testimonials__dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
}

.svp-landing-testimonials__dots button.is-active {
  background: var(--svp-landing-primary, #0e7c86);
  transform: scale(1.15);
}

.svp-landing-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.svp-landing-contact__card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.svp-landing-contact__card h3 {
  margin: 0 0 0.75rem;
  color: #0f172a;
}

.svp-landing-contact__card p {
  margin: 0;
  color: #475569;
}

.svp-landing-contact__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

.svp-landing-contact__empty {
  margin: 0;
  color: #64748b;
}

.svp-landing-footer {
  background: var(--svp-landing-dark, #0b1a2e);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0;
}

.svp-landing-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.svp-landing-footer p {
  margin: 0;
}

.svp-landing-footer__nav {
  display: flex;
  gap: 1.25rem;
}

.svp-landing-footer__nav a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .svp-landing-features,
  .svp-landing-pricing,
  .svp-landing-contact {
    grid-template-columns: 1fr;
  }

  .svp-landing-plan--featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .svp-landing-nav-toggle {
    display: block;
  }

  .svp-landing-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: none;
  }

  .svp-landing-nav.is-open {
    display: flex;
  }

  .svp-landing-nav a {
    padding: 0.75rem 0.5rem;
  }

  .svp-landing-header {
    position: relative;
  }

  .svp-landing-hero__content {
    padding: 4rem 0 3rem;
  }
}
