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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07111f;
  color: #f4f7fb;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #ffffff;
  text-decoration: none;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 3px;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav a {
  color: #b9c6d8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: .2s ease;
}

nav a:hover {
  color: #ffffff;
}

/* Hero */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(34,122,255,.18), transparent 30%),
    radial-gradient(circle at 20% 85%, rgba(0,210,180,.10), transparent 32%),
    linear-gradient(135deg, #07111f 0%, #0b1728 55%, #07111f 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -200px;
  bottom: -300px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
}

.eyebrow {
  color: #4fa7ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

h1 {
  max-width: 900px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: -3px;
  font-weight: 750;
}

.hero-text {
  max-width: 680px;
  margin-top: 28px;
  color: #aebdd0;
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  transition: .2s ease;
}

.primary {
  background: #277df4;
  color: #ffffff;
}

.primary:hover {
  background: #398cff;
  transform: translateY(-2px);
}

.secondary {
  color: #e8eef7;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
}

.secondary:hover {
  background: rgba(255,255,255,.08);
}

/* Mobile */

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav {
    min-height: 72px;
  }

  nav {
    display: none;
  }

  .hero-content {
    padding-top: 90px;
  }

  h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ========================================
   WHAT SEIRA DOES
======================================== */

.what-we-do {
  padding: 120px 0;
  background: #ffffff;
  color: #0b1626;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.what-we-do .eyebrow,
.services .eyebrow {
  color: #287cff;
}

.what-we-do h2,
.services h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-copy {
  max-width: 590px;
}

.section-copy p {
  margin: 0 0 24px;
  color: #536071;
  font-size: 19px;
  line-height: 1.7;
}


/* ========================================
   SERVICES
======================================== */

.services {
  padding: 120px 0 130px;
  background: #f4f7fb;
  color: #0b1626;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 64px;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin-top: 24px;
  color: #536071;
  font-size: 19px;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  min-height: 310px;
  padding: 36px;
  background: #ffffff;
  border: 1px solid #dfe6ef;
  border-radius: 18px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #c9d7e8;
  box-shadow: 0 20px 45px rgba(11, 22, 38, 0.08);
}

.service-number {
  display: block;
  margin-bottom: 54px;
  color: #287cff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-card h3 {
  margin: 0 0 18px;
  color: #0b1626;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
  color: #637083;
  font-size: 16px;
  line-height: 1.65;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {

  .what-we-do,
  .services {
    padding: 80px 0;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 32px;
  }

}



/* ========================================
   AUTOMATION SPRINT
======================================== */

.sprint {
  padding: 130px 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(40,124,255,0.16), transparent 30%),
    #07111f;
  color: #ffffff;
}

.sprint-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}

.sprint .eyebrow {
  color: #4191ff;
}

.sprint h2 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.sprint-intro {
  max-width: 560px;
}

.sprint-intro p {
  margin: 0;
  color: #aebdce;
  font-size: 19px;
  line-height: 1.7;
}

.sprint-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  background: rgba(255,255,255,0.035);
}

.sprint-details {
  padding: 18px 48px;
}

.sprint-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 22px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sprint-item:last-child {
  border-bottom: 0;
}

.sprint-item > span {
  padding-top: 4px;
  color: #4191ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sprint-item h3 {
  margin: 0 0 9px;
  font-size: 23px;
}

.sprint-item p {
  max-width: 570px;
  margin: 0;
  color: #9fadc0;
  font-size: 16px;
  line-height: 1.65;
}


/* Offer card */

.sprint-offer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  background: rgba(40,124,255,0.09);
  border-left: 1px solid rgba(255,255,255,0.12);
}

.offer-label {
  margin: 0 0 20px;
  color: #75aaff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.offer-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 30px;
}

.offer-price strong {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.offer-price span {
  color: #aebdce;
  font-size: 16px;
  font-weight: 700;
}

.offer-time {
  margin: 0 0 24px;
  color: #aebdce;
  font-size: 15px;
  line-height: 1.6;
}

.offer-time strong {
  color: #ffffff;
  font-size: 18px;
}

.offer-note {
  margin: 0 0 32px;
  color: #8494a8;
  font-size: 14px;
  line-height: 1.65;
}

.sprint-button {
  align-self: flex-start;
}


/* Sprint responsive */

@media (max-width: 900px) {

  .sprint {
    padding: 85px 0;
  }

  .sprint-top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .sprint-panel {
    grid-template-columns: 1fr;
  }

  .sprint-details {
    padding: 12px 28px;
  }

  .sprint-offer {
    padding: 38px 28px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
  }

}

@media (max-width: 600px) {

  .sprint-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

}


/* ========================================
   PRACTICAL USE CASE
======================================== */

.use-case {
  padding: 120px 0;
  background: #ffffff;
  color: #0b1626;
}

.use-case .eyebrow,
.about .eyebrow,
.contact .eyebrow {
  color: #287cff;
}

.workflow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 55px;
}

.workflow-step {
  padding: 28px 24px;
  border: 1px solid #dfe6ef;
  border-radius: 18px;
  background: #f8fafc;
}

.workflow-step span {
  display: block;
  margin-bottom: 35px;
  color: #287cff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.workflow-step strong {
  display: block;
  margin-bottom: 12px;
  font-size: 19px;
}

.workflow-step p {
  margin: 0;
  color: #637083;
  font-size: 14px;
  line-height: 1.6;
}

.workflow-arrow {
  display: flex;
  align-items: center;
  color: #9cabbc;
  font-size: 25px;
}

.human-note {
  margin: 30px 0 0;
  color: #637083;
  font-size: 14px;
}


/* ========================================
   ABOUT
======================================== */

.about {
  padding: 120px 0;
  background: #f4f7fb;
  color: #0b1626;
}

.about h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -.035em;
}


/* ========================================
   CONTACT
======================================== */

.contact {
  padding: 130px 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(40,124,255,.22), transparent 38%),
    #07111f;
  color: #ffffff;
  text-align: center;
}

.contact-inner {
  max-width: 850px;
}

.contact h2 {
  margin: 0 auto 28px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.contact-inner > p:not(.eyebrow) {
  max-width: 670px;
  margin: 0 auto 38px;
  color: #aebdce;
  font-size: 18px;
  line-height: 1.7;
}

.contact-button {
  display: inline-flex;
}


/* ========================================
   FOOTER
======================================== */

.footer {
  padding: 32px 0;
  background: #050c16;
  color: #7f8da0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: .12em;
}

.footer p {
  margin: 0;
  font-size: 13px;
}


/* ========================================
   FINAL RESPONSIVE POLISH
======================================== */

@media (max-width: 900px) {

  .use-case,
  .about,
  .contact {
    padding: 80px 0;
  }

  .workflow {
    grid-template-columns: 1fr;
  }

  .workflow-arrow {
    justify-content: center;
    transform: rotate(90deg);
    height: 20px;
  }

}

@media (max-width: 760px) {

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

}

/* Language switcher */
.language-link {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.65;
}

.language-link:hover {
  opacity: 1;
}

.active-language {
  opacity: 1;
  font-weight: 800;
}

/* Arabic RTL */
html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .section-copy,
html[dir="rtl"] .service-card,
html[dir="rtl"] .sprint-intro,
html[dir="rtl"] .sprint-item,
html[dir="rtl"] .sprint-offer,
html[dir="rtl"] .workflow-step,
html[dir="rtl"] .contact-inner {
  text-align: right;
}

/* Keep Arabic header layout consistent with EN/DA */
html[dir="rtl"] .header .nav {
  direction: ltr;
}

html[dir="rtl"] .header nav {
  direction: ltr;
}

html[dir="rtl"] .header nav a {
  direction: rtl;
}

/* ========================================
   MOBILE HEADER
======================================== */

@media (max-width: 760px) {

  .header .nav {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header nav {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .header .desktop-nav-link {
    display: none;
  }

  .header .language-link {
    display: inline-flex;
    font-size: 11px;
  }

  .header .hub-link {
    display: inline-flex;
    padding: 6px 9px;
    font-size: 10px;
  }

  html[dir="rtl"] .header .nav,
  html[dir="rtl"] .header nav {
    direction: ltr;
  }

}

/* ========================================
   ARABIC TYPOGRAPHY IMPROVEMENTS
======================================== */

html[lang="ar"] body {
  line-height: 1.8;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 {
  letter-spacing: 0;
  line-height: 1.35;
}

html[lang="ar"] p {
  line-height: 1.85;
}

html[lang="ar"] .sprint h2 {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.4;
}

html[lang="ar"] .sprint-intro p,
html[lang="ar"] .sprint-item p,
html[lang="ar"] .section-copy p {
  line-height: 1.9;
}

html[lang="ar"] .btn {
  letter-spacing: 0;
  line-height: 1.5;
}

@media (max-width: 760px) {
  html[lang="ar"] .sprint h2 {
    font-size: clamp(30px, 7vw, 38px);
  }

  html[lang="ar"] h1,
  html[lang="ar"] h2 {
    line-height: 1.4;
  }
}

/* Arabic Sprint desktop layout refinement */
@media (min-width: 901px) {
  html[lang="ar"] .sprint-top {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 36px;
    margin-bottom: 45px;
  }

  html[lang="ar"] .sprint h2 {
    font-size: clamp(32px, 3.2vw, 42px);
    line-height: 1.3;
  }
}
