/* ================================================================
   HRMS Platform — Public Website CSS
   Clean, professional, SEO-friendly design
   ================================================================ */

:root {
  --accent:     #2563eb;
  --accent-dark:#1d4ed8;
  --dark:       #0f172a;
  --dark2:      #1e293b;
  --text:       #334155;
  --muted:      #64748b;
  --border:     #e2e8f0;
  --bg:         #f8fafc;
  --white:      #ffffff;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(15,23,42,.08);
  --shadow-lg:  0 12px 48px rgba(15,23,42,.14);
  --font:       'Inter','Segoe UI',system-ui,-apple-system,sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .8; }

/* ── Layout ──────────────────────────────────────────────────── */
.web-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.web-section   { padding: 96px 0; }
.web-section-sm{ padding: 64px 0; }

/* ── Typography ─────────────────────────────────────────────── */
.web-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.web-h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: var(--dark); line-height: 1.15; letter-spacing: -.02em; }
.web-h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--dark); line-height: 1.2; letter-spacing: -.015em; }
.web-h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark); }
.web-lead { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); line-height: 1.7; }
.web-center { text-align: center; }
.web-section-header { max-width: 640px; margin: 0 auto 64px; text-align: center; }

/* ── Buttons ─────────────────────────────────────────────────── */
.web-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; cursor: pointer; transition: all .18s ease; border: 2px solid transparent; text-decoration: none; white-space: nowrap; }
.web-btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.web-btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; opacity:1; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,99,235,.3); }
.web-btn-outline { background: transparent; color: var(--dark); border-color: var(--border); }
.web-btn-outline:hover { border-color: var(--accent); color: var(--accent); opacity:1; background: #f0f6ff; }
.web-btn-white { background: #fff; color: var(--dark); border-color: #fff; }
.web-btn-white:hover { background: #f8fafc; color:var(--dark); opacity:1; }
.web-btn-lg { padding: 16px 36px; font-size: 16px; }
.web-btn-sm { padding: 9px 20px; font-size: 14px; }

/* ── Navigation ─────────────────────────────────────────────── */
.web-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: all .3s ease; }
.web-nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 16px rgba(15,23,42,.06); }
.web-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.web-nav-brand { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; color: var(--dark); }
.web-nav-logo-text { color: var(--dark); }
.web-nav-links { display: flex; align-items: center; gap: 4px; }
.web-nav-link { font-size: 15px; font-weight: 500; color: var(--text); padding: 8px 14px; border-radius: 6px; transition: .15s; }
.web-nav-link:hover,.web-nav-link.active { color: var(--accent); background: #f0f6ff; opacity:1; }
.web-nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.web-nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: .3s; }

/* ── Hero ────────────────────────────────────────────────────── */
.web-hero { padding: 160px 0 96px; background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 60%); position: relative; overflow: hidden; }
.web-hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 70%); pointer-events: none; }
.web-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.web-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #eff6ff; color: var(--accent); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 100px; border: 1px solid #bfdbfe; margin-bottom: 24px; }
.web-hero-badge::before { content: '●'; font-size: 8px; }
.web-hero-title { margin-bottom: 20px; }
.web-hero-desc  { margin-bottom: 36px; }
.web-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.web-hero-stats { display: flex; gap: 32px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.web-hero-stat-num  { font-size: 2rem; font-weight: 800; color: var(--dark); line-height: 1; }
.web-hero-stat-label{ font-size: 13px; color: var(--muted); margin-top: 4px; }
.web-hero-visual { position: relative; }
.web-hero-img { border-radius: 16px; box-shadow: var(--shadow-lg); width: 100%; }
.web-hero-float-card { position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.web-hero-float-card i { font-size: 1.5rem; }
.web-hero-float-card-title { font-size: 13px; font-weight: 700; color: var(--dark); }
.web-hero-float-card-sub   { font-size: 12px; color: var(--muted); }
.web-hero-float-card.card1 { bottom: 32px; left: -24px; }
.web-hero-float-card.card2 { top: 48px; right: -24px; }

/* ── Section: Logos / Trust bar ─────────────────────────────── */
.web-trust-bar { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.web-trust-label { font-size: 13px; color: var(--muted); font-weight: 500; text-align: center; margin-bottom: 24px; }
.web-trust-logos { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; opacity: .5; filter: grayscale(1); }
.web-trust-logos span { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--dark2); }

/* ── Features grid ───────────────────────────────────────────── */
.web-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.web-feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all .2s ease; }
.web-feature-card:hover { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,.06), var(--shadow); transform: translateY(-2px); }
.web-feature-icon { width: 48px; height: 48px; border-radius: 10px; background: #eff6ff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 22px; color: var(--accent); }
.web-feature-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.web-feature-desc  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Pricing ─────────────────────────────────────────────────── */
.web-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.web-plan-card { background: var(--white); border: 2px solid var(--border); border-radius: 16px; padding: 36px 32px; transition: .2s; }
.web-plan-card.popular { border-color: var(--accent); position: relative; box-shadow: 0 0 0 4px rgba(37,99,235,.1), var(--shadow-lg); }
.web-plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 100px; white-space: nowrap; }
.web-plan-name    { font-size: 18px; font-weight: 700; color: var(--dark); }
.web-plan-tagline { font-size: 13px; color: var(--muted); margin-top: 4px; }
.web-plan-price   { margin: 24px 0; }
.web-plan-amount  { font-size: 2.8rem; font-weight: 800; color: var(--dark); line-height: 1; }
.web-plan-currency{ font-size: 1.4rem; vertical-align: top; margin-top: 6px; display: inline-block; }
.web-plan-unit    { font-size: 14px; color: var(--muted); }
.web-plan-contact { font-size: 2rem; font-weight: 800; color: var(--dark); }
.web-plan-features{ list-style: none; margin-bottom: 32px; }
.web-plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); padding: 8px 0; border-bottom: 1px solid var(--bg); }
.web-plan-features li i { color: var(--accent); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.web-plan-cta { display: block; width: 100%; text-align: center; }

/* ── Testimonials ────────────────────────────────────────────── */
.web-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.web-testi-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.web-testi-stars { margin-bottom: 12px; }
.web-testi-text  { font-size: 15px; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.web-testi-author{ display: flex; align-items: center; gap: 12px; }
.web-testi-avatar{ width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: var(--accent); }
.web-testi-name  { font-size: 14px; font-weight: 700; color: var(--dark); }
.web-testi-title { font-size: 12px; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.web-faq-list   { max-width: 720px; margin: 0 auto; }
.web-faq-item   { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.web-faq-q      { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--dark); background: var(--white); gap: 16px; }
.web-faq-q i    { flex-shrink: 0; transition: transform .3s; color: var(--muted); }
.web-faq-item.open .web-faq-q i { transform: rotate(180deg); }
.web-faq-a      { display: none; padding: 0 24px 20px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.web-faq-item.open .web-faq-a { display: block; }

/* ── CTA Banner ─────────────────────────────────────────────── */
.web-cta-banner { background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%); color: #fff; padding: 80px 0; text-align: center; }
.web-cta-banner .web-h2 { color: #fff; }
.web-cta-banner .web-lead { color: rgba(255,255,255,.8); }
.web-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ── Blog ────────────────────────────────────────────────────── */
.web-blog-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.web-blog-card   { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .2s; }
.web-blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.web-blog-thumb  { aspect-ratio: 16/9; overflow: hidden; background: var(--bg); }
.web-blog-thumb img { width:100%; height:100%; object-fit:cover; }
.web-blog-body   { padding: 24px; }
.web-blog-cat    { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing:.08em; color: var(--accent); margin-bottom: 8px; }
.web-blog-title  { font-size: 17px; font-weight: 700; color: var(--dark); line-height: 1.4; margin-bottom: 10px; }
.web-blog-title a{ color: var(--dark); }
.web-blog-title a:hover{ color: var(--accent); opacity:1; }
.web-blog-excerpt{ font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.web-blog-meta   { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.web-blog-meta img{ width:28px;height:28px;border-radius:50%;object-fit:cover; }
.web-blog-single { max-width: 800px; margin: 0 auto; padding: 48px 0; }
.web-blog-content { font-size: 17px; line-height: 1.85; color: var(--text); }
.web-blog-content h2,.web-blog-content h3 { color: var(--dark); font-weight: 700; margin: 32px 0 16px; }
.web-blog-content p { margin-bottom: 20px; }
.web-blog-content ul,.web-blog-content ol { margin: 16px 0 20px 24px; }
.web-blog-content li { margin-bottom: 8px; }
.web-blog-content code { background: var(--bg); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.web-blog-content blockquote { border-left: 4px solid var(--accent); padding: 16px 20px; background: #f0f6ff; border-radius: 0 8px 8px 0; font-style: italic; margin: 24px 0; }

/* ── Footer ──────────────────────────────────────────────────── */
.web-footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 80px 0 0; }
.web-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.web-footer-logo { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.web-footer-tagline { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.web-footer-socials { display: flex; gap: 12px; }
.web-footer-socials a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 17px; color: rgba(255,255,255,.75); transition: .15s; }
.web-footer-socials a:hover { background: var(--accent); color: #fff; opacity:1; }
.web-footer-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 16px; }
.web-footer-links { list-style: none; }
.web-footer-links li { margin-bottom: 10px; }
.web-footer-links a { font-size: 14px; color: rgba(255,255,255,.6); transition: .15s; }
.web-footer-links a:hover { color: #fff; opacity:1; }
.web-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: rgba(255,255,255,.4); }
.web-footer-bottom a { color: rgba(255,255,255,.6); }
.web-footer-bottom a:hover { color: #fff; opacity:1; }

/* ── Page header ─────────────────────────────────────────────── */
.web-page-header { background: linear-gradient(160deg,#f0f6ff 0%,#fff 100%); padding: 120px 0 72px; border-bottom: 1px solid var(--border); }

/* ── Contact ─────────────────────────────────────────────────── */
.web-contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.web-contact-info-item { display: flex; gap: 16px; margin-bottom: 32px; }
.web-contact-info-icon { width: 48px; height: 48px; border-radius: 10px; background: #eff6ff; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--accent); flex-shrink: 0; }
.web-form { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 40px; }
.web-form-group { margin-bottom: 20px; }
.web-form-label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.web-form-control { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 15px; font-family: var(--font); color: var(--text); background: var(--white); transition: .15s; outline: none; }
.web-form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
textarea.web-form-control { resize: vertical; min-height: 120px; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.web-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.web-breadcrumb a { color: var(--muted); }
.web-breadcrumb a:hover { color: var(--accent); opacity:1; }

/* ── Utility ─────────────────────────────────────────────────── */
.web-tag { display: inline-block; background: #eff6ff; color: var(--accent); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px; }
.web-badge-new { background: #dcfce7; color: #15803d; }
.web-divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .web-hero-inner          { grid-template-columns: 1fr; text-align: center; }
  .web-hero-visual         { display: none; }
  .web-hero-actions        { justify-content: center; }
  .web-hero-stats          { justify-content: center; }
  .web-features-grid       { grid-template-columns: repeat(2, 1fr); }
  .web-pricing-grid        { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .web-testimonials-grid   { grid-template-columns: 1fr; }
  .web-blog-grid           { grid-template-columns: repeat(2, 1fr); }
  .web-footer-grid         { grid-template-columns: 1fr 1fr; }
  .web-contact-grid        { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .web-section             { padding: 64px 0; }
  .web-hero                { padding: 120px 0 64px; }
  .web-features-grid       { grid-template-columns: 1fr; }
  .web-blog-grid           { grid-template-columns: 1fr; }
  .web-footer-grid         { grid-template-columns: 1fr; }
  .web-footer-bottom       { flex-direction: column; text-align: center; }
  .web-nav-links           { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; padding: 16px 24px 24px; flex-direction: column; align-items: flex-start; gap: 4px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .web-nav-links.open      { display: flex; }
  .web-nav-toggle          { display: flex; }
  .web-hero-stats          { flex-wrap: wrap; gap: 20px; }
  .web-hero-float-card     { display: none; }
}
@media (max-width: 480px) {
  .web-container           { padding: 0 16px; }
  .web-cta-actions         { flex-direction: column; align-items: center; }
}
