/* File: public\assets\css\pricing-pricing.css */

/* Base Variables */
:root {
    /* Brand Colors */
    --primary: #6a3de8;
    --primary-light: #7c3aed;
    --primary-dark: #5b21b6;
    --secondary: #0284c7;
    --accent: #10b981;
    --warning: #f59e0b;
    --danger: #dc2626;

    /* Neutral Colors */
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-medium: #f3f4f6;
    --bg-dark: #e5e7eb;
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px 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);

    /* Typography */
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;
}

/* Base Styles */
.services {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* Header Styles */
.services__header {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    color: white;
    padding: var(--space-16) 0 var(--space-16);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.services__header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.services__title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: var(--space-4);
    text-align: center;
    line-height: 1.2;
}

.services__title--white {
    color: white !important;
}

.services__subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 400;
    opacity: 0.9;
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
}

/* Alert Bar */
.services__alert {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    color: white;
    padding: var(--space-4) 0;
    position: relative;
}

.services__alert-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    padding: 0 var(--space-4);
}

.services__alert-badge {
    background-color: white;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.services__alert-text {
    margin: 0;
    font-size: 1rem;
    text-align: center;
}

.services__alert-link {
    color: white;
    text-decoration: underline;
    transition: all 0.2s ease;
}

.services__alert-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Navigation */
.services__nav {
    margin: var(--space-8) 0;
    position: relative;
    z-index: 5;
}

.services__nav-toggle {
    display: none;
    width: 100%;
    background-color: white;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
    align-items: center;
    cursor: pointer;
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-md);
}

.services__nav-toggle-icon {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: var(--primary);
    margin-right: var(--space-3);
}

.services__nav-toggle-icon::before,
.services__nav-toggle-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--primary);
    left: 0;
    transition: transform 0.3s ease;
}

.services__nav-toggle-icon::before {
    top: -6px;
}

.services__nav-toggle-icon::after {
    bottom: -6px;
}

.services__nav-toggle[aria-expanded="true"] .services__nav-toggle-icon {
    background-color: transparent;
}

.services__nav-toggle[aria-expanded="true"] .services__nav-toggle-icon::before {
    transform: translateY(6px) rotate(45deg);
}

.services__nav-toggle[aria-expanded="true"] .services__nav-toggle-icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

.services__nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    -webkit-overflow-scrolling: touch;
}

.services__nav-item {
    flex: 1;
    min-width: max-content;
}

.services__nav-link {
    display: block;
    padding: var(--space-4);
    text-align: center;
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.services__nav-link:hover,
.services__nav-link:focus,
.services__nav-link.active {
    color: var(--primary);
    background-color: rgba(91, 33, 182, 0.05);
    border-bottom-color: var(--primary-light);
}

/* Section Styles */
.services__section {
    background-color: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-8);
    margin-bottom: var(--space-12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.services__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--space-4);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.services__section-header--centered {
    justify-content: center;
    text-align: center;
}

.services__section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    position: relative;
    padding-left: var(--space-6);
}

.services__section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(to bottom, var(--primary-light), var(--primary));
    border-radius: var(--radius-full);
}

.services__section-header--centered .services__section-title {
    padding-left: 0;
}

.services__section-header--centered .services__section-title::before {
    display: none;
}

.services__section-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(91, 33, 182, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.services__section-icon svg {
    width: 24px;
    height: 24px;
}

.services__section-intro {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: var(--space-6);
    max-width: 800px;
}

/* Introduction Block */
.services__intro {
    margin-bottom: var(--space-8);
}

.services__intro-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}

.services__intro-text {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0;
}

/* Card Styles */
.services__card {
    background-color: var(--bg-medium);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary);
}

.services__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.services__card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
    gap: var(--space-4);
}

.services__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-1) 0;
}

.services__card-subtitle {
    color: var(--text-medium);
    font-size: 1rem;
    margin: 0;
}

.services__card-pricing {
    text-align: right;
}

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

.services__card-period {
    font-size: 0.875rem;
    color: var(--text-medium);
}

.services__card-description {
    color: var(--text-medium);
    margin-bottom: var(--space-6);
}

.services__card-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

.services__feature {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-dark);
}

.services__feature-icon {
    width: 20px;
    height: 20px;
    margin-right: var(--space-2);
    fill: var(--primary);
}

.services__card-note {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-top: var(--space-4);
    font-style: italic;
}

/* Benefits Section */
.services__benefits {
    margin: var(--space-10) 0;
}

.services__benefits-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-6);
    text-align: center;
}

.services__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-6);
}

.services__benefit-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-top: 3px solid var(--primary);
}

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

.services__benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(91, 33, 182, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
}

.services__benefit-icon svg {
    width: 24px;
    height: 24px;
}

.services__benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-2);
}

.services__benefit-description {
    color: var(--text-medium);
    font-size: 0.938rem;
    margin: 0;
}

/* Stats Section */
.services__stats {
    margin: var(--space-10) 0;
}

.services__stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
}

.services__stat-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.services__stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(91, 33, 182, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
}

.services__stat-icon svg {
    width: 24px;
    height: 24px;
}

.services__stat-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-2);
}

.services__stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.services__stat-description {
    color: var(--text-medium);
    margin: 0 0 var(--space-4);
}

.services__stat-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
}

.services__stat-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Comparison Section */
.services__comparison {
    margin: var(--space-10) 0;
}

.services__comparison-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-6);
    text-align: center;
}

.services__comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.services__comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
}

.services__comparison-table th,
.services__comparison-table td {
    padding: var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.services__comparison-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.services__comparison-table th:first-child {
    border-top-left-radius: var(--radius-lg);
}

.services__comparison-table th:last-child {
    border-top-right-radius: var(--radius-lg);
}

.services__comparison-table tbody tr:hover {
    background-color: rgba(91, 33, 182, 0.05);
}

.services__comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.services__recommended-badge {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    margin-left: var(--space-2);
}

.services__comparison-detail {
    display: block;
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-top: var(--space-1);
}

/* CTA Sections */
.services__cta {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
    margin: var(--space-10) 0;
    position: relative;
    overflow: hidden;
    isolation: isolate; /* ensure pseudo-element can't sit above content in hit-testing */
}

.services__cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
    pointer-events: none; /* prevent invisible layer from blocking clicks */
}

.services__cta > * {
    position: relative;
    z-index: 1; /* keep CTA content above the decorative overlay */
}

.services__cta-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 var(--space-2);
    position: relative;
}

.services__cta-title--white {
    color: white !important;
}

.services__cta-text {
    margin: 0 0 var(--space-6);
    opacity: 0.9;
}

.services__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: white;
    color: var(--primary-dark);
    border: none;
    pointer-events: auto;
}

.services__cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-dark);
}

/* Support Cards */
.services__support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.services__support-card {
    background-color: var(--bg-medium);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary);
}

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

.services__support-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(91, 33, 182, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
}

.services__support-icon svg {
    width: 24px;
    height: 24px;
}

.services__support-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-2);
}

.services__support-description {
    color: var(--text-medium);
    margin: 0 0 var(--space-4);
}

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

.services__support-item {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    color: var(--text-dark);
}

.services__support-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Testing Types */
.services__testing-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.services__testing-type {
    background-color: var(--bg-medium);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary);
}

.services__testing-type:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.services__testing-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-2);
}

.services__testing-description {
    color: var(--text-medium);
    margin: 0 0 var(--space-4);
}

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

.services__testing-item {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    color: var(--text-dark);
}

.services__testing-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Options Section */
.services__options {
    margin-bottom: var(--space-8);
}

.services__options-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-6);
    text-align: center;
}

.services__options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
}

.services__option-card {
    background-color: var(--bg-medium);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.services__option-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-2);
}

.services__option-description {
    color: var(--text-medium);
    margin: 0 0 var(--space-4);
}

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

.services__option-item {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    color: var(--text-dark);
}

.services__option-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.services__option-card--featured {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    color: white;
}

.services__option-card--featured .services__option-title,
.services__option-card--featured .services__option-description,
.services__option-card--featured .services__option-item {
    color: white;
}

.services__option-card--featured .services__option-item::before {
    color: white;
}

.services__option-label {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background-color: white;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
}

/* Pricing Cards */
.services__pricing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.services__pricing-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-top: 3px solid var(--primary);
}

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

.services__pricing-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-4);
}

.services__pricing-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.services__pricing-description {
    color: var(--text-medium);
    margin: 0;
}

/* Individual Services */
.services__individual {
    margin: var(--space-10) 0;
}

.services__individual-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-6);
    text-align: center;
}

.services__services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-6);
}

.services__service-item {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.services__service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-2);
}

.services__service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.services__service-description {
    color: var(--text-medium);
    margin: 0;
}

/* Training Packages */
.services__training-packages {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-6);
    margin: var(--space-10) 0;
}

.services__package-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-light);
}

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

.services__package-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 var(--space-2);
}

.services__package-size {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: var(--space-4);
}

.services__package-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.services__package-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 var(--space-6);
    text-align: left;
}

.services__package-item {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-2);
    color: var(--text-dark);
}

.services__package-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.services__package-card--popular {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 10;
}

.services__package-card--popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.services__package-tag {
    position: absolute;
    top: 0;
    right: var(--space-6);
    transform: translateY(-50%);
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

.services__package-button {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.services__package-button:hover {
    background-color: var(--bg-medium);
    transform: translateY(-2px);
    color: var(--primary);
}

.services__package-button--primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.services__package-button--primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Client Logo Grid */
.services__logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.services__logo-item {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services__logo-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.services__logo-item img {
    max-width: 80%;
    max-height: 50px;
    object-fit: contain;
}

/* FAQ Section */
.services__faq {
    max-width: 900px;
    margin: 0 auto;
}

.services__accordion-item {
    border: 1px solid var(--border-light);
    margin-bottom: var(--space-4);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.services__accordion-button {
    background-color: white;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    width: 100%;
    text-align: left;
    padding: var(--space-4) var(--space-6);
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services__accordion-button:hover {
    background-color: rgba(91, 33, 182, 0.05);
}

.services__accordion-icon {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
}

.services__accordion-icon::before,
.services__accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: transform 0.3s ease;
}

.services__accordion-icon::before {
    top: 50%;
    left: 0;
    width: 18px;
    height: 2px;
    margin-top: -1px;
}

.services__accordion-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 18px;
    margin-left: -1px;
}

.services__accordion-button:not(.collapsed) .services__accordion-icon::after {
    transform: rotate(90deg);
}

.services__accordion-body {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-medium);
}

/* Hero CTA */
.services__hero-cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    margin: var(--space-16) 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.services__hero-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    animation: heroBgMove 30s linear infinite;
}

@keyframes heroBgMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 60px 60px;
    }
}

.services__hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.services__hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--radius-full);
    font-size: 2rem;
}

.services__hero-icon svg {
    width: 40px;
    height: 40px;
}

.services__hero-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 var(--space-4);
}

.services__hero-title--white {
    color: white !important;
}

.services__hero-highlight {
    color: rgba(111, 229, 245, 0.9);
    position: relative;
    display: inline-block;
}

.services__hero-highlight::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.services__hero-cta:hover .services__hero-highlight::after {
    transform: scaleX(1);
    transform-origin: left;
}

.services__hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    opacity: 0.9;
    margin: 0 0 var(--space-8);
}

.services__hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1.125rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: white;
    color: var(--primary-dark);
    border: none;
}

.services__hero-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-dark);
}

.services__btn-icon {
    display: inline-flex;
    margin-left: var(--space-2);
    transition: transform 0.2s ease;
}

.services__hero-button:hover .services__btn-icon {
    transform: translateX(3px);
}

.services__btn-icon svg {
    width: 18px;
    height: 18px;
}

/* Animations */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .services__nav-toggle {
        display: flex;
    }

    .services__nav-list {
        display: none;
        flex-direction: column;
    }

    .services__nav-list.active {
        display: flex;
    }

    .services__nav-item {
        width: 100%;
    }

    .services__nav-link {
        text-align: left;
        border-left: 3px solid transparent;
        border-bottom: none;
    }

    .services__nav-link:hover,
    .services__nav-link:focus,
    .services__nav-link.active {
        border-left-color: var(--primary-light);
        border-bottom-color: transparent;
    }

    .services__benefits-grid,
    .services__stats-grid,
    .services__support-grid,
    .services__testing-types,
    .services__options-grid,
    .services__pricing,
    .services__services-grid,
    .services__training-packages {
        grid-template-columns: 1fr;
    }

    .services__package-card--popular {
        transform: scale(1);
    }

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

    .services__card-header {
        flex-direction: column;
    }

    .services__card-pricing {
        text-align: left;
        margin-top: var(--space-4);
    }

    .services__section {
        padding: var(--space-6);
    }
}

@media (max-width: 768px) {
    .services__header {
        padding: var(--space-10) 0;
    }

    .services__section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .services__section-icon {
        margin-top: var(--space-2);
    }

    .services__comparison-table th,
    .services__comparison-table td {
        padding: var(--space-2);
        font-size: 0.875rem;
    }

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

    .services__hero-cta {
        padding: var(--space-8);
    }
}

@media (max-width: 576px) {
    .services__alert-content {
        flex-direction: column;
        text-align: center;
    }

    .services__card-features {
        grid-template-columns: 1fr;
    }

    .services__hero-cta {
        padding: var(--space-6);
    }

    .services__hero-icon {
        width: 60px;
        height: 60px;
    }

    .services__hero-icon svg {
        width: 30px;
        height: 30px;
    }

    .services__accordion-button {
        font-size: 1rem;
        padding: var(--space-3) var(--space-4);
    }

    .services__accordion-body {
        padding: var(--space-3) var(--space-4);
    }
}
