/* =============================================
   Density Tech — Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --navy:   #0a1628;
  --navy2:  #112240;
  --blue:   #1a3a6b;
  --accent: #4a90d9;
  --white:  #ffffff;
  --offwhite: #f5f7fa;
  --text:   #1c2b3a;
  --muted:  #6b7c93;
  --border: #dde3ed;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(10,22,40,0.10);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

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

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

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-primary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}
.btn-primary:hover { background: transparent; color: var(--white); transform: translateY(-2px); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-dark:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }

/* ── Navigation ──────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.80);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Footer ──────────────────────────────── */
footer {
  background: #1a2233;
  color: rgba(255,255,255,0.55);
  padding: 2.5rem 3rem;
  font-size: 0.87rem;
  text-align: left;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: #c9a84c;
  margin-bottom: 0.3rem;
  display: block;
}
footer a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
footer a:hover { color: var(--white); }

/* ── Section helpers ─────────────────────── */
section { padding: 96px 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.section-title.light { color: var(--white); }
.section-subtitle {
  font-size: 1.07rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 3rem;
}
.section-subtitle.light { color: rgba(255,255,255,0.70); }

/* ── Grid helpers ────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* ── Cards ───────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

/* ── Divider ─────────────────────────────── */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  section { padding: 72px 1.25rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); padding: 1.5rem 2rem; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}
