/* =====================================================
   GLOBAL FIX TECHNOLOGIES — Shared Stylesheet
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
  --blue:       #0057ff;
  --blue-dark:  #0041cc;
  --blue-light: #eff4ff;
  --navy:       #0d1b3e;
  --navy2:      #0a3080;
  --text:       #1a1f2e;
  --muted:      #6b7a99;
  --border:     #e0e4ef;
  --bg:         #f5f7fa;
  --bg2:        #f8faff;
  --white:      #ffffff;
  --green:      #00b44f;
  --orange:     #f97316;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,87,255,.08);
  --shadow-lg:  0 8px 40px rgba(0,87,255,.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

/* ── TYPOGRAPHY — the heart of the fix ── */
h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 800;
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.5vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 22px); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: 'DM Sans', sans-serif; }

/* ── UTILITIES ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
  font-family: 'DM Sans', sans-serif;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.8;
}
.section-sub.center { margin: 0 auto; text-align: center; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all .2s;
  border: none;
  line-height: 1;
}
.btn-primary  { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline  { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-white    { background: #fff; color: var(--blue); }
.btn-white:hover { background: #e8f0ff; }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: #a8b8d8;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid #1e3060;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar a { color: #a8b8d8; transition: color .2s; }
.topbar a:hover { color: #60a5fa; }
.topbar-item { display: flex; align-items: center; gap: 6px; line-height: 1.5; }
.topbar .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00ff88;
  animation: pulse 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── NAVBAR ── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 12px;
  flex-wrap: nowrap;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0041cc, #0d1b3e);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 42px; height: 42px; }
.logo-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.3;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.logo-tag {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: .2px;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.4;
}
.footer-logo-name { color: #ffffff !important; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex-shrink: 1;
  white-space: nowrap;
}
.nav-links a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
  line-height: 1.4;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); background: var(--blue-light); }

.nav-cta {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.4;
}
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: .3s;
  display: block;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: #6b8aad;
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid #1e3060;
}
.footer-brand p {
  font-size: 14px;
  color: #6b8aad;
  margin-top: 16px;
  line-height: 1.8;
  max-width: 300px;
}
.footer-logo-name { color: #fff !important; }
.footer-logo-tag  { color: #6b8aad !important; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  color: #a8b8d8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.5;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: #6b8aad;
  margin-bottom: 12px;
  transition: color .2s;
  line-height: 1.5;
}
.footer-col a:hover { color: #60a5fa; }
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.pay-badge {
  background: #1e3060;
  border: 1px solid #2a4080;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  color: #a8b8d8;
  font-weight: 500;
  line-height: 1.5;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #4a6080;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.5;
}
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #1e3060;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background .2s;
  line-height: 1;
}
.social-btn:hover { background: var(--blue); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 50%, var(--blue) 100%);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 1px, transparent 56px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 1px, transparent 56px);
}
.page-hero .container { position: relative; z-index: 2; }

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #a8c4ff;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.page-hero h1 span { color: #60a5fa; }

.page-hero p {
  font-size: 18px;
  color: #a8b8d8;
  max-width: 560px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b8aad;
  margin-top: 24px;
  line-height: 1.5;
}
.breadcrumb a { color: #6b8aad; }
.breadcrumb a:hover { color: #60a5fa; }
.breadcrumb span { color: #a8b8d8; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .25s;
}
.card:hover { box-shadow: var(--shadow); border-color: #b0c4f0; transform: translateY(-2px); }

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.badge-blue   { background: var(--blue-light); color: var(--blue); }
.badge-green  { background: #edfaf3; color: #00875a; }
.badge-orange { background: #fff4ed; color: #c2410c; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-bar .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #3a4a6b;
  line-height: 1.5;
}
.trust-item .ti { font-size: 18px; color: var(--blue); }

/* ── CHAT WIDGET ── */
.chat-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px; height: 52px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 20px rgba(0,87,255,.4);
  z-index: 9999;
  transition: transform .2s;
  text-decoration: none;
}
.chat-float:hover { transform: scale(1.1); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp .6s ease both; }
.fade-up-2 { animation: fadeUp .6s .15s ease both; }
.fade-up-3 { animation: fadeUp .6s .3s  ease both; }
.fade-up-4 { animation: fadeUp .6s .45s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-links a { padding: 8px 9px; font-size: 13px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
  }
  .nav-mobile-open .nav-cta {
    display: block;
    margin: 8px 24px 16px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-right { display: none; }
}
