/* ════════════════════════════════════════════
   GravityHR Marketing — Design System
   ════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
    --clr-primary:        #4f46e5;
    --clr-primary-dark:   #3730a3;
    --clr-primary-light:  #818cf8;
    --clr-accent:         #06b6d4;
    --clr-success:        #10b981;
    --clr-warning:        #f59e0b;
    --clr-danger:         #ef4444;
    --clr-dark:           #0f172a;
    --clr-mid:            #1e293b;
    --clr-body:           #334155;
    --clr-muted:          #64748b;
    --clr-border:         #e2e8f0;
    --clr-bg-light:       #f8fafc;

    --font-main:    'Inter', system-ui, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius:    16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-card: 0 4px 24px rgba(15,23,42,.08);
    --shadow-pop:  0 12px 48px rgba(79,70,229,.2);
    --shadow-lg:   0 20px 60px rgba(15,23,42,.14);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
    font-family: var(--font-main);
    color: var(--clr-body);
    background: #fff;
    line-height: 1.65;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    color: var(--clr-dark);
    line-height: 1.2;
}

img { max-width: 100%; }

a { text-decoration: none; }

.section-pad { padding: 96px 0; }

.bg-light-grey { background: var(--clr-bg-light); }

.my-6 { margin-top: 4rem !important; margin-bottom: 4rem !important; }

.letter-spacing-2 { letter-spacing: .12em; }

/* ── Navbar ── */
#mainNav {
    padding: 18px 0;
    transition: background .3s, box-shadow .3s, padding .3s;
    z-index: 1050;
}

#mainNav.nav-transparent {
    background: transparent;
}

#mainNav.nav-scrolled {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--clr-border);
    padding: 12px 0;
}

#mainNav.nav-scrolled .nav-link,
#mainNav.nav-scrolled .brand-name {
    color: var(--clr-dark) !important;
}

#mainNav.nav-scrolled .btn-outline-primary {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.nav-transparent .nav-link,
.nav-transparent .brand-name {
    color: rgba(255,255,255,.85);
}

.nav-transparent .btn-outline-primary {
    border-color: rgba(255,255,255,.6);
    color: #fff;
}

.nav-transparent .btn-outline-primary:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
}

.nav-link {
    font-size: .9rem;
    font-weight: 500;
    padding: 6px 14px !important;
    border-radius: var(--radius-sm);
    transition: background .2s, color .2s;
}

.nav-link:hover { background: rgba(79,70,229,.08); color: var(--clr-primary) !important; }

/* Brand */
.brand-icon { font-size: 1.4rem; color: var(--clr-primary); line-height: 1; }
.brand-icon-sm { font-size: 1.1rem; }
.brand-name { font-family: var(--font-heading); font-size: 1.25rem; color: var(--clr-dark); }
.brand-name-light { color: #fff; }
.brand-name strong { color: var(--clr-primary); }
.nav-transparent .brand-name { color: #fff; }

/* ── Buttons ── */
.btn-primary {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all .2s;
}
.btn-primary:hover {
    background: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
    transform: translateY(-1px);
}

.shadow-glow { box-shadow: 0 0 0 0 rgba(79,70,229,.4); }
.shadow-glow:hover { box-shadow: 0 8px 32px rgba(79,70,229,.35); }

.btn-outline-primary {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.btn-outline-primary:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    transform: translateY(-1px);
}

.btn-white {
    background: #fff;
    color: var(--clr-primary);
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    transition: all .2s;
}
.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

/* ── Section Labels ── */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--clr-primary);
    background: rgba(79,70,229,.09);
    border-radius: 99px;
    padding: 5px 14px;
}

.section-badge-light {
    color: #a5b4fc;
    background: rgba(165,180,252,.12);
}

.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; }

.section-sub {
    font-size: 1.05rem;
    color: var(--clr-muted);
    max-width: 540px;
    line-height: 1.7;
}

/* ── HERO ── */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-mid) 55%, #1a2744 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .18;
}
.shape-1 {
    width: 600px; height: 600px;
    background: var(--clr-primary);
    top: -200px; right: -100px;
}
.shape-2 {
    width: 400px; height: 400px;
    background: var(--clr-accent);
    bottom: -100px; left: 10%;
}
.shape-3 {
    width: 300px; height: 300px;
    background: #a855f7;
    top: 40%; right: 20%;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: #c7d2fe;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 99px;
    padding: 6px 16px;
    backdrop-filter: blur(6px);
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
}

.gradient-text {
    background: linear-gradient(90deg, #818cf8, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.7);
    max-width: 520px;
    line-height: 1.75;
}

.hero-trust { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.trust-label { font-size: .8rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; }
.trust-stat { display: flex; flex-direction: column; }
.trust-num { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.trust-stat span:last-child { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.trust-divider { width: 1px; background: rgba(255,255,255,.15); align-self: stretch; }

/* Dashboard Mockup */
.hero-dashboard-mockup { position: relative; }

.mockup-window {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,.12);
}

.mockup-titlebar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1e293b;
    padding: 10px 16px;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red    { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green  { background: #10b981; }

.mockup-url {
    margin-left: 8px;
    font-size: .72rem;
    color: #64748b;
    font-family: monospace;
}

.mockup-body img { display: block; width: 100%; }

/* Floating cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: 12px 18px;
    box-shadow: var(--shadow-pop);
    animation: float 4s ease-in-out infinite;
}

.card-payroll  { bottom: -20px; left: -20px; }
.card-attendance { top: 30px; right: -24px; }

.card-attendance { animation-delay: -2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.fc-icon {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.fc-label { font-size: .72rem; color: var(--clr-muted); font-weight: 500; }
.fc-value  { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--clr-dark); }
.fc-sub    { font-size: .8rem; color: var(--clr-muted); font-weight: 400; }

.bg-success-soft { background: rgba(16,185,129,.12); color: #059669; }
.bg-primary-soft { background: rgba(79,70,229,.12);  color: var(--clr-primary); }
.bg-blue-soft    { background: rgba(59,130,246,.1);  color: #2563eb; }
.bg-green-soft   { background: rgba(16,185,129,.1);  color: #059669; }
.bg-orange-soft  { background: rgba(245,158,11,.1);  color: #d97706; }
.bg-purple-soft  { background: rgba(168,85,247,.1);  color: #9333ea; }
.bg-teal-soft    { background: rgba(20,184,166,.1);  color: #0d9488; }

/* ── Logos Strip ── */
.logos-section { background: var(--clr-bg-light); border-top: 1px solid var(--clr-border); border-bottom: 1px solid var(--clr-border); }

.logos-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.logo-pill {
    font-size: .8rem;
    font-weight: 600;
    color: var(--clr-muted);
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: 99px;
    padding: 8px 18px;
}

/* ── Feature Cards ── */
.feature-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--clr-primary-light);
}

.feature-card-accent {
    background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 100%);
    border-color: #c7d2fe;
}

.feature-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.feature-card h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: .9rem; color: var(--clr-muted); margin-bottom: 18px; flex-grow: 1; }

.feature-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--clr-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s;
}
.feature-link:hover { gap: 8px; }

/* ── Stats ── */
.stats-section {
    background: linear-gradient(135deg, var(--clr-dark), var(--clr-mid));
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 20px 48px;
    flex: 1;
    min-width: 160px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.stat-unit { font-size: 1.5rem; font-weight: 700; color: var(--clr-primary-light); }

.stat-item p { color: rgba(255,255,255,.55); font-size: .85rem; margin: 6px 0 0; }

.stat-divider { width: 1px; height: 64px; background: rgba(255,255,255,.1); align-self: center; }

/* ── Module Cards ── */
.module-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 22px;
    transition: transform .2s, box-shadow .2s;
}

.module-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.module-icon-wrap {
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 14px;
}

/* Module colour variants */
.color-blue    { background: rgba(59,130,246,.1);  color: #2563eb; }
.color-indigo  { background: rgba(99,102,241,.1);  color: #4f46e5; }
.color-teal    { background: rgba(20,184,166,.1);  color: #0d9488; }
.color-green   { background: rgba(16,185,129,.1);  color: #059669; }
.color-emerald { background: rgba(5,150,105,.1);   color: #047857; }
.color-orange  { background: rgba(249,115,22,.1);  color: #ea580c; }
.color-amber   { background: rgba(245,158,11,.1);  color: #d97706; }
.color-pink    { background: rgba(236,72,153,.1);  color: #db2777; }
.color-rose    { background: rgba(244,63,94,.1);   color: #e11d48; }
.color-purple  { background: rgba(168,85,247,.1);  color: #9333ea; }
.color-slate   { background: rgba(100,116,139,.1); color: #475569; }
.color-cyan    { background: rgba(6,182,212,.1);   color: #0891b2; }

.module-name { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.module-desc { font-size: .82rem; color: var(--clr-muted); line-height: 1.55; margin: 0; }

/* ── Payroll Section ── */
.payroll-section {
    background: linear-gradient(180deg, var(--clr-bg-light) 0%, #fff 100%);
}

.payroll-features { display: flex; flex-direction: column; gap: 18px; }

.pf-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pf-check {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(79,70,229,.1);
    color: var(--clr-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.pf-item strong { font-size: .95rem; font-weight: 700; color: var(--clr-dark); display: block; margin-bottom: 2px; }
.pf-item p { font-size: .85rem; color: var(--clr-muted); margin: 0; line-height: 1.6; }

/* Payslip Mock */
.payroll-visual { position: relative; }

.payslip-mock {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    font-size: .85rem;
}

.ps-header {
    background: var(--clr-dark);
    color: #fff;
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ps-company { font-weight: 700; font-size: .95rem; }
.ps-period  { font-size: .75rem; color: rgba(255,255,255,.55); margin-top: 2px; }
.ps-logo    { font-size: .85rem; color: #a5b4fc; font-weight: 600; }

.ps-employee {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--clr-border);
    background: var(--clr-bg-light);
}
.ps-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.ps-name   { font-weight: 700; font-size: .95rem; color: var(--clr-dark); }
.ps-title  { font-size: .78rem; color: var(--clr-muted); }

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.ps-col {
    padding: 16px 22px;
}
.ps-col:first-child { border-right: 1px solid var(--clr-border); }

.ps-col-title { font-weight: 700; font-size: .78rem; color: var(--clr-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }

.ps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: .82rem;
}
.ps-row span:last-child { font-weight: 600; color: var(--clr-dark); }
.ps-total { border-top: 2px solid var(--clr-border) !important; border-bottom: none !important; margin-top: 6px; padding-top: 8px; font-weight: 700 !important; }
.ps-total span { font-weight: 700 !important; color: var(--clr-dark) !important; }

.ps-net {
    background: var(--clr-primary);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    font-weight: 700;
}
.ps-net-amount { font-size: 1.35rem; font-family: var(--font-heading); }

.payroll-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--clr-success);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 99px;
    box-shadow: 0 4px 16px rgba(16,185,129,.35);
}

/* ── Mini Feature Cards ── */
.mini-feature-card {
    background: var(--clr-bg-light);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 16px;
    height: 100%;
    transition: border-color .2s;
}
.mini-feature-card:hover { border-color: var(--clr-primary-light); }
.mini-feature-card i   { font-size: 1.4rem; margin-bottom: 8px; display: block; }
.mini-feature-card strong { font-size: .9rem; font-weight: 700; display: block; margin-bottom: 4px; color: var(--clr-dark); }
.mini-feature-card p   { font-size: .8rem; color: var(--clr-muted); margin: 0; line-height: 1.5; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.check-list li i { color: var(--clr-success); margin-top: 2px; flex-shrink: 0; }

/* ── Compliance Section ── */
.compliance-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
}

.compliance-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,.2), transparent 70%);
    top: -200px; right: -100px;
    pointer-events: none;
}

.text-secondary-light { color: rgba(255,255,255,.6) !important; }

.compliance-badges { }
.comp-badge {
    display: inline-flex;
    align-items: center;
    font-size: .8rem;
    font-weight: 600;
    color: #c7d2fe;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 8px 14px;
}

.compliance-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 22px;
    transition: background .2s, transform .2s;
}
.compliance-card:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.comp-card-icon { font-size: 1.5rem; color: #818cf8; display: block; margin-bottom: 12px; }
.compliance-card h6 { color: #fff; font-weight: 700; margin-bottom: 8px; }
.compliance-card p  { color: rgba(255,255,255,.55); font-size: .83rem; line-height: 1.6; margin: 0; }

/* ── How It Works Timeline ── */
.timeline-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
    z-index: 0;
}

.ts-item {
    position: relative;
    padding: 0 20px;
    z-index: 1;
}

.ts-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(79,70,229,.35);
}

.ts-content h5 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.ts-content p  { font-size: .85rem; color: var(--clr-muted); line-height: 1.6; }

/* ── Performance Review Weights ── */
.review-weights { display: flex; flex-direction: column; gap: 14px; }
.rw-item { display: flex; align-items: center; gap: 12px; }
.rw-bar-wrap { flex: 1; height: 8px; background: var(--clr-border); border-radius: 99px; overflow: hidden; }
.rw-bar         { height: 100%; background: var(--clr-primary); border-radius: 99px; }
.rw-bar-secondary { background: var(--clr-accent); }
.rw-bar-tertiary  { background: var(--clr-success); }
.rw-bar-light     { background: #94a3b8; }
.rw-label { font-size: .85rem; color: var(--clr-muted); white-space: nowrap; min-width: 150px; }

/* ── Engagement Cards ── */
.engagement-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    transition: transform .2s, box-shadow .2s;
}
.engagement-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.engage-icon { font-size: 2rem; color: var(--clr-primary); display: block; margin-bottom: 14px; }
.engagement-card h6 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.engagement-card p  { font-size: .85rem; color: var(--clr-muted); margin: 0; }

/* ── Technology Grid ── */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    background: var(--clr-bg-light);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    min-width: 120px;
    transition: border-color .2s, transform .2s;
}
.tech-item:hover { border-color: var(--clr-primary-light); transform: translateY(-2px); }
.tech-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(79,70,229,.08);
    color: var(--clr-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 800;
}
.tech-item span { font-size: .82rem; font-weight: 600; color: var(--clr-body); text-align: center; }
.tech-letter { font-style: normal; font-family: var(--font-heading); }

/* ── Pricing ── */
.pricing-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.pricing-card-featured {
    background: linear-gradient(150deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-pop);
    position: relative;
}

.pricing-popular {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--clr-accent);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 99px;
    padding: 5px 16px;
    white-space: nowrap;
}

.pricing-tier {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--clr-muted);
    margin-bottom: 12px;
}
.pricing-card-featured .pricing-tier { color: rgba(255,255,255,.7); }

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
}
.price-currency { font-size: 1rem; font-weight: 700; color: var(--clr-dark); align-self: flex-start; padding-top: 8px; }
.pricing-card-featured .price-currency { color: rgba(255,255,255,.8); }
.price-amount { font-family: var(--font-heading); font-size: 3rem; font-weight: 900; color: var(--clr-dark); line-height: 1; }
.pricing-card-featured .price-amount { color: #fff; }
.price-custom { font-size: 2.2rem; }
.price-per { font-size: .82rem; color: var(--clr-muted); }
.pricing-card-featured .price-per { color: rgba(255,255,255,.6); }

.pricing-desc { font-size: .88rem; color: var(--clr-muted); margin-bottom: 24px; }
.pricing-card-featured .pricing-desc { color: rgba(255,255,255,.7); }
.pricing-note { font-size: .78rem; color: var(--clr-muted); margin: 4px 0 12px; font-style: italic; }
.pricing-card-featured .pricing-note { color: rgba(255,255,255,.6); }

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
}
.pricing-features li i { color: var(--clr-success); flex-shrink: 0; }
.pricing-card-featured .pricing-features li i { color: #a7f3d0; }
.muted-feature { color: var(--clr-muted) !important; }
.muted-feature i { color: #cbd5e1 !important; }

/* ── CTA Section ── */
.cta-section {
    background: linear-gradient(135deg, var(--clr-bg-light) 0%, #ede9fe 100%);
}

.cta-card {
    background: linear-gradient(135deg, var(--clr-dark) 0%, #1e1b4b 100%);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.cta-card::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,.3), transparent 70%);
    top: -150px; right: -100px;
    pointer-events: none;
}

.cta-title { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.2; }
.cta-sub   { color: rgba(255,255,255,.65); font-size: 1rem; line-height: 1.7; }

.cta-points { display: flex; flex-direction: column; gap: 10px; }
.cta-pt {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: rgba(255,255,255,.75);
}
.cta-pt i { color: #6ee7b7; flex-shrink: 0; }

.demo-input {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: .9rem;
    transition: border-color .2s;
}
.demo-input::placeholder { color: rgba(255,255,255,.35); }
.demo-input:focus {
    background: rgba(255,255,255,.12);
    border-color: var(--clr-primary-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79,70,229,.25);
    color: #fff;
}
.demo-input option { background: var(--clr-dark); color: #fff; }

.selected-tier-banner {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(110,231,183,.12);
    border: 1px solid rgba(110,231,183,.35);
    color: #d1fae5;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: .88rem;
}
.selected-tier-banner i { color: #6ee7b7; }
.btn-close-clear {
    margin-left: auto;
    filter: invert(1) grayscale(1) brightness(2);
    opacity: .6;
}
.btn-close-clear:hover { opacity: 1; }

/* ── Footer ── */
.footer-dark {
    background: var(--clr-dark);
    color: #fff;
}
.footer-heading { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-divider { border-color: rgba(255,255,255,.08); }

.social-icon {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    transition: background .2s, color .2s;
}
.social-icon:hover { background: var(--clr-primary); color: #fff; border-color: var(--clr-primary); }

/* ── Utilities ── */
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* ── Scroll Reveal Animation Classes ── */
[data-aos] { transition-duration: 600ms !important; }

/* ── Responsive Overrides ── */
@media (max-width: 991.98px) {
    .hero-section { min-height: auto; padding-top: 80px; }
    .hero-headline { font-size: 2.4rem; }
    .card-payroll, .card-attendance { display: none; }
    .timeline-steps::before { display: none; }
    .ts-item { padding: 0 0 24px; display: flex; gap: 16px; align-items: flex-start; }
    .ts-num { margin-bottom: 0; flex-shrink: 0; }
    .timeline-steps { grid-template-columns: 1fr; gap: 8px; }
    .stat-item { padding: 16px 24px; }
    .cta-card { padding: 36px 24px; }
}

@media (max-width: 767.98px) {
    .section-pad { padding: 64px 0; }
    .stats-grid { flex-direction: column; }
    .stat-divider { display: none; }
    .ps-grid { grid-template-columns: 1fr; }
    .ps-col:first-child { border-right: none; border-bottom: 1px solid var(--clr-border); }
    .rw-label { min-width: auto; width: 130px; }
}
