/* assets/global.css */
:root {
  --max: 1140px;
  --pad: 24px;
  --border: #e2e8f0;
  --muted: #64748b;
  --black: #0f172a;
  --bg-light: #f8fafc;
  --primary: #E31837; /* HQA Red */
  --primary-hover: #C8142F;
  --radius: 8px; 
  --radius-sm: 4px; 
}

html { scroll-behavior: smooth; }

body { 
  margin: 0; 
  font-family: 'Inter', sans-serif; 
  color: var(--black); 
  background: #fff; 
  line-height: 1.5;
}

.wrap { 
  max-width: var(--max); 
  margin: 0 auto; 
  padding: 0 var(--pad); 
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 16px 0;
}
.navbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

/* HERO */
.hero {
  width: 100%;
  background: #fff;
  padding: 70px 0 0; 
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle at center top, rgba(227,24,55,0.06) 0%, rgba(255,255,255,0) 60%);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.logo {
  display: flex; align-items: center; gap: 12px;
  margin: 0 auto 28px;
  justify-content: center;
}
.logo img { height: 32px; width: auto; display: block; }
.logo .tag { 
  font-size: 13px; 
  color: var(--muted); 
  letter-spacing: 0.5px; 
  font-weight: 700; 
  text-transform: uppercase;
  border-left: 2px solid var(--border);
  padding-left: 12px;
}

h1 { 
  margin: 0 auto 18px; 
  font-size: 52px; 
  letter-spacing: -1.2px; 
  font-weight: 800;
  line-height: 1.15;
  max-width: 800px;
}

.sub { 
  margin: 0 auto 32px; 
  font-size: 20px; 
  color: var(--muted); 
  line-height: 1.6; 
  max-width: 680px;
}

.feature-pills { 
  margin: 0 auto 24px; 
  padding: 0; 
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.feature-pills li { 
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 30px; 
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.feature-pills li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
  font-size: 16px;
}

.note { 
  font-size: 14px; 
  color: var(--muted); 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  margin-bottom: 30px; 
  position: relative; 
  z-index: 2; 
}
.note::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.hero-media {
  width: 100%;
  max-width: 1200px; 
  margin: -20px auto -60px; 
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 0;
}

@media (max-width: 768px) { 
  .hero { padding: 50px 0 0; }
  h1 { font-size: 38px; }
  .sub { font-size: 16px; }
  .hero-media { margin: 0px auto -30px; }
  .nav-links { display: none; } /* Simple mobile menu hide for now */
}

/* SECTIONS & CARDS */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
h2 { margin: 0 0 12px; font-size: 36px; letter-spacing: -0.5px; font-weight: 800; }
.muted { color: var(--muted); font-size: 18px; margin-top: 0; }

.cards { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px; 
}
@media (max-width: 980px) { .cards { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.1);
  border-color: #cbd5e1;
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  display: block;
  border: 1px solid var(--border);
  border-radius: 6px; 
  background: var(--bg-light);
  margin-bottom: 24px;
  padding: 10px;
  box-sizing: border-box;
}
.card h3 { margin: 0; font-size: 22px; font-weight: 700; }
.sku { 
  font-size: 13px; 
  color: var(--primary); 
  font-weight: 800; 
  background: rgba(227, 24, 55, 0.1);
  padding: 4px 10px;
  border-radius: 4px; 
}
.topline { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px;}
.card p { margin: 0 0 20px; line-height: 1.6; color: #334155; flex-grow: 1; }

.card-link { 
  font-weight: 700; 
  font-size: 15px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-link:hover { color: var(--primary-hover); }

/* SPLIT SECTION (For About/Process) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}
.split-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
  color: #334155;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* FORM */
.formwrap {
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  padding: 80px 0;
}
.formcard {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 40px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
}
.form-header { text-align: center; margin-bottom: 30px; }
.form-header h2 { font-size: 32px; }

form { display: grid; gap: 16px; }
.row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) { 
  .row { grid-template-columns: 1fr; } 
  .formcard { padding: 24px; }
}

input, textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder, textarea::placeholder { color: #94a3b8; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.15);
}
textarea { resize: vertical; min-height: 140px; }

.status { min-height: 20px; font-size: 14px; font-weight: 500; color: var(--primary); }

.btnrow { 
  display: flex; 
  gap: 14px; 
  flex-wrap: wrap; 
  justify-content: center;
  margin-bottom: 12px;
}

.btn {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff !important;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px -1px rgba(227, 24, 55, 0.2);
}
.btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 8px -1px rgba(227, 24, 55, 0.3);
}

.btn.secondary {
  background: #fff;
  color: var(--black) !important;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.btn.secondary:hover {
  border-color: var(--muted);
  background: var(--bg-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* FOOTER */
.footer { 
  padding: 40px 0; 
  border-top: 1px solid var(--border); 
  background: #fff;
  text-align: center;
}
.footer .small { font-size: 14px; color: var(--muted); line-height: 1.8; }
.footer b { color: var(--black); font-size: 16px; }
.link { color: var(--primary); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }