/* =============================================
   UFE Connect — Brand Stylesheet
   Colors: #1A4FA0 (blue) #F26B21 (orange)
   Fonts: Montserrat (headings) Open Sans (body)
   ============================================= */

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

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

/* ── Tokens ── */
:root {
  --blue:       #1A4FA0;
  --blue-dark:  #143D80;
  --blue-light: #EEF3FB;
  --orange:     #F26B21;
  --orange-dk:  #D45A14;
  --ink:        #1F2933;
  --ink-muted:  #4A5568;
  --gray:       #F4F6F8;
  --border:     #D9E2EE;
  --white:      #FFFFFF;

  --font-head: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;

  --radius:   6px;
  --radius-lg: 12px;
  --shadow:   0 2px 12px rgba(26,79,160,0.10);
  --shadow-lg:0 8px 32px rgba(26,79,160,0.14);
}

/* ── Base ── */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover { background: var(--orange-dk); border-color: var(--orange-dk); }

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--blue); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-ufe {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.logo-connect {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--orange);
  letter-spacing: 0.18em;
  margin-left: 4px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink-muted);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-light); text-decoration: none; }
.nav-links a.active { color: var(--blue); }
.nav-links .btn { margin-left: 0.5rem; }
.nav-links .btn:hover { transform: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
  padding: 0.25rem;
}

/* ── Eyebrow ── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.eyebrow-blue { color: var(--blue); }

/* ── Hero ── */
.hero {
  background: var(--blue);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-head);
  font-weight: 600;
}
.hero-trust span { color: rgba(255,255,255,0.9); }

/* ── Section headings ── */
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
.section-header p { font-size: 1.05rem; color: var(--ink-muted); max-width: 560px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ── Pillars ── */
.pillars { background: var(--gray); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.pillar-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.pillar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--blue);
}
.pillar-card p { font-size: 0.95rem; color: var(--ink-muted); }

/* ── Pay Transparency (signature element) ── */
.pay-section { background: var(--white); }
.pay-box {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
}
.pay-box h2 { color: var(--white); margin-bottom: 0.5rem; font-size: 1.75rem; }
.pay-box .pay-sub { color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; }
.pay-bar-wrap { margin-bottom: 2rem; }
.pay-bar {
  display: flex;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.pay-bar-you {
  flex: 85;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.pay-bar-ufe {
  flex: 10;
  background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
}
.pay-bar-platform {
  flex: 5;
  background: rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
}
.pay-legend {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.pay-legend-item { display: flex; align-items: center; gap: 0.6rem; }
.pay-legend-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}
.pay-legend-dot.you { background: var(--orange); }
.pay-legend-dot.ufe { background: rgba(255,255,255,0.22); border: 1px solid rgba(255,255,255,0.4); }
.pay-legend-dot.plat { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.25); }
.pay-legend-item span { font-size: 0.85rem; color: rgba(255,255,255,0.80); font-family: var(--font-head); font-weight: 600; }
.pay-note {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 1.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}
.step-card {
  padding: 0;
  counter-increment: steps;
}
.step-num {
  width: 44px; height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.step-card h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--blue); }
.step-card p { font-size: 0.92rem; color: var(--ink-muted); }

/* ── Audience cards ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.audience-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.audience-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.audience-card h3 { font-size: 0.95rem; margin-bottom: 0.3rem; color: var(--blue); }
.audience-card p { font-size: 0.88rem; color: var(--ink-muted); margin: 0; }

/* ── CTA Band ── */
.cta-band {
  background: var(--blue);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.78); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band .btn-orange { box-shadow: 0 4px 20px rgba(242,107,33,0.40); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--blue);
  padding: 4rem 0 3.5rem;
  color: var(--white);
}
.page-hero .eyebrow { color: var(--orange); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.80); font-size: 1.05rem; max-width: 560px; }

/* ── How It Works page ── */
.step-full {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.step-full:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step-full-num {
  width: 56px; height: 56px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.step-full-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--blue); }
.step-full-body p { color: var(--ink-muted); font-size: 0.97rem; margin-bottom: 0.5rem; }
.step-full-body p:last-child { margin: 0; }

/* ── Info box ── */
.info-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.info-box h4 { font-size: 0.95rem; color: var(--blue); margin-bottom: 0.75rem; font-family: var(--font-head); font-weight: 700; }
.info-box ul { list-style: none; padding: 0; }
.info-box ul li {
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.25rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.info-box ul li::before { content: '·'; color: var(--blue); font-weight: 800; flex-shrink: 0; }

/* ── Check/cross list ── */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 0.4rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.check-list li .icon { flex-shrink: 0; font-size: 1rem; margin-top: 2px; }
.check-list li.yes .icon::before { content: '✓'; color: #27AE60; font-weight: 800; }
.check-list li.no  .icon::before { content: '✗'; color: #E74C3C; font-weight: 800; }

/* ── Requirements grid ── */
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.req-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.req-card .req-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.req-card h4 { font-size: 0.95rem; color: var(--blue); margin-bottom: 0.35rem; font-family: var(--font-head); font-weight: 700; }
.req-card p { font-size: 0.88rem; color: var(--ink-muted); margin: 0; }

/* ── FAQ ── */
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--blue); }
.faq-q.open { color: var(--blue); }
.faq-arrow { font-size: 1.1rem; transition: transform 0.2s; flex-shrink: 0; color: var(--orange); }
.faq-q.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.7;
}
.faq-a.open { display: block; }

/* ── Form ── */
.form-wrap { max-width: 680px; }
.form-notice {
  background: var(--blue-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 2rem;
}
.form-notice strong { color: var(--blue); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form-group label .req { color: var(--orange); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,79,160,0.12);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.willingness-group { margin-bottom: 1.25rem; }
.willingness-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.willingness-group .req { color: var(--orange); }
.willingness-prompt {
  font-size: 0.92rem;
  color: var(--ink-muted);
  background: var(--gray);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.radio-opts { display: flex; flex-direction: column; gap: 0.5rem; }
.radio-opt {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.93rem;
  color: var(--ink);
}
.radio-opt input { width: auto; accent-color: var(--blue); }
.checkbox-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  cursor: pointer;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.checkbox-opt input { width: auto; accent-color: var(--blue); margin-top: 3px; flex-shrink: 0; }

.form-submit-wrap { margin-top: 1.5rem; }
.form-submit-wrap .btn { width: 100%; text-align: center; font-size: 1rem; padding: 1rem; }
.form-legal {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: 0.875rem;
  line-height: 1.5;
}

.what-next {
  background: var(--gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2.5rem;
}
.what-next h3 { font-size: 1rem; color: var(--blue); margin-bottom: 0.75rem; }
.what-next ol { list-style: decimal; padding-left: 1.25rem; }
.what-next ol li { font-size: 0.92rem; color: var(--ink-muted); padding: 0.25rem 0; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.contact-info p { color: var(--ink-muted); font-size: 0.95rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}
.contact-detail .cd-icon {
  width: 40px; height: 40px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-family: var(--font-head); font-size: 0.8rem; color: var(--ink-muted); margin-bottom: 1px; }
.contact-detail a { color: var(--blue); font-weight: 600; }
.resp-time {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  background: var(--gray);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.70);
  padding: 3.5rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .nav-logo { margin-bottom: 0.75rem; display: inline-flex; }
.footer-brand .logo-ufe { color: var(--white); }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }
.footer-nav h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-nav ul li { margin-bottom: 0.5rem; }
.footer-nav ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color 0.15s; }
.footer-nav ul li a:hover { color: var(--white); text-decoration: none; }
.footer-legal-col { font-size: 0.82rem; line-height: 1.7; }
.footer-legal-col strong { color: rgba(255,255,255,0.85); display: block; margin-bottom: 0.5rem; font-family: var(--font-head); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Success message ── */
.form-success {
  display: none;
  background: #EBF8EE;
  border: 1px solid #27AE60;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-top: 1rem;
}
.form-success h3 { color: #1E8449; margin-bottom: 0.5rem; }
.form-success p { color: #196F3D; font-size: 0.95rem; margin: 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; gap: 0.25rem; }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; text-align: center; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .step-full { flex-direction: column; gap: 1rem; }
  .pay-box { padding: 2rem 1.5rem; }
  .pay-legend { gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 4rem 0 4rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .pillars-grid, .steps-grid { grid-template-columns: 1fr; }
  .pay-bar-ufe, .pay-bar-platform { font-size: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
