/* =============================================================================
   SETTL — Shared Site Styles
   All pages on settlmove.com share this stylesheet.
   ============================================================================= */

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

:root {
  --dark:          #0B1120;
  --dark-mid:      #131D33;
  --accent:        #0052FF;
  --accent-hover:  #0046DC;
  --accent-soft:   rgba(0, 82, 255, 0.08);
  --accent-glow:   rgba(0, 82, 255, 0.25);
  --blue:          #3B82F6;
  --blue-soft:     #EFF6FF;
  --green:         #10B981;
  --surface:       #F7F8FB;
  --white:         #FFFFFF;
  --text:          #1E293B;
  --text-mid:      #475569;
  --text-muted:    #94A3B8;
  --text-on-dark:  #CBD5E1;
  --border:        #E2E8F0;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Karla', system-ui, sans-serif;
  --font-serif:   'Instrument Serif', Georgia, serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

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

/* ============ LAYOUT ============ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ SECTION TYPOGRAPHY ============ */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.08rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 52px;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-glow);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: transparent;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out);
}
nav.scrolled {
  padding: 12px 0;
  background: rgba(11, 17, 32, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.nav-link {
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease-out);
}
.nav-link:hover { opacity: 1; }
.nav-link.active { opacity: 1; }

/* Logo — identical mark used in both landing and portal */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1.5px;
}
.logo-pin {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* ============ INNER PAGE HERO ============ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 72px;
  background: var(--dark);
  color: var(--white);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 54% at 14% 40%, rgba(0, 82, 255, 0.15), transparent 70%),
    radial-gradient(ellipse 48% 58% at 84% 24%, rgba(59, 130, 246, 0.10), transparent 72%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.page-hero-eyebrow {
  display: inline-block;
  padding: 5px 14px;
  margin-bottom: 20px;
  border-radius: 100px;
  background: rgba(0, 82, 255, 0.15);
  border: 1px solid rgba(0, 82, 255, 0.3);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7FB3FF;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: var(--white);
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-on-dark);
  line-height: 1.7;
  max-width: 620px;
}

/* ============ FOOTER ============ */
footer {
  padding: 48px 0;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1.5px;
  text-decoration: none;
}
.footer-brand .logo-pin { width: 18px; height: 18px; }
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-link {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s var(--ease-out);
}
.footer-link:hover { opacity: 1; }
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============ KEYFRAMES ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes meshFloat {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.05) translate(-10px, 10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
  .footer-links { justify-content: center; }
  .page-hero { padding: 100px 0 60px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
