/* ── TeamzMate Global Styles ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg:        #0a0e1a;
  --bg2:       #0f1629;
  --bg3:       #141d35;
  --surface:   #1a2340;
  --surface2:  #1e2a4a;
  --border:    rgba(255,255,255,.08);
  --border2:   rgba(99,102,241,.3);
  --text:      #f1f5f9;
  --text-mid:  #94a3b8;
  --text-dim:  #64748b;
  --brand:     #6366f1;
  --brand2:    #818cf8;
  --accent:    #8b5cf6;
  --cyan:      #06b6d4;
  --green:     #10b981;
  --gradient:  linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient2: linear-gradient(135deg, #06b6d4, #6366f1);
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 8px 32px rgba(0,0,0,.4);
  --glow:      0 0 40px rgba(99,102,241,.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: .5px;
  cursor: pointer; transition: all .2s; border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,.55);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border2);
}
.btn-outline:hover {
  background: rgba(99,102,241,.1);
  border-color: var(--brand);
}

/* ── Section headings ── */
.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brand2);
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: 20px; padding: 5px 14px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-sub {
  font-size: 16px; color: var(--text-mid);
  max-width: 600px; line-height: 1.8;
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover {
  border-color: var(--border2);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}

/* ── Nav ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,14,26,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-size: 20px; font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  color: var(--text-mid);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { margin-right: 0; }

/* ── Footer ── */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px; color: var(--text-mid);
  margin-top: 12px; max-width: 280px; line-height: 1.8;
}
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px; color: var(--text-mid);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--brand2); }
.footer-newsletter input {
  width: 100%; padding: 11px 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text); font-family: 'Montserrat', sans-serif;
  font-size: 14px; margin-bottom: 10px;
}
.footer-newsletter input:focus { outline: none; border-color: var(--brand); }
.footer-newsletter input::placeholder { color: var(--text-dim); }
.footer-newsletter .btn { width: 100%; justify-content: center; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-dim); }

/* ── Divider gradient ── */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
