:root {
  --tech-navy: #0a2540;
  --tech-blue: #1687d4;
  --tech-teal: #087f79;
  --tech-green: #1ab69d;
  --tech-bg: #f4f8fc;
}

.tech-page {
  background: var(--tech-bg);
}

.tech-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.tech-brand {
  color: var(--text-dark);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.tech-brand span {
  color: var(--tech-teal);
}

.tech-hero {
  padding: 68px 0;
  color: #fff;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(255, 255, 255, 0.16),
      transparent 26%
    ),
    linear-gradient(135deg, var(--tech-navy), var(--tech-teal));
}

.tech-hero .container {
  max-width: 980px;
}
.tech-hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
}
.tech-hero p {
  max-width: 740px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}
.tech-kicker {
  display: inline-block;
  margin-bottom: 15px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.tech-main {
  padding: 44px 0 82px;
}
.tech-section {
  margin-top: 28px;
}
.tech-section > h2 {
  margin-bottom: 14px;
  font-size: 1.8rem;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tech-card {
  padding: 25px;
  background: #fff;
  border: 1px solid #d9e5ef;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.tech-card h2,
.tech-card h3 {
  margin-bottom: 10px;
  color: var(--tech-navy);
}
.tech-card p {
  margin-bottom: 0;
}
.tech-card--recommended {
  position: relative;
  border: 2px solid var(--tech-green);
  box-shadow: 0 16px 32px rgba(8, 127, 121, 0.16);
}
.tech-card--recommended::before {
  position: absolute;
  top: -13px;
  right: 18px;
  padding: 5px 10px;
  color: #fff;
  content: "Recommandee";
  background: var(--tech-teal);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}
[dir="rtl"] .tech-card--recommended::before {
  right: auto;
  left: 18px;
  content: "الخيار الموصى به";
}
.tech-list {
  display: grid;
  gap: 10px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}
.tech-list li {
  position: relative;
  padding-left: 23px;
}
.tech-list li::before {
  position: absolute;
  left: 0;
  color: var(--tech-teal);
  content: "✓";
  font-weight: 800;
}
[dir="rtl"] .tech-list li {
  padding-right: 23px;
  padding-left: 0;
}
[dir="rtl"] .tech-list li::before {
  right: 0;
  left: auto;
}
.tech-list--limits li::before {
  color: #d36049;
  content: "!";
}

.tech-comparison {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #d9e5ef;
  border-radius: 18px;
}
.tech-table {
  width: 100%;
  min-width: 690px;
  border-collapse: collapse;
}
.tech-table th,
.tech-table td {
  padding: 16px;
  border-bottom: 1px solid #e8eff5;
  text-align: left;
}
.tech-table th {
  color: var(--tech-navy);
  background: #f8fbfd;
}
[dir="rtl"] .tech-table th,
[dir="rtl"] .tech-table td {
  text-align: right;
}
.tech-table .online {
  color: #075a55;
  background: #edf9f6;
  font-weight: 800;
}
.tech-yes {
  color: #087f79;
  font-weight: 800;
}
.tech-no {
  color: #b24c3d;
  font-weight: 800;
}

.tech-diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 210px;
  margin: 28px 0;
  padding: 28px;
  color: var(--tech-navy);
  background: linear-gradient(135deg, #fff, #edf8f7);
  border: 1px solid #cde7df;
  border-radius: 20px;
}
.tech-node {
  position: relative;
  z-index: 1;
  padding: 18px 12px;
  text-align: center;
  background: #fff;
  border: 1px solid #cde7df;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}
.tech-node svg {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  color: var(--tech-teal);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.tech-node--cloud {
  color: #fff;
  background: linear-gradient(135deg, var(--tech-teal), var(--tech-green));
  border-color: transparent;
}
.tech-node--cloud svg {
  color: #fff;
}
.tech-node--cloud small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}
.tech-callout {
  margin-top: 25px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(135deg, #075a55, #1ab69d);
  border-radius: 18px;
}
.tech-callout h2,
.tech-callout p {
  color: #fff;
}
.tech-callout p {
  margin: 8px 0 16px;
}
.tech-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.tech-actions .btn {
  min-height: 46px;
}
.tech-faq details {
  padding: 17px 0;
  border-bottom: 1px solid #d9e5ef;
}
.tech-faq summary {
  color: var(--tech-navy);
  cursor: pointer;
  font-weight: 800;
}
.tech-faq p {
  margin: 10px 0 0;
}

@media (max-width: 768px) {
  .tech-hero {
    padding: 48px 0;
  }
  .tech-main {
    padding: 28px 0 74px;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .tech-card {
    padding: 23px;
  }
  .tech-diagram {
    grid-template-columns: 1fr;
  }
  .tech-actions {
    display: grid;
  }
  .tech-actions .btn {
    width: 100%;
  }
}
