/* ==========================================================================
   HireRyze Marketing Site Design System (index.css)
   Primary Color: #585bee | Styling: Modern Blurple & White Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:wght@400;500;700&display=swap');

@font-face {
    font-family: 'hireryze-pro';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/2339HireRyze-Pro.woff2') format('woff2');
}

:root {
    /* Color Palette */
    --primary: #6366F1;
    --primary-hover: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #edf0ff;
    --dark: #0F172A;
    --slate: #475569;
    --light-bg: #efefff;
    --light: #f8fafc;
    --border: #d2d6f9;
    --border-color: #d2d6f9;
    --neutral-dark: #1e293b;
    --text-muted: #64748b;
    --white: #FFFFFF;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;
    
    /* Layout */
    --container-max-width: 1200px;
    --radius-sm: 6px;
    --radius-md: 20px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: var(--white);
    color: var(--slate);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
    font-family: 'hireryze-pro', 'Open Sans', sans-serif;
    color: var(--dark);
    font-weight: 400;
    line-height: 1.25;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.125rem;
    font-weight: 400;
}

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

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

/* Reusable Layout Containers */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section {
    padding: 5rem 0;
}

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

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

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

.max-w-2xl {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-3xl {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

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

.gap-4 {
    gap: 1.5rem;
}

.gap-5 {
    gap: 2.5rem;
}

/* Spacing Utilities */
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }

/* Typography & Display Utilities */
.text-neutral { color: var(--slate); }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; font-weight: 600; }
.leading-relaxed { line-height: 1.625; }
.bg-light { background-color: var(--light-bg); }

/* Section Header Typography */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--slate);
    line-height: 1.6;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Reusable Card Component */
.card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-title {
    font-weight: 700;
    color: var(--dark);
}

.card-text {
    color: var(--slate);
    line-height: 1.6;
}

.feature-check-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2.25rem;
    font-size: 14px;
    font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 500 !important;
    border-radius: 10px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: #38bdf8;
    color: var(--white);
    border-color: RGBA(255, 255, 255, 0);
    box-shadow: 0 4px 14px 0 rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    background-image: linear-gradient(180deg, #38bdf8 0%, #00adf7 100%);
    background-color: #38bdf8;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--slate);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    font-weight: 700;
    border: 1px solid var(--white);
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: var(--primary-light);
    color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Standardized CTA Section */
.section-cta {
    background-color: #1e293b;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.section-cta h2 {
    color: var(--white);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.section-cta .btn-secondary,
.section-cta .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.section-cta .btn-secondary:hover,
.section-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

/* Header & Navigation */
.header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: none;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background-color: #6366F1; /* Fully opaque background */
    border-bottom: none;
    box-shadow: var(--shadow-md);
}

.header.header-solid {
    background-color: #6366F1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header.header-solid.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-family: 'Roboto', sans-serif;
    color: var(--white);
    font-weight: 500;
    font-size: 0.875rem; /* 14px */
    opacity: 0.85;
    transition: opacity var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
    opacity: 1;
}

.nav-cta {
    margin-left: 1rem;
}


/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 110px; /* Spacing offset for the fixed header */
    padding-bottom: 14rem; /* Increased padding to account for the larger curved divider */
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(99, 102, 241, 0.7), rgba(99, 102, 241, 0.7)), url('assets/mask-group.png') no-repeat center center / cover !important;
    background: linear-gradient(rgba(99, 102, 241, 0.7), rgba(99, 102, 241, 0.7)), -webkit-image-set(url('assets/mask-group.webp') 1x, url('assets/mask-group.png') 1x) no-repeat center center / cover !important;
    background: linear-gradient(rgba(99, 102, 241, 0.7), rgba(99, 102, 241, 0.7)), image-set(url('assets/mask-group.webp') type('image/webp'), url('assets/mask-group.png') type('image/png')) no-repeat center center / cover !important;
}

/* Curved Hero Wave Divider */
.hero-wave {
    position: absolute;
    bottom: -2px; /* Slight overlap to prevent 1px hairline rendering gap */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 180px; /* Curve height matches design scale */
}

.hero-wave .shape-fill {
    fill: var(--white); /* Seamlessly matches the new white background of the modules-section */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content h1,
.hero-content h2.hero-title,
.hero-content .h1-visual {
    font-size: 3rem;
    letter-spacing: -0.025em;
    color: var(--white);
}

.hero-content h1 span,
.hero-content h2.hero-title span,
.hero-content .h1-visual span {
    color: #ffd64a; /* Golden-yellow accent for strong contrast and branding focus */
}

.hero-content p {
    margin: 1.5rem 0 2rem;
    color: #f1f5f9; /* Light gray-blue text for readability */
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-store-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    padding: 0.65rem 1.35rem;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

.btn-store:hover {
    background: #0f172a;
    border-color: #38BDF8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}

.btn-store svg {
    flex-shrink: 0;
}

.btn-store .store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.btn-store .store-sub {
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.btn-store .store-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}


.hero .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid #38BDF8;
    box-shadow: none;
}

.hero .btn-secondary:hover {
    background-color: rgba(56, 189, 248, 0.15);
    border-color: #38BDF8;
    color: var(--white);
    transform: translateY(-2px);
}

.hero-visual img {
    width: 100%;
    max-width: 680px;
    height: auto;
    border-radius: var(--radius-md);
    transition: transform var(--transition-slow);
}

.hero-visual:hover img {
    transform: scale(1.02);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 2;
}

.hero-slider-track {
    display: flex;
    width: 300%;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.hero-slide {
    flex: 0 0 33.333333%;
    width: 33.333333%;
    max-width: 33.333333%;
    box-sizing: border-box;
    display: block;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.hero-visual-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-visual-mobile img {
    max-width: 100%;
    width: auto;
    max-height: 520px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

/* Hero Slider Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%) scale(1.1);
    color: var(--white);
}

.hero-arrow.prev {
    left: 2rem;
}

.hero-arrow.next {
    right: 2rem;
}

/* Hero Slider Dots */
.hero-dots {
    position: absolute;
    bottom: 7.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    z-index: 10;
}

.hero-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0;
    outline: none;
}

.hero-dot:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

.hero-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.15);
}

.hero-dot.active {
    width: 32px;
    border-radius: 12px;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.75);
}

/* Hero Grid asymmetric layout for larger desktops */
@media (min-width: 769px) {
    .hero .grid-2 {
        grid-template-columns: 42% 58%;
        gap: 2.5rem;
    }
    .hero-visual img {
        max-width: 760px !important;
    }
}

@media (max-width: 992px) {
    .hero-arrow {
        width: 44px;
        height: 44px;
    }
    .hero-arrow.prev {
        left: 1rem;
    }
    .hero-arrow.next {
        right: 1rem;
    }
    .hero-dots {
        bottom: 5.5rem;
    }
    .hero-wave svg {
        height: 90px;
    }
}

/* Features Grid (Interactive Cards) */
.feature-card {
    background-color: var(--light-bg); /* Default light lavender background */
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background-color: var(--primary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    border-radius: 2px;
}

.feature-card:hover {
    background-color: var(--white); /* Transitions to clean white on hover */
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    background-color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::after {
    width: 60%;
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg);
    border-radius: 50%;
    transition: background-color var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary-light);
}

.feature-icon-wrapper img {
    width: 44px;
    height: 44px;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--slate);
}

.badge-soon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #F1F5F9;
    color: #64748B;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Store & Forward Spotlight */
.spotlight-section {
    background-color: #efefff;
    color: var(--slate);
    position: relative;
}

.spotlight-section h2, .spotlight-section h3 {
    color: var(--dark);
}

.spotlight-text span {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.75rem;
}

.spotlight-text h2 {
    margin-bottom: 1.5rem;
}

.spotlight-text p {
    color: var(--slate);
    margin-bottom: 2rem;
}

.spotlight-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1;
    margin-top: 0.25rem;
}

.benefit-content h4 {
    color: var(--dark);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.benefit-content p {
    color: var(--slate);
    font-size: 0.95rem;
    margin: 0;
}

/* PRICING PLANS */
.pricing-header {
    margin-bottom: 4rem;
}

.pricing-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 3rem 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.pricing-plan {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pricing-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pricing-cost {
    font-size: 2.75rem;
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
}

.pricing-cost span {
    font-size: 1rem;
    color: var(--slate);
    font-weight: 500;
    margin-left: 0.25rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

/* ==========================================================================
   CLASSIC CENTERED PRICING CARD & TABS (PRICING PAGE)
   ========================================================================== */

.pricing-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pricing-tabs {
    display: inline-flex;
    background-color: var(--light-bg);
    padding: 0.35rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    gap: 0.25rem;
}

.pricing-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--slate);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pricing-tab:hover {
    color: var(--dark);
}

.pricing-tab.active {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.tab-save-pill {
    background-color: #10b981;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-tab.active .tab-save-pill {
    background-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

/* HORIZONTAL SPLIT CORE HRIS CARD */
.core-pricing-centered-wrap {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.core-card-split,
.core-card-classic {
    max-width: 980px;
    width: 100%;
    background-color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 2.5rem;
    align-items: center;
    transition: all var(--transition-normal);
}

.core-card-main-info {
    text-align: left;
}

.core-card-top-tag {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.core-card-top-tag .kicker-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
}

.core-card-top-tag .users-badge {
    background-color: var(--light-bg);
    color: var(--slate);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
}

.core-card-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.core-card-lead {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.core-card-features {
    text-align: left;
}

.features-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1rem;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--dark);
    font-weight: 600;
}

.check-mark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* RIGHT ACTION POD */
.core-card-action-pod {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.core-card-action-pod .pricing-tabs-wrapper {
    margin-bottom: 1rem;
    width: 100%;
}

.core-card-action-pod .pricing-tabs {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.25rem;
}

.core-card-action-pod .pricing-tab {
    flex: 1;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    gap: 0.35rem;
}

.core-card-action-pod .tab-save-pill {
    font-size: 0.68rem;
    padding: 0.15rem 0.45rem;
}

.core-card-price-box {
    background: transparent;
    padding: 0.5rem 0 1rem;
    margin-bottom: 0.5rem;
    border: none;
    width: 100%;
}

.price-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.2rem;
}

.price-row .currency {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

.price-row .amount {
    font-size: 3.75rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
    letter-spacing: -0.03em;
    transition: all 0.2s ease;
}

.price-row .period {
    font-size: 0.88rem;
    color: var(--slate);
    font-weight: 600;
    margin-left: 0.35rem;
}

.billing-terms {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.4rem;
}

.savings-callout {
    margin-top: 0.5rem;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    display: inline-block;
}

.core-card-cta {
    width: 100%;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.cta-note {
    font-size: 0.78rem;
    color: var(--slate);
    margin-top: 0.5rem;
    line-height: 1.4;
}

@media (max-width: 880px) {
    .core-card-split,
    .core-card-classic {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 520px) {
    .features-list {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
    .price-row .amount {
        font-size: 3.25rem;
    }
}

/* EXPANDABLE FEATURES DRAWER */
.included-features-wrapper {
    max-width: 960px;
    margin: 3.5rem auto 0;
    text-align: center;
}

.btn-toggle-features {
    background-color: var(--white);
    border: 1px solid var(--border);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.btn-toggle-features:hover {
    background-color: var(--light-bg);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.included-features-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.included-features-drawer.open {
    max-height: 1200px;
    opacity: 1;
    margin-top: 2rem;
}

.features-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: left;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-sm);
}

.feature-col h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.feature-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.feature-col li {
    font-size: 0.85rem;
    color: var(--slate);
    line-height: 1.4;
    position: relative;
    padding-left: 1.1rem;
}

.feature-col li::before {
    content: '•';
    color: var(--primary);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -0.15rem;
}

/* ADDONS SECTION */
.addon-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.addon-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.addon-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.addon-icon-box img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.addon-title {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.addon-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.addon-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate);
}

.addon-desc {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.addon-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex-grow: 1;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.addon-features li {
    font-size: 0.88rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.addon-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

/* IMPLEMENTATION PACKAGES */
.implementation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.implementation-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.implementation-card.recommended {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

.impl-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    background-color: var(--light-bg);
    color: var(--slate);
    margin-bottom: 1rem;
}

.impl-badge.featured {
    background-color: var(--primary);
    color: var(--white);
}

.impl-title {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.impl-fee {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.15rem;
}

.implementation-card.recommended .impl-fee {
    color: var(--primary);
}

.impl-fee-subtitle {
    font-size: 0.8rem;
    color: var(--slate);
    margin-bottom: 1.25rem;
}

.impl-desc {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.45;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.impl-inclusions {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex-grow: 1;
}

.impl-inclusions li {
    font-size: 0.82rem;
    color: #334155;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.impl-inclusions li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pricing-notes-box {
    background-color: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-notes-box p {
    font-size: 0.9rem;
    color: var(--slate);
    margin: 0;
}

@media (max-width: 992px) {
    .core-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
    .features-breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .implementation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-breakdown-grid {
        grid-template-columns: 1fr;
    }
    .implementation-grid {
        grid-template-columns: 1fr;
    }
    .implementation-card.recommended {
        transform: none;
    }
}

/* FAQ Accordion */
.faq-section {
    max-width: 50rem;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--dark);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), margin var(--transition-normal);
    color: var(--slate);
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    margin-top: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Contact / Demo Request Form */
.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
}

.form-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast);
    background-color: var(--light-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
    background-color: var(--white);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.info-card-icon {
    background-color: var(--primary-light);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.info-card-text h4 {
    margin-bottom: 0.25rem;
}

.info-card-text p {
    font-size: 0.95rem;
    color: var(--slate);
}

/* Footer styling */
.footer {
    background-color: #6366f1;
    color: #e0e7ff;
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-brand p {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: #e0e7ff;
}

.footer-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #e0e7ff;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social,
.social-links {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.footer-social a,
.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover,
.social-links a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.footer-social .social-icon,
.social-links .social-icon {
    width: 20px;
    height: 20px;
}

/* Footer Bottom Styling */
.footer-bottom-wrapper {
    background-color: #5759f2; /* Purple bottom footer background */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem; /* Enhanced legibility font-size */
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p.copyright {
    margin: 0;
    font-size: inherit; /* Override global p font-size */
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
}

.footer-trademark {
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p.copyright a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity var(--transition-fast);
}

.footer-bottom p.copyright a:hover {
    color: var(--white);
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    color: var(--white);
    transition: opacity var(--transition-fast);
    text-decoration: none;
    font-size: inherit;
}

.footer-legal a:hover {
    opacity: 0.8;
}

.legal-divider {
    color: rgba(255, 255, 255, 0.3);
}

.footer-credit {
    color: rgba(255, 255, 255, 0.7);
    font-size: inherit;
}

.footer-credit a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity var(--transition-fast);
}

.footer-credit a:hover {
    opacity: 0.8;
}

/* Interactive Popups / Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 3rem;
    max-width: 36rem;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--slate);
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--dark);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.modal-icon img {
    width: 36px;
    height: 36px;
}

.modal h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.modal p {
    color: var(--slate);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-card {
        padding: 2.25rem 1.75rem;
    }
    
    .hero {
        min-height: auto;
        padding-top: 5.5rem;
        padding-bottom: 5.5rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 0.5rem;
    }
    
    .hero-content h1,
    .hero-content h2.hero-title,
    .hero-content .h1-visual {
        font-size: 1.85rem;
        line-height: 1.25;
        letter-spacing: -0.02em;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.55;
        margin: 0.85rem auto 1.5rem;
        max-width: 520px;
    }
    
    .hero-badge {
        font-size: 0.72rem;
        padding: 0.3rem 0.85rem;
        margin-bottom: 0.85rem;
        letter-spacing: 0.5px;
    }
    
    .hero-actions,
    .hero-store-actions {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-actions .btn,
    .hero-store-actions .btn-store {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        box-sizing: border-box;
    }
    
    .hero-visual {
        margin-top: 1.75rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .hero-visual img,
    .hero-visual-mobile img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: 380px;
        object-fit: contain;
    }
    
    /* Hide floating side arrows on mobile to prevent obscuring text */
    .hero-arrow {
        display: none !important;
    }
    
    /* Sleek dots positioned cleanly above mobile wave */
    .hero-dots {
        bottom: 3.25rem;
        gap: 0.5rem;
    }
    
    .hero-dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-dot.active {
        width: 24px;
    }
    
    .hero-wave svg {
        height: 48px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        padding: 3rem 1.5rem;
        transition: left var(--transition-normal);
        border-top: 1px solid var(--border);
        align-items: stretch;
        text-align: center;
    }
    
    .nav-menu .nav-link {
        color: var(--slate);
        opacity: 1;
        font-size: 1.15rem;
        padding: 0.75rem 0;
        display: block;
    }
    
    .nav-menu .nav-link:hover, .nav-menu .nav-link.active {
        color: var(--primary);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 1.5rem;
    }
    
    .nav-menu .btn-primary {
        background-color: var(--primary);
        color: var(--white);
        box-shadow: 0 4px 14px 0 rgba(88, 91, 238, 0.3);
        width: 100%;
    }
    
    .nav-menu .btn-primary:hover {
        background-color: var(--primary-hover);
        color: var(--white);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 5.25rem;
        padding-bottom: 4.75rem;
    }
    
    .hero-content h1,
    .hero-content h2.hero-title,
    .hero-content .h1-visual {
        font-size: 1.55rem;
        line-height: 1.25;
    }
    
    .hero-content p {
        font-size: 0.88rem;
        line-height: 1.48;
    }
    
    .hero-visual img,
    .hero-visual-mobile img {
        max-height: 280px;
    }
    
    .hero-dots {
        bottom: 2.75rem;
    }
    
    .hero-wave svg {
        height: 38px;
    }

    .form-card {
        padding: 1.75rem 1.25rem;
    }

    .modal {
        padding: 2.25rem 1.5rem;
    }
}

/* ==========================================================================
   New Landing Page Additions (How it Works, Why Choose, Verticals, Testimonials)
   ========================================================================== */

/* Steps Section */
.section-process {
    background-color: var(--light-bg); /* #efefff */
    position: relative;
    padding-top: 15rem;
    padding-bottom: 13rem;
    overflow: visible;
}

.process-wave {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
}

.process-wave.top-wave {
    top: -1px;
}

.process-wave.bottom-wave {
    bottom: -2px; /* Extra overlap to prevent hairline rendering gap on high-DPI zoom */
}

.process-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
}

.process-wave.top-wave svg {
    height: 200px;
}

.process-wave.bottom-wave svg {
    height: 155px;
}

.process-wave .shape-fill {
    fill: var(--white); /* White wave overlays to carve out the lavender background */
}

.steps-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-card {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-icon-container {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-normal);
}

.step-icon-container:hover {
    transform: scale(1.08);
}

.step-icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--slate);
    line-height: 1.45;
    max-width: 200px;
    margin: 0 auto;
}

/* Why Choose Cards */
.why-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-icon-box {
    width: 96px;
    height: 96px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.12);
    transition: all var(--transition-normal);
}

.why-card:hover .why-icon-box {
    transform: translateY(-2px) scale(1.04);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.14) 0%, rgba(56, 189, 248, 0.14) 100%);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 10px 20px -6px rgba(99, 102, 241, 0.2);
}

.why-icon-box img,
.why-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.why-card:hover .why-icon-box img {
    transform: scale(1.05);
}

.why-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.why-card p {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.5;
}

/* Verticals Cards */
.vertical-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: none;
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.vertical-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.vertical-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.vertical-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.vertical-card:hover .vertical-img-wrapper img {
    transform: scale(1.05);
}

.vertical-card h4 {
    padding: 1.25rem 1.25rem 0.4rem;
    font-size: 1.15rem;
    color: var(--dark);
    font-weight: 600;
}

.vertical-card p {
    padding: 0 1.25rem 1.5rem;
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.5;
}
/* Testimonial Cards */
.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: none;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--slate);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.testimonial-company {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.dot.active {
    background-color: var(--primary);
}

/* Media Query Adaptations */
@media (max-width: 1024px) {
    .why-icon-box {
        width: 88px;
        height: 88px;
        margin-bottom: 1.25rem;
    }
    .why-icon-box img,
    .why-card img {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 768px) {
    .steps-row {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .step-card:not(:last-child)::after {
        display: none;
    }
    
    .why-card {
        padding: 2rem 1.5rem;
    }
    
    .section-process {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
    
    .process-wave.top-wave svg {
        height: 100px;
    }
    
    .process-wave.bottom-wave svg {
        height: 78px;
    }
}

/* ==========================================================================
   Features Page Enhancements (Sub-nav, Micro-cards, Mockups)
   ========================================================================== */

.category-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.micro-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.micro-card {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 12px;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.micro-card:hover {
    transform: translateY(-2px);
    background-color: #e8e8ff;
}

.micro-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e1b4b;
    margin-bottom: 0.25rem;
}

.micro-card p {
    font-size: 0.85rem;
    color: var(--slate);
    line-height: 1.4;
}

/* Sticky Subnav Menu */
.sub-nav {
    position: sticky;
    top: 70px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 99;
}

.sub-nav-container {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 0.85rem 0;
}

.sub-nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate);
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.sub-nav-link:hover, .sub-nav-link.active {
    color: var(--primary);
}

.sub-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 1px;
}

/* Console Mockup Window */
.console-mockup {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.mockup-window {
    display: flex;
    flex-direction: column;
    height: 720px;
}

.mockup-header {
    background-color: #f1f5f9;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots .dot.red { background-color: #ef4444; }
.mockup-dots .dot.yellow { background-color: #f59e0b; }
.mockup-dots .dot.green { background-color: #10b981; }

.mockup-address {
    margin-left: 2rem;
    background-color: var(--white);
    padding: 0.25rem 2rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--slate);
    border: 1px solid var(--border);
    font-family: monospace;
    width: 300px;
    text-align: center;
}

.mockup-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.mockup-sidebar {
    width: 200px;
    background-color: #1e1b4b;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    padding-left: 0.75rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    font-size: 0.85rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.mockup-content {
    flex: 1;
    background-color: #f8fafc;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
}

.content-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
}

.user-badge {
    background-color: #e2e8f0;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    color: #334155;
    font-weight: 500;
}

.mockup-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dashboard-stat {
    background-color: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate);
    font-weight: 500;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.stat-change {
    font-size: 0.75rem;
    font-weight: 500;
}

.stat-change.positive { color: #10b981; }
.stat-change.neutral { color: var(--primary); }
.stat-change.negative { color: #f43f5e; }

.dashboard-chart-section {
    background-color: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.chart-header h4 {
    font-weight: 600;
    color: #0f172a;
}

.chart-header span {
    color: var(--slate);
}

.mockup-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    min-height: 120px;
}

.chart-bar {
    flex: 1;
    background-color: #585bee;
    border-radius: 4px 4px 0 0;
    position: relative;
    display: flex;
    justify-content: center;
}

.chart-bar:hover {
    background-color: #38bdf8;
}

.chart-bar span {
    position: absolute;
    bottom: -20px;
    font-size: 0.7rem;
    color: var(--slate);
    font-weight: 500;
}

/* --- Interactive Mockups for Individual Pillars --- */

/* Geofence Map Mockup */
.geofence-map {
    width: 320px;
    height: 320px;
    background-color: #e2e8f0;
    border-radius: 50%;
    position: relative;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-lg);
    background-image: radial-gradient(#cbd5e1 20%, transparent 20%),
                      radial-gradient(#cbd5e1 20%, transparent 20%);
    background-size: 15px 15px;
    background-position: 0 0, 7.5px 7.5px;
    overflow: hidden;
}

.geofence-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: rgba(56, 189, 248, 0.15);
    border: 2px dashed #38bdf8;
}

.map-pin {
    position: absolute;
    background-color: #585bee;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.map-pin.company-pin {
    top: 45%;
    left: 45%;
    background-color: #1e1b4b;
}

.map-pin.employee-pin {
    top: 30%;
    left: 60%;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pin-pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

.map-status-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #10b981;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

/* Phone / Offline Mockup */
.phone-mockup {
    width: 280px;
    height: 520px;
    background-color: #0f172a;
    border-radius: 36px;
    border: 12px solid #334155;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
}

.phone-screen {
    flex: 1;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    font-family: inherit;
    position: relative;
}

.offline-banner {
    background-color: #dc2626;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.sync-card {
    background-color: var(--white);
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sync-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e1b4b;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.sync-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #334155;
}

.badge.warning {
    background-color: #fef3c7;
    color: #d97706;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.sync-info {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--slate);
}

/* Payslip Mockup */
.payslip-mockup {
    width: 320px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 2rem 1.5rem;
    margin: 0 auto;
}

.payslip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payslip-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e1b4b;
}

.status-badge.paid {
    background-color: #d1fae5;
    color: #065f46;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.payslip-divider {
    height: 1px;
    background-color: var(--border);
    margin: 1.25rem 0;
}

.payslip-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--slate);
    margin-bottom: 0.75rem;
}

.payslip-item strong {
    color: #0f172a;
}

.payslip-item.deduction strong {
    color: #f43f5e;
}

.payslip-item.total {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e1b4b;
    margin-bottom: 0;
}

.payslip-item.total strong {
    color: #585bee;
}

/* HRIS Mockup */
.hris-mockup {
    width: 340px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 0 auto;
}

.mockup-profile-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #585bee;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.mockup-profile-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.mockup-profile-header p {
    font-size: 0.8rem;
    color: var(--slate);
    margin: 0;
}

.profile-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.profile-tab, .tab {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--slate);
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.profile-tab.active, .tab.active {
    color: #585bee;
    border-bottom: 2px solid #585bee;
}

.profile-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--slate);
}

.detail-row strong {
    color: #0f172a;
}

/* ATS Mockup */
.ats-mockup {
    width: 340px;
    display: flex;
    gap: 1rem;
    margin: 0 auto;
}

.kanban-lane {
    flex: 1;
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 1px solid var(--border);
}

.kanban-lane.active {
    background-color: #e0e7ff;
    border: 1px solid rgba(88, 91, 238, 0.2);
}

.kanban-lane h5 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.25rem;
}

.kanban-lane.active h5 {
    color: #585bee;
}

.kanban-card {
    background-color: var(--white);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #334155;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.kanban-card.highlighted {
    border-color: #585bee;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-time {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
}

/* Reports Mockup */
.reports-mockup {
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0 auto;
}

.report-box {
    background-color: var(--white);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-icon {
    font-size: 1.5rem;
}

.report-box h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.report-box p {
    font-size: 0.75rem;
    color: var(--slate);
    margin: 0;
}

.btn-download {
    margin-left: auto;
    background-color: var(--light-bg);
    color: #585bee;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.btn-download:hover {
    background-color: #585bee;
    color: var(--white);
}

/* Keyframe animations */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 0.3; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

/* --- Mikaela Torres Performance Dashboard Mockup Styles --- */
.mockup-utility-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}
.utility-icons {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.95rem;
    color: #64748b;
    cursor: pointer;
}
.avatar-thumbnail {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #ec4899;
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mockup-profile-banner {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    text-align: left;
}
.mockup-profile-bg {
    height: 70px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 0);
    background-size: 10px 10px;
}
.mockup-profile-info-row {
    display: flex;
    padding: 0 1.25rem 0.75rem;
    position: relative;
    align-items: flex-end;
    gap: 1.25rem;
}
.mockup-avatar-large {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background-color: #ec4899;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--white);
    margin-top: -35px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}
.mockup-employee-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.name-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.name-badge-row h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.emp-id-tag {
    font-size: 0.7rem;
    background-color: #f1f5f9;
    color: #475569;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    font-weight: 500;
}
.status-active-badge {
    font-size: 0.7rem;
    background-color: #d1fae5;
    color: #065f46;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
}
.meta-info-row {
    display: flex;
    gap: 1.25rem;
    font-size: 0.75rem;
    color: var(--slate);
}
.mockup-header-stats {
    display: flex;
    gap: 0.5rem;
}
.stat-mini-card {
    background-color: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}
.stat-mini-card .lbl {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 0.1rem;
}
.stat-mini-card .val {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e1b4b;
}
.mockup-profile-tabs {
    display: flex;
    padding: 0 0.75rem;
    border-top: 1px solid var(--border);
    background-color: #fafafa;
    overflow-x: auto;
}
.mockup-profile-tabs .tab {
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    padding: 0.65rem 0.75rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.mockup-profile-tabs .tab.active, .mockup-profile-tabs .tab:hover {
    color: #585bee;
    border-bottom-color: #585bee;
}
.mockup-section-intro {
    margin-bottom: 1rem;
    text-align: left;
}
.breadcrumb-trail {
    font-size: 0.7rem;
    color: var(--slate);
    margin-bottom: 0.2rem;
}
.mockup-section-intro h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.15rem;
}
.mockup-section-intro p {
    font-size: 0.8rem;
    color: var(--slate);
    margin: 0;
}
.mockup-filters {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    overflow-x: auto;
}
.filter-btn {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.filter-btn.active, .filter-btn:hover {
    background-color: #e0e7ff;
    color: #585bee;
    border-color: rgba(88, 91, 238, 0.3);
}
.mockup-stats-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.stat-box {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}
.stat-box .stat-top {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.stat-box .stat-main {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}
.stat-box .stat-desc {
    font-size: 0.6rem;
    color: var(--slate);
    line-height: 1.2;
}
.stat-box.blue { border-left: 3px solid #38bdf8; }
.stat-box.red { border-left: 3px solid #f43f5e; }
.stat-box.green { border-left: 3px solid #10b981; }
.stat-box.orange { border-left: 3px solid #f59e0b; }
.stat-box.purple { border-left: 3px solid #a855f7; }

.mockup-notice {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.7rem;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    text-align: left;
}
.mockup-columns-2 {
    display: grid;
    grid-template-columns: 1.7fr 1.3fr;
    gap: 1rem;
    text-align: left;
}
.column-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
}
.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.card-title-row h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.legend-pills {
    display: flex;
    gap: 0.35rem;
}
.legend-pill {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}
.legend-pill.worked { background-color: #e0e7ff; color: #585bee; }
.legend-pill.late { background-color: #ffe4e6; color: #f43f5e; }
.legend-pill.ot { background-color: #d1fae5; color: #10b981; }
.legend-pill.ut { background-color: #fef3c7; color: #d97706; }
.legend-pill.early { background-color: #f3e8ff; color: #a855f7; }

.trend-chart-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.trend-chart-svg {
    width: 100%;
    height: auto;
}
.chart-dates-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--slate);
    font-weight: 500;
}
.reliability-score-block {
    margin-bottom: 1rem;
}
.reliability-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.25rem;
}
.score-val {
    color: #585bee;
    font-size: 0.85rem;
}
.score-progress-bar {
    height: 6px;
    background-color: #f1f5f9;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}
.score-progress {
    height: 100%;
    background-color: #585bee;
    border-radius: 50px;
}
.score-subtitle {
    font-size: 0.65rem;
    color: var(--slate);
    margin: 0;
}
.key-observations h5 {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    margin: 0 0 0.4rem;
    letter-spacing: 0.05em;
}
.observations-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.observations-list li {
    font-size: 0.7rem;
    color: #334155;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.observations-list .bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.observations-list .bullet.blue { background-color: #38bdf8; }
.observations-list .bullet.red { background-color: #f43f5e; }

/* Responsive Ordering and Adjustments */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .order-mobile-1 {
        order: 1;
    }
    
    .order-mobile-2 {
        order: 2;
    }
    
    .sub-nav {
        top: 60px; /* Adjust sticky top on mobile nav bar collapse */
    }
    
    .sub-nav-container {
        gap: 1.25rem;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0.85rem 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .sub-nav-link {
        flex-shrink: 0;
    }
    
    .micro-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .console-mockup {
        display: none; /* Hide complex console mockup on small mobile viewports */
    }
}

/* ==========================================================================
   MANAGED PAYROLL PAGE STYLES
   ========================================================================== */
.mp-hero {
    min-height: auto;
    padding-top: 9.5rem;
    padding-bottom: 5.5rem;
}

.mp-hero-tagline {
    font-size: 1.45rem;
    font-weight: 700;
    color: #60a5fa;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.mp-hero-visual {
    text-align: center;
}

.mp-hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mp-intro-lead {
    font-size: 1.25rem;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.mp-intro-text {
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.65;
}

.mp-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.mp-highlight-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    border-top: 4px solid var(--primary);
}

.mp-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mp-highlight-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.mp-highlight-card p {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.55;
    margin: 0;
}

/* What We Help With Grid */
.mp-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mp-help-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.mp-help-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.mp-help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.mp-help-card:hover::before {
    opacity: 1;
}

.mp-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.mp-icon-box svg {
    width: 32px;
    height: 32px;
}

.mp-icon-box img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.mp-help-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.mp-help-card p {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.mp-feature-bullets {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px dashed var(--border);
    padding-top: 1rem;
}

.mp-feature-bullets li {
    font-size: 0.85rem;
    color: var(--slate);
    position: relative;
    padding-left: 1.2rem;
    line-height: 1.4;
}

.mp-feature-bullets li::before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Why Choose Grid */
.mp-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.mp-why-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.mp-why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.mp-why-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.mp-why-icon svg {
    width: 28px;
    height: 28px;
}

.mp-why-card h4 {
    font-size: 1.18rem;
    margin-bottom: 0.65rem;
    color: var(--dark);
}

.mp-why-card p {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.55;
    margin: 0;
}

/* Workflow Steps */
.mp-workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mp-workflow-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.25rem 1.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.mp-workflow-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.mp-workflow-step {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.mp-workflow-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.mp-workflow-card p {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.5;
    margin: 0;
}

/* Powered By HireRyze Split Banner */
.mp-powered-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-lg);
    padding: 3.75rem 3.5rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.mp-powered-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.2) 0%, rgba(26, 115, 232, 0) 70%);
    pointer-events: none;
}

.mp-powered-card h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

.mp-powered-card .mp-powered-intro {
    color: #cbd5e1;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 800px;
}

.mp-pill-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.75rem;
}

.mp-pill-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    backdrop-filter: blur(8px);
}

.mp-pill-item h5 {
    font-size: 1.1rem;
    color: #93c5fd;
    margin-bottom: 0.5rem;
}

.mp-pill-item p {
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.55;
    margin: 0;
}

/* Important Note Callout */
.mp-notice-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 6px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    max-width: 850px;
    margin: 3.5rem auto 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mp-notice-icon {
    font-size: 1.75rem;
    line-height: 1;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.mp-notice-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.35rem;
}

.mp-notice-text {
    font-size: 0.95rem;
    color: #78350f;
    line-height: 1.55;
    margin: 0;
}

/* Responsive adjustments for MP */
@media (max-width: 1024px) {
    .mp-help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mp-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mp-workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mp-highlights-grid {
        grid-template-columns: 1fr;
    }
    .mp-pill-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mp-help-grid, .mp-why-grid, .mp-workflow-grid {
        grid-template-columns: 1fr;
    }
    .mp-powered-card {
        padding: 2.25rem 1.5rem;
    }
    .mp-notice-box {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ==================== TUTORIALS & VIDEO ACADEMY STYLES ==================== */
.tutorials-hero {
    min-height: auto;
    padding-top: 10rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
}

.yt-spotlight-box {
    background: linear-gradient(135deg, #ffffff 0%, #f6f8fe 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3.25rem 2.75rem;
    box-shadow: var(--shadow-sm);
    text-align: left;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
    align-items: center;
}

.yt-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: var(--dark);
    border: 1px solid var(--border);
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.yt-btn {
    background: #ff0000 !important;
    border-color: #ff0000 !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem 1.85rem;
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.28);
    width: 100%;
}

.yt-btn:hover {
    background: #cc0000 !important;
    border-color: #cc0000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.45);
    color: #ffffff !important;
}

.yt-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.yt-tag {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.tutorial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.tutorial-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.tutorial-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.tutorial-status-pill {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tutorial-status-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d97706;
}

.tutorial-topic-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.tutorial-topic-list li {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.tutorial-topic-list li svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 3px;
}

.tutorials-fallback-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.tutorials-fallback-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.tutorials-fallback-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

@media (max-width: 1024px) {
    .yt-spotlight-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2.25rem 1.75rem;
    }
    .yt-spotlight-box .yt-tag-list {
        justify-content: center;
    }
    .tutorials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tutorials-grid, .tutorials-fallback-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Legal & Compliance Pages (Privacy Policy & Terms of Service)
   ========================================================================== */

.legal-hero {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4338CA 100%);
    padding: 9.5rem 0 4.5rem;
    color: var(--white);
    text-align: center;
    position: relative;
}

.legal-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.legal-grid {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 3rem;
    padding: 4rem 0 6rem;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 6.5rem;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
}

.legal-sidebar-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.legal-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.legal-nav-link {
    font-size: 0.88rem;
    color: var(--slate);
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: block;
    line-height: 1.4;
}

.legal-nav-link:hover, .legal-nav-link.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.legal-content-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 3.5rem;
    box-shadow: var(--shadow-sm);
}

.legal-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.legal-section {
    margin-bottom: 3rem;
    scroll-margin-top: 7rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.55rem;
    color: var(--dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-section h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 1rem;
}

.legal-section ul, .legal-section ol {
    margin: 0.75rem 0 1.25rem 1.5rem;
    color: #334155;
}

.legal-section li {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-callout {
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #1e293b;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.9rem;
    min-width: 580px;
}

.legal-table th, .legal-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.legal-table th {
    background: #f8fafc;
    color: var(--dark);
    font-weight: 600;
}

/* Contact Form Feedback Alerts */
.form-feedback {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 1.25rem;
    text-align: left;
    display: none;
    transition: all var(--transition-fast);
}

.form-feedback-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-feedback-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-feedback a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.form-feedback a:hover {
    opacity: 0.8;
}

@media (max-width: 900px) {
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .legal-sidebar {
        position: static;
        max-height: none;
    }
    .legal-content-card {
        padding: 2rem 1.5rem;
    }
}

/* Support & Knowledge Base Page */
.support-hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.25rem;
    flex-wrap: wrap;
}

.kb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.kb-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kb-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 115, 232, 0.35);
}

.kb-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.kb-title {
    font-size: 1.35rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.kb-desc {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.kb-topics-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
}

.kb-topics-list li {
    font-size: 0.9rem;
    color: var(--dark);
    padding: 0.45rem 0;
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kb-topics-list li:last-child {
    border-bottom: none;
}

.kb-topics-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
}

.kb-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.kb-link:hover {
    text-decoration: underline;
}

.support-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .kb-grid {
        grid-template-columns: 1fr;
    }
    .support-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   SEO Breadcrumbs & Resource Center Styles
   ========================================================================== */

.breadcrumb-nav {
    padding: 1.25rem 0 0.5rem;
    font-size: 0.88rem;
    color: var(--slate);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.breadcrumb-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1;
}

.breadcrumb-list a {
    color: var(--slate);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--dark);
    font-weight: 600;
}

/* Breadcrumbs inside Hero Sections */
.breadcrumb-hero {
    padding: 0 0 1.25rem 0;
}

.breadcrumb-hero .breadcrumb-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.breadcrumb-hero .breadcrumb-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.breadcrumb-hero .breadcrumb-list li[aria-current="page"] {
    color: #ffffff;
    font-weight: 600;
}

.breadcrumb-hero .breadcrumb-list li:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.6);
}

/* Subpages without Hero section */
.page-has-header-offset {
    padding-top: 75px;
}

/* Resource Grid & Cards */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(88, 91, 238, 0.4);
}

.resource-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    width: fit-content;
}

.resource-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.resource-card p {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.resource-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.resource-read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Article Page Layout */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 3.5rem;
    align-items: flex-start;
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.article-content {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.75;
}

.article-content h2 {
    font-size: 1.85rem;
    color: var(--dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-callout {
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
}

.article-callout.warning {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.article-callout.info {
    background: var(--primary-light);
    border-left-color: var(--primary);
}

.article-callout h4 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: var(--dark);
}

.article-callout p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.formula-box {
    background: #f8fafc;
    color: var(--dark, #0f172a);
    border-left: 4px solid var(--primary, #2563eb);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.formula-box ol,
.formula-box ul,
.formula-box p,
.formula-box em,
.formula-box span,
.formula-box div,
.formula-box li {
    color: inherit;
}

.formula-box strong {
    color: var(--dark, #0f172a);
    font-weight: 700;
}

.formula-box .formula-title {
    color: var(--primary, #2563eb);
    font-weight: 700;
}

.formula-box .comment {
    color: var(--slate, #64748b);
}

.formula-box .highlight {
    color: var(--primary, #2563eb);
    font-weight: 600;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.75rem 0;
    font-size: 0.95rem;
}

.article-table th {
    background: #f8fafc;
    color: var(--dark);
    font-weight: 700;
    text-align: left;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
}

.article-table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
}

.article-sidebar {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-box h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-list li {
    margin-bottom: 0.75rem;
}

.sidebar-list a {
    color: #475569;
    text-decoration: none;
    font-size: 0.92rem;
    display: block;
    line-height: 1.4;
    transition: color var(--transition-fast);
}

.sidebar-list a:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .article-sidebar {
        position: static;
    }
}

/* Resource Guide Content & Article Elements */
.guide-content p {
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.guide-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.guide-content h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.guide-content ul,
.guide-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.guide-content li {
    margin-bottom: 0.5rem;
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.guide-table th,
.guide-table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    text-align: left;
}

.guide-table th {
    background-color: var(--light-bg);
    font-weight: 700;
    color: var(--dark);
}

.resource-meta {
    font-size: 0.9rem;
    color: var(--slate);
}

.formula-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.formula-text {
    font-family: monospace;
    font-weight: 700;
    color: var(--primary-dark);
}


