/* ============================================
   ZL Futures IT — Stylesheet
   ============================================ */

:root {
  --navy:        #0d2240;
  --navy-mid:    #14305a;
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-pale:   #eff6ff;
  --blue-border: #bfdbfe;
  --teal:        #0f766e;
  --teal-pale:   #f0fdfa;
  --teal-border: #99f6e4;
  --purple:      #7c3aed;
  --purple-pale: #f5f3ff;
  --purple-border: #ddd6fe;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-700:    #334155;
  --gray-900:    #0f172a;

  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 34, 64, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .2s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 64px;
  gap: 24px;
}
.header-inner .logo { margin-right: auto; }
.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span {
  color: #60a5fa;
  margin-left: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color .15s ease;
  white-space: nowrap;
}
.nav a:hover { color: var(--white); }
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background .15s ease !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  padding: 3px;
}
.lang-switch a {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.6);
  padding: 3px 9px;
  border-radius: 100px;
  transition: color .15s ease, background .15s ease;
}
.lang-switch a:hover { color: var(--white); }
.lang-switch a.active {
  background: var(--blue);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0);
  background-size: 36px 36px;
  padding: 96px 0 104px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .03em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
  max-width: 580px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.br-desktop { display: block; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(37,99,235,.4);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 14px rgba(37,99,235,.45);
}
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.16);
}

/* ============================================
   SECTION SHARED
   ============================================ */
section { padding: 88px 0; }
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--gray-900);
  margin-bottom: 14px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================
   CARDS
   ============================================ */
.cards.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--gray-900);
  margin-bottom: 14px;
  line-height: 1.3;
}
.card p {
  font-size: .95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}
.feature-list li {
  font-size: .875rem;
  color: var(--gray-700);
  font-weight: 500;
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}
.feature-list li:last-child { border-bottom: none; }

/* ============================================
   SECTORS
   ============================================ */
.sectors {
  background: var(--gray-50);
}
.sector-card {
  border-top: 4px solid var(--gray-200);
}
.sector-finance {
  border-top-color: var(--teal);
}
.sector-education {
  border-top-color: var(--purple);
}
.sector-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sector-finance .sector-label { color: var(--teal); }
.sector-education .sector-label { color: var(--purple); }

.sector-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--gray-900);
  margin-bottom: 14px;
  line-height: 1.3;
}
.sector-card p {
  font-size: .95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}
.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sector-tags span {
  font-size: .78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
}
.sector-finance .sector-tags span {
  background: var(--teal-pale);
  color: var(--teal);
  border: 1px solid var(--teal-border);
}
.sector-education .sector-tags span {
  background: var(--purple-pale);
  color: var(--purple);
  border: 1px solid var(--purple-border);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--gray-900);
  margin-bottom: 24px;
  line-height: 1.2;
}
.about-text p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 18px;
}
.about-text .btn { margin-top: 10px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1;
}
.stat-number span {
  font-size: 1.5rem;
}
.stat-label {
  font-size: .8rem;
  font-weight: 500;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--navy);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0);
  background-size: 36px 36px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.15) 0%, transparent 65%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact-inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.contact-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.68);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-email {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #60a5fa;
  letter-spacing: -.01em;
  text-decoration: underline;
  text-decoration-color: rgba(96,165,250,.4);
  text-underline-offset: 4px;
  transition: color .15s ease;
  margin-bottom: 24px;
}
.contact-email:hover { color: #93c5fd; }
.contact-note {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #081627;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
  text-align: center;
}
.footer-logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  margin-bottom: 10px;
}
.footer-logo span { color: #60a5fa; }
.footer-tagline {
  font-size: .875rem;
  color: rgba(255,255,255,.35);
  margin-bottom: 8px;
}
.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.25);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav { display: none; flex-direction: column; gap: 0; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 12px 0 20px;
    z-index: 99;
  }
  .nav.open a {
    padding: 12px 24px;
    border-radius: 0;
    font-size: 1rem;
  }
  .nav.open .nav-cta {
    margin: 8px 24px 0;
    text-align: center;
    border-radius: 8px;
    padding: 12px 24px;
  }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .lang-switch { margin-left: auto; }
  .lang-switch a { padding: 3px 7px; }

  .cards.two-up { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 72px; }
  .hero h1 { font-size: 2.2rem; }
  .br-desktop { display: none; }
  .hero-sub { font-size: 1rem; }
  .hero-badge { font-size: .72rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .about-text .btn { width: auto; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .stat-number { font-size: 1.6rem; }
}
