/* ===== eBiz Hub — Shared Styles v1.0 ===== */

:root {
  --teal: #1E638D;
  --teal-dark: #133E5C;
  --teal-light: #E3EFF6;
  --teal-mid: #1A5878;
  --navy: #1A2332;
  --navy-light: #243044;
  --orange: #F97316;
  --orange-light: #FFF7ED;
  --white: #FFFFFF;
  --off-white: #F3F6F8;
  --border: #E5E7EB;
  --text: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --success: #059669;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--text);
  line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.06); }
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-secondary); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal); color: var(--white); padding: 10px 22px;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-dark); color: var(--white); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--text); }

/* ===== PAGE HERO (internal pages) ===== */
.page-hero {
  background: var(--navy); padding: 120px 0 56px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30,99,141,0.1) 0%, transparent 70%); pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px); font-weight: 700; color: var(--white);
  line-height: 1.15; letter-spacing: -1px; margin-bottom: 16px; position: relative;
}
.page-hero p {
  font-size: 18px; color: rgba(255,255,255,0.7); max-width: 580px;
  margin: 0 auto; line-height: 1.6; position: relative;
}

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--off-white); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-label {
  font-size: 13px; font-weight: 600; color: var(--teal); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; line-height: 1.15;
  letter-spacing: -0.5px; margin-bottom: 16px;
}
.section-desc { font-size: 17px; color: var(--text-secondary); line-height: 1.6; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--orange); color: var(--white);
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,0.3); color: var(--white); }
.btn-secondary {
  background: transparent; color: var(--white);
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 16px; border: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.2s, background 0.2s; cursor: pointer;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--teal); padding: 14px 28px;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 16px;
  border: 1px solid var(--teal); cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ===== CARDS ===== */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--navy); border-radius: var(--radius); padding: 56px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(30,99,141,0.15) 0%, transparent 70%);
}
.cta-banner h2 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--white);
  margin-bottom: 12px; position: relative;
}
.cta-banner p { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 32px; position: relative; }
.cta-banner .btn-primary { font-size: 17px; padding: 16px 36px; position: relative; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 64px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-logo { margin-bottom: 6px; }
.footer-logo img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; letter-spacing: 0.3px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer h4 { color: var(--white); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }

/* ===== TRUST BAR ===== */
.trust-bar { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 24px 0; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); }
.trust-item svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 2; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--white);
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .page-hero { padding: 100px 0 48px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
