/* Systmak Solution Systems — brand stylesheet */

:root {
  --bg-dark: #0a0a14;
  --bg-dark-2: #10101c;
  --bg-light: #f5f3fb;
  --bg-card: #ffffff;
  --text-dark: #12121a;
  --text-light: #f5f3fb;
  --text-muted: #6b7280;
  --text-muted-light: #b7b9d1;
  --purple: #6c2fd8;
  --blue: #3b6df0;
  --cyan: #22c6e8;
  --gradient-brand: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 50%, var(--purple) 100%);
  --gradient-hero: radial-gradient(60% 60% at 30% 30%, rgba(59,109,240,.55), transparent 70%),
                    radial-gradient(50% 50% at 75% 65%, rgba(108,47,216,.55), transparent 70%),
                    var(--bg-dark);
  --radius: 18px;
  --shadow: 0 10px 40px rgba(20, 10, 60, .12);
  --shadow-lg: 0 20px 60px rgba(20, 10, 60, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(108,47,216,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(108,47,216,.45); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-dark {
  background: var(--text-dark);
  color: #fff;
}
.btn-dark:hover { opacity: .85; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,20,.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 20px; color: #fff; font-weight: 800; letter-spacing: .3px; }
.brand-text span { font-size: 11px; color: var(--text-muted-light); letter-spacing: 1px; }

.nav-links-desktop { display: flex; align-items: center; gap: 32px; }
.nav-links-desktop a,
.nav-links-mobile a {
  color: var(--text-muted-light);
  font-weight: 600;
  font-size: 15px;
  transition: color .2s;
}
.nav-links-desktop a:hover, .nav-links-desktop a.active,
.nav-links-mobile a:hover, .nav-links-mobile a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-bar { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen nav — intentionally rendered as a sibling of <header>,
   not a descendant, since backdrop-filter on .site-header would otherwise
   create a containing block that traps this fixed-position panel. */
.nav-links-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-dark-2);
  flex-direction: column;
  padding: 100px 28px 32px;
  gap: 22px;
  transform: translateY(-100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.nav-links-mobile a { font-size: 17px; }
.nav-links-mobile.open { transform: translateY(0); }
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(5,5,12,.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .nav-links-desktop { display: none; }
  .nav-cta-btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links-mobile { display: flex; }
  .nav-overlay { display: block; }
}

body.nav-open { overflow: hidden; }

/* Hero */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .35;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 54px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 22px;
}
.hero h1 .grad {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: var(--text-muted-light);
  font-size: 19px;
  max-width: 620px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  padding: 30px;
}
.hero-visual .mockup {
  border-radius: 14px;
  background: var(--bg-dark-2);
  border: 1px solid rgba(255,255,255,.1);
  padding: 18px;
}
.mockup-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted-light); padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
.mockup-total { display: flex; justify-content: space-between; font-weight: 800; color: #fff; font-size: 16px; padding-top: 14px; }
.pill-grad { display:inline-block; padding: 3px 10px; border-radius: 999px; background: var(--gradient-brand); font-size: 11px; color:#fff; font-weight: 700; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  color: var(--purple);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 34px; margin: 0 0 14px; font-weight: 800; }
.section-head p { color: var(--text-muted); font-size: 17px; }

/* Grid / Cards */
.grid { display: grid; gap: 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(20,10,60,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: #fff;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin: 0 0 10px; font-weight: 800; }
.card p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* Industries dark cards on light section */
.industry-card {
  border-radius: var(--radius);
  padding: 30px 26px;
  color: #fff;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.industry-card::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-hero);
  opacity: .9;
  z-index: 0;
}
.industry-card > * { position: relative; z-index: 1; }
.industry-card .card-icon { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.industry-card h3 { color: #fff; }
.industry-card p { color: var(--text-muted-light); }
.industry-card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.industry-card li { font-size: 14px; color: var(--text-muted-light); display: flex; gap: 8px; align-items: flex-start; }
.industry-card li::before { content: "✓"; color: var(--cyan); font-weight: 800; }

/* Steps / process */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 10px; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 16px;
}
.step h4 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* Coverage / CTA band */
.cta-band {
  background: var(--gradient-hero);
  color: #fff;
  border-radius: 28px;
  padding: 56px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h3 { font-size: 26px; margin: 0 0 8px; font-weight: 800; }
.cta-band p { margin: 0; color: var(--text-muted-light); }

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.badge {
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20,10,60,.08);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  box-shadow: var(--shadow);
}

/* Forms */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid #e4e1f2;
  font-family: inherit;
  font-size: 15px;
  background: #fbfaff;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: #fff;
}
.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-weight: 700;
}
.error-text { color: #dc2626; font-size: 13px; margin-top: 6px; display: block; }

.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info .item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info .icon svg { width: 22px; height: 22px; }
.contact-info h4 { margin: 0 0 4px; font-size: 15px; }
.contact-info p, .contact-info a { margin: 0; color: var(--text-muted); font-size: 14px; }

/* Footer */
.site-footer { background: var(--bg-dark); color: var(--text-muted-light); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { color: #fff; font-size: 15px; margin: 0 0 18px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14px; transition: color .2s; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--gradient-brand); }

/* Page hero (inner pages) */
.page-hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
}
.page-hero h1 { font-size: 38px; font-weight: 800; margin: 0 0 12px; }
.page-hero p { color: var(--text-muted-light); max-width: 600px; margin: 0 auto; }

.breadcrumb { font-size: 13px; color: var(--text-muted-light); margin-bottom: 14px; }
.breadcrumb a { color: #fff; font-weight: 700; }

.values-list { display: grid; gap: 18px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--gradient-brand);
  margin-top: 8px; flex-shrink: 0;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.lang-switch:hover { background: rgba(255,255,255,.08); }

/* Feature list (services/industries/portfolio detail) */
.feature-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-dark); }
.feature-list li::before { content: "✓"; color: var(--purple); font-weight: 800; }

/* Tech badges (portfolio) */
.tech-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tech-badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1effa;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 70px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--text-muted);
}
.empty-state h3 { color: var(--text-dark); margin: 0 0 10px; }
