/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */
:root {
    --primary-gradient: linear-gradient(135deg, #17A4D0 0%, #B111D9 100%); /* Blue to purple diagonal gradient */
    --primary-color: #B111D9;    /* Primary brand color (purple) */
    --secondary-color: #17A4D0;  /* Secondary brand color (blue) */
    --text-color: #1f2937;       /* Main text color (dark gray) */
    --text-light: #6b7280;       /* Secondary text color (lighter gray) for less emphasis */
    --background-color: #ffffff; /* Background color (white) */
    --section-padding: 5rem 0;   /* Standard vertical padding for sections (5rem top/bottom, 0 left/right) */
    --container-padding: 0.0rem; /* Horizontal padding for containers */
    --border-radius: 0.75rem;    /* Standard border radius for rounded corners */
    --transition: all 0.3s ease; /* Standard transition for smooth animations */
}

/* ==========================================================================
   Reset and Base Styles
   ========================================================================== */
* {
    margin: 0;                /* Remove default margins from all elements */
    padding: 0;               /* Remove default padding from all elements */
    box-sizing: border-box;   /* Include padding and border in width calculations */
}

/* Enable smooth scrolling behavior sitewide */
html {
    scroll-behavior: smooth;  /* Makes anchor links scroll smoothly rather than jump */
}

/* Base body styles */
body {
    font-family: 'Inter', sans-serif; /* Set primary font to Inter with fallback to system sans-serif */
    color: var(--text-color);         /* Set default text color using CSS variable */
    line-height: 1.5;                 /* Set comfortable line spacing (1.5× the font size) */
    overflow-x: hidden;               /* Prevent horizontal scrolling */
    background: var(--background-color);
}

/* Container for content width control */
.container {
    width: 100%;                      /* Full width on mobile */
    max-width: 1250px;                /* Maximum width on larger screens */
    margin: 0 auto;                   /* Center horizontally */
    padding: 0 var(--container-padding); /* Horizontal padding from CSS variable */
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 80px;
    margin-top: 0;
}

.nav {
    display: flex;             /* Use flexbox for layout */
    justify-content: space-between; /* Push logo to left, navigation links to right */
    align-items: center;       /* Vertically center items */
    height: 80px;              /* Match height of parent header */
}

.logo {
    font-size: 1.5rem;         /* Set font size for logo text (if any) */
    font-weight: 700;          /* Bold font weight for logo text */
    display: flex;             /* Use flexbox for vertical alignment */
    align-items: center;       /* Center items vertically */
}

.logo img {
    height: auto;              /* Maintain aspect ratio */
    width: 480px;              /* Increased width for logo */
    object-fit: contain;       /* Ensure logo fits within boundaries without distortion */
    max-width: 100%;           /* Prevent overflow on smaller screens */
}

.nav-links {
    display: none;             /* Hide navigation links by default on mobile */
}

@media (min-width: 768px) {    /* Media query for tablets and larger screens */
    .nav-links {
        display: flex;         /* Show navigation links as flexbox on larger screens */
        gap: 2rem;             /* Add space between navigation items */
        align-items: center;   /* Center items vertically */
    }

    .nav-links a {
        text-decoration: none; /* Remove underline from links */
        color: var(--text-color); /* Use text color from CSS variables */
        font-weight: 500;      /* Medium font weight for better readability */
        transition: var(--transition); /* Smooth transition for hover effect */
    }

    .nav-links a:hover {
        color: var(--primary-color); /* Change color on hover to primary brand color */
    }

    /* Header-specific CTA Button styling - preserve shape but make smaller */
    .nav-links .cta-button {
        transform: scale(0.85); /* Scale down by 15% while preserving shape */
        margin-left: -5px; /* Adjust position as needed after scaling */
    }
}

/* Tablet-specific styles (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-links {
        display: none; /* Hide navigation menu on tablets */
    }
    
    .nav {
        justify-content: center; /* Center the logo */
    }
    
    .logo {
        margin: 0 auto; /* Ensure logo is centered */
    }
    
    .hero-heading {
        font-size: 4rem !important; /* Make hero heading bigger on tablets */
        margin-bottom: 4rem !important; /* Increase space between heading and subheading on tablets */
    }
    
    .hero-subheading:last-of-type {
        margin-bottom: 4rem !important; /* Increase space between last subheading and CTA button on tablets */
    }
    
    .hero-section {
        padding-top: 40px !important; /* Reduce space between logo and hero heading on tablets */
        margin-top: 40px !important; /* Also reduce margin-top for tablets */
    }
}

/* Tablet portrait specific styles (768px to 900px) */
@media (min-width: 768px) and (max-width: 900px) {
    .hero-bg-circle {
        right: 20vw !important; /* Move circle slightly to the left for tablet portrait */
        top: 75% !important; /* Move circle down for tablet portrait */
        width: 70vw !important; /* Make circle slightly bigger for tablet portrait */
        height: 70vw !important; /* Make circle slightly bigger for tablet portrait */
        min-width: unset !important; /* Remove min-width constraint */
        max-width: unset !important; /* Remove max-width constraint */
        min-height: unset !important; /* Remove min-height constraint */
        max-height: unset !important; /* Remove max-height constraint */
    }
}

/* Background circle customization for 901px - 1000px */
@media (min-width: 901px) and (max-width: 1000px) {
    .hero-bg-circle {
        right: 2.5vw !important; /* Adjust positioning */
        top: 65% !important;
        width: 45vw !important; /* Adjust size */
        height: 45vw !important; /* Adjust size */
    }
    
    .hero-image-card {
        transform: translateX(-3rem); /* Move hero image to the left */
    }
    
    .staggered-steps {
        margin-left: 2rem !important; /* Move staggered steps to the left (reduced from 15rem) */
    }
}

/* Background circle customization for 1001px - 1100px */
@media (min-width: 1001px) and (max-width: 1100px) {
    .hero-bg-circle {
        right: 1.5vw !important; /* Adjust positioning */
        top: 60% !important;
        width: 45vw !important; /* Adjust size */
        height: 45vw !important; /* Adjust size */
    }
    
    .hero-image-card {
        transform: translateX(-6rem); /* Move hero image to the left */
    }
    
    .staggered-steps {
        margin-left: 5rem !important; /* Significantly reduce margin to prevent cutoff */
        transform: translateX(-2rem); /* Additional move to the left */
        max-width: 400px; /* Limit width to ensure fit */
    }
}

/* Background circle customization for 1101px - 1200px */
@media (min-width: 1101px) and (max-width: 1200px) {
    .hero-bg-circle {
        right: -1vw !important; /* Adjust positioning */
        width: 50vw !important; /* Adjust size */
        height: 50vw !important; /* Adjust size */
    }
    
    .hero-image-card {
        transform: translateX(-3rem); /* Move hero image to the left */
    }
    
    .staggered-steps {
        margin-left: 12rem !important; /* Move staggered steps to the left (reduced from 15rem) */
    }
}

/* Background circle customization for 1201px - 1367px */
@media (min-width: 1201px) and (max-width: 1367px) {
    .hero-bg-circle {
        right: -3vw !important; /* Adjust positioning */
        width: 50vw !important; /* Adjust size */
        height: 50vw !important; /* Adjust size */
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
/* Main Hero Styles - Consolidated from .hero and .hero-section */
.hero-section {
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding-top: 80px;         /* From .hero padding-top */
    padding-bottom: 80px;      /* From .hero padding-bottom */
    margin-top: 80px;         /* From .hero margin-top */
    position: relative;
    overflow: hidden;
    z-index: 1;                /* From .hero z-index */
}

/* Hero Background Elements */
.hero-section::before {
    content: '';               /* Required for pseudo-elements */
    position: absolute;        /* Position independently of normal flow */
    top: 50%;                  /* Position vertically at middle */
    right: -20%;               /* Position outside the right edge */
    transform: translateY(-50%); /* Adjust vertical position for exact centering */
    width: 140vw;              /* Make wider than viewport for full coverage */
    height: 140vw;             /* Equal height for perfect circle */
    border-radius: 50%;        /* Create perfect circle */
    z-index: -1;               /* Place behind content */
}

.hero-bg-circle {
    position: absolute;
    top: 51%;
    right: 8vw;
    transform: translateY(-50%);
    width: 40vw;
    height: 40vw;
    min-width: 350px;
    min-height: 350px;
    max-width: 710px;
    max-height: 710px;
    background: linear-gradient(180deg, rgba(120, 200, 255, 0.3) 0%, rgba(200, 150, 255, 0.3) 100%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(0.5px); /* Slightly increase blur for softer edges */
}

/* Hero Layout and Content */
.hero-section .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
}

.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
    gap: 3.5rem;
    position: relative;
    z-index: 1;
}

/* Left Content Styles */
.hero-left {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 320px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;               /* Take up half the space */
    text-align: left;      /* Left-align text on desktop */
    padding-right: 2rem;   /* Add space between text and image */
}

.hero-content--centered {
    text-align: center;
    width: 100%;
    margin-bottom: 2.5rem;
}

/* Consolidated hero-heading */
.hero-heading {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    color: #000;
    line-height: 1.08;
}


/* Consolidated hero text styles */
.hero-subheading {
    font-size: 1.1rem;
    color: #000;
    margin-top: 0;
    font-weight: 400;
    line-height: 1.5; /* Added from hero p */
}

.hero-subheading + .hero-subheading {
    margin-top: 1.5rem; /* or any value you prefer */
}

.hero-subheading:last-of-type {
    margin-bottom: 2.5rem; /* Space between last subheading and CTA button */
}

/* Hero-specific CTA Button styling */
.hero-left .cta-button {
    width: 280px;  /* Fixed width instead of relying on padding */
    display: flex;  /* Use flexbox */
    justify-content: center;  /* Center text horizontally */
    align-items: center;  /* Center text vertically */
    text-align: center;  /* Center text alignment */
    padding: 0.5rem;  /* Keep vertical padding, reduce horizontal */
}

/* General paragraph styling for hero section */
.hero-section p:not(.hero-subheading):not(.hero-description) {
    font-size: 1.25rem;        /* Larger font for other paragraphs */
    color: var(--text-light);  /* Lighter text color for contrast */
    margin-bottom: 2rem;       /* Space below paragraph */
}

/* Right Content Styles */
.hero-right {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 340px;
    max-width: 520px;
    margin-top: 0rem;     /* Increase this value to move both elements down */
    position: relative;
    z-index: 1;
}

.hero-image-card {
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: visible; /* Allow image to display fully */
    height: auto; /* Let height be determined by content */
    margin: 0 auto 3rem auto;
    background-color: transparent;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
    margin: 0 auto 1.2rem auto;
    object-fit: contain; /* Maintain aspect ratio */
    box-shadow: none; /* Remove shadow completely */
}

.hero-image img {
    width: 100%;               /* Full width of container */
    height: auto;              /* Maintain aspect ratio */
    border-radius: var(--border-radius); /* Rounded corners */
    max-width: 600px;          /* Increased maximum width */
    margin: 0 auto;            /* Center horizontally */
    display: block;            /* Remove inline spacing */
}

.hero-image--large-above-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

.hero-image--large-above-steps img {
    width: 420px;
    max-width: 95vw;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(140, 110, 220, 0.10);
    display: block;
    margin: 0 auto;
}

/* Staggered Steps - Now part of hero section */
.staggered-steps {
    margin-left: 15rem;    /* Move staggered steps to the right */
    width: 100%;
    margin-top: -30px;
    margin-bottom: 0;
    max-width: none;
    position: relative;
    z-index: 2;  /* Keep z-index of 2 to appear above other elements */
}

.staggered-steps .step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    position: relative;
}

.staggered-steps .step-number {
    background: var(--primary-color);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(140, 110, 220, 0.08);
}

.staggered-steps .step-content {
    max-width: 460px;  /* Increased for wider content area */
}

.staggered-steps .step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: #2d2172;
}

.staggered-steps .step-desc {
    font-size: 0.95rem;
    color: #6b7280;
}

/* Step positioning */
.staggered-steps .step1 { margin-left: 0; }
.staggered-steps .step2 { margin-left: 30px; }
.staggered-steps .step3 { margin-left: 60px; }



/* ==========================================================================
   Alternative Hero Layouts
   ========================================================================== */
/* Two-column hero layout - alternative to the standard hero-container */
.hero-two-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
    position: relative;
    z-index: 1;
}

/* Column styles for two-column hero layout */
.hero-col {
    flex: 1 1 0;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-col--left {
    align-items: flex-start;
}

.hero-col--right {
    align-items: center;
}

/* Hero Responsive Styles */
@media (min-width: 768px) {    /* Media query for tablets and larger screens */
    .hero-section .container {
        flex-direction: row;   /* Switch to horizontal layout */
        align-items: center;   /* Center content vertically */
        padding: 0 2rem;       /* Add horizontal padding */
    }

    /* Desktop-specific positioning for hero-image, base styles defined above */
    .hero-image {
        flex: 1;               /* Take up half the space */
        margin-left: auto;     /* Push image to the right */
        transform: translateX(4rem); /* Additional push to the right */
    }

    .hero-heading {
        font-size: 4.0rem;     /* Larger heading on desktop */
    }
    
    .hero-section::before {
        right: -10%;           /* Adjust position on larger screens */
        width: 100vw;          /* Adjust size on larger screens */
        height: 100vw;         /* Maintain perfect circle */
    }
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        gap: 2.5rem;
        padding: 0 0.5rem;
        align-items: stretch;
    }
    
    .hero-left, .hero-right {
        width: 100%;
        min-width: 0;
        align-items: center;
    }
    
    .hero-left {
        align-items: center;
        text-align: center;
        margin-top: 40px;    /* Added margin to push content down on mobile */
    }
    
    /* Mobile-specific adjustments for hero-image-card */
    .hero-image-card {
        margin-bottom: 2rem;
        width: 100%;
        max-width: 320px; /* Slightly smaller on mobile */
        padding: 0;
    }
    
    .hero-image {
        width: 100%;
        max-width: 100%;
        border-radius: 12px; /* Slightly smaller radius on mobile */
    }
    
    .hero-heading {
        font-size: 2.1rem;
    }
    /* Mobile-specific adjustments for hero background circle */
    .hero-bg-circle {
        top: 65%; /* Move circle down on mobile */
    }
}

/* Mobile-only hero background circle positioning */
@media (max-width: 767px) {
    /* Mobile-specific header and logo adjustments */
    .header {
        height: 70px !important; /* Ensure adequate header height on mobile */
    }
    
    .nav {
        justify-content: flex-start !important; /* Align logo to start, matching content alignment */
        padding-left: 1rem !important; /* Add left padding to match content indentation */
    }
    
    .logo img {
        width: 280px !important; /* Smaller logo size for mobile */
        max-width: 85vw !important; /* Ensure it fits on small screens */
    }
    
    /* Mobile-specific hero section spacing adjustments */
    .hero-section {
        padding-top: 40px !important; /* Reduce top padding on mobile */
        margin-top: 70px !important; /* Adjust for header height */
    }
    
    /* Mobile-specific spacing between CTA and image */
    .hero-container {
        gap: 5rem !important; /* Increase space between hero content and image on mobile */
    }
    
    .hero-bg-circle {
        top: 60% !important; /* Force circle higher on mobile only */
    }
    
    /* Mobile-specific font size adjustments for hero text */
    .hero-heading {
        font-size: 3rem !important; /* Make heading bigger on mobile only */
    }
    
    .hero-subheading {
        font-size: 1rem !important; /* Make subheading smaller on mobile only */
    }
    
    /* Mobile-specific adjustments for staggered steps visibility */
    .staggered-steps {
        margin-left: 0 !important; /* Remove the 15rem left margin on mobile */
        margin-top: 6rem; /* Increased space above staggered steps on mobile */
        margin-bottom: 2rem !important; /* Reduce space below staggered steps on mobile */
        width: 100%; /* Ensure full width */
    }
    
    .staggered-steps .step1,
    .staggered-steps .step2,
    .staggered-steps .step3 {
        margin-left: 0 !important; /* Remove all step offsets on mobile */
    }
    
    /* Center FreeAgent title on mobile */
    .freeagent-content h2 {
        text-align: center !important; /* Center the FreeAgent title on mobile */
    }
    
    /* Allow 'Quality You Can Trust' headline to wrap on mobile */
    .trust h2 {
        white-space: normal !important; /* Override nowrap to allow wrapping on mobile */
    }

    /* Mobile menu styles */
    .mobile-menu-toggle {
        display: block !important; /* Show hamburger icon on mobile */
        color: #333 !important;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0.75rem;
        border-radius: 6px;
        transition: background-color 0.2s ease;
    }

    .mobile-menu-toggle:hover {
        background-color: #f5f5f5;
    }

    .nav-links {
        display: none !important; /* Hide desktop nav links on mobile */
    }
    
    /* Mobile-specific footer centering */
    .footer-content {
        text-align: center !important; /* Center align footer content on mobile */
    }
    
    .footer-links {
        justify-content: center !important; /* Center the footer links grid on mobile */
        text-align: center !important; /* Center align text within footer links */
    }
}

/* ==========================================================================
   Gradient Text Effects and Animations
   ========================================================================== */
/* Used primarily in the hero section for highlighted text */
.gradient-text {
    background: linear-gradient(135deg, #B111D9 0%, #17A4D0 100%); /* Purple to blue gradient */
    -webkit-background-clip: text; /* Clip background to text shape (Safari) */
    background-clip: text;      /* Clip background to text shape */
    -webkit-text-fill-color: transparent; /* Make text transparent to show gradient (Safari) */
    position: relative;        /* For positioning the underline pseudo-element */
    display: inline-block;     /* Needed for text effects to work properly */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Underline effect for gradient text */
.gradient-text::after {
    content: '';               /* Required for pseudo-elements */
    position: absolute;        /* Position relative to parent */
    bottom: -2px;              /* Position slightly below text */
    left: 0;                   /* Start at left edge */
    width: 0;                  /* Start with zero width (hidden) */
    height: 2px;               /* Height of underline */
    background: var(--primary-gradient); /* Use gradient for underline */
    transition: width 0.5s ease; /* Animate width change */
}

/* Hover and highlight states for underline effect */
.gradient-text:hover::after,
.hero-section:hover .gradient-text::after,  /* Activate on hero hover */
.gradient-text.highlight::after {
    width: 100%;               /* Expand to full width on hover/highlight */
}

/* Pulse animation class for attention-grabbing effect */
.gradient-text.pulse {
    animation: pulse 1s ease-in-out; /* Apply pulse animation */
}

/* Keyframes for pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);   /* Start at normal size */
    }
    50% {
        transform: scale(1.05); /* Grow slightly */
        text-shadow: 0 0 8px rgba(177, 17, 217, 0.3); /* Add glow effect */
    }
    100% {
        transform: scale(1);   /* Return to normal size */
    }
}

/* Color transition animation for IT Contractors text */
.gradient-text.color-transition {
    position: relative;
    background-size: 300% 100%;
    background-position: 0% 0%;
    background-image: linear-gradient(
        to right,
        #17A4D0 0%,
        #17A4D0 30%,
        #B111D9 70%,
        #B111D9 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 3.5s ease forwards, 
               subtlePulse 3s 3.5s infinite alternate;
}

/* Animation for flowing gradient effect */
@keyframes gradientFlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

/* Subtle pulse animation after the gradient flow completes */
@keyframes subtlePulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.03);
        text-shadow: 0 0 10px rgba(177, 17, 217, 0.2);
    }
}

/* ==========================================================================
   Mobile Menu Styles
   ========================================================================== */
/* Mobile menu toggle - hidden by default (desktop) */
.mobile-menu-toggle {
    display: none;
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: none;
}

.mobile-menu.active {
    display: block;
}

/* Mobile menu content panel */
.mobile-menu-content {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    margin: 0 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Mobile menu header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid #eee;
    background: white;
}

.mobile-menu-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
}

.mobile-menu-close {
    color: #666;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.mobile-menu-close:hover {
    color: #333;
}

/* Mobile menu links */
.mobile-menu-links {
    padding: 0;
}

.mobile-menu-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    background: white;
}

.mobile-menu-link:hover {
    background-color: #f0f0f0;
    color: #B111D9;
}

/* Mobile menu CTA button */
.mobile-menu-cta {
    margin: 1.5rem;
    display: block;
    text-align: center;
    background: #B111D9;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.cta-button {
    display: inline-block;      /* Allow setting width/height/padding */
    padding: 1rem 2rem;         /* Vertical and horizontal padding */
    border-radius: 30px;        /* Fully rounded corners */
    text-decoration: none;      /* Remove underline from links */
    font-weight: 700;           /* Bold text for emphasis */
    font-size: 1.25rem;         /* Increased font size */
    transition: var(--transition); /* Smooth transition for hover effects */
    color: white;               /* White text for better contrast */
    background: #B111D9;        /* Purple background */
    border: 2px solid #B111D9;  /* Purple border */
}

.cta-button.gradient-bg {
    background: #B111D9;        /* Solid purple */
    color: white;               /* White text for contrast */
    border: none;               /* Remove border */
    position: relative;         /* For positioning pseudo-element */
    z-index: 1;                 /* Set stacking context */
    overflow: hidden;           /* Hide shimmer effect when out of bounds */
    margin-top: 0.5rem;
    font-size: 1.35rem;         /* Increased font size */
    font-weight: 700;           /* Bold text */
    padding: 1.1rem 2.5rem;
    border-radius: 32px;
}

.cta-button.gradient-bg::before {
    display: none;
}

.cta-button.gradient-bg:hover {
    background: #9c0fc1; /* Slightly darker purple on hover */
    transform: translateY(-2px); /* Slight upward shift on hover */
    box-shadow: 0 4px 12px rgba(177, 17, 217, 0.3); /* Add shadow for depth */
}

.cta-button:hover {
    transform: translateY(-2px); /* Slight upward shift on hover */
    box-shadow: 0 4px 12px rgba(177, 17, 217, 0.3); /* Add shadow for depth */
    background: #9c0fc1; /* Slightly darker purple on hover */
}

/* ==========================================================================
   Social Proof Section
   ========================================================================== */
.social-proof {
    padding: var(--section-padding); /* Standard section padding from variables */
    text-align: center;              /* Center all content */
}

.tx-widget {
    margin-bottom: 3rem;             /* Space below TX widget */
}

.tx-widget img {
    width: 80%;                     /* Takes up 80% of the parent container */
    height: auto;                   /* Maintains aspect ratio */
    max-width: 300px;               /* Increased maximum size from 200px to 300px */
}

.rating {
    margin-top: 1rem;                /* Space above rating information */
}

.tx-reviews {
    margin-top: 2rem;               /* Space above reviews image */
    display: flex;                  /* Use flexbox layout */
    justify-content: space-between; /* Space between left and right containers */
    flex-wrap: wrap;                /* Allow wrapping on smaller screens */
    gap: 2rem;                      /* Gap between items when they wrap */
}

.tx-reviews-container {
    flex: 1;                        /* Each container takes equal space */
    min-width: 280px;               /* Minimum width before wrapping */
    display: flex;                  /* Use flexbox for centering */
    justify-content: center;        /* Center horizontally */
    align-items: center;            /* Center vertically */
}

.tx-reviews img {
    max-width: 100%;               /* Full width with constraints */
    height: auto;                  /* Maintain aspect ratio */
    width: 650px;                  /* Increased width from 450px to 550px */
    border-radius: var(--border-radius); /* Rounded corners */
    /* Removed box-shadow */
}

/* Single review image styling for larger display */
.tx-reviews.single-review {
    justify-content: center;       /* Center the single container */
}

.tx-reviews.single-review .tx-reviews-container.single {
    max-width: 1400px;             /* Allow container to be much larger for readable text */
    min-width: auto;               /* Remove minimum width constraint */
}

.tx-reviews.single-review img {
    width: 1400px;                 /* Very large width for readable text */
    max-width: 95vw;               /* Responsive max-width (95% of viewport width) */
}

/* ==========================================================================
   Desktop/Tablet Static Images & Mobile Carousel Visibility
   ========================================================================== */

/* Desktop/Tablet: Show static images, hide carousel */
.desktop-static-image {
    display: block;
    width: 1400px;
    max-width: 95vw;
    height: auto;
    border-radius: var(--border-radius);
    margin: 0 auto;
}

.mobile-only {
    display: none;
}

/* ==========================================================================
   Review Carousel Styles (Mobile Only)
   ========================================================================== */
.review-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius);
    border: none;
    outline: none;
    box-shadow: none;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: auto;
}

.carousel-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    border: none;
    outline: none;
    box-shadow: none;
    vertical-align: top;
}

/* Carousel dots/indicators */
.carousel-dots {
    text-align: center;
    margin-top: 1.5rem;
    padding: 0;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.dot:hover {
    background-color: var(--secondary-color);
}

/* Mobile-specific carousel styles */
@media (max-width: 768px) {
    /* Hide desktop static images on mobile */
    .desktop-static-image {
        display: none;
    }
    
    /* Show carousel only on mobile */
    .mobile-only {
        display: block;
    }
    
    /* Remove all spacing from parent containers on mobile */
    .social-proof {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .tx-reviews {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
    }
    
    .tx-reviews-container {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .review-carousel {
        max-width: 100vw;
        margin: 0 !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        border-radius: 0;
        padding: 0 !important;
    }
    
    .carousel-container {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .carousel-slide {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .carousel-slide img {
        border-radius: 0;
        width: 100vw;
        max-width: none;
        border: none;
        outline: none;
        box-shadow: none;
        vertical-align: top;
        margin: 0 !important;
        padding: 0 !important;
        display: block;
    }
    
    .carousel-dots {
        margin-left: calc(50vw - 50%);
        margin-right: calc(50vw - 50%);
        margin-top: 1.5rem !important;
        margin-bottom: 0 !important;
        padding: 1rem 0 !important;
    }
}

.reviews-cta {
    margin-top: 6rem;              /* Increased space above the CTA button from 3rem to 5rem */
    text-align: center;            /* Center the button */
}

.reviews-cta .cta-button {
    font-size: 1.3rem;             /* Slightly larger font for emphasis */
    padding: 1rem 2.5rem;          /* Larger padding for a bigger button */
}

.stars {
    color: #00b67a;                  /* TX green color for stars */
    font-size: 1.5rem;               /* Larger size for stars */
}

.reviews {
    display: grid;                   /* Use CSS grid for layout */
    gap: 2rem;                       /* Space between review cards */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid that adapts to screen size */
}

.review-card {
    background: white;               /* White background for cards */
    padding: 2rem;                   /* Internal spacing */
    border-radius: var(--border-radius); /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
}

.reviewer {
    margin-top: 1rem;                /* Space above reviewer information */
    color: var(--text-light);        /* Lighter text color */
    font-weight: 500;                /* Medium font weight */
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.benefits {
    padding: var(--section-padding); /* Standard section padding from variables */
    background: var(--background-color); /* Use white background from CSS variable */
}

.benefits h2 {
    text-align: center;              /* Center section heading */
    margin-bottom: 3rem;           /* Space below heading */
    font-size: 2.5rem;               /* Large font size for heading */
}

.benefits-subheading {
    text-align: center;              /* Center the text */
    margin-bottom: 1rem;             /* Space between paragraphs */
}

.benefits-subheading:last-of-type {
    margin-bottom: 4rem;             /* Extra space before benefits grid */
}

.benefits-grid {
    display: grid;                   /* Use CSS grid for layout */
    gap: 2rem;                       /* Space between benefit cards */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid that adapts to screen size */
}

/* Force 2 columns for benefits grid in mid-range screen sizes */
@media (min-width: 904px) and (max-width: 1215px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr); /* Force exactly 2 columns */
    }
}

.benefit-card {
    background: white;               /* White background for cards */
    padding: 2rem;                   /* Internal spacing */
    border-radius: var(--border-radius); /* Rounded corners */
    text-align: center;              /* Center content within cards */
    transition: var(--transition);   /* Smooth transition for hover effects */
}

.benefit-card:hover {
    transform: translateY(-5px);     /* Lift card slightly on hover */
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.15); /* Add shadow for depth on hover */
}

.benefit-card img {
    width: 64px;                     /* Width of benefit icon */
    height: 64px;                    /* Height of benefit icon */
    margin-bottom: 1.5rem;           /* Space below icon */
}

.benefit-card h3 {
    margin-bottom: 1rem;             /* Space below card title */
}

/* Benefits CTA Button styling */
.benefits-cta {
    margin-top: 4rem;               /* Space above the CTA button */
    text-align: center;             /* Center the button */
}

.benefits-cta .cta-button {
    font-size: 1.3rem;             /* Slightly larger font for emphasis */
    padding: 1rem 2.5rem;          /* Larger padding for a bigger button */
}

/* ==========================================================================
   FreeAgent Section
   ========================================================================== */
.freeagent {
    padding: 5rem 0;                /* Reduced top padding from 5rem to 3rem */
}

.freeagent .container {
    display: flex;                  /* Use flexbox for layout */
    flex-direction: column;         /* Stack content vertically on mobile */
    gap: 3rem;                      /* Space between content and image */
    align-items: flex-start;        /* Align items to the start */
}

.freeagent-content {
    text-align: center;             /* Center text on mobile */
    width: 100%;                    /* Full width */
}

.freeagent-content h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 3rem; /* Increase this value, e.g., to 2rem or 2.5rem */
}

.freeagent-image {
    width: 100%;                    /* Full width */
    display: flex;                  /* Use flexbox */
    justify-content: center;        /* Center horizontally */
    align-items: flex-start;        /* Align to top */
    position: relative;
}

.freeagent-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-top: 0 !important; /* Remove any top margin */
}

.freeagent-content .cta-button {
    margin-top: 4rem; /* Reduce space above button */
    margin-bottom: 0; /* Remove extra space below button */
}

@media (min-width: 768px) {
    .freeagent .container {
        flex-direction: row;
        align-items: flex-start;
        gap: 4rem;
    }
    .freeagent-content {
        flex: 1;
        text-align: left;
    }
    .freeagent-image {
        flex: 1;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        height: 100%;
    }
}

.freeagent-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    left: auto;
    transform: none;
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, #B111D9 0%, #17A4D0 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 4px solid #fff;
}

.freeagent-badge .badge-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.freeagent-badge .badge-subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
}

/* ==========================================================================
   Trust Badges Section
   ========================================================================== */
.trust {
    padding: var(--section-padding); /* Standard section padding from variables */
    background: white;               /* White background */
}

.trust h2 {
    text-align: center;              /* Center section heading */
    margin-bottom: 3rem;             /* Space below heading */
    font-size: 2.5rem;               /* Large font size for heading */
    width: 100%;                     /* Ensure full width for proper centering */
}

.trust h2 .gradient-text {
    display: inline-block;           /* Allow centering while keeping gradient effects */
    text-align: center;              /* Ensure text inside is centered */
    width: 100%;                     /* Take full width */
}

/* Custom style to fix the "Quality" gradient text to stay inline */
.trust h2 .gradient-text {
    width: auto;                     /* Override the 100% width to stay inline */
    display: inline;                 /* Keep text inline with the rest */
}

.trust-badges {
    display: grid;                   /* Use CSS grid for layout */
    gap: 2rem;                       /* Space between badges */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid that adapts to screen size */
}

.badge {
    text-align: center;              /* Center content within badges */
    padding: 2rem;                   /* Internal spacing */
}

.badge img {
    width: 80px;                     /* Width of badge icon */
    height: 80px;                    /* Height of badge icon */
    margin-bottom: 1.5rem;           /* Space below icon */
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing {
    padding: var(--section-padding); /* Standard section padding from variables */
    background: var(--background-color); /* Use white background from CSS variable */
}

.pricing h2 {
    text-align: center;              /* Center section heading */
    margin-bottom: 3rem;             /* Space below heading */
    font-size: 2.5rem;               /* Large font size for heading */
}

.pricing-grid {
    display: flex;                   /* Use flexbox for better single-card centering */
    justify-content: center;         /* Center the single card horizontally */
    gap: 2rem;                       /* Space between pricing cards (if multiple) */
}

.price-card {
    background: white;               /* White background for cards */
    padding: 2rem;                   /* Internal spacing */
    border-radius: var(--border-radius); /* Rounded corners */
    text-align: center;              /* Center content within cards */
    transition: var(--transition);   /* Smooth transition for hover effects */
    position: relative;              /* For positioning the popular tag */
    max-width: 400px;                /* Limit width for better proportions */
    width: 100%;                     /* Full width up to max-width */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Add shadow for emphasis since it's the only card */
}

.price-card.popular {
    border: 2px solid var(--primary-color); /* Purple border for popular plan */
}

.popular-tag {
    position: absolute;              /* Position independently of normal flow */
    top: -12px;                      /* Position above the card */
    left: 50%;                       /* Center horizontally */
    transform: translateX(-50%);     /* Adjust horizontal centering */
    background: var(--primary-gradient); /* Gradient background */
    color: white;                    /* White text for contrast */
    padding: 0.5rem 1rem;            /* Internal spacing */
    border-radius: 20px;             /* Fully rounded corners */
    font-size: 0.875rem;             /* Smaller font size */
    font-weight: 500;                /* Medium font weight */
}

.price {
    font-size: 2.5rem;               /* Large font size for price */
    font-weight: 700;                /* Bold font weight for emphasis */
    margin: 1.5rem 0;                /* Margin above and below price */
}

.price span {
    font-size: 1rem;                 /* Smaller font size for "/month" text */
    color: var(--text-light);        /* Lighter text color */
}

.price span:last-child {
    margin-left: -0.6rem;            /* Pull the /month text close to £50 */
}

/* Promotional pricing styles */
.price .original-price {
    text-decoration: line-through;   /* Strike through the original price */
    color: var(--text-light);        /* Lighter color for struck-through price */
    margin-right: 0.25rem;           /* Reduced space between original and promo price */
    opacity: 0.7;                    /* Make it more subtle */
    font-size: 2rem;                 /* Slightly smaller than the promo price */
}

.price .promo-price {
    color: var(--primary-color);     /* Use brand color for promotional price */
    font-weight: 700;                /* Bold font weight for emphasis */
    font-size: 2.5rem;               /* Same size as original price styling */
    margin-right: 0.1rem;            /* Minimal space before /month text */
}

.promo-terms {
    font-size: 0.875rem;             /* Smaller font size */
    font-style: italic;              /* Italic text */
    color: var(--text-light);        /* Lighter text color */
    text-align: center;              /* Center the text */
    margin-top: -1.5rem;             /* Move it much closer to the price */
    margin-bottom: 1rem;             /* Space before the features list */
}

.price-card ul {
    list-style: none;                /* Remove bullet points */
    margin: 2rem 0;                  /* Margin above and below list */
}

.price-card li {
    margin: 0.75rem 0;               /* Margin above and below list items */
    color: var(--text-light);        /* Lighter text color */
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    padding: var(--section-padding); /* Standard section padding from variables */
}

.contact h2 {
    text-align: center;              /* Center section heading */
    margin-bottom: 1rem;             /* Space below heading */
    font-size: 2.5rem;               /* Large font size for heading */
}

.contact p {
    text-align: center;              /* Center paragraph text */
    color: var(--text-light);        /* Lighter text color */
    margin-bottom: 3rem;             /* Space below paragraph */
}

.contact-form {
    max-width: 600px;                /* Limit form width for readability */
    margin: 0 auto;                  /* Center form horizontally */
}

.form-group {
    margin-bottom: 1.5rem;           /* Space between form fields */
}

.form-group input {
    width: 100%;                     /* Full width of container */
    padding: 1rem;                   /* Internal spacing */
    border: 2px solid #e5e7eb;       /* Light gray border */
    border-radius: var(--border-radius); /* Rounded corners */
    font-size: 1rem;                 /* Standard font size */
    transition: var(--transition);   /* Smooth transition for focus effect */
}

.form-group input:focus {
    outline: none;                   /* Remove default focus outline */
    border-color: var(--primary-color); /* Change border color when focused */
}

.contact-form button {
    width: 100%;                     /* Full width of container */
    cursor: pointer;                 /* Show pointer cursor on hover */
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    padding: 4rem 0 2rem;            /* More top padding, less bottom padding */
    background: #f9fafb;             /* Light gray background */
}

.footer-content {
    display: grid;                   /* Use CSS grid for layout */
    gap: 3rem;                       /* Space between grid items */
    margin-bottom: 3rem;             /* Space below content */
}

.footer-logo h3 {
    font-size: 1.5rem;               /* Larger font size for logo text */
    margin-bottom: 1rem;             /* Space below logo */
}

.footer-links {
    display: grid;                   /* Use CSS grid for layout */
    gap: 2rem;                       /* Space between column sections */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid that adapts to screen size */
}

.footer-column h4 {
    margin-bottom: 1rem;             /* Space below column headings */
}

.footer-column a {
    display: block;                  /* Make links block-level for larger click area */
    color: var(--text-light);        /* Lighter text color */
    text-decoration: none;           /* Remove underline from links */
    margin: 0.5rem 0;                /* Margin above and below links */
    transition: var(--transition);   /* Smooth transition for hover effect */
}

.footer-column a:hover {
    color: var(--primary-color);     /* Change color on hover to primary brand color */
}

.footer-bottom {
    text-align: center;              /* Center copyright text */
    padding-top: 2rem;               /* Space above copyright */
    border-top: 1px solid #e5e7eb;   /* Light gray top border */
    color: var(--text-light);        /* Lighter text color */
}

/* ==========================================================================
   General Animations
   ========================================================================== */
/* Fade-in animation for content elements */
.fade-in {
    opacity: 0;                      /* Start invisible */
    transform: translateY(20px);     /* Start 20px below final position */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Smooth transition for fade and movement */
}

/* Class added via JavaScript to trigger animation */
.fade-in.visible {
    opacity: 1;                      /* Become fully visible */
    transform: translateY(0);        /* Move to final position */
}

/* Accessibility - respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        transition: none;            /* Disable animations for users who prefer reduced motion */
    }
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */
.comparison {
    padding: var(--section-padding); /* Standard section padding from variables */
    background-color: #f9fafb;        /* Light gray background to differentiate from other sections */
}

.section-header {
    text-align: center;              /* Center section header content */
    margin-bottom: 4rem;             /* Large space below header */
    max-width: 800px;                /* Limit width for readability */
    margin-left: auto;               /* Center horizontally */
    margin-right: auto;              /* Center horizontally */
}

.section-tag {
    display: inline-block;           /* Allow setting padding/margin while keeping inline */
    background-color: rgba(177, 17, 217, 0.1); /* Very light purple background */
    color: #B111D9;                  /* Purple text */
    font-size: 0.875rem;             /* Smaller font size */
    font-weight: 600;                /* Semi-bold font weight */
    padding: 0.5rem 1rem;            /* Internal padding */
    border-radius: 20px;             /* Fully rounded corners */
    margin-bottom: 1rem;             /* Space below tag */
}

.section-header h2 {
    font-size: 2.5rem;               /* Large font size for heading */
    margin-bottom: 1.5rem;           /* Space below heading */
    color: #21295c;                  /* Dark blue color */
}

.section-header p {
    color: var(--text-light);        /* Lighter text color */
    font-size: 1.125rem;             /* Slightly larger font size */
    line-height: 1.6;                /* Increased line height for readability */
}

.comparison-table-container {
    background-color: #fff;           /* White background for the table container */
    border-radius: var(--border-radius); /* Use standard border radius */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
    overflow: hidden;                 /* Hide overflow for rounded corners */
    margin-bottom: 2rem;              /* Space below table */
}

.comparison-table {
    width: 100%;                      /* Full width table */
    border-collapse: collapse;        /* Remove gaps between cells */
    font-size: 1rem;                  /* Standard font size */
}

.comparison-table thead {
    background: var(--primary-gradient); /* Use primary gradient for header */
}

.comparison-table th {
    padding: 1.5rem 1rem;             /* Generous padding for header cells */
    text-align: center;               /* Center-align header text */
    font-weight: 600;                 /* Semi-bold font weight */
    color: white;                     /* White text for contrast */
    font-size: 1.1rem;                /* Slightly larger font for headers */
}

.comparison-table .feature-column {
    text-align: left;                 /* Left-align feature column header */
    min-width: 300px;                 /* Minimum width for feature descriptions */
}

.comparison-table .techaccounting-column {
    background: rgba(255, 255, 255, 0.1); /* Slightly lighter background to highlight our column */
    font-weight: 700;                 /* Bold font weight to emphasize our column */
}

.comparison-table tbody tr {
    border-bottom: 1px solid #f3f4f6; /* Light gray border between rows */
    transition: background-color 0.2s ease; /* Smooth transition for hover */
}

.comparison-table tbody tr:hover {
    background-color: #f9fafb;        /* Light gray background on hover */
}

.comparison-table tbody tr:last-child {
    border-bottom: none;              /* Remove border from last row */
}

.comparison-table td {
    padding: 1.25rem 1rem;            /* Comfortable padding for data cells */
    vertical-align: middle;           /* Center content vertically */
    text-align: center;               /* Center-align content */
}

.comparison-table .feature-cell {
    text-align: left;                 /* Left-align feature descriptions */
    font-weight: 500;                 /* Medium font weight */
    color: var(--text-color);         /* Use standard text color */
    font-size: 1rem;                  /* Standard font size */
}

.comparison-table .yes-cell {
    background-color: rgba(34, 197, 94, 0.05); /* Very light green background */
    color: #059669;                   /* Green text color */
    font-weight: 600;                 /* Semi-bold font weight */
}

.comparison-table .no-cell {
    background-color: rgba(239, 68, 68, 0.05); /* Very light red background */
    color: #dc2626;                   /* Red text color */
    font-weight: 600;                 /* Semi-bold font weight */
}

.comparison-table .limited-cell {
    background-color: rgba(245, 158, 11, 0.05); /* Very light amber background */
    color: #d97706;                   /* Amber text color */
    font-weight: 600;                 /* Semi-bold font weight */
}

.comparison-table .checkmark {
    font-size: 1.2rem;                /* Larger checkmark */
    margin-right: 0.5rem;             /* Space after checkmark */
    color: #059669;                   /* Green color for checkmark */
}

.comparison-table .cross {
    font-size: 1.2rem;                /* Larger cross */
    margin-right: 0.5rem;             /* Space after cross */
    color: #dc2626;                   /* Red color for cross */
}

.comparison-table .warning {
    font-size: 1.2rem;                /* Larger warning symbol */
    margin-right: 0.5rem;             /* Space after warning */
    color: #d97706;                   /* Amber color for warning */
}

.comparison-table .status-text {
    font-size: 0.95rem;               /* Slightly smaller font for status text */
}

/* Responsive Design for Comparison Table */
@media (max-width: 768px) {
    .comparison-table-container {
        overflow-x: auto;             /* Allow horizontal scrolling on mobile */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    .comparison-table {
        min-width: 500px;             /* Reduced from 600px for better mobile fit */
        font-size: 0.9rem;            /* Smaller overall font size on tablets */
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;      /* Reduced padding on mobile */
    }
    
    .comparison-table .feature-column {
        min-width: 180px;             /* Reduced from 250px for mobile */
    }
    
    .comparison-table th {
        font-size: 0.95rem;           /* Smaller header font on mobile */
    }
    
    .comparison-table .status-text {
        font-size: 0.85rem;           /* Smaller status text */
    }
}

@media (max-width: 480px) {
    .comparison-table {
        min-width: 400px;             /* Further reduced for small mobile screens */
        font-size: 0.8rem;            /* Even smaller font for small screens */
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.3rem;       /* Further reduced padding on small mobile */
    }
    
    .comparison-table .feature-column {
        min-width: 140px;             /* Further reduced minimum width on small mobile */
        font-size: 0.75rem;           /* Smaller feature text */
    }
    
    .comparison-table th {
        font-size: 0.85rem;           /* Smaller headers on small mobile */
        padding: 0.75rem 0.3rem;      /* Specific header padding */
    }
    
    .comparison-table .status-text {
        font-size: 0.7rem;            /* Much smaller status text on small mobile */
    }
    
    .comparison-table .checkmark,
    .comparison-table .cross,
    .comparison-table .warning {
        font-size: 1rem;              /* Slightly smaller icons on small mobile */
        margin-right: 0.25rem;        /* Reduced margin after icons */
    }
    
    /* Hide status text on very small screens, show only icons */
    .comparison-table .status-text {
        display: none;                /* Hide text, show only checkmarks/crosses */
    }
}

@media (max-width: 360px) {
    .comparison-table {
        min-width: 350px;             /* Minimum for very small screens */
    }
    
    .comparison-table .feature-column {
        min-width: 120px;             /* Very compact for tiny screens */
        font-size: 0.7rem;            /* Very small feature text */
    }
    
    .comparison-table th {
        font-size: 0.8rem;            /* Compact headers */
    }
}

/* ==========================================================================
   End of CSS
   ========================================================================== */ 