/* =======================
   FONT-FACE DEFINITIONS
   ======================= */

   @font-face {
    font-family: 'SP';
    src: url('/fonts/splight.woff2') format('woff2'),
         url('/fonts/splight.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SP';
    src: url('/fonts/splightitalic.woff2') format('woff2'),
         url('/fonts/splightitalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SP';
    src: url('/fonts/spregular.woff2') format('woff2'),
         url('/fonts/spregular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SP';
    src: url('/fonts/spregularitalic.woff2') format('woff2'),
         url('/fonts/spregularitalic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SP';
    src: url('/fonts/spbold.woff2') format('woff2'),
         url('/fonts/spbold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SP';
    src: url('/fonts/spbolditalic.woff2') format('woff2'),
         url('/fonts/spbolditalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}


/* =======================
   STYLES
   ======================= */

* {
    font-family: 'SP', sans-serif;
}

.logo {
    height: 23px;
}

.logo-footer {
    height: 36px;
    margin-left: -6px;
    margin-bottom: -4px;
}

.gradient-bg {
    background: linear-gradient(90deg, #00A7A8 0%, #2a496f 100%);
}

.testimonial-card {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    background: rgba(0, 167, 168, 0.06);
    color: #00A7A8;
}

.cta-button {
    background: #00A7A8;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #008889;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 167, 168, 0.1), 0 4px 6px -2px rgba(0, 167, 168, 0.05);
}

.card-shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.highlight {
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 167, 168, 0.2);
    z-index: 0;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 167, 168, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 167, 168, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 167, 168, 0);
    }
}

.trust-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.trust-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Infinite scroll logos */
.logos-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logos-scroll-track {
    display: flex;
    width: fit-content;
    animation: scroll 30s linear infinite;
    gap: 4rem;
}

.logos-scroll-track:hover {
    animation-play-state: paused;
}

.logos-scroll-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-shrink: 0;
}

.logo-item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 2rem));
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logos-scroll-track {
        gap: 2rem;
    }
    
    .logos-scroll-content {
        gap: 2rem;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50% - 1rem));
        }
    }
}

/* =======================
   PRICING PAGE STYLES
   ======================= */

:root {
    --caresquad-primary: #00A7A8;
    --caresquad-secondary: #2a496f;
    --caresquad-dark: #1a1a2e;
    --caresquad-light: #f8fafc;
}

/* Custom slider styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
    outline: none;
}

input[type="range"]::-webkit-slider-track {
    background: transparent;
    height: 8px;
    border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--caresquad-primary);
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(0, 167, 168, 0.3);
    cursor: pointer;
}

input[type="range"]::-moz-range-track {
    background: transparent;
    height: 8px;
    border-radius: 4px;
}

input[type="range"]::-moz-range-progress {
    background: var(--caresquad-primary);
    height: 8px;
    border-radius: 4px 0 0 4px;
}

input[type="range"]::-moz-range-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--caresquad-primary);
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(0, 167, 168, 0.3);
    cursor: pointer;
}

.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 167, 168, 0.08);
}

.badge {
    animation: pulse-badge 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes bounce-subtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.savings-badge {
    animation: bounce-subtle 2s ease-in-out infinite;
}

.gradient-primary {
    background: linear-gradient(90deg, #00A7A8 0%, #2a496f 100%);
}

.gradient-accent {
    background: linear-gradient(90deg, #00A7A8 0%, #2a496f 100%);
}

.preset-btn {
    transition: all 0.2s ease;
}

.preset-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 167, 168, 0.15);
}

.preset-btn.active {
    background: linear-gradient(90deg, #00A7A8 0%, #2a496f 100%);
    color: white;
    border-color: transparent;
}

.preset-btn.active .text-slate-500 {
    color: rgba(255, 255, 255, 0.8);
}

.pack-select-btn {
    transition: all 0.2s ease;
    outline: none;
}

.pack-select-btn:focus {
    outline: none;
}

.pack-select-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 167, 168, 0.15);
}

.pack-select-btn.active {
    background: #00A7A8;
    color: white;
    border-color: #00A7A8 !important;
    outline: none;
}

.pack-select-btn.active .text-slate-500 {
    color: rgba(255, 255, 255, 0.8);
}

.pack-item {
    transition: all 0.2s ease;
}

.pack-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 167, 168, 0.15);
}

.pack-item.selected {
    border-color: var(--caresquad-primary) !important;
    background-color: rgba(0, 167, 168, 0.05) !important;
    box-shadow: 0 4px 12px rgba(0, 167, 168, 0.2);
}

.pack-item.pack-popular {
    border-color: var(--caresquad-primary);
    background-color: rgba(0, 167, 168, 0.05);
}

.pack-item.pack-popular:hover {
    box-shadow: 0 6px 16px rgba(0, 167, 168, 0.25);
}