/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --nhs-blue: #005EB8;
    --nhs-blue-dark: #003d7a;
    --cta-green: #10b981;
    --cta-orange: #FF8C00;
    --primary-color: #005EB8; /* NHS Blue */
    --primary-dark: #003d7a;
    --action-color: #10b981; /* Green for CTAs */
    --action-color-alt: #FF8C00; /* Orange alternative for CTAs */
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    /* Logo colors - matching NHS Blue version logo */
    --logo-roster-color: #005EB8; /* NHS Blue for "Roster" */
    --logo-iq-color: #FF8C00; /* Orange for "IQ" */
    /* Table colors */
    --light-red: #fee2e2; /* Light red for non-compliant rows */
    --dark-red: #dc2626; /* Dark red for critical gaps */
    --light-green: #d1fae5; /* Light green for compliant rows */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* CTA Button - Green/Orange high contrast */
.btn-cta {
    background-color: var(--cta-green);
    color: white;
    font-weight: 700;
}

.btn-cta:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cta.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    max-width: 1200px;
    padding: 0 20px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.logo-image {
    height: 120px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.logo-text {
    display: inline-block;
}

/* Kalayus Brand Text Styling - NHS Blue */
.rosteriq-text {
    display: inline-block;
    font-weight: 700;
}

.rosteriq-text .roster-part {
    color: var(--logo-roster-color); /* NHS Blue */
}

.rosteriq-text .iq-part {
    color: var(--logo-iq-color); /* Orange */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--nhs-blue);
    font-weight: 800;
}

.highlight {
    color: var(--nhs-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-light);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 0;
    padding-top: 0;
}

/* Screenshot Carousel */
.screenshot-carousel {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.carousel-container {
    position: relative;
    background: #005EB8; /* NHS Blue */
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.placeholder-content {
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placeholder-content svg {
    max-width: 100%;
    height: auto;
    flex: 1;
}

.placeholder-content p {
    margin-top: 1rem;
    font-weight: 600;
    color: white;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

/* Carousel Dots Indicator */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    border-color: white;
    width: 12px;
    height: 12px;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Trust Bar */
.trust-bar {
    background-color: var(--bg-light);
    padding: 2rem 0;
    text-align: center;
}

.trust-text {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-placeholder {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Value Props */
.value-props {
    padding: 3.5rem 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
}

/* Features */
.features {
    padding: 3.5rem 0;
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
}

/* Benefits */
.benefits {
    padding: 3.5rem 0;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.check-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-light);
}

.benefits-visual {
    display: flex;
    justify-content: center;
}

.stat-card-large {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.stat-large-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-large-label {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.stat-large-note {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* How It Works */
.how-it-works {
    padding: 3.5rem 0;
    background-color: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
}

/* Testimonials */
.testimonials {
    padding: 3.5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonials-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* Pricing Section */
.pricing {
    padding: 3.5rem 0;
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card-featured {
    border: 3px solid var(--cta-orange);
    transform: scale(1.05);
    position: relative;
}

.pricing-card-featured::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    height: 5px;
    background: linear-gradient(90deg, var(--cta-orange) 0%, var(--cta-green) 100%);
    border-radius: 12px 12px 0 0;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-badge.featured {
    background: var(--cta-orange);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pricing-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.pricing-guarantee {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

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

.guarantee-item strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.guarantee-item p {
    color: var(--text-light);
    font-size: 0.875rem;
}


/* Contact Form */
.contact {
    padding: 3.5rem 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-text > p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-benefit {
    color: var(--text-dark);
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

/* FAQ */
.faq {
    padding: 3.5rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-light);
}

/* Final CTA */
.final-cta {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.final-cta > p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.final-cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.final-cta .btn-primary:hover {
    background-color: var(--bg-light);
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

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

.social-links li {
    margin-bottom: 0;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */

/* Tablet and below (max-width: 1024px) */
@media (max-width: 1024px) {
    .navbar .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        gap: 1rem;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-image {
        height: 80px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-featured {
        transform: scale(1);
    }
    
    .screenshot-carousel {
        max-width: 100%;
    }
    
    .carousel-container {
        aspect-ratio: 16 / 10;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    
    .carousel-btn-prev {
        left: 5px;
    }
    
    .carousel-btn-next {
        right: 5px;
    }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
    .navbar .container {
        padding: 0 10px;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .value-props,
    .pricing,
    .contact {
        padding: 2.5rem 0;
    }
    
    .quick-demo-section {
        padding: 2rem 0;
    }
    
    .handover-audit-section,
    .regulatory-section,
    .calculator-section {
        padding: 2.5rem 0;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .screenshot-carousel {
        max-width: 100%;
    }
    
    .carousel-container {
        aspect-ratio: 16 / 10;
    }
    
    .carousel-btn {
        width: 32px;
        height: 32px;
    }
    
    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .placeholder-content {
        padding: 1rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent-visible {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.125rem;
}

.cookie-consent-text p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

.cookie-consent-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 1rem;
}

.cookie-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

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

.cookie-modal-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

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

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-modal-body > p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.cookie-preference-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 6px;
}

.cookie-preference-header {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-preference-header label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin: 0;
}

.cookie-preference-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-preference-header strong {
    color: var(--text-dark);
}

.cookie-preference-item p {
    margin: 0.5rem 0 0 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

.cookie-always-on {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-policy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-consent-buttons {
        width: 100%;
    }
    
    .cookie-consent-buttons .btn {
        flex: 1;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-modal-buttons {
        width: 100%;
    }
    
    .cookie-modal-buttons .btn {
        width: 100%;
    }
}

/* Blog Styles */
.blog-header {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.blog-section {
    padding: 3rem 0;
    background-color: var(--bg-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-category {
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary-dark);
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.blog-post-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.blog-post-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-post-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

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

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

.blog-post-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.blog-post-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.blog-nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.blog-nav-link:hover {
    text-decoration: underline;
}

.nav-links .active {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-subtitle {
        font-size: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }
    
    .blog-post-navigation {
        flex-direction: column;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-card,
.feature-item,
.testimonial-card,
.faq-item {
    animation: fadeIn 0.6s ease-out;
}

/* Cost of Vacancy Calculator Section */
.calculator-section {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.calculator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calculator-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.calculator-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.calculator-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calculator-benefit {
    color: var(--text-light);
    font-size: 1rem;
}

.calculator-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.calculator-box {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calculator-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.calculator-group {
    display: flex;
    flex-direction: column;
}

.calculator-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.calculator-group input {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.calculator-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calculator-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.calculator-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.result-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.result-item {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
}

.result-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.result-agency {
    color: #ef4444;
}

.result-permanent {
    color: #10b981;
}

.result-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.result-highlight .result-label {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.result-highlight .result-value {
    font-size: 2rem;
    color: white;
}

.result-note {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.result-cta {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.result-cta p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* CQC Checklist Section */
.checklist-section {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.checklist-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.checklist-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.checklist-icon {
    font-size: 8rem;
    opacity: 0.9;
}

.checklist-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.checklist-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.checklist-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checklist-feature {
    font-size: 1rem;
    opacity: 0.95;
}

.checklist-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    color: var(--text-dark);
}

.checklist-form-container h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.checklist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist-form .form-group {
    display: flex;
    flex-direction: column;
}

.checklist-form .form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.checklist-form .form-group input,
.checklist-form .form-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    color: var(--text-dark);
}

.checklist-form .form-group input:focus,
.checklist-form .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
}

.checklist-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.checklist-success h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.checklist-success p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.success-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.success-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--nhs-blue);
}

.badge-icon {
    color: var(--cta-green);
    font-weight: 700;
}

.badge-text {
    color: var(--text-dark);
}

/* Quick Demo Form (Top of Page) */
.quick-demo-section {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, var(--nhs-blue) 0%, var(--nhs-blue-dark) 100%);
    color: white;
}

.quick-demo-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quick-demo-content h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.quick-demo-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.quick-demo-form {
    max-width: 700px;
    margin: 0 auto;
}

.quick-demo-fields {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

.quick-demo-fields input {
    flex: 1;
    min-width: 180px;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
}

.quick-demo-fields input:focus {
    outline: none;
    border-color: var(--cta-green);
    background-color: white;
}

.quick-demo-fields .btn-cta {
    min-width: 160px;
    padding: 14px 24px;
}

.quick-demo-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

/* Handover Audit Section */
.handover-audit-section {
    padding: 3.5rem 0;
    background-color: var(--bg-light);
}

.handover-audit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.handover-audit-text h2 {
    color: var(--nhs-blue);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.handover-audit-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.handover-benefits {
    list-style: none;
    margin: 1.5rem 0;
}

.handover-benefits li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.7;
}

.handover-benefits li:last-child {
    border-bottom: none;
}

.handover-note {
    background-color: white;
    padding: 1.5rem;
    border-left: 4px solid var(--nhs-blue);
    border-radius: 4px;
    margin-top: 1.5rem;
}

/* Handover Audit Report Screenshot */
.handover-audit-table-wrapper {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    text-align: center;
}

.handover-report-screenshot {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

.table-placeholder {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 6px;
    border: 2px dashed var(--border-color);
    color: var(--text-light);
}

.table-placeholder p {
    margin: 0.5rem 0;
}

.table-note {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-style: italic;
    text-align: center;
}

/* Comparison Section - Standalone */
.comparison-section {
    padding: 3.5rem 0;
    background-color: var(--bg-light);
}

/* Comparison Table - Inline in Why Kalayus Section */
.comparison-inline-wrapper {
    margin-top: 3rem;
}

.comparison-table-inline {
    width: 100%;
    border-collapse: collapse;
}

.comparison-header-inline {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--nhs-blue) 0%, var(--nhs-blue-dark) 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

/* Header columns should be white and bold */
.comparison-header-inline .comparison-feature-col-inline,
.comparison-header-inline .comparison-legacy-col-inline,
.comparison-header-inline .comparison-rosteriq-col-inline {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.comparison-row-inline {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 1.5rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    transition: background-color 0.3s ease;
}

.comparison-row-inline:hover {
    background-color: rgba(16, 185, 129, 0.03);
}

.comparison-row-inline:last-child {
    border-bottom: none;
}

.comparison-feature-col-inline {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.comparison-legacy-col-inline {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0.75rem;
    background-color: rgba(220, 38, 38, 0.05);
    border-left: 3px solid #dc2626;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.comparison-cross {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.comparison-rosteriq-col-inline {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0.75rem;
    background-color: rgba(16, 185, 129, 0.08);
    border-left: 3px solid var(--cta-green);
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.comparison-check {
    color: var(--cta-green);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.comparison-rosteriq-col-inline strong {
    color: var(--nhs-blue);
    font-weight: 700;
}

/* Comparison Section - Standalone */
.comparison-section {
    padding: 3.5rem 0;
    background-color: var(--bg-light);
}

.comparison-content {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-content .section-title {
    color: var(--nhs-blue);
    margin-bottom: 1rem;
}

.comparison-content .section-subtitle {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.comparison-table-wrapper {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    margin-bottom: 3rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--nhs-blue) 0%, var(--nhs-blue-dark) 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.125rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    align-items: start;
    transition: background-color 0.3s ease;
}

.comparison-row:hover {
    background-color: var(--bg-light);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-feature-col {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.comparison-legacy-col {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1rem;
    border-left: 2px solid #e5e7eb;
    position: relative;
}

.comparison-legacy-col::before {
    content: '✗';
    position: absolute;
    left: -0.5rem;
    color: #dc2626;
    font-weight: 700;
    font-size: 1.25rem;
}

.comparison-rosteriq-col {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1rem;
    border-left: 3px solid var(--cta-green);
    background-color: rgba(16, 185, 129, 0.05);
    border-radius: 4px;
    padding: 1rem;
    position: relative;
}

.comparison-rosteriq-col::before {
    content: '✓';
    position: absolute;
    left: -0.5rem;
    color: var(--cta-green);
    font-weight: 700;
    font-size: 1.25rem;
    background-color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cta-green);
}

.comparison-rosteriq-col strong {
    color: var(--nhs-blue);
    font-weight: 700;
}

.comparison-cta {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--nhs-blue) 0%, var(--nhs-blue-dark) 100%);
    border-radius: 12px;
    color: white;
}

.comparison-cta h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.comparison-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

/* Regulatory Section */
.regulatory-section {
    padding: 3.5rem 0;
    background-color: white;
}

.regulatory-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.regulatory-content h2 {
    color: var(--nhs-blue);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.regulatory-lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.regulatory-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    border-top: 4px solid var(--nhs-blue);
}

.regulatory-card h3 {
    color: var(--nhs-blue);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.regulatory-card p {
    line-height: 1.7;
    color: var(--text-light);
}

/* Pricing Cost Note */
.pricing-cost-note {
    margin: 0.75rem 0;
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--cta-green);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-dark);
}

/* Sticky Slide-in Lead Magnet */
.checklist-slidein {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 999;
    padding: 1.5rem;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.checklist-slidein.show {
    transform: translateX(0);
}

.slidein-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.slidein-close:hover {
    background-color: var(--bg-light);
}

.slidein-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--nhs-blue);
}

.slidein-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.checklist-form-compact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checklist-form-compact input {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
}

.checklist-form-compact input:focus {
    outline: none;
    border-color: var(--nhs-blue);
}

.checklist-form-compact .btn-cta {
    width: 100%;
    padding: 0.75rem;
}

/* Footer Archive Note */
.footer-archive {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Free Handover Audit Modal */
.audit-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    padding: 1rem;
}

.audit-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.audit-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    z-index: 1;
    padding: 2.5rem;
}

.audit-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.audit-modal-close:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.audit-modal-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.audit-modal-header h2 {
    font-size: 2rem;
    color: var(--nhs-blue);
    margin-bottom: 1rem;
}

.audit-modal-header > p {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.audit-benefits-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.audit-benefits-list li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
}

.audit-benefits-list li:last-child {
    border-bottom: none;
}

.audit-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--cta-green);
    border-radius: 4px;
    color: var(--text-dark);
    font-size: 1rem;
}

.audit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.audit-form .form-group {
    display: flex;
    flex-direction: column;
}

.audit-form .form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.audit-form .form-group input[type="file"] {
    padding: 0.75rem;
    border: 2px dashed var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.audit-form .form-group input[type="file"]:hover {
    border-color: var(--primary-color);
    background-color: white;
}

.audit-form .form-group input[type="file"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.1);
}

.file-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

.audit-form .form-group input[type="text"],
.audit-form .form-group input[type="email"],
.audit-form .form-group input[type="tel"],
.audit-form .form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.audit-form .form-group input:focus,
.audit-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.1);
}

.audit-form .form-group textarea {
    resize: vertical;
}

.audit-form .form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .audit-modal-content {
        padding: 1.5rem;
        max-height: 95vh;
    }
    
    .audit-modal-header h2 {
        font-size: 1.75rem;
    }
    
    .audit-modal-header > p {
        font-size: 1rem;
    }
    
    .audit-benefits-list li {
        font-size: 0.9rem;
    }
}

/* Responsive Design for Lead Magnets */
@media (max-width: 1024px) {
    .calculator-content,
    .checklist-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calculator-row {
        grid-template-columns: 1fr;
    }
    
    .result-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .calculator-section,
    .checklist-section {
        padding: 3rem 0;
    }
    
    .calculator-text h2,
    .checklist-text h2 {
        font-size: 2rem;
    }
    
    .calculator-box,
    .checklist-form-wrapper {
        padding: 1.5rem;
    }
    
    .checklist-icon {
        font-size: 5rem;
    }
    
    /* Quick Demo Form */
    .quick-demo-fields {
        flex-direction: column;
    }
    
    .quick-demo-fields input,
    .quick-demo-fields .btn-cta {
        width: 100%;
    }
    
    /* Handover Audit */
    .handover-audit-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .handover-audit-table-wrapper {
        overflow-x: auto;
    }
    
    /* Regulatory */
    .regulatory-grid {
        grid-template-columns: 1fr;
    }
    
    /* Sticky Slide-in */
    .checklist-slidein {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        bottom: 20px;
        max-width: 400px;
    }
    
    /* Comparison Table */
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-header {
        padding: 1rem;
    }
    
    .comparison-row {
        padding: 1rem;
        gap: 1rem;
    }
    
    .comparison-legacy-col,
    .comparison-rosteriq-col {
        padding-left: 0;
        border-left: none;
        padding: 0.75rem;
    }
    
    .comparison-legacy-col::before,
    .comparison-rosteriq-col::before {
        display: none;
    }
    
    .comparison-legacy-col {
        background-color: rgba(220, 38, 38, 0.05);
        border-left: 3px solid #dc2626;
    }
    
    .comparison-cta {
        padding: 2rem 1.5rem;
    }
    
    .comparison-cta h3 {
        font-size: 1.5rem;
    }
    
    /* Comparison Table Inline - Mobile */
    .comparison-header-inline,
    .comparison-row-inline {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .comparison-header-inline {
        padding: 1rem;
        font-size: 0.875rem;
        text-align: left;
    }
    
    .comparison-row-inline {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .comparison-legacy-col-inline,
    .comparison-rosteriq-col-inline {
        padding: 0.75rem;
        width: 100%;
    }
    
    .comparison-inline-wrapper h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .comparison-feature-col-inline {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}
