/* ============================================================
   YEMFLOW - SHARED STYLESHEET
   Edit here → applies to every page
   ============================================================ */

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

:root {
  --navy: #1B2D4F;
  --teal: #3BB8C4;
  --teal-light: #7DD3E0;
  --teal-dark: #2fa3ae;
  --gray: #6B7B8D;
  --light-bg: #F5F7FA;
  --white: #fff;
  --border: #eef1f5;
}

body { font-family: 'Helvetica Neue', Arial, sans-serif; color: var(--navy); }

/* ── NAV ── */
.yf-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 60px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.yf-nav img { height: 42px; }
.yf-nav-links { display: flex; gap: 28px; align-items: center; }
.yf-nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.yf-nav-links a:hover, .yf-nav-links a.active { color: var(--teal); }
.yf-nav-cta {
  background: var(--light-bg) !important;
  padding: 8px 18px;
  border-radius: 6px;
  color: var(--navy) !important;
}
.yf-nav-login {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 6px;
}
.yf-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
}
.yf-nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  gap: 16px;
}
.yf-nav-mobile-menu.open { display: flex; }
.yf-nav-mobile-menu a {
  text-decoration: none;
  color: var(--navy);
  font-size: 16px;
  font-weight: 500;
}

/* ── FOOTER ── */
.yf-footer {
  background: var(--navy);
  padding: 50px 60px;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.7;
}
.yf-footer-logo { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.yf-footer-col strong { display: block; color: var(--white); margin-bottom: 12px; font-size: 14px; }
.yf-footer-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 8px; }
.yf-footer-col a:hover { color: var(--teal-light); }
.yf-footer-mid { text-align: center; }
.yf-footer-right { text-align: right; }
.yf-footer-bottom {
  background: #151f33;
  text-align: center;
  padding: 12px 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  display: flex;
  justify-content: center;
  gap: 24px;
}
.yf-footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.yf-footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── SHARED BUTTONS ── */
.yf-btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  transition: background 0.2s;
}
.yf-btn:hover { background: var(--teal-dark); }
.yf-btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s;
}
.yf-btn-ghost:hover { border-color: rgba(255,255,255,0.7); }
.yf-btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  transition: background 0.2s;
}
.yf-btn-white:hover { background: #f0f0f0; }
.yf-btn-outline {
  display: block;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
  transition: background 0.2s;
}
.yf-btn-outline:hover { background: var(--light-bg); }
.yf-btn-filled {
  display: block;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
  transition: background 0.2s;
}
.yf-btn-filled:hover { background: var(--teal-dark); }

/* ── SHARED SECTION STYLES ── */
.yf-section-title { font-size: 36px; font-weight: 700; margin-bottom: 16px; color: var(--navy); }
.yf-section-sub { font-size: 18px; color: var(--gray); max-width: 600px; margin: 0 auto 50px; line-height: 1.6; }

/* ── CTA SECTION ── */
.yf-cta {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 80px 60px;
  text-align: center;
}
.yf-cta h2 { font-size: 36px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.yf-cta p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 32px; }

/* ── LEGAL PAGES ── */
.yf-legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 30px 80px;
  line-height: 1.7;
  font-size: 15px;
  color: #3a4a5c;
}
.yf-legal h1 { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.yf-legal .yf-legal-date { font-size: 14px; color: var(--gray); margin-bottom: 40px; }
.yf-legal h2 { font-size: 20px; font-weight: 700; color: var(--navy); margin-top: 36px; margin-bottom: 12px; }
.yf-legal p { margin-bottom: 16px; }
.yf-legal ul { margin: 0 0 16px 24px; }
.yf-legal ul li { margin-bottom: 6px; }
.yf-legal a { color: var(--teal); text-decoration: none; }
.yf-legal a:hover { text-decoration: underline; }

/* ── PAGE HEADER ── */
.yf-page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #243a5e 50%, #1a3a52 100%);
  padding: 70px 60px 50px;
  text-align: center;
}
.yf-page-header h1 { font-size: 44px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.yf-page-header p { font-size: 19px; color: rgba(255,255,255,0.75); max-width: 550px; margin: 0 auto; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .yf-nav { padding: 14px 20px; }
  .yf-nav img { height: 32px; }
  .yf-nav-links { display: none; }
  .yf-nav-toggle { display: block; }
  .yf-section-title { font-size: 26px; }
  .yf-section-sub { font-size: 16px; margin-bottom: 36px; }
  .yf-page-header { padding: 50px 20px 40px; }
  .yf-page-header h1 { font-size: 30px; }
  .yf-cta { padding: 50px 20px; }
  .yf-cta h2 { font-size: 26px; }
  .yf-footer { grid-template-columns: 1fr 1fr; text-align: center; padding: 30px 20px; }
  .yf-footer-mid, .yf-footer-right { text-align: center; }
  .yf-legal { padding: 40px 20px 60px; }
  .yf-legal h1 { font-size: 28px; }
}
