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

/* ==========================================================================
   J2B — Consumer Brand Theme (Core stylesheet)
   ========================================================================== */

:root {
  /* Colors */
  --bg-paper: #ffffff;
  --bg-alt: #f4f5f7;
  --bg-subtle: #f8f9fa;
  
  --fg-dark: #1f2937;
  --fg-light: #4b5563;
  --fg-muted: #6b7280;
  
  --border-light: #e5e7eb;
  --border-medium: #d1d5db;
  --border-heavy: #9ca3af;
  
  --accent: #0056D2; /* Tech Blue */
  --accent-hover: #0044B0;
  --accent-light: #e0edff;
  --accent-text: #0056D2;
  
  /* Typography */
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Inter', sans-serif; /* Fallback to sans to drop mono completely */
  
  /* Radii - soft rounded corners */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-paper);
  color: var(--fg-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg-dark);
  text-transform: none;
}

.site-main { flex: 1 0 auto; position: relative; }

/* Backgrounds */
.bg-light { background-color: var(--bg-alt); }
.bg-white { background-color: var(--bg-paper); }

/* Patterns - Dropped completely */
.blueprint-grid { background: none; }

/* Eyebrows */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--accent-text);
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
  transition: all 0.2s ease;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
  border-radius: 9999px; /* Pill shaped */
  text-transform: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 86, 210, 0.25);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border-medium);
  color: var(--fg-dark);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm { padding: 0.625rem 1.5rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* Section Header Shared */
.sec-header, .sc-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.sec-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .sec-title { font-size: 2.5rem; }
}
.sec-lead {
  font-size: 1.125rem;
  color: var(--fg-light);
}

/* Scroll reveal */
.reveal { 
  opacity: 0; 
  transform: translateY(15px); 
  transition: opacity 0.8s ease, transform 0.8s ease; 
}
.reveal.is-visible { 
  opacity: 1; 
  transform: translateY(0); 
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Utilities */
.text-accent { color: var(--accent-text); }
.container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

/* Icon sizes */
.icon-16 { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-20 { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-24 { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.icon-32 { width: 2rem; height: 2rem; flex-shrink: 0; }

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo-mark {
  height: 2.25rem;
  width: auto;
}
.nav-logo-wordmark {
  height: 1.75rem;
  width: auto;
  display: block;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--fg-dark);
  letter-spacing: -0.02em;
  text-transform: none;
}
.nav-logo-text .accent { color: var(--accent-text); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg-light);
  text-transform: none;
  position: relative;
  padding: 0.5rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}
.nav-link:hover, .nav-link[data-active="true"] {
  color: var(--accent);
}
.nav-link:hover::after, .nav-link[data-active="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg-dark);
}
@media (min-width: 768px) { .nav-phone { display: flex; } }
.nav-phone:hover { color: var(--accent-text); }

.nav-cta {
  display: none;
}
@media (min-width: 1024px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  color: var(--fg-dark);
  padding: 0.5rem;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="false"] .icon-close { display: none; }

.nav-mobile {
  position: absolute;
  top: 100%; left: 0; width: 100%;
  background: var(--bg-paper);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nav-mobile-link {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--fg-light);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}
.nav-mobile-link.is-active { color: var(--accent); font-weight: 600; border-bottom-color: var(--accent-light); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-paper);
  color: var(--fg-dark);
  border-top: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.footer-top {
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}
.footer-top-inner {
  max-width: 80rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 1024px) {
  .footer-top-inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p {
  color: var(--fg-light);
  font-size: 0.9375rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-specs-list {
  margin-top: 1.5rem; 
  display: flex; 
  flex-direction: column; 
  gap: 0.5rem; 
  font-family: var(--font-sans); 
  font-size: 0.875rem;
}
.footer-specs-list .spec-line {
  display: flex;
  align-items: center;
}
.footer-specs-list .spec-key {
  color: var(--accent-text);
  width: 40px;
  font-weight: 600;
}
.footer-specs-list .spec-val {
  color: var(--fg-dark);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg-dark);
  margin-bottom: 1.25rem;
  text-transform: none;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a {
  font-size: 0.9375rem;
  color: var(--fg-light);
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  padding: 2rem 1.5rem;
  background: var(--bg-alt);
}
.footer-bottom-inner {
  max-width: 80rem; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 768px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

.footer-disclaimer {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  max-width: none;
  width: 100%;
}
.footer-hp-img {
  height: 48px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-hp-img:hover {
  opacity: 1;
}
/* Footer contact details */
.footer-contact {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.footer-contact li {
  display: flex;
  gap: 0.625rem;
  align-items: center;
}
.footer-contact-icon {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light, #e8f0fe);
  color: var(--accent, #0056d2);
  border-radius: 50%;
}
.footer-contact-icon svg {
  width: 0.9rem;
  height: 0.9rem;
}
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--accent); }
.footer-hp-link {
  display: inline-block;
  margin-top: 1.25rem;
}
