/* 
   PixWorkX Premium SaaS Landing Page Stylesheet
   Designed with inspiration from Stripe, Linear, Deel, and Remote.
   Fonts: Headings -> Manrope, Body -> Inter
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* --- Design System Variables --- */
:root {
    /* Colors */
    --primary: #2447D5;
    --primary-hover: #1b36a8;
    --primary-light: rgba(36, 71, 213, 0.08);
    --secondary: #18C6B7;
    --secondary-hover: #129d91;
    --secondary-light: rgba(24, 198, 183, 0.08);
    --accent: #7A5AF8;
    --accent-hover: #5d3fe2;
    --accent-light: rgba(122, 90, 248, 0.08);
    --bg: #FFFFFF;
    --section-bg: #F8FAFC;
    --border: #E2E8F0;

    /* Text Colors */
    --text-main: #0F172A;
    --text-muted: #334155;
    --text-light: #64748B;

    /* Typography */
    --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.08);
    --shadow-premium: 0 20px 40px -15px rgba(36, 71, 213, 0.12);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* --- Resets & Global Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    background-color: var(--bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button,
input {
    font-family: inherit;
}

/* --- Layout Utilities --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-bg {
    background-color: var(--section-bg);
}

.text-center {
    text-align: center;
}

/* --- Badge & Buttons --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    border-radius: 9999px;
    margin-bottom: 24px;
    border: 1px solid rgba(36, 71, 213, 0.15);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


.badge-logo-img {
    height: 26px;
    width: auto;
    object-fit: contain;
    margin-right: 8px;
}

.badge-accent {
    background-color: var(--accent-light);
    color: var(--accent);
    border-color: rgba(122, 90, 248, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg);
    box-shadow: 0 4px 14px rgba(36, 71, 213, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 71, 213, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--section-bg);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

.btn-icon {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* --- Scroll Entrance Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* --- Sticky Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 24px 0;
    background-color: transparent;
}

.navbar.scrolled {
    padding: 16px 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--text-main);
}

.nav-logo svg,
.nav-logo .logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Highlight Home link on Home page */
#home-page .nav-links a[href="#hero"],
#home-page .nav-links a[href="index.html"] {
    color: var(--primary);
    font-weight: 600;
}

#home-page .nav-links a[href="#hero"]::after,
#home-page .nav-links a[href="index.html"]::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 143px;
        /* 103px navbar height + 40px breathing room */
        padding-bottom: 60px;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero h1 {
    font-size: 58px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 span.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheadline {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

/* --- Redesigned Trust & Accreditations Section --- */
.hero-trust-container {
    background-color: var(--section-bg);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 24px;
    padding: 36px 40px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
    margin-top: 50px;
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-trust-container .trust-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.hero-trust-container .trust-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
    margin: 0 auto 28px auto;
}

.hero-trust-container .trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.hero-trust-container .trust-badge {
    background-color: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    box-shadow: 0 2px 8px -1px rgba(15, 23, 42, 0.02);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1 1 calc(25% - 20px);
    min-width: 200px;
    min-height: 64px;
    box-sizing: border-box;
}

.hero-trust-container .trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.06);
    border-color: rgba(36, 71, 213, 0.12);
}

.hero-trust-container .trust-badge svg {
    color: var(--secondary);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: -10%;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-bg-gradient {
    position: absolute;
    width: 120%;
    height: 120%;
    background:
        radial-gradient(circle at 20% 30%, rgba(122, 90, 248, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(24, 198, 183, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(36, 71, 213, 0.04) 0%, transparent 60%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.hero-tiles-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-tile {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
}

a.hero-tile {
    text-decoration: none;
    color: inherit;
}

.hero-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    border-color: rgba(36, 71, 213, 0.15);
}

.hero-tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #FFFFFF;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-tile:hover .hero-tile-icon {
    transform: scale(1.1);
}

.icon-eor {
    background: var(--primary);
}

.icon-payroll {
    background: var(--secondary);
}

.icon-hr-admin {
    background: var(--accent);
}

.icon-compliance {
    background: #10B981;
}

.icon-hiring {
    background: #EC4899;
}

.icon-expansion {
    background: #F59E0B;
}

.hero-tile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-tile-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.hero-tile-content p {
    font-size: 11px;
    color: var(--text-light);
    margin: 0;
}

/* --- Section Headers --- */
.section-header {
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}

/* --- Services Grid Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--bg);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(36, 71, 213, 0.12);
}

.service-card.highlighted {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(122, 90, 248, 0.25);
    transform: translateY(-8px) scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
    .service-card.highlighted {
        transform: none !important;
        box-shadow: 0 0 10px rgba(122, 90, 248, 0.25) !important;
    }
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    color: var(--primary);
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--bg);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Services Grid Learn More Button Alignment */
.service-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
    padding-top: 24px;
    transition: var(--transition-fast);
}

.service-learn-more svg {
    transition: transform 0.2s ease;
}

.service-learn-more:hover {
    color: var(--primary-hover);
}

.service-learn-more:hover svg {
    transform: translateX(4px);
}

/* --- Why PixWorkX (Comparison) Section --- */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    background-color: var(--bg);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
}

.comparison-card.negative::before {
    background-color: #EF4444;
}

.comparison-card.positive::before {
    background-color: var(--secondary);
}

.comparison-card.positive {
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(24, 198, 183, 0.15);
}

.comparison-card h3 {
    font-size: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
}

.comparison-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.comparison-item.negative svg {
    color: #EF4444;
}

.comparison-item.positive svg {
    color: var(--secondary);
}

.comparison-item.positive span {
    font-weight: 500;
    color: var(--text-main);
}

/* --- How It Works Section --- */
.timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 48px auto 0 auto;
    padding-bottom: 20px;
}

/* Horizontal Connector Line */
.timeline-line {
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: #E2E8F0;
    z-index: 1;
}

.timeline-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transition: width 2.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
    z-index: 2;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
}

.timeline-icon-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--bg);
    border: 4px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.timeline-step.active .timeline-icon-box {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 8px rgba(36, 71, 213, 0.1);
    transform: scale(1.05);
}

.timeline-step.completed .timeline-icon-box {
    border-color: var(--secondary);
    color: var(--secondary);
}

.timeline-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-step p {
    font-size: 14px;
    color: var(--text-muted);
}

/* --- Why India Section --- */
.india-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.india-card {
    background-color: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.india-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(122, 90, 248, 0.15);
}

.india-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.india-card:hover .india-icon {
    background-color: var(--accent);
    color: #FFFFFF;
}

.india-card h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

/* --- Industries Section --- */
.industries-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.industry-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    cursor: default;
}

.industry-pill svg {
    color: var(--primary);
    transition: var(--transition-fast);
}

.industry-pill:hover {
    background-color: var(--primary-light);
    border-color: rgba(36, 71, 213, 0.2);
    transform: scale(1.05);
}

.industry-pill:hover svg {
    transform: rotate(15deg) scale(1.1);
}

/* --- Testimonials Section --- */
.testimonials-box {
    max-width: 640px;
    margin: 0 auto;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(36, 71, 213, 0.05) 0%, rgba(255, 255, 255, 0) 80%);
    z-index: 1;
}

.glass-card-content {
    position: relative;
    z-index: 2;
}

.glass-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.glass-card p {
    font-size: 16px;
    color: var(--text-muted);
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(36, 71, 213, 0.2);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--bg);
    transition: var(--transition-fast);
}

.faq-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    padding-right: 20px;
}

.faq-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--section-bg);
    color: var(--text-main);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon-box {
    background-color: var(--primary);
    color: #FFFFFF;
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 24px 24px 24px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Final CTA Section --- */
.cta-box {
    background: linear-gradient(135deg, rgba(36, 71, 213, 0.05) 0%, rgba(122, 90, 248, 0.05) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(36, 71, 213, 0.1);
    padding: 80px 48px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(24, 198, 183, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 40px;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-box p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer Section --- */
.footer {
    background-color: var(--section-bg);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 16px;
}

.footer-logo svg,
.footer-logo .logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-parent {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
}

.footer-parent-logo-img {
    height: 18px;
    width: auto;
    object-fit: contain;
    margin-right: 8px;
}

.footer-links-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 24px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links-list a:hover {
    color: var(--primary);
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    background-color: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* --- Responsive Adjustments --- */

@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .hero-visual {
        height: auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .india-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-line {
        display: none;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .timeline-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .timeline-icon-box {
        margin-bottom: 16px;
        margin-right: 0;
        flex-shrink: 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 0;
        background-color: var(--bg);
        border-bottom: 1px solid var(--border);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background-color: var(--bg);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition-smooth);
        overflow-y: auto;
        align-items: flex-start;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-actions {
        display: none;
        /* Hide button in header, can show inside drawer if needed */
    }

    .nav-links .btn {
        width: 100%;
        margin-top: 16px;
    }

    .hero {
        padding-top: 112px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .comparison-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .india-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* --- Floating Section Sidebar --- */
.floating-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(calc(100% - 60px));
    /* Reveal only the icon container (60px width) initially */
    background-color: var(--bg);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border);
    border-right: none;
    z-index: 999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    overflow: hidden;
    padding: 12px;
}

.floating-sidebar:hover,
.floating-sidebar.expanded {
    transform: translateY(-50%) translateX(0);
    box-shadow: var(--shadow-lg);
}

.floating-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

.floating-sidebar-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background-color: var(--section-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.floating-sidebar-label {
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-sidebar:hover .floating-sidebar-label,
.floating-sidebar.expanded .floating-sidebar-label {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

/* Hover and active states for individual sections */
.floating-sidebar-item[data-section="services"]:hover .floating-sidebar-icon,
.floating-sidebar-item[data-section="services"].active .floating-sidebar-icon {
    background-color: var(--primary-light);
    color: var(--primary);
}

.floating-sidebar-item[data-section="why-india"]:hover .floating-sidebar-icon,
.floating-sidebar-item[data-section="why-india"].active .floating-sidebar-icon {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.floating-sidebar-item[data-section="why-choose"]:hover .floating-sidebar-icon,
.floating-sidebar-item[data-section="why-choose"].active .floating-sidebar-icon {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.floating-sidebar-item[data-section="process"]:hover .floating-sidebar-icon,
.floating-sidebar-item[data-section="process"].active .floating-sidebar-icon {
    background-color: var(--accent-light);
    color: var(--accent);
}

.floating-sidebar-item[data-section="story"]:hover .floating-sidebar-icon,
.floating-sidebar-item[data-section="story"].active .floating-sidebar-icon {
    background-color: var(--primary-light);
    color: var(--primary);
}

.floating-sidebar-item[data-section="mission-vision"]:hover .floating-sidebar-icon,
.floating-sidebar-item[data-section="mission-vision"].active .floating-sidebar-icon {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.floating-sidebar-item[data-section="why-pixworkx"]:hover .floating-sidebar-icon,
.floating-sidebar-item[data-section="why-pixworkx"].active .floating-sidebar-icon {
    background-color: var(--accent-light);
    color: var(--accent);
}

.floating-sidebar-item[data-section="trust-statistics"]:hover .floating-sidebar-icon,
.floating-sidebar-item[data-section="trust-statistics"].active .floating-sidebar-icon {
    background-color: var(--accent-light);
    color: var(--accent);
}

.floating-sidebar-item[data-section="our-values"]:hover .floating-sidebar-icon,
.floating-sidebar-item[data-section="our-values"].active .floating-sidebar-icon {
    background-color: rgba(236, 72, 153, 0.08);
    color: #EC4899;
}

.floating-sidebar-item[data-section="industries"]:hover .floating-sidebar-icon,
.floating-sidebar-item[data-section="industries"].active .floating-sidebar-icon {
    background-color: var(--accent-light);
    color: var(--accent);
}

.floating-sidebar-item[data-section="faq"]:hover .floating-sidebar-icon,
.floating-sidebar-item[data-section="faq"].active .floating-sidebar-icon {
    background-color: rgba(236, 72, 153, 0.08);
    color: #EC4899;
}

.floating-sidebar-item:hover,
.floating-sidebar-item.active {
    color: var(--text-main);
}

.floating-sidebar-item:focus-visible {
    box-shadow: 0 0 0 2px var(--primary);
}

/* Floating Mobile Button */
.floating-nav-toggle {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #FFFFFF;
    border: none;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
}

.floating-nav-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(36, 71, 213, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .floating-sidebar,
    .floating-nav-toggle {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .hero-tiles-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .hero-tile.tile-eor {
        grid-column: span 2;
        grid-row: 1;
    }

    .hero-tile.tile-payroll {
        grid-column: span 2;
        grid-row: 1;
    }

    .hero-tile.tile-hr-admin {
        grid-column: span 2;
        grid-row: 1;
    }

    .hero-tile.tile-compliance {
        grid-column: span 2;
        grid-row: 2;
    }

    .hero-tile.tile-hiring {
        grid-column: span 2;
        grid-row: 2;
    }

    .hero-tile.tile-expansion {
        grid-column: span 2;
        grid-row: 2;
    }
}

@media (min-width: 1200px) {
    .hero-visual {
        transform: translateX(-30px);
        max-width: 580px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .hero-visual {
        transform: scale(0.95);
        transform-origin: center center;
        max-width: 540px;
    }

    .hero-tiles-grid {
        gap: 16px;
    }

    .hero-tile {
        padding: 16px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .hero-visual {
        width: 100%;
        max-width: 380px;
        transform: none !important;
        padding: 40px 0;
        height: auto;
    }

    .hero-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-tile {
        grid-column: span 1 !important;
        grid-row: auto !important;
        max-width: none;
    }


    .hero-trust-container {
        padding: 32px;
        margin-top: 40px;
    }

    .hero-trust-container .trust-badge {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 767px) {
    .hero-visual {
        width: 100%;
        max-width: 320px;
        transform: none !important;
        padding: 24px 0;
        min-height: auto;
        height: auto;
    }

    .hero-tiles-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        width: 100%;
    }

    .hero-tile {
        flex-direction: column;
        aspect-ratio: 1 / 1;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 16px 10px;
        gap: 8px;
        max-width: 100%;
        width: 100%;
        min-height: auto;
    }

    .hero-tile-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .hero-tile-icon svg {
        width: 16px;
        height: 16px;
    }

    .hero-tile-content {
        align-items: center;
        text-align: center;
        gap: 2px;
    }

    .hero-tile-content h4 {
        font-size: 12px;
        margin: 0;
    }

    .hero-tile-content p {
        font-size: 10px;
        margin: 0;
    }


    .hero-trust-container {
        padding: 28px 20px;
        margin-top: 36px;
        border-radius: 20px;
    }

    .hero-trust-container .trust-title {
        font-size: 18px;
    }

    .hero-trust-container .trust-badge {
        flex: 1 1 calc(50% - 12px);
        padding: 12px 14px;
        font-size: 14px;
        gap: 8px;
        min-width: 130px;
        min-height: 56px;
    }

    .hero-trust-container .trust-badge svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 380px) {
    .hero-trust-container .trust-badge {
        flex: 1 1 100%;
    }
}