:root {
  --ink: #0e1726;
  --muted: #637083;
  --surface: #ffffff;
  --line: rgba(14, 23, 38, 0.12);
  --red: #e63946;
  --cyan: #22a6f2;
  --coral: #ff6b5f;
  --yellow: #f7c948;
  --dark: #101820;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  color: #f8fafc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b1018;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  inset: -28px;
  background:
    url("https://images.unsplash.com/photo-1593784991095-a205069470b6?auto=format&fit=crop&w=2200&q=85") center / cover;
  filter: blur(18px);
  opacity: 0.48;
  transform: scale(1.04);
}

body::after {
  z-index: -1;
  background: rgba(8, 12, 18, 0.86);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(13, 18, 26, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
}

.brand,
.header-action,
.primary-button,
.ghost-button,
.checkout-button,
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.brand {
  padding-inline: 4px 10px;
  font-size: 1.04rem;
  letter-spacing: 0;
}

.brand-mark,
.plan-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
}

.brand svg,
.header-action svg,
.primary-button svg,
.ghost-button svg,
.checkout-button svg,
.whatsapp-button svg,
.trust-band svg,
.feature-grid svg,
.plan-card li svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.35;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  min-width: 92px;
  padding: 10px 14px;
  border-radius: 7px;
  text-align: center;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.header-action,
.primary-button {
  padding: 0 18px;
  color: #fff;
  background: var(--red);
  border: 0;
  box-shadow: 0 14px 34px rgba(230, 57, 70, 0.3);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.language-button {
  width: 38px;
  height: 34px;
  border: 0;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-button.is-active {
  color: #071018;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px 24px 64px;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(10, 16, 24, 0.84), rgba(10, 16, 24, 0.24)),
    url("https://images.unsplash.com/photo-1601944179066-29786cb9d32a?auto=format&fit=crop&w=2200&q=85") center / cover;
  transform: scale(1.04);
  animation: slow-pan 16s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(34, 166, 242, 0.34), transparent 32%),
    linear-gradient(to top, rgba(8, 13, 20, 0.88), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin-inline: auto;
  animation: rise-in 800ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.ghost-button {
  padding: 0 20px;
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-band div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 78px;
  padding: 18px;
  background: rgba(13, 18, 26, 0.74);
  color: #fff;
  font-weight: 850;
}

.trust-band svg {
  color: var(--cyan);
}

.section,
.plans-section,
.support-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 32px;
}

h2 {
  color: #fff;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.feature-grid,
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-grid article,
.plan-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.feature-grid article {
  min-height: 210px;
  padding: 28px;
  overflow: hidden;
}

.feature-grid article::after {
  content: "";
  position: absolute;
  inset: auto -30px -48px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--cyan) 24%, transparent);
}

.feature-grid svg {
  color: var(--coral);
}

.feature-grid h3,
.plan-card h3 {
  color: var(--ink);
  margin: 18px 0 10px;
  font-size: 1.25rem;
}

.feature-grid p,
.plan-card p,
.support-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.plans-section {
  padding-top: 22px;
  padding-bottom: 46px;
}

.plans {
  align-items: stretch;
}

.plans.single-plan {
  grid-template-columns: minmax(280px, 560px);
  justify-content: center;
}

.plans.single-plan .plan-card {
  min-height: 0;
}

.plan-card {
  display: flex;
  min-height: 510px;
  flex-direction: column;
  padding: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 166, 242, 0.44);
  box-shadow: 0 32px 90px rgba(14, 23, 38, 0.15);
}

.plan-card.highlighted {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(230, 57, 70, 0.22), rgba(34, 166, 242, 0.18)),
    #111a24;
  border-color: rgba(255, 255, 255, 0.16);
}

.plan-card.highlighted h3 {
  color: #fff;
}

.plan-card.highlighted p,
.plan-card.highlighted li {
  color: rgba(255, 255, 255, 0.78);
}

.badge {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  padding: 7px 11px;
  border-radius: 8px;
  color: #0b1117;
  background: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
}

.plan-icon {
  width: 48px;
  height: 48px;
  color: #fff;
}

.plan-card strong {
  display: block;
  margin: 12px 0 22px;
  font-size: 2.3rem;
  line-height: 1;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.plan-card li svg {
  flex: 0 0 auto;
  color: var(--red);
}

.customer-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 22px;
}

.customer-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
}

.customer-form input,
.customer-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 0 12px;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.customer-form select option {
  color: var(--ink);
}

.customer-form input::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.customer-form input:focus,
.customer-form select:focus {
  border-color: rgba(230, 57, 70, 0.86);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.16);
}

.customer-form.show-errors input:invalid,
.customer-form.show-errors select:invalid {
  border-color: var(--yellow);
}

.form-note {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  line-height: 1.55;
}

.checkout-button {
  width: 100%;
  margin-top: auto;
  border: 0;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font: inherit;
  box-shadow: 0 14px 34px rgba(230, 57, 70, 0.28);
  transition: transform 180ms ease, filter 180ms ease;
}

.checkout-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.checkout-button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.whatsapp-button {
  width: 100%;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.whatsapp-button:hover,
.support-whatsapp:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.13);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(230, 57, 70, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), 0 12px 28px rgba(230, 57, 70, 0.28);
  backdrop-filter: blur(12px);
  font-weight: 900;
  transition: transform 180ms ease, filter 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.floating-whatsapp svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.support-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 66px;
}

.support-image {
  min-height: 390px;
  border-radius: 8px;
  background:
    linear-gradient(to top, rgba(16, 24, 32, 0.28), transparent),
    url("https://images.unsplash.com/photo-1593784991095-a205069470b6?auto=format&fit=crop&w=1500&q=85") center / cover;
  box-shadow: 0 32px 100px rgba(14, 23, 38, 0.16);
}

.support-copy {
  padding: 20px;
}

.support-copy h2 {
  color: #fff;
}

.support-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.compact {
  min-height: 46px;
  margin-top: 10px;
}

.support-whatsapp {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

html[dir="rtl"] body {
  font-family: Tahoma, Arial, ui-sans-serif, system-ui, sans-serif;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .support-copy,
html[dir="rtl"] .plan-card,
html[dir="rtl"] .site-footer {
  text-align: right;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .header-action,
html[dir="rtl"] .primary-button,
html[dir="rtl"] .ghost-button,
html[dir="rtl"] .checkout-button,
html[dir="rtl"] .whatsapp-button,
html[dir="rtl"] .floating-whatsapp,
html[dir="rtl"] .trust-band div,
html[dir="rtl"] .plan-card li {
  flex-direction: row-reverse;
}

html[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 22px;
}

html[dir="rtl"] .hero-content {
  margin-inline: auto;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #0d121a;
}

.footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr;
  gap: 34px;
  padding: 48px 0 34px;
}

.footer-brand .brand {
  width: max-content;
  color: #fff;
  padding: 0;
}

.footer-brand p {
  max-width: 420px;
  margin: 18px 0 0;
  line-height: 1.7;
}

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

.footer-links h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1rem;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.footer-bottom span:first-child {
  color: #fff;
  font-weight: 900;
}

.result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(10, 16, 24, 0.9), rgba(10, 16, 24, 0.42)),
    url("https://images.unsplash.com/photo-1611162616475-46b635cb6868?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.result-panel {
  width: min(560px, 100%);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(16, 24, 32, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.28);
  animation: rise-in 650ms ease both;
}

.result-panel > svg {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  color: var(--red);
}

.result-panel h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
}

.result-panel p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

@keyframes slow-pan {
  from {
    transform: scale(1.04) translateX(-1.2%);
  }

  to {
    transform: scale(1.08) translateX(1.2%);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 860px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .main-nav {
    display: none;
  }

  .header-action {
    min-width: 44px;
    padding: 0 12px;
  }

  .header-action span {
    display: none;
  }

  .header-tools {
    gap: 6px;
  }

  .language-button {
    width: 34px;
  }

  .hero {
    min-height: 84vh;
    padding: 124px 18px 48px;
  }

  .trust-band,
  .feature-grid,
  .plans,
  .support-section,
  .customer-form {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    min-height: 74px;
  }

  .section,
  .plans-section,
  .support-section {
    width: min(100% - 28px, 1160px);
    padding: 46px 0;
  }

  .plan-card {
    min-height: 0;
  }

  .support-image {
    min-height: 330px;
  }

  .support-copy {
    padding: 0;
  }

  footer {
    flex-direction: column;
  }

  .footer-inner {
    width: min(100% - 28px, 1160px);
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px 0 26px;
  }

  .footer-bottom {
    width: min(100% - 28px, 1160px);
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 46px;
    padding: 0 14px;
  }

  html[dir="rtl"] .floating-whatsapp {
    left: 14px;
  }
}
