/* ----------------------------------------------------------------------
   Nexum Solutions — main stylesheet
   ----------------------------------------------------------------------
   Brand tokens, typography, layout, responsive behavior.
   Edit this file to restyle the entire site.
---------------------------------------------------------------------- */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colors */
  --navy: #1F2D4E;
  --navy-deep: #15203A;
  --gold: #C9A866;
  --gold-soft: #E5D4A8;

  /* Neutrals */
  --ink: #1A1F2E;
  --body: #4A5063;
  --muted: #7A8093;
  --rule: #E5E7EB;
  --surface: #F7F6F2;
  --paper: #FFFFFF;

  /* Layout */
  --max-width: 1100px;
  --gutter: 24px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 48px;
  max-width: 720px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--paper);
}
.btn-primary:hover { background: var(--navy-deep); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-secondary:hover { border-color: var(--ink); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  padding: 112px 0 96px;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero h1 .gold-accent { color: var(--gold); }

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Products section ---------- */
.products-intro {
  max-width: 720px;
  font-size: 16px;
  color: var(--body);
  margin-bottom: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 36px 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.product-card h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.product-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-link:hover { color: var(--navy-deep); }

.product-link::after {
  content: '→';
  transition: transform 0.15s ease;
}

.product-link:hover::after { transform: translateX(3px); }

.product-link.disabled {
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}

/* ---------- Trust signals ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 56px;
}

.trust-item {
  padding-left: 0;
}

.trust-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.trust-item p {
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Who we serve ---------- */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.serve-card {
  background: var(--surface);
  border-radius: 10px;
  padding: 36px 20px;
  text-align: center;
}

.serve-card-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 14px;
  color: var(--navy);
}

.serve-card span {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--navy);
  color: var(--paper);
  padding: 96px 0;
  text-align: center;
  border: none;
}

.final-cta .container {
  max-width: 620px;
}

.final-cta h2 {
  color: var(--paper);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  max-width: none;
}

.final-cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}

.final-cta .btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.final-cta .btn-primary:hover { background: var(--gold-soft); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer a:hover { color: var(--paper); }

/* ---------- Demo page ---------- */
.demo-page {
  min-height: calc(100vh - 280px);
  padding: 96px 0;
}

.demo-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.demo-inner h1 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 18px;
}

.demo-inner p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.demo-cta-box {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 36px;
  margin-bottom: 28px;
}

.demo-cta-box h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.demo-email-link {
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  display: inline-block;
  margin-bottom: 24px;
}

.demo-bullets {
  text-align: left;
  max-width: 480px;
  margin: 32px auto 0;
  font-size: 15px;
  line-height: 1.7;
}

.demo-bullets li { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section h2 { font-size: 28px; margin-bottom: 32px; }

  .hero { padding: 72px 0 64px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 17px; }

  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }

  .products-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 36px; }
  .serve-grid { grid-template-columns: 1fr; }

  .final-cta { padding: 72px 0; }
  .final-cta h2 { font-size: 28px; }

  .footer-inner { flex-direction: column; text-align: center; }

  .demo-page { padding: 64px 0; }
  .demo-inner h1 { font-size: 32px; }
}
