
:root {
  --primary: #0056b3;
  --primary-light: #1e88e5;
  --accent: #00b894;
  --dark: #0b1925;
  --light: #f5f7fb;
  --text: #2c3e50;
  --radius: 14px;
  --shadow-soft: 0 14px 35px rgba(15, 35, 52, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.7;
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 35, 52, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, #00b894, #0056b3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.5);
}

.brand-text-main {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.brand-text-sub {
  font-size: 0.75rem;
  opacity: 0.7;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.96rem;
}

nav.main-nav a {
  padding: 0.35rem 0.1rem;
  position: relative;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  transition: width 0.2s ease-out;
}

nav.main-nav a:hover::after,
nav.main-nav a.active::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: #eef3ff;
}

.lang-btn {
  border: none;
  background: transparent;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.65;
}

.lang-btn.active {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 86, 179, 0.20);
  opacity: 1;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: none;
  padding: 0.68rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 86, 179, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 86, 179, 0.55);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(0, 86, 179, 0.35);
}

main {
  flex: 1;
}

.hero {
  padding: 3.5rem 0 3rem;
  background: radial-gradient(circle at top left, #e6f1ff 0, #f5f7fb 48%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
  gap: 2.8rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.7rem 0.2rem 0.2rem;
  border-radius: 999px;
  background: rgba(0, 86, 179, 0.05);
  color: var(--primary);
  font-size: 0.78rem;
  margin-bottom: 0.9rem;
}

.eyebrow-pill {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
}

h1.hero-heading {
  font-size: clamp(2.2rem, 2.8vw + 1.4rem, 3.3rem);
  line-height: 1.08;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.hero-subtitle {
  font-size: 0.98rem;
  max-width: 31rem;
  color: #4b5a6b;
  margin-bottom: 1.4rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

.pill {
  font-size: 0.78rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 35, 52, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.78rem;
  color: #6b7a8c;
}

.hero-note strong {
  color: var(--dark);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 0.4rem;
}

.metric {
  min-width: 110px;
}

.metric strong {
  display: block;
  font-size: 1.15rem;
  color: var(--dark);
}

.metric span {
  font-size: 0.78rem;
  color: #6b7a8c;
}

.hero-card {
  border-radius: 24px;
  background: #0f172a;
  color: #e5ecff;
  padding: 1.4rem;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.85);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at -10% -20%, rgba(0, 255, 200, 0.35), transparent 55%),
              radial-gradient(circle at 110% 110%, rgba(56, 189, 248, 0.35), transparent 65%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-card-inner {
  position: relative;
  z-index: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.card-chip {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 255, 0.25);
  font-size: 0.7rem;
}

.card-secure {
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  opacity: 0.85;
}

.card-secure span.icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.risk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.9rem 0;
  gap: 1rem;
}

.risk-text {
  font-size: 0.78rem;
  max-width: 11rem;
  opacity: 0.9;
}

.risk-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  overflow: hidden;
  position: relative;
}

.risk-bar span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #22c55e, #eab308, #ef4444);
  transform-origin: left center;
  transform: scaleX(0.25);
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.country-pill {
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.country-pill span.code {
  opacity: 0.7;
}

.country-pill span.latency {
  font-size: 0.65rem;
  opacity: 0.75;
}

.section {
  padding: 2.8rem 0 2.4rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.section-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7a8c;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.section-sub {
  font-size: 0.9rem;
  color: #6b7a8c;
  max-width: 28rem;
}

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

.card {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(15, 35, 52, 0.06);
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 10px 25px rgba(15, 35, 52, 0.06);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.card p {
  font-size: 0.86rem;
  color: #5b6a7c;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 184, 148, 0.08);
  color: #00856c;
  margin-bottom: 0.35rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.step {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px dashed rgba(15, 35, 52, 0.15);
}

.step-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.step p {
  font-size: 0.84rem;
  color: #5b6a7c;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.list li {
  font-size: 0.86rem;
  color: #4b5a6b;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.list li::before {
  content: "▹";
  color: var(--accent);
  font-size: 0.85rem;
  line-height: 1.2;
  margin-top: 0.08rem;
}

.highlight-box {
  border-radius: var(--radius);
  background: #050816;
  color: #e5ecff;
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.highlight-box h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.highlight-box p {
  font-size: 0.84rem;
  opacity: 0.86;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.mini-tag {
  font-size: 0.72rem;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #cbd5f5;
}

.contact-section {
  background: radial-gradient(circle at top, #dbeafe, #eff6ff 42%, #ffffff);
  padding: 2.6rem 0 2.8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}

form.contact-form {
  background: #fff;
  border-radius: 18px;
  padding: 1.3rem 1.25rem 1.4rem;
  box-shadow: 0 16px 45px rgba(15, 35, 52, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #4b5563;
}

.form-group span.hint {
  font-size: 0.72rem;
  color: #9ca3af;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.6rem;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
  background: #ffffff;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-footer p {
  font-size: 0.75rem;
  color: #6b7280;
}

.contact-side {
  padding: 0.3rem 0;
}

.contact-card {
  background: #0b1120;
  color: #e5ecff;
  border-radius: 18px;
  padding: 1.2rem 1.3rem 1.35rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.85);
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.contact-card p {
  font-size: 0.85rem;
  opacity: 0.86;
}

.contact-items {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.35rem;
}

.contact-item {
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.whatsapp-btn {
  margin-top: 0.7rem;
}

.whatsapp-btn a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  padding: 0.52rem 0.9rem;
  border-radius: 999px;
  background: #22c55e;
  color: #022c22;
  font-weight: 600;
}

.whatsapp-btn span.icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(6, 95, 70, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  color: #bbf7d0;
}

.mini-note {
  font-size: 0.73rem;
  color: #9ca3af;
  margin-top: 0.45rem;
}

footer.site-footer {
  border-top: 1px solid rgba(15, 35, 52, 0.09);
  background: #ffffff;
}

.footer-inner {
  padding: 1.2rem 0 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #6b7280;
}

.footer-links {
  display: flex;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #4b5563;
}

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

.rtl {
  direction: rtl;
  text-align: right;
}

.rtl .hero-grid,
.rtl .section-header,
.rtl .two-col,
.rtl .contact-grid {
  direction: rtl;
}

.rtl .list li::before {
  content: "◂";
  margin-left: 0.35rem;
  margin-right: 0;
}

.rtl nav.main-nav {
  flex-direction: row-reverse;
}

.rtl .brand {
  flex-direction: row-reverse;
}

.rtl .hero-metrics,
.rtl .hero-actions,
.rtl .hero-badges,
.rtl .footer-inner,
.rtl .footer-links,
.rtl .contact-items {
  justify-content: flex-end;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    order: -1;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cards-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-col,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  nav.main-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 0.35rem;
  }
  .hero {
    padding-top: 2.3rem;
  }
  .cards-grid,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
