/* ===== Sassumer | ساس سومر — Marketing Site Styles ===== */

:root {
  --color-bg: #0b1220;
  --color-bg-alt: #0f1729;
  --color-surface: #131c30;
  --color-surface-alt: #182238;
  --color-border: #24304a;
  --color-text: #eef2f9;
  --color-text-muted: #9fb0cc;
  --color-primary: #4f8cff;
  --color-primary-hover: #3f78e6;
  --color-primary-soft: rgba(79, 140, 255, 0.12);
  --color-accent: #35d0a8;
  --color-white: #ffffff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-md: 0 10px 30px rgba(4, 8, 20, 0.35);
  --shadow-sm: 0 4px 14px rgba(4, 8, 20, 0.25);

  --container-width: 1160px;
  --font-base: "Segoe UI", "Tahoma", "Cairo", "Noto Sans Arabic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3 {
  line-height: 1.35;
  margin: 0 0 0.6em;
  font-weight: 800;
}

p {
  margin: 0 0 1em;
  color: var(--color-text-muted);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(53, 208, 168, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

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

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  white-space: nowrap;
}

.logo-icon {
  color: var(--color-primary);
  font-size: 1.3rem;
}

.logo-text-ar {
  color: var(--color-text-muted);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline-start: auto;
  margin-inline-end: 24px;
}

.main-nav a {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-text);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(1000px 500px at 15% -10%, rgba(79, 140, 255, 0.18), transparent 60%),
    radial-gradient(800px 400px at 100% 0%, rgba(53, 208, 168, 0.12), transparent 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.08rem;
  max-width: 56ch;
}

.hero-lead strong {
  color: var(--color-text);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 30px 0 36px;
  flex-wrap: wrap;
}

.hero-stack {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.hero-stack ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-stack li {
  padding: 5px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 380px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.hero-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
}

.hero-card-row span:nth-child(2) {
  flex: 1;
  color: var(--color-text);
  font-weight: 600;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green {
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(53, 208, 168, 0.18);
}

.dot-gray {
  background: #5b6a8a;
}

.pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.pill-muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-muted);
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.hero-card-footer strong {
  font-size: 1.3rem;
  color: var(--color-text);
}

/* ---------- Logos strip ---------- */

.logos-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  padding: 22px 0;
}

.logos-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.logos-list {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-weight: 700;
  color: var(--color-text);
}

/* ---------- Sections ---------- */

.section {
  padding: 90px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-head p {
  margin-bottom: 0;
}

/* ---------- Features ---------- */

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

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.feature-icon {
  font-size: 1.7rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ---------- How it works ---------- */

.how-it-works {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 800;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px;
  border-top: 3px solid var(--color-accent);
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.service-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.contact-points li {
  position: relative;
  padding-inline-start: 26px;
  margin-bottom: 10px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-points li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--color-accent);
  font-weight: 800;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-row textarea {
  resize: vertical;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  min-height: 1.4em;
  color: var(--color-accent);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 46px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 560px;
  margin: 0 auto 8px;
  font-size: 0.9rem;
}

.footer-copy {
  color: #5b6a8a;
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .features-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset-inline: 0;
    top: 68px;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .features-grid,
  .steps,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 60px 0 40px;
  }
}
