* {
  box-sizing: border-box;
}

:root {
  --bg: #f6fbff;
  --bg-soft: #edf6ff;
  --card: rgba(255, 255, 255, 0.92);
  --card-border: rgba(26, 167, 255, 0.14);
  --text: #16324f;
  --muted: #62748a;
  --primary: #1aa7ff;
  --secondary: #20d6c7;
  --accent: #7f8cff;
  --shadow: 0 18px 40px rgba(33, 86, 136, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(26, 167, 255, 0.14), transparent 26%),
    radial-gradient(circle at bottom left, rgba(32, 214, 199, 0.12), transparent 22%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(22, 50, 79, 0.08);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 58px;
  height: 58px;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 1.1rem;
}

.brand span {
  color: var(--muted);
  font-size: 0.9rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.menu a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--text);
}

.hero {
  padding: 88px 0 56px;
  overflow: hidden;
}

.hero-grid,
.two-col,
.contact-grid,
.footer-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: center;
}

.badge,
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(26, 167, 255, 0.12);
  border: 1px solid rgba(26, 167, 255, 0.24);
  color: #1477b7;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.hero h1,
.section h2 {
  margin: 0 0 16px;
  line-height: 1.25;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  max-width: 620px;
}

.hero p,
.section-intro,
.section p,
.feature-card p,
.pillar-card p,
.contact-card p,
.form-note,
.site-footer p {
  color: var(--muted);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 26px 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 14px;
  padding: 0 24px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 12px 28px rgba(26, 167, 255, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border: 1px solid rgba(22, 50, 79, 0.12);
}

.contact-inline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-inline span,
.contact-card,
.feature-card,
.pillar-card,
.stat-card,
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

.contact-inline span {
  padding: 12px 16px;
  border-radius: 14px;
  color: #1672ae;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.screen-card {
  position: relative;
  margin-inline-start: auto;
  width: min(100%, 460px);
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 255, 0.98));
  border: 1px solid rgba(152, 215, 255, 0.28);
  box-shadow: var(--shadow);
}

.screen-top {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.screen-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(22, 50, 79, 0.25);
}

.analytics {
  display: flex;
  align-items: end;
  gap: 14px;
  min-height: 160px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(26, 167, 255, 0.06);
}

.bar {
  flex: 1;
  border-radius: 16px 16px 6px 6px;
  background: linear-gradient(180deg, #7f8cff, #1aa7ff);
}

.bar-1 { height: 76px; }
.bar-2 { height: 130px; }
.bar-3 { height: 104px; }
.bar-4 { height: 150px; }

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mini-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(26, 167, 255, 0.06);
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.floating {
  animation: float 5s ease-in-out infinite;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-a {
  width: 110px;
  height: 110px;
  top: 20px;
  left: 20px;
  background: radial-gradient(circle, rgba(32, 214, 199, 0.8), transparent 70%);
}

.orb-b {
  width: 160px;
  height: 160px;
  bottom: 22px;
  right: 24px;
  background: radial-gradient(circle, rgba(26, 167, 255, 0.55), transparent 70%);
}

.stats {
  padding-bottom: 30px;
}

.stats-grid,
.feature-grid,
.pillars,
.contact-cards {
  display: grid;
  gap: 20px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.feature-card,
.pillar-card,
.contact-card {
  padding: 24px;
  border-radius: 22px;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: #178bd2;
  margin-bottom: 10px;
}

.section {
  padding: 58px 0;
}

.alt {
  background: rgba(26, 167, 255, 0.04);
}

.card {
  border-radius: 28px;
  padding: 28px;
}

.tech-illustration {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(127, 140, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #ffffff, #eef7ff);
}

.chip {
  position: absolute;
  inset: 70px auto auto 50%;
  width: 140px;
  height: 140px;
  transform: translateX(-50%);
  border: 1px solid rgba(125, 217, 255, 0.36);
  border-radius: 26px;
  background: rgba(26, 167, 255, 0.06);
  display: grid;
  place-items: center;
}

.chip::before {
  content: "";
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 14px 24px rgba(26, 167, 255, 0.24);
}

.chip span {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: rgba(22, 50, 79, 0.18);
}

.chip span:nth-child(1) { top: -8px; }
.chip span:nth-child(2) { bottom: -8px; }
.chip span:nth-child(3) { right: -8px; }
.chip span:nth-child(4) { left: -8px; }

.lines i {
  position: absolute;
  display: block;
  background: linear-gradient(90deg, transparent, rgba(125, 217, 255, 0.4), transparent);
}

.lines i:nth-child(1) {
  width: 80%;
  height: 1px;
  top: 140px;
  right: 10%;
}

.lines i:nth-child(2) {
  width: 1px;
  height: 72%;
  top: 14%;
  right: 50%;
}

.lines i:nth-child(3) {
  width: 50%;
  height: 1px;
  bottom: 90px;
  right: 24%;
}

.lines i:nth-child(4) {
  width: 1px;
  height: 36%;
  top: 30%;
  right: 22%;
}

.tech-illustration p {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  text-align: center;
  margin: 0;
}

.feature-grid,
.pillars {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.feature-card h3,
.pillar-card h3,
.contact-card h3 {
  margin-top: 0;
}

.contact-grid {
  align-items: start;
}

.contact-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.contact-card a {
  display: block;
  color: #167dc0;
  margin-top: 8px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 50, 79, 0.12);
  background: rgba(246, 251, 255, 0.95);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(26, 167, 255, 0.36);
  border-color: transparent;
}

.form-note {
  margin: 0;
  min-height: 28px;
}

.form-note.success {
  color: #9cffdb;
}

.form-note.error {
  color: #ffb3b3;
}

.site-footer {
  padding: 22px 0 30px;
  border-top: 1px solid rgba(22, 50, 79, 0.08);
}

.footer-links {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .contact-grid,
  .footer-content,
  .feature-grid,
  .pillars,
  .contact-cards,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    padding: 14px 0;
    align-items: start;
    flex-direction: column;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-visual {
    min-height: auto;
  }

  .screen-card {
    margin: 0 auto;
  }

  .footer-links {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, 1120px);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .menu {
    gap: 12px 18px;
  }

  .hero-actions,
  .contact-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .brand {
    align-items: center;
  }
}
