/* =========================================================
   SyrVerse Monochrome Identity (Pure Black & White Only)
   ========================================================= */

@font-face {
  font-family: 'Din Next LT Arabic';
  src: url('../fonts/din-arabic-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Din Next LT Arabic';
  src: url('../fonts/din-arabic-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Din Next LT Arabic';
  src: url('../fonts/din-arabic-bold.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-body: #000000;
  --bg-elevated: #0B0B0B;
  --bg-card: #121212;
  --bg-card-hover: #191919;
  --border-subtle: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.22);

  --text-main: #FFFFFF;
  --text-muted: #A3A3A3;
  --text-dim: #737373;

  --accent: #FFFFFF;
  --accent-light: #E5E5E5;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --accent-border: rgba(255, 255, 255, 0.28);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Din Next LT Arabic', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: 999px;
}

.btn-amber,
.btn-white {
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 8px 26px rgba(255, 255, 255, 0.12);
}
.btn-amber:hover,
.btn-white:hover {
  background: #E5E5E5;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo-img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #FFFFFF;
}

.main-nav a.nav-pill {
  color: #FFFFFF;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 9px 10px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #FFFFFF;
  display: block;
  border-radius: 2px;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  padding: 112px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 15%, transparent 72%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 460px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 72%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
}

.hero-logo-large {
  height: 46px;
  width: auto;
  margin: 0 auto 26px;
  filter: brightness(0) invert(1);
  display: block;
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero h1 .text-accent {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.hero-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ================= SECTIONS ================= */
.section {
  padding: 92px 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

/* ================= PROJECTS / APPS ================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.project-card.featured {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, var(--bg-card) 55%);
}

.project-card.featured:hover {
  border-color: #FFFFFF;
}

.project-logo-box {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.project-logo-box.light-pill {
  background: #FFFFFF;
  padding: 14px 24px;
  border-radius: 16px;
  width: fit-content;
  height: 76px;
}

.project-logo-box.dark-pill {
  background: #000000;
  border: 1px solid var(--border-subtle);
  padding: 14px 24px;
  border-radius: 16px;
  width: fit-content;
  height: 76px;
}

.project-logo-box img {
  max-height: 100%;
  max-width: 210px;
  object-fit: contain;
  display: block;
}

.project-icon-svg {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #E5E5E5;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
}

.project-card h3 {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

/* ================= PARTNERS ================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  min-height: 112px;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.partner-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.35);
  background: var(--bg-card-hover);
}

.partner-item img {
  max-height: 52px;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

/* ================= PAGE HERO (SUBPAGES) ================= */
.page-hero {
  padding: 76px 0 56px;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.08) 0%, transparent 62%);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 680px;
  margin: 0 auto;
}

/* ================= ABOUT & TEAM ================= */
.about-intro-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 42px 38px;
  margin-bottom: 36px;
}

.about-intro-box h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.about-intro-box p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.85;
  white-space: pre-line;
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.vm-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}

.vm-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.vm-card p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Larger Team Member Photo */
.team-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 22px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 800;
  color: #FFFFFF;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-name {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-role {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.65;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.team-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.team-socials a:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

/* ================= BLOG ================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.35);
}

.blog-card:hover .blog-readmore {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-thumb {
  height: 210px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-thumb img.is-logo-cover {
  object-fit: contain;
  padding: 28px;
  background: #FFFFFF;
}

.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}

.blog-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-body p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

.blog-readmore {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
}

/* Single Post */
.post-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.post-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 32px;
  background: var(--bg-card);
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.post-cover img.is-logo-cover {
  object-fit: contain;
  padding: 36px;
  background: #FFFFFF;
}

.post-content {
  font-size: 17px;
  line-height: 1.95;
  color: #E5E5E5;
}

.post-content h2,
.post-content h3 {
  color: #FFFFFF;
  margin: 28px 0 12px;
}

.post-content p {
  margin-bottom: 18px;
}

.post-content ul,
.post-content ol {
  margin: 0 24px 18px 0;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content a {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ================= FORMS & INVEST PAGE ================= */
.invest-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
  align-items: start;
}

.info-panel,
.form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.info-panel h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.info-panel p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #E5E5E5;
}

.benefit-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #FFFFFF;
  margin-top: 9px;
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #E5E5E5;
}

.form-control {
  background: var(--bg-body);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: #FFFFFF;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.alert {
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 22px;
  font-size: 15px;
  font-weight: 500;
}

.alert-success {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
}

.alert-error {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  color: #E5E5E5;
}

/* ================= CTA BANNER ================= */
.cta-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, #0D0D0D 70%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 56px 36px;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 28px;
  font-size: 17px;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #000000;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-top: 14px;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 14.5px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.footer-socials a:hover {
  background: #FFFFFF;
  color: #000000;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-dim);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .projects-grid,
  .vm-grid,
  .invest-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hide-mobile { display: none; }
  .menu-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #080808;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    align-items: flex-start;
  }
  .main-nav.is-open { display: flex; }
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 84px 0 72px; }
  .section { padding: 68px 0; }
  .about-intro-box, .info-panel, .form-panel { padding: 26px 20px; }
  .team-avatar { width: 156px; height: 156px; }
}
