/* Dar Samra Computer — light redesign */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Orbitron:wght@600;700&display=swap");

:root {
  --bg: #0b1220;
  --bg-2: #121c2e;
  --surface: #162033;
  --text: #e8eef7;
  --muted: #9aadc4;
  --accent: #2db84b;
  --accent-2: #1a8f35;
  --line: rgba(157, 190, 220, 0.18);
  --max: 1120px;
  --font: "IBM Plex Sans", sans-serif;
  --display: "Orbitron", sans-serif;
  --radius: 4px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, rgba(45, 184, 75, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(56, 140, 220, 0.16), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #071018 100%);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: rgba(7, 14, 24, 0.85);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.55rem 0;
}

.topbar a {
  color: var(--text);
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.88);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-name {
  font-family: var(--display);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.brand-name span {
  color: var(--accent);
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list a,
.nav-list .nav-label {
  display: block;
  padding: 0.45rem 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.nav-list a:hover,
.nav-list a.is-active,
.nav-list .nav-label:hover {
  color: #fff;
  background: rgba(45, 184, 75, 0.12);
  text-decoration: none;
}

.has-sub > .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  z-index: 60;
}

.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu,
.has-sub.is-open > .submenu {
  display: block;
}

.submenu a {
  padding: 0.55rem 1rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 16, 28, 0.92) 15%, rgba(7, 16, 28, 0.55) 55%, rgba(7, 16, 28, 0.35)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(45, 184, 75, 0.04) 48px,
      rgba(45, 184, 75, 0.04) 49px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(90, 160, 220, 0.04) 48px,
      rgba(90, 160, 220, 0.04) 49px
    ),
    radial-gradient(circle at 75% 40%, rgba(45, 184, 75, 0.25), transparent 40%),
    linear-gradient(160deg, #0e1a2c, #16304a 45%, #0a1624);
  animation: heroGlow 10s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #fff;
  animation: riseIn 0.8s ease both;
}

.hero-brand span {
  color: var(--accent);
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 36rem;
  animation: riseIn 0.9s ease 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 1s ease 0.22s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #041208;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: #fff;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-head h2,
.page-header h1 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
}

.page-header {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.page-header p {
  color: var(--muted);
  margin: 0;
  max-width: 40rem;
}

/* Service / product grids — interaction lists, not card chrome */
.service-grid,
.industry-grid,
.split-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
}

.service-item,
.industry-item,
.content-block {
  flex: 1 1 260px;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.service-item h3,
.industry-item h3,
.content-block h2,
.content-block h3 {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
}

.service-item p,
.industry-item p,
.content-block p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-item a {
  font-weight: 600;
  font-size: 0.88rem;
}

.overview {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.overview-text {
  flex: 1 1 320px;
}

.overview-text p {
  color: var(--muted);
}

.overview-aside {
  flex: 1 1 240px;
  padding: 1.5rem;
  background: linear-gradient(160deg, rgba(45, 184, 75, 0.12), rgba(22, 48, 74, 0.4));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.overview-aside strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.quote-block {
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-style: italic;
}

.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}

.cta-band {
  margin: 1rem 0 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-card {
  flex: 1 1 280px;
}

.contact-card h2 {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.contact-card p,
.contact-card li {
  color: var(--muted);
}

.contact-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.prose ul,
.prose ol {
  color: var(--muted);
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose h2 {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 2rem 0 0.75rem;
}

.prose p {
  color: var(--muted);
}

.romlidata-wrap {
  padding: 2rem 0 3rem;
}

/* Blog */
.blog-container {
  padding-bottom: 2rem;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-card {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.blog-title {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.blog-title a {
  color: var(--text);
  font-weight: 600;
}

.blog-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 10, 18, 0.7);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h3 {
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.footer-col p,
.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroGlow {
  from {
    filter: saturate(1);
  }
  to {
    filter: saturate(1.15) brightness(1.05);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .header-row {
    flex-wrap: wrap;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-bottom: 0.75rem;
  }

  .has-sub > .submenu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 0.75rem;
  }

  .hero {
    min-height: 70vh;
  }
}
