/* ============================================
   CLOZR — Global Stylesheet
   getaclozr.com
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --cream:      #f6f1e9;
  --taupe:      #998578;
  --orange:     #e16539;
  --orange-dk:  #c4522a;
  --gray:       #d8d3c8;
  --black:      #111111;
  --white:      #ffffff;
  --text-muted: #666258;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(17,17,17,0.08);
  --shadow-lg: 0 12px 48px rgba(17,17,17,0.12);

  --nav-height: 72px;
  --max-w: 1120px;
  --section-pad: 96px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.75; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text-muted); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}
section { padding-block: var(--section-pad); }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-center .section-label { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225,101,57,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
}
.btn-lg {
  padding: 18px 36px;
  font-size: 1.0625rem;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: var(--cream);
  box-shadow: 0 1px 0 var(--gray);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--black);
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links .btn { opacity: 1; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0;
  background: var(--cream);
  z-index: 99;
  padding: 32px 24px;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid var(--gray);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  padding-block: 8px;
  border-bottom: 1px solid var(--gray);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,101,57,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 820px;
  padding-block: 80px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225,101,57,0.1);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  margin-bottom: 24px;
  color: var(--black);
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero .lead {
  max-width: 620px;
  margin-bottom: 40px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}
.hero-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--taupe);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--black);
  padding-block: 32px;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {}
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
}

/* ---------- Pain Section ---------- */
.pain { background: var(--black); color: var(--white); }
.pain h2 { color: var(--white); }
.pain p { color: var(--gray); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.pain-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s;
}
.pain-card:hover { border-color: var(--orange); }
.pain-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(225,101,57,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.pain-card h4 { color: var(--white); margin-bottom: 8px; font-size: 1.05rem; }
.pain-card p { font-size: 0.9rem; color: rgba(216,211,200,0.8); line-height: 1.65; }

/* ---------- How It Works ---------- */
.how-steps { margin-top: 64px; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 31px;
  top: 64px;
  bottom: -24px;
  width: 2px;
  background: var(--gray);
}
.step-num {
  width: 64px;
  height: 64px;
  background: var(--orange);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-content { padding-top: 12px; }
.step-content h3 { margin-bottom: 8px; font-size: 1.2rem; }
.step-content p { font-size: 0.95rem; }

/* ---------- Cards / Features ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(225,101,57,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { font-size: 0.9rem; }

/* ---------- Two-col Layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ---------- Checklist ---------- */
.checklist { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.check-icon {
  width: 22px;
  height: 22px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-icon::after {
  content: '✓';
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
}
.x-icon {
  width: 22px;
  height: 22px;
  background: var(--gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.x-icon::after {
  content: '✕';
  color: var(--taupe);
  font-size: 0.65rem;
  font-weight: 700;
}

/* ---------- Visual Box ---------- */
.visual-box {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.visual-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225,101,57,0.2) 0%, transparent 70%);
}
.visual-box .vb-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.visual-box .vb-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.vb-metric {
  margin-bottom: 16px;
}
.vb-metric-label { font-size: 0.8rem; color: var(--gray); margin-bottom: 4px; }
.vb-metric-bar { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.vb-metric-fill { height: 100%; background: var(--orange); border-radius: 4px; transition: width 1s ease; }
.vb-stat { display: flex; justify-content: space-between; align-items: center; padding-block: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.vb-stat:last-child { border-bottom: none; }
.vb-stat-label { font-size: 0.85rem; color: var(--gray); }
.vb-stat-val { font-size: 0.95rem; font-weight: 700; color: var(--white); }

/* ---------- Pricing ---------- */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.pricing-card.featured {
  border-color: var(--orange);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}
.pricing-tier { font-size: 0.8rem; font-weight: 700; color: var(--taupe); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.pricing-name { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.pricing-price { font-size: 1.0rem; color: var(--text-muted); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--gray); }
.pricing-price strong { font-size: 2rem; color: var(--black); }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 48px; }
.faq-item {
  border-bottom: 1px solid var(--gray);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0rem;
  gap: 24px;
}
.faq-q:hover { color: var(--orange); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: all 0.2s;
  color: var(--taupe);
}
.faq-item.open .faq-icon {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-a {
  display: none;
  padding-bottom: 24px;
}
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 0.95rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: var(--gray); max-width: 560px; margin-inline: auto; margin-bottom: 36px; }
.cta-banner .btn-group { justify-content: center; }

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
}
.page-hero .section-label { color: var(--orange); }
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero .lead { color: var(--gray); max-width: 600px; margin-top: 16px; }

/* ---------- Timeline ---------- */
.timeline { margin-top: 56px; }
.tl-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray);
}
.tl-item:last-child { border-bottom: none; margin-bottom: 0; }
.tl-step {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 4px;
}
.tl-content h3 { margin-bottom: 8px; font-size: 1.15rem; }
.tl-content p { font-size: 0.95rem; }

/* ---------- Role Card (Become a CLOZR) ---------- */
.role-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-block: 48px;
}
.role-highlight {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.role-highlight .rh-icon { font-size: 2rem; margin-bottom: 12px; }
.role-highlight h4 { margin-bottom: 6px; font-size: 1rem; }
.role-highlight p { font-size: 0.85rem; }

/* ---------- Application Form ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 640px;
  margin-inline: auto;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  background: var(--cream);
  color: var(--black);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Compliance Notice ---------- */
.compliance-note {
  background: rgba(153,133,120,0.1);
  border-left: 3px solid var(--taupe);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin-top: 24px;
}
.compliance-note p { font-size: 0.85rem; color: var(--taupe); }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--gray);
  padding-block: 64px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--orange); }
.footer-tagline { font-size: 0.875rem; color: var(--gray); max-width: 240px; line-height: 1.6; }
.footer-col h5 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; color: var(--gray); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-compliance { font-size: 0.75rem; color: rgba(216,211,200,0.5); max-width: 520px; line-height: 1.5; }

/* ---------- Animations ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --section-pad: 72px; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .two-col.reverse { direction: ltr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  :root { --section-pad: 56px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .stats-bar .container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-inner { padding-block: 60px; }
  .form-card { padding: 32px 24px; }
}
