/* Output Desk Payroll - shared site stylesheet (root pages) */
/* ===== 1. Base, layout, navigation, content, tables, forms, buttons, modals ===== */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #0f172a;
    --accent: #10b981;
    --accent-light: #ecfdf5;
    --warning: #f59e0b;
    --text-dark: #0f172a;
    --text-muted: #40566d;
    --text-light: #94a3b8;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px -2px rgba(15,23,42,0.08);
    --shadow-lg: 0 20px 25px -5px rgba(15,23,42,0.1), 0 8px 10px -6px rgba(15,23,42,0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1240px;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
img {
    max-width: 100%;
    height: auto;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
/* Global font family: Akt (loaded via Google Fonts in each page head), with the previous system stack as fallback */
:root {
    --font-family-base: 'Akt', "Segoe UI", system-ui, -apple-system, sans-serif;
}
body,
button,
input,
select,
textarea {
    font-family: var(--font-family-base);
}
body {
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-base);
    font-weight: 600;
}
h1 {
    font-weight: 600;
}
button,
.btn,
.pricing,
.pricing-section {
    font-weight: 500;
}
body {
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
img, svg {
    display: block;
    max-width: 100%;
}
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}
.btn-primary {
    background-color: #12a876;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}
.btn-secondary {
    background-color: #ffffff;
    color: var(--text-dark);
    border-color: var(--border-color);
}
.btn-secondary:hover {
    background-color: var(--bg-body);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}
.btn-accent {
    background-color: var(--accent);
    color: #ffffff;
}
.btn-accent:hover {
    background-color: #059669;
    transform: translateY(-2px);
}
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-primary {
    background-color: #e0efff;
    color: #2563eb;
}
.badge-accent {
    background-color: var(--accent-light);
    color: var(--accent);
}
.section-title-wrap {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 3.5rem auto;
}
.section-title {
    font-size: 48px;
    font-weight: 500;
    color: #0f2942;
    line-height: 56px;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.61rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: -0.01em;
}
.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--primary);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
}
.hero {
    padding: 4.5rem 0 5rem 0;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.hero-content h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.15;
    color: #0f2942;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.hero-content h1 span {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.trust-item svg {
    color: var(--accent);
    width: 18px;
    height: 18px;
}
.app-window {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
}
.app-window:hover {
    box-shadow: 0 25px 30px -5px rgba(15,23,42,0.15);
}
.app-header-bar {
    background-color: #1e293b;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.app-dots {
    display: flex;
    gap: 0.4rem;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red {
    background-color: #ef4444;
}
.dot-yellow {
    background-color: #f59e0b;
}
.dot-green {
    background-color: #10b981;
}
.app-title {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.app-body {
    padding: 1.25rem;
    background-color: #f8fafc;
}
.dash-summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}
.dash-card {
    background: #ffffff;
    padding: 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}
.dash-card-lbl {
    font-size: 0.725rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    font-weight: 500;
}
.dash-card-val {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary);
}
.dash-card-change {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 0.2rem;
}
.dash-table-wrap {
    background: #ffffff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    overflow-x: auto;
}
.dash-table-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--secondary);
}
.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.775rem;
}
.dash-table th, .dash-table td {
    padding: 0.6rem 0.65rem;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}
.dash-table th {
    background-color: #f8fafc;
    color: var(--text-muted);
    font-weight: 600;
}
.status-pill {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.675rem;
    font-weight: 600;
}
.status-processed {
    background-color: #dcfce7;
    color: #15803d;
}
.status-pending {
    background-color: #fef3c7;
    color: #b45309;
}
.changes-section {
    padding: 4.5rem 0 5rem;
    background-color: #fff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.changes-title {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 600;
    color: #0f2942;
    letter-spacing: -0.02em;
    margin-bottom: 2.75rem;
}
.changes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.change-card {
    padding: 1.75rem 1.5rem;
    background-color: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.change-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.15);
}
.change-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.15rem;
}
.change-icon svg {
    width: 22px;
    height: 22px;
}
.change-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.6rem;
}
.change-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.comparison-section {
    padding: 4.5rem 0;
    background-color: var(--bg-body);
}
.comparison-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.comparison-panel {
    border-radius: var(--radius-md);
    padding: 1.85rem;
}
.comparison-panel.legacy {
    background-color: #fef2f2;
}
.comparison-panel.modern {
    background-color: var(--accent-light);
}
.comparison-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.comparison-panel.legacy .comparison-label {
    color: #dc2626;
}
.comparison-panel.modern .comparison-label {
    color: #059669;
}
.comparison-panel h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.4rem;
    line-height: 1.3;
}
.comparison-panel.legacy h3 {
    color: #b91c1c;
}
.comparison-panel.modern h3 {
    color: #047857;
}
.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.comparison-list li {
    position: relative;
    padding-left: 1.15rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}
.comparison-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: 600;
}
.comparison-panel.legacy .comparison-list li::before {
    color: #dc2626;
}
.comparison-panel.modern .comparison-list li::before {
    color: #059669;
}
.toolkit-section {
    padding: 5.5rem 0;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.toolkit-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3.5rem;
}
.toolkit-row {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--border-light);
}
.toolkit-row:nth-last-child(-n+2) {
    border-bottom: none;
}
.toolkit-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}
.toolkit-icon--blue {
    background-color: #eff6ff;
}
.toolkit-icon--amber {
    background-color: #fffbeb;
}
.toolkit-icon--emerald {
    background-color: #ecfdf5;
}
.toolkit-icon--indigo {
    background-color: #eef2ff;
}
.toolkit-icon--rose {
    background-color: #fdf2f8;
}
.toolkit-icon--cyan {
    background-color: #ecfeff;
}
.toolkit-icon--violet {
    background-color: #f5f3ff;
}
.toolkit-icon--orange {
    background-color: #fff7ed;
}
.toolkit-row h3 {
    font-size: 17px;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 0.35rem;
}
.toolkit-row p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.5;
}
.calculator-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.calc-form-box {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-label {
    display: block;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.form-input, .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}
.form-input:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.calc-result-box {
    background: #ffffff;
    color: var(--text-dark);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
.calc-result-header {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.calc-row.total {
    border-top: 2px dashed var(--border-color);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary);
}
.calc-row.total .calc-val {
    color: var(--primary);
}
.faq-section {
    padding: 5rem 0;
    background-color: #ffffff;
}
.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    font-size: 1.05rem;
}
.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    display: none;
}
.faq-item.active .faq-answer {
    display: block;
}
.faq-chevron {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}
.cta-banner {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: #ffffff;
    text-align: center;
    border-radius: var(--radius-lg);
    margin-bottom: 4rem;
}
.cta-banner h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.cta-banner p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}
.footer {
    background-color: #0f2942;
    color: #94a3b8;
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p {
    margin-top: 1rem;
    color: #94a3b8;
    max-width: 320px;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
}
.footer-contact a {
    color: #cbd5e1;
    transition: var(--transition);
}
.footer-contact a:hover {
    color: #ffffff;
}
.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}
.footer-links a:hover {
    color: #ffffff;
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    width: 100%;
    max-width: 550px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: var(--transition);
}
.modal-overlay.active .modal-card {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-muted);
}
.hero-preview {
    position: relative;
    min-width: 0;
}
.hero-grid > .hero-content {
    min-width: 0;
}
.hero-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    z-index: 2;
}
.hero-float-badge--top {
    top: -2.5rem;
    right: 1rem;
    transform: rotate(-3deg);
}
.hero-float-badge--bottom {
    bottom: -30px;
    left: 31px;
    transform: rotate(2deg);
}
.shot {
    animation: float 4s ease-in-out infinite;
}
@keyframes float {0%,100% { transform: translateY(0); } 50% {transform: translateY(-12px);}}
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.feature-info .badge-primary {
    background-color: transparent;
    padding-left: 0;
    padding-right: 0;
}
.nav-link.active {
    color: var(--primary);
}
.main-section {
    flex: 1 0 auto;
}
.features-section {
    padding: 2.5rem 0;
    background-color: var(--bg-body);
}
.feature-block-list {
    display: flex;
    flex-direction: column;
    gap: 5.5rem;
}
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    transition: var(--transition);
    padding-bottom: 2.5rem;
}
.feature-row > .feature-info,
        .feature-row > .feature-preview {
    min-width: 0;
}
.feature-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: #0f2942;
    margin-bottom: 1rem;
}
.feature-info p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}
.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.925rem;
    color: var(--text-dark);
    font-weight: 500;
}
.feature-list-item svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.mini-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.payslip-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.why-section {
    padding: 5rem 0;
    background-color: var(--bg-body);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.why-card {
    background-color: #ffffff;
    padding: 2.25rem 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.why-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 840px;
    margin: 0 auto;
    align-items: stretch;
}
.benefits-section {
    padding: 5rem 0;
    background-color: #ffffff;
}
.contact-head {
    max-width: 950px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 0.5rem;
    text-align: center;
}
.contact-head h1 {
    margin: 0 0 0.75rem;
    font-size: 2.25rem;
    font-weight: 500;
    color: #0f2942;
    letter-spacing: -0.02em;
}
.contact-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}
.contact-grid {
    max-width: 650px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.contact-card:hover {
    box-shadow: var(--shadow-md);
}
.contact-card h2 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.15rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
}
.contact-card h2 .ico {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--primary);
    background: var(--primary-light);
}
.contact-card h2 .ico svg {
    width: 19px;
    height: 19px;
}
.contact-card address {
    font-style: normal;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0 0 1.15rem;
}
.contact-card address strong {
    color: var(--secondary);
    font-weight: 600;
}
.contact-line {
    display: flex;
    gap: 0.2rem;
    align-items: baseline;
    margin: 0 0 0.55rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
}
.contact-line .lbl {
    flex: 0 0 62px;
    color: var(--text-light);
    font-size: 0.85rem;
}
.contact-line a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}
.contact-line a:hover {
    text-decoration: underline;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.benefit-card {
    padding: 2rem 1.5rem;
    background-color: var(--bg-body);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.2);
    background-color: #ffffff;
}
.benefit-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}
.benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.6rem;
}
.benefit-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.ess-section {
    padding: 5rem 0;
    background-color: #ffffff;
}
.ess-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.ess-card {
    background-color: var(--bg-body);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}
.ess-mobile-mockup {
    width: 280px;
    margin: 0 auto;
    background-color: #0f172a;
    border-radius: 32px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}
.ess-screen {
    background-color: #ffffff;
    border-radius: 22px;
    padding: 1.25rem;
    overflow: hidden;
}
.ess-user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.why-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem auto;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
body.page-index {
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
}
body.page-features,
body.page-contacts {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.page-pricing .badge {
    font-weight: 600;
}
body.page-index .badge-accent {
    background-color: transparent;
    color: #2563eb;
}
body.page-index-draft .dash-table-wrap {
    overflow: hidden;
}
body.page-features .dash-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
body.page-index-draft .form-input,
body.page-index-draft .form-select {
    font-size: 0.95rem;
}
body.page-features .modal-card,
body.page-contacts .modal-card {
    max-width: 480px;
}
body.page-index-draft .features-section {
    padding: 5rem 0;
}

/* ===== 2. Responsive ===== */

@media (max-width: 1024px) {
    .hero-grid, .calculator-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .changes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .comparison-card {
        grid-template-columns: 1fr;
    }
    .toolkit-list {
        grid-template-columns: 1fr;
    }
    .toolkit-row:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--border-light);
    }
    .toolkit-row:last-child {
        border-bottom: none;
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 2rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-brand p {
        max-width: 520px;
    }
    .nav-menu, .nav-actions {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .header-inner.mobile-open {
        flex-wrap: wrap;
        height: auto;
        padding-bottom: 0.75rem;
    }
    .header-inner.mobile-open .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        width: 100%;
        order: 3;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border-color);
    }
    .header-inner.mobile-open .nav-menu .nav-link {
        padding: 0.4rem 0;
    }
    .header-inner.mobile-open .nav-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        width: 100%;
        order: 4;
        padding-top: 0.5rem;
    }
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .hero-grid, .calculator-container, .ess-grid, .feature-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.35rem;
    }
    .section-title {
        font-size: 1.65rem;
    }
    .hero-float-badge {
        position: static;
        display: inline-flex;
        transform: none;
        margin: 1rem 0.5rem 0 0;
    }
    .changes-grid {
        grid-template-columns: 1fr;
    }
    .dash-summary-cards {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-links {
        gap: 0.25rem;
    }
    .footer-links a,
    .footer-contact a {
        display: inline-block;
        padding: 0.4rem 0;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .feature-row {
        grid-template-columns: 1fr;
    }
    .mini-stat-grid {
        grid-template-columns: 1fr;
    }
    .nav-menu, .nav-actions .btn {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 1.9rem;
    }
    .contact-head {
        padding: 2.5rem 1.25rem 0.25rem;
    }
    .contact-head h1 {
        font-size: 1.75rem;
    }
    .contact-grid {
        padding: 1.75rem 1.25rem 3rem;
    }
    .contact-card {
        padding: 1.5rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (min-width: 1025px) {
    .feature-row.reverse .feature-info {
        order: 2;
    }
    .feature-row.reverse .feature-preview {
        order: 1;
    }
}

@media (max-width: 520px) {
    .payslip-2col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Draft homepage (index - mine.php) keeps its menu toggle inside .nav-actions */
@media (max-width: 1024px) {
    body.page-index-draft .nav-actions {
        display: flex;
    }
    body.page-index-draft .nav-actions .btn {
        display: none;
    }
    body.page-index-draft .header-inner.mobile-open .nav-actions .btn {
        display: inline-flex;
    }
}

/* ===== 3. Component and utility classes (formerly inline styles; doubled class keeps the old inline-style precedence) ===== */
.text-primary.text-primary {
    color: var(--primary);
}
.logo-text-white.logo-text-white {
    color: #ffffff;
}
.center-block.center-block {
    margin: auto;
}
.modal-title.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}
.modal-subtitle.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.form-label-dark.form-label-dark {
    color: var(--text-dark);
}
.form-control-muted,
.form-control-muted:focus {
    background: #f8fafc;
    color: #0f172a;
    border-color: var(--border-color);
}
.btn-block-spaced.btn-block-spaced {
    width: 100%;
    margin-top: 0.5rem;
}
.badge-spaced-sm.badge-spaced-sm {
    margin-bottom: 0.75rem;
}
.app-body-white.app-body-white {
    background: #ffffff;
    padding: 1.25rem;
}
.panel-header-plain.panel-header-plain {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}
.text-strong-md.text-strong-md {
    font-size: 1rem;
    color: #0f172a;
}
.text-caption.text-caption {
    font-size: 0.75rem;
    color: #64748b;
}
.info-box.info-box {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}
.text-caption-sm.text-caption-sm {
    font-size: 0.7rem;
    color: #64748b;
}
.stat-value-dark.stat-value-dark {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
}
.stat-value-danger.stat-value-danger {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ef4444;
}
.stat-value-primary.stat-value-primary {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2563eb;
}
.text-slate.text-slate {
    color: #64748b;
}
.text-danger.text-danger {
    color: #ef4444;
}
.actions-end.actions-end {
    margin-top: 1rem;
    text-align: right;
}
.btn-primary.btn-success-fill,
.btn-primary.btn-success-fill:hover {
    background: #10b981;
}
.app-body-white-compact.app-body-white-compact {
    background: #ffffff;
    padding: 0.5rem;
}
.row-between-spaced.row-between-spaced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.text-dark.text-dark {
    color: #0f172a;
}
.link-action.link-action {
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
}
.app-body-soft.app-body-soft {
    background: #f8fafc;
    padding: 1.25rem;
}
.slip-card.slip-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1.25rem;
    font-size: 0.8rem;
}
.slip-header.slip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}
.text-strong-lg.text-strong-lg {
    font-size: 1.1rem;
    color: #0f172a;
}
.info-box-spaced.info-box-spaced {
    margin-bottom: 1rem;
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 6px;
}
.spacing-bottom-md.spacing-bottom-md {
    margin-bottom: 1rem;
}
.heading-income.heading-income {
    color: #10b981;
    border-bottom: 1px solid #e2e8f0;
    display: block;
    margin-bottom: 0.4rem;
}
.row-between.row-between {
    display: flex;
    justify-content: space-between;
}
.heading-deduction.heading-deduction {
    color: #ef4444;
    border-bottom: 1px solid #e2e8f0;
    display: block;
    margin-bottom: 0.4rem;
}
.highlight-row.highlight-row {
    background: #eff6ff;
    padding: 0.75rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.text-brand-sm.text-brand-sm {
    color: #1d4ed8;
    font-size: 0.95rem;
}
.text-brand-lg.text-brand-lg {
    color: #1d4ed8;
    font-size: 1.15rem;
}
.heading-spaced-dark.heading-spaced-dark {
    margin-bottom: 1rem;
    color: #0f172a;
}
.stack-sm.stack-sm {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.summary-row.summary-row {
    background: #f8fafc;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.panel-header.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}
.row-gap-sm.row-gap-sm {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.badge-neutral.badge-neutral {
    background: #f1f5f9;
    color: #64748b;
}
.summary-box.summary-box {
    background: #f8fafc;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.label-caption.label-caption {
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}
.value-semibold.value-semibold {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
}
.note-caption.note-caption {
    margin-top: 0.6rem;
    font-size: 0.7rem;
    color: #64748b;
}
.text-dark-sm.text-dark-sm {
    font-size: 0.8rem;
    color: #0f172a;
}
.calc-result-pad.calc-result-pad {
    padding: 1rem;
}
.calc-header-compact.calc-header-compact {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
}
.calc-row-compact.calc-row-compact {
    font-size: 0.8rem;
    padding: 0.35rem 0;
}
.value-emphasis.value-emphasis {
    font-weight: 600;
    color: var(--secondary);
}
.value-danger.value-danger {
    font-weight: 600;
    color: #ef4444;
}
.calc-total-compact.calc-total-compact {
    font-size: 0.9rem;
    padding-top: 0.5rem;
}
.badge-warning.badge-warning {
    background: #fef3c7;
    color: #b45309;
}
.value-xl.value-xl {
    font-size: 1.25rem;
    font-weight: 600;
}
.text-primary-link.text-primary-link {
    color: var(--primary);
    cursor: pointer;
}
.final-cta.final-cta {
    padding: clamp(56px, 8vw, 60px) clamp(20px, 4vw, 64px);
    background: rgb(15, 41, 66);
    text-align: center;
}
.final-cta-title-leading.final-cta-title-leading {
    font-size: clamp(26px, 3.4vw, 48px);
    color: #ffffff;
    max-width: 720px;
    margin: 0 auto 18px;
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: -0.02em;
}
.final-cta-text.final-cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0 auto 32px;
}
.final-cta-actions-spaced.final-cta-actions-spaced {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1em;
}
.cta-btn-primary.cta-btn-primary {
    text-decoration: none;
    background: rgb(18, 168, 118);
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 10px;
}
.cta-btn-outline.cta-btn-outline {
    text-decoration: none;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.faq-block.faq-block {
    padding: clamp(48px, 7vw, 60px) clamp(20px, 4vw, 64px);
}
.section-intro.section-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
}
.section-heading.section-heading {
    font-size: clamp(26px, 3vw, 36px);
    color: rgb(15, 41, 66);
    margin: 0 0 14px;
}
.faq-list.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-card.faq-card {
    background: #ffffff;
    border: 1px solid rgba(15, 41, 66, 0.08);
    border-radius: 12px;
    padding: 18px 22px;
}
.faq-card-question.faq-card-question {
    cursor: pointer;
    font-weight: 600;
    font-size: 15.5px;
    color: rgb(15, 41, 66);
    list-style: none;
}
.faq-card-answer.faq-card-answer {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgb(91, 107, 124);
    margin: 12px 0 0;
}
.grid-3.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.grid-2-boxed.grid-2-boxed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 6px;
}
.grid-2.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.text-sm.text-sm {
    font-size: 0.9rem;
}
.text-muted-var.text-muted-var {
    color: var(--text-muted);
}
.stat-tile.stat-tile {
    background: var(--primary-light);
    padding: 0.85rem;
    border-radius: 12px;
    margin-bottom: 0.85rem;
    text-align: center;
}
.text-primary-semibold.text-primary-semibold {
    color: var(--primary);
    font-weight: 600;
}
.stat-tile-value.stat-tile-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
}
.btn-block-sm.btn-block-sm {
    width: 100%;
    font-size: 0.8rem;
}
.text-left.text-left {
    text-align: left;
}
.lead-muted.lead-muted {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.stack-md.stack-md {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.feature-item.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.icon-chip.icon-chip {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem;
    border-radius: 8px;
}
.text-muted-sm.text-muted-sm {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.final-cta-lg.final-cta-lg {
    padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 64px);
    background: rgb(15, 41, 66);
    text-align: center;
}
.final-cta-title.final-cta-title {
    font-size: clamp(26px, 3.4vw, 40px);
    color: #ffffff;
    max-width: 720px;
    margin: 0 auto 18px;
}
.final-cta-actions.final-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.faq-block-lg.faq-block-lg {
    padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 64px);
}
.benefits-band.benefits-band {
    background-color: #ffffff;
    padding: 2rem 0;
}
.why-card-featured.why-card-featured {
    text-align: center;
    padding: 2rem 2rem;
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    position: relative;
}
.price-note.price-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}
.price-amount.price-amount {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: .5rem;
}
.price-currency {
    font-size: 0.75em;
    font-weight: 600;
}
.price-period.price-period {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}
.price-label.price-label {
    font-size: 0.8rem;
    color: #000;
    text-transform: uppercase;
    font-weight: 500;
}
.pricing-footnote-muted.pricing-footnote-muted {
    text-align: center;
    max-width: 560px;
    margin: 2rem auto 0;
    color: var(--text-light);
    font-size: 0.85rem;
}
.link-underline.link-underline {
    color: var(--primary);
    text-decoration: underline;
}
.pricing-footnote.pricing-footnote {
    text-align: center;
    max-width: 560px;
    margin: 2rem auto 0;
}
.section-title-lg.section-title-lg {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.btn-xl.btn-xl {
    padding: 1rem 2.75rem;
    font-size: 1.05rem;
}
.fine-print.fine-print {
    color: var(--text-light);
    font-size: 0.825rem;
    margin-top: 1rem;
}
.faq-block-tinted.faq-block-tinted {
    padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 64px);
    background-color: var(--bg-body);
}
.support-home-section.support-home-section {
    padding-top: 2.5rem;
}
