/* ── Certs4All — style.css ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c4-navy:    #0b1628;
  --c4-navy2:   #0f1e35;
  --c4-navy3:   #162540;
  --c4-emerald: #059669;
  --c4-emerald-l: #10b981;
  --c4-teal:    #0d9488;
  --c4-amber:   #f59e0b;
  --c4-ink:     #0f172a;
  --c4-text:    #334155;
  --c4-muted:   #64748b;
  --c4-border:  #e2e8f0;
  --c4-surface: #ffffff;
  --c4-alt:     #f8fafc;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 4px rgba(15,23,42,.08);
  --shadow-md: 0 4px 20px rgba(15,23,42,.12);
  --shadow-lg: 0 16px 48px rgba(15,23,42,.18);
}

html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif; color: var(--c4-ink); background: #fff; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ── Container ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; line-height: 1; cursor: pointer; border: none; transition: all .18s ease; white-space: nowrap; text-decoration: none; }
.btn-primary { background: var(--c4-emerald); color: #fff; padding: 11px 22px; }
.btn-primary:hover { background: var(--c4-emerald-l); transform: translateY(-1px); }
.btn-emerald { background: linear-gradient(135deg, #059669, #0d9488); color: #fff; padding: 11px 22px; box-shadow: 0 4px 14px rgba(5,150,105,.3); }
.btn-emerald:hover { background: linear-gradient(135deg, #047857, #0f766e); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(5,150,105,.4); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); padding: 9px 20px; }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.6); }
.btn-ghost-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); padding: 14px 28px; font-size: 15px; border-radius: var(--radius-md); }
.btn-ghost-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg  { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-md); }
.btn-xl  { padding: 16px 34px; font-size: 16px; border-radius: var(--radius-md); font-weight: 800; }
.btn-ghost.btn-lg { padding: 12px 26px; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--c4-navy); border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--c4-emerald), var(--c4-teal)); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .02em; flex-shrink: 0; }
.logo-text { font-size: 18px; font-weight: 700; color: #e2e8f0; letter-spacing: -.03em; }
.logo-text strong { color: var(--c4-emerald-l); }
.footer-logo-text { color: #94a3b8; }
.footer-logo-text strong { color: var(--c4-emerald-l); }
.desktop-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.desktop-nav a { color: #94a3b8; font-size: 14.5px; font-weight: 500; padding: 7px 12px; border-radius: var(--radius-sm); transition: all .15s ease; }
.desktop-nav a:hover { color: #e2e8f0; background: rgba(255,255,255,.07); }
.nav-cta { margin-left: auto; flex-shrink: 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 22px; height: 2px; background: #e2e8f0; border-radius: 2px; transition: all .22s ease; }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 14px 16px 18px; border-top: 1px solid rgba(255,255,255,.06); background: var(--c4-navy2); }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { color: #94a3b8; font-size: 15px; font-weight: 500; padding: 11px 14px; border-radius: var(--radius-sm); transition: background .15s ease; }
.mobile-nav a:hover { background: rgba(255,255,255,.07); color: #e2e8f0; }
.mobile-cta { margin-top: 8px; text-align: center; }
.mobile-cta:hover { color: #fff !important; }

/* ── Hero ── */
.hero { background: var(--c4-navy); position: relative; padding: 100px 0 80px; overflow: hidden; color: #fff; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(5,150,105,.18) 0%, transparent 65%), radial-gradient(ellipse 50% 50% at 90% 80%, rgba(13,148,136,.12) 0%, transparent 60%); pointer-events: none; }
.hero-inner { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-tag-row { margin-bottom: 22px; }
.hero-tag { display: inline-flex; align-items: center; gap: 7px; background: rgba(5,150,105,.18); border: 1px solid rgba(16,185,129,.35); border-radius: 999px; padding: 6px 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6ee7b7; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 900; line-height: 1.1; letter-spacing: -.04em; margin-bottom: 22px; color: #f1f5f9; }
.hero-accent { color: var(--c4-emerald-l); }
.hero-sub { font-size: 17px; color: #94a3b8; line-height: 1.65; margin-bottom: 36px; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-lg); padding: 20px 32px; flex-wrap: wrap; }
.hs-item { display: flex; flex-direction: column; align-items: center; padding: 4px 28px; }
.hs-num  { font-size: 22px; font-weight: 900; color: var(--c4-emerald-l); letter-spacing: -.03em; line-height: 1; }
.hs-label{ font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; }
.hs-sep  { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* ── Feature ribbon ── */
.feature-ribbon { background: linear-gradient(135deg, #059669, #0d9488); padding: 22px 0; }
.ribbon-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.ribbon-item { display: flex; align-items: center; gap: 9px; padding: 8px 28px; }
.ri-icon { font-size: 20px; }
.ri-text { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.ribbon-sep { width: 1px; height: 28px; background: rgba(255,255,255,.3); }

/* ── Vendor rail ── */
.vendor-rail-section { padding: 36px 0; background: var(--c4-alt); border-top: 1px solid var(--c4-border); border-bottom: 1px solid var(--c4-border); overflow: hidden; }
.rail-label { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c4-muted); margin-bottom: 18px; }
.rail-track-wrap { overflow: hidden; }
.rail-track { display: flex; gap: 12px; width: max-content; animation: rail-scroll 26s linear infinite; }
.rail-track:hover { animation-play-state: paused; }
@keyframes rail-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.rail-chip { display: inline-flex; align-items: center; padding: 8px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--c4-border); font-size: 13.5px; font-weight: 700; color: var(--c4-text); white-space: nowrap; transition: all .2s ease; cursor: default; box-shadow: var(--shadow-sm); }
.rail-chip:hover { border-color: var(--c4-emerald); color: var(--c4-emerald); }

/* ── Section shared ── */
.section-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c4-emerald); margin-bottom: 10px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: var(--c4-ink); letter-spacing: -.03em; line-height: 1.2; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--c4-muted); max-width: 560px; }

/* ── For section ── */
.for-section { padding: 90px 0; background: var(--c4-navy); color: #fff; }
.for-section .section-label { color: var(--c4-emerald-l); }
.for-section .section-title { color: #f1f5f9; }
.for-section .section-sub { color: #64748b; }
.for-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.for-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-md); padding: 28px; position: relative; transition: all .2s ease; }
.for-card:hover { background: rgba(255,255,255,.08); border-color: rgba(16,185,129,.35); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.fc-num { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 900; color: rgba(255,255,255,.2); letter-spacing: .06em; }
.fc-icon { font-size: 28px; margin-bottom: 14px; }
.for-card h3 { font-size: 15.5px; font-weight: 800; color: #e2e8f0; margin-bottom: 10px; }
.for-card p { font-size: 13.5px; color: #64748b; line-height: 1.65; margin-bottom: 18px; }
.fc-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.fc-list li { font-size: 13px; color: #94a3b8; display: flex; align-items: center; gap: 8px; }
.fc-list li::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--c4-emerald-l); flex-shrink: 0; }

/* ── Categories ── */
.categories { padding: 90px 0; background: var(--c4-alt); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.cat-card { background: #fff; border: 1.5px solid var(--c4-border); border-radius: var(--radius-md); padding: 24px 20px; text-align: center; cursor: default; transition: all .2s ease; position: relative; overflow: hidden; }
.cat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--cc-accent) 0%, transparent 60%); opacity: 0; transition: opacity .2s ease; border-radius: inherit; }
.cat-card:hover::before { opacity: .06; }
.cat-card:hover { border-color: var(--cc-accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cc-icon { font-size: 32px; margin-bottom: 12px; }
.cat-card h3 { font-size: 14.5px; font-weight: 800; color: var(--c4-ink); margin-bottom: 6px; }
.cat-card p  { font-size: 12.5px; color: var(--c4-muted); line-height: 1.5; }

/* ── Vendor grid ── */
.vendor-section { padding: 90px 0; background: #fff; }
.vendor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.vendor-card { border: 1px solid var(--c4-border); border-radius: var(--radius-md); padding: 18px; display: flex; align-items: flex-start; gap: 14px; transition: all .2s ease; }
.vendor-card:hover { border-color: var(--c4-emerald); box-shadow: var(--shadow-md); }
.vc-badge { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: 900; flex-shrink: 0; }
.vc-body { flex: 1; min-width: 0; }
.vc-name  { font-size: 14px; font-weight: 800; color: var(--c4-ink); margin-bottom: 3px; }
.vc-exams { font-size: 12px; color: var(--c4-muted); margin-bottom: 8px; line-height: 1.4; }
.vc-tag   { display: inline-block; background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }

/* ── Reviews ── */
.reviews { padding: 90px 0; background: var(--c4-navy); color: #fff; }
.reviews .section-label { color: var(--c4-emerald-l); }
.reviews .section-title { color: #f1f5f9; }
.review-note { font-size: 13px; color: #475569; margin-top: 6px; font-style: italic; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.review-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-md); padding: 28px; }
.rq-mark { font-size: 36px; color: var(--c4-emerald-l); opacity: .6; line-height: 1; margin-bottom: 14px; }
.review-text { font-size: 14.5px; color: #94a3b8; line-height: 1.72; margin-bottom: 22px; }
.review-footer { display: flex; align-items: center; gap: 12px; }
.review-dot { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 800; flex-shrink: 0; }
.review-handle { font-size: 13px; font-weight: 700; color: #e2e8f0; }
.review-track  { font-size: 12px; color: #475569; }
.review-stars  { margin-left: auto; color: #f59e0b; font-size: 14px; letter-spacing: 1px; flex-shrink: 0; }

/* ── CTA ── */
.cta-section { background: linear-gradient(135deg, #065f46 0%, #0d9488 50%, #059669 100%); padding: 88px 0; text-align: center; color: #fff; }
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-decor { font-size: 44px; margin-bottom: 20px; }
.cta-section h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -.04em; margin-bottom: 16px; }
.cta-section p  { font-size: 16px; color: #a7f3d0; margin-bottom: 36px; line-height: 1.6; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.site-footer { background: #060e1d; color: #64748b; padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; padding-bottom: 52px; }
.footer-desc { font-size: 13.5px; color: #475569; margin-top: 16px; line-height: 1.65; max-width: 320px; }
.footer-disclaimer { font-size: 11.5px; color: #334155; margin-top: 12px; line-height: 1.5; max-width: 320px; }
.footer-nav-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #475569; margin-bottom: 16px; }
.footer-col a  { display: block; font-size: 14px; color: #475569; margin-bottom: 10px; transition: color .15s ease; }
.footer-col a:hover { color: var(--c4-emerald-l); }
.footer-bottom { border-top: 1px solid #0d1a2e; padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #334155; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .for-grid { grid-template-columns: repeat(2,1fr); }
  .cat-grid { grid-template-columns: repeat(3,1fr); }
  .vendor-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  .desktop-nav, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 70px 0 50px; }
  .hero-stats { padding: 16px 20px; }
  .hs-sep { display: none; }
  .hs-item { padding: 8px 16px; }
  .for-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .vendor-grid { grid-template-columns: repeat(2,1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav-cols { grid-template-columns: repeat(2,1fr); }
  .ribbon-inner { gap: 0; }
  .ribbon-sep { display: none; }
  .ribbon-item { padding: 6px 16px; }
  .for-section, .categories, .vendor-section, .reviews { padding: 60px 0; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .vendor-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
