/* ============================================================
   UNITAS GLOBAL — Shared Stylesheet
   Brand: Deep Blue (#042C53) + Teal (#1D9E75)
   Fonts: Plus Jakarta Sans (headings/logo) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #042C53;
  --blue:        #0C447C;
  --blue-mid:    #185FA5;
  --blue-light:  #378ADD;
  --teal-deep:   #085041;
  --teal:        #0F6E56;
  --teal-mid:    #1D9E75;
  --teal-bright: #5DCAA5;
  --teal-light:  #9FE1CB;
  --teal-pale:   #E1F5EE;
  --blue-pale:   #E6F1FB;
  --white:       #ffffff;
  --text:        #0a1628;
  --muted:       #4a6080;
  --border:      rgba(12, 68, 124, 0.12);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.1;
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
  font-weight: 300;
}

.section-head { margin-bottom: 56px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal-mid);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-bright);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-outline-white {
  color: rgba(255,255,255,0.85);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--navy);
}
.btn-white:hover {
  background: var(--teal-pale);
  transform: translateY(-1px);
}

/* ---- Navigation ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(4, 44, 83, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  letter-spacing: -0.2px;
}

.nav-logo-mark {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--teal-mid), var(--teal-bright));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-mark svg { width: 15px; height: 15px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }

.nav-cta {
  background: var(--teal-mid);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-bright); color: var(--navy); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Trust Bar ---- */
.trust-bar {
  background: #f0f6ff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-mid);
  flex-shrink: 0;
}

/* ---- Cards (light bg) ---- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-mid), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.card:hover {
  border-color: rgba(29, 158, 117, 0.3);
  box-shadow: 0 8px 32px rgba(4, 44, 83, 0.08);
  transform: translateY(-2px);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ---- Tags / Chips ---- */
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }

.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}

.tag-teal { background: var(--teal-pale); color: var(--teal-deep); }
.tag-blue { background: var(--blue-pale); color: var(--blue); }

/* ---- App Cards (dark bg) ---- */
.app-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.25s;
}

.app-card:hover {
  background: rgba(29, 158, 117, 0.08);
  border-color: rgba(29, 158, 117, 0.3);
  transform: translateY(-2px);
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.app-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.app-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  font-weight: 300;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--teal-bright);
  margin-top: 14px;
  font-weight: 500;
  transition: gap 0.2s;
}
.app-link:hover { gap: 8px; }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--navy) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .section-title { color: #fff; }
.cta-section .section-sub { color: rgba(255,255,255,0.6); margin: 0 auto 36px; }
.cta-section .section-tag { color: var(--teal-bright); }

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
footer {
  background: #020f1f;
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.2px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  max-width: 240px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.75); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }

.footer-legal { display: flex; gap: 20px; }

.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

@keyframes grow {
  from { width: 0; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(4, 44, 83, 0.98);
    padding: 20px 32px 28px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .trust-inner { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
