/* Modern SaaS Variables */
:root {
    /* Updated Color Palette based on the image */
    --primary: #0042CC;
    --primary-dark: #003BB8;
    --primary-light: #E5EEFF;
    --background: #F8FAFF;
    
    /* Text Colors */
    --text-primary: #0A1F44;
    --text-secondary: #3E4E6C;
    --text-muted: #6B7A99;
    
    /* Success Colors */
    --success: #00C48C;
    --success-light: #E6FFF7;
    --savings: #FF6B00;
    --savings-light: #FFF1E5;
    
    /* Accent Colors */
    --warning: #F59E0B;
    --danger: #EF4444;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    --gradient-light: linear-gradient(135deg, #FAFBFF 0%, #F8F9FF 100%);
    --gradient-hero: linear-gradient(135deg, #0042CC 0%, #0052FF 100%);
    --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
    --gradient-hover: linear-gradient(135deg, #EEF2FF 0%, #FFFFFF 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 82, 255, 0.06);
    --shadow-md: 0 8px 16px rgba(0, 82, 255, 0.08);
    --shadow-lg: 0 16px 24px rgba(0, 82, 255, 0.12);
    --shadow-hover: 0 20px 40px rgba(0, 66, 204, 0.16);
    --shadow-card: 0 12px 24px rgba(0, 66, 204, 0.12);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;

    /* Add glass effect */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Typography */
    --font-primary: 'Rubik', sans-serif;
}

/* Global Styles */
body, h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.5;
}

/* Container Adjustments */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Links */
a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-purple);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    transition: var(--transition-normal);
}

/* Cards */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.1);
}

/* Forms */
.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    appearance: none;
    border-radius: 0.5rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    border-color: var(--accent-blue);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(41, 121, 255, 0.1);
}

/* Alerts */
.alert {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
}

.alert-success {
    color: #0A5D36;
    background-color: #D1F2D9;
    border-color: #B4E6C3;
}

.alert-danger {
    color: #8B1A12;
    background-color: #FDE8E7;
    border-color: #F5C2BE;
}

/* Utilities */
.text-center { text-align: center; }
.text-start { text-align: start; }
.text-end { text-align: end; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.ms-1 { margin-inline-start: 0.25rem; }
.ms-2 { margin-inline-start: 0.5rem; }
.ms-3 { margin-inline-start: 1rem; }

.me-1 { margin-inline-end: 0.25rem; }
.me-2 { margin-inline-end: 0.5rem; }
.me-3 { margin-inline-end: 1rem; }

.py-1 { padding-block: 0.25rem; }
.py-2 { padding-block: 0.5rem; }
.py-3 { padding-block: 1rem; }
.py-4 { padding-block: 1.5rem; }
.py-5 { padding-block: 3rem; }

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.5rem 1rem;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    font-family: 'Rubik', sans-serif !important;
}

.hero-section * {
    font-family: 'Rubik', sans-serif !important;
}

.hero-title {
    font-family: 'Rubik', sans-serif !important;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    direction: rtl;
}

.gradient-text {
    font-family: 'Rubik', sans-serif !important;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    display: inline-block;
}

.hero-subtitle {
    font-family: 'Rubik', sans-serif !important;
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.feature-card {
    background: var(--gradient-card);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-light);
    position: relative;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    color: var(--primary);
    font-size: 24px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    border-radius: 6px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

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

/* Info Cards */
.info-card {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

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

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Partners Section */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    padding: 3rem 0;
}

.partner-logo {
    max-width: 120px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--primary-light);
    padding: 4rem 0;
    text-align: center;
    border-radius: 24px;
    margin: 4rem 0;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid transparent;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.1);
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

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

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.4s ease forwards;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* RTL Specific */
[dir="rtl"] .btn i {
    transform: scaleX(-1);
}

[dir="rtl"] .step-number {
    margin-left: 0.5rem;
}

/* Visually Hidden */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* סגנונות כלליים משופרים */
body {
    background: var(--background);
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
}

/* כרטיס השוואת מחירים */
.comparison-card {
    background: var(--gradient-card);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(0, 66, 204, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.comparison-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: var(--gradient-hero);
    opacity: 0.1;
    border-radius: 0 24px 0 120px;
}

/* תיבת חיסכון */
.savings-alert {
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.savings-box {
    background: linear-gradient(135deg, #0052FF 0%, #0042CC 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 82, 255, 0.15);
    transition: all 0.3s ease;
}

.savings-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 255, 0.2);
}

.savings-box i {
    font-size: 1.5rem;
    color: #E5EEFF;
}

.savings-box span {
    font-size: 1.1rem;
}

.savings-box .savings-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #E5EEFF;
    margin: 0 0.4rem;
}

/* התאמה למסכים קטנים */
@media (max-width: 768px) {
    .savings-box {
        padding: 0.75rem 1.5rem;
    }
    
    .savings-box span {
        font-size: 1rem;
    }
    
    .savings-box .savings-amount {
        font-size: 1.2rem;
    }
}

.savings-tag {
    background: linear-gradient(90deg, #05A660 0%, #00834D 100%);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    height: 42px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(5, 166, 96, 0.15);
    transition: all 0.2s ease;
}

.savings-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 166, 96, 0.2);
}

.savings-tag i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.savings-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.savings-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
}

.savings-amount {
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.savings-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
}

.best-price-package {
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.best-price-tag {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 12px 0 12px;
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 1;
}

.best-price-tag i {
    font-size: 1.2rem;
}

.package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.package-features {
    flex-grow: 1;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.package-benefits {
    margin-top: auto;
    padding: 1rem;
    background: var(--primary-light);
    border-radius: 8px;
}

.package-cta {
    margin-top: 1.5rem;
    text-align: center;
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    .package-card {
        padding: 1rem;
    }
    
    .savings-details {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .savings-row {
        font-size: 0.8rem;
    }
    
    .package-provider-logo {
        width: 100px;
        height: 56px;
    }
}

/* גריד מותאם */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -0.75rem;
}

.col-md-6, .col-lg-4 {
    padding: 0.75rem;
}

/* עיצוב נוסף לשמירה על אחידות */
.package-name {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 1rem 0;
}

.package-price-section {
    text-align: right;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

.currency {
    color: #666;
    font-size: 0.9rem;
}

.price-period {
    color: #666;
    font-size: 0.9rem;
}

.package-tags {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.package-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-left: 0.5rem;
}

.feature-details {
    flex-grow: 1;
}

.feature-label {
    color: #666;
}

.feature-value {
    font-weight: 600;
    margin-left: 0.5rem;
}

.feature-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

/* הוספת אנימציה בהובר */
.package-provider-logo:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
}

.savings-separator {
    margin: 0 10px;
    color: #ccc;
}

.package-provider-logo {
    width: 100px;
    height: 45px;
    object-fit: contain;
    margin: 0.5rem auto;
    transition: transform 0.2s ease;
}

.package-provider-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* מסכי טאבלט */
@media (max-width: 992px) {
    .package-provider-logo {
        width: 90px;
        height: 40px;
    }
}

/* מסכי מובייל */
@media (max-width: 768px) {
    .package-provider-logo {
        width: 80px;
        height: 36px;
    }
}

/* מסכים קטנים מאוד */
@media (max-width: 576px) {
    .package-provider-logo {
        width: 70px;
        height: 32px;
    }
}

/* מסכים גדולים */
@media (min-width: 1200px) {
    .package-provider-logo {
        width: 120px;
        height: 54px;
    }
}

.best-feature-tag {
    display: inline-block;
    background: linear-gradient(135deg, #0052FF 0%, #0042CC 100%);
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.5rem;
    font-weight: 500;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.feature-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .best-feature-tag {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
}

/* הוספת הסגנונות החדשים */
.best-feature-tag {
    display: inline-block;
    background: linear-gradient(135deg, #0052FF 0%, #0042CC 100%);
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.5rem;
    font-weight: 500;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.feature-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .best-feature-tag {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
}

/* עדכון הסגנונות הקיימים */
.packages-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    margin: 2rem -0.5rem;
    scroll-snap-type: x mandatory;
}

.package-card {
    flex: 0 0 300px;
    min-width: 300px;
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

/* שאר הסגנונות הקיימים נשארים ללא שינוי */

/* Progress Steps - Horizontal Layout */
.progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* הקו המחבר בין השלבים */
.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1rem;
    right: calc(50% + 1rem);
    width: calc(100% - 1rem);
    height: 2px;
    background: var(--gray-200);
    z-index: -1;
}

.progress-step.active:not(:last-child)::after,
.progress-step.completed:not(:last-child)::after {
    background: var(--primary);
}

/* עיצוב העיגול עם המספר */
.step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: white;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

/* עיצוב השלב הפעיל */
.progress-step.active .step-number {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* עיצוב שלבים שהושלמו */
.progress-step.completed .step-number {
    border-color: var(--primary);
    background: white;
    color: var(--primary);
}

/* טקסט מתחת לעיגול */
.step-label {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 0.25rem;
}

.progress-step.active .step-label {
    color: var(--primary);
    font-weight: 500;
}

.progress-step.completed .step-label {
    color: var(--primary);
}

/* התאמה למסכים קטנים */
@media (max-width: 768px) {
    .progress-container {
        padding: 0 0.5rem;
        margin: 1.5rem auto 2rem;
    }

    .step-number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8rem;
    }

    .step-label {
        font-size: 0.75rem;
    }
}

/* התאמה למסכים קטנים מאוד */
@media (max-width: 480px) {
    .progress-container {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 1rem 0.5rem;
    }

    .progress-step {
        flex: 0 0 auto;
        min-width: 80px;
    }
}

/* Service Options Styling */
.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem auto;
    max-width: 1000px;
    padding: 0 1rem;
}

.form-check.service-option {
    position: relative;
    padding: 0;
    margin: 0;
}

.form-check-input {
    display: none;
}

.form-check-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

/* Icon Container */
.form-check-label i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
    background: var(--primary-light);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Title */
.form-check-label span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    transition: color 0.2s ease;
}

/* Description */
.form-check-label small {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 180px;
    transition: color 0.2s ease;
}

/* Hover State */
.form-check-label:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.08);
}

.form-check-label:hover i {
    transform: scale(1.05);
}

/* Selected State */
.form-check-input:checked + .form-check-label {
    background: white;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 16px rgba(0, 82, 255, 0.12);
}

.form-check-input:checked + .form-check-label::before {
    content: '';
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-check-input:checked + .form-check-label::after {
    content: '✓';
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 20px;
    height: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.form-check-input:checked + .form-check-label i {
    background: var(--primary);
    color: white;
}

/* Focus State for Accessibility */
.form-check-label:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .service-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .form-check-label {
        padding: 1.25rem 1rem;
        min-height: 120px;
    }

    .form-check-label i {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
    }

    .form-check-label span {
        font-size: 0.9rem;
    }

    .form-check-label small {
        font-size: 0.8rem;
        max-width: 150px;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .service-options {
        grid-template-columns: 1fr;
    }
}

/* Smooth Animation */
@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.form-check-input:checked + .form-check-label::after {
    animation: checkmark 0.2s ease forwards;
}

/* Provider Options Styling */
.provider-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.provider-option {
    position: relative;
}

.provider-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.provider-label {
    display: block;
    padding: 0.75rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.provider-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.provider-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 0.25rem;
    font-size: 0.8rem;
    line-height: 1.2;
}

/* Hover State */
.provider-label:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Selected State */
.provider-input:checked + .provider-label {
    background: white;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.provider-input:checked + .provider-label::before {
    content: '';
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
}

.provider-input:checked + .provider-label::after {
    content: '✓';
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 14px;
    height: 14px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: bold;
}

/* Invalid State */
.provider-options.is-invalid .provider-label {
    border-color: var(--danger);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .provider-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }

    .provider-label {
        padding: 0.6rem;
    }
    
    .provider-name {
        font-size: 0.75rem;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .provider-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation */
@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.provider-input:checked + .provider-label::after {
    animation: checkmark 0.2s ease forwards;
}

/* Modern Form Styling */
.preferences-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

/* Question Cards */
.form-group {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s ease forwards;
    margin-bottom: 2.5rem;
}

.form-group.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Question Header */
.form-label {
    background: var(--gradient-light);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.question-number {
    background: var(--primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Modern Options Grid */
.provider-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
    padding: 0.5rem;
}

/* Option Cards */
.provider-label {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effects */
.provider-label:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Selected State with Animation */
.provider-input:checked + .provider-label {
    border-color: var(--primary);
    background: linear-gradient(145deg, var(--primary-light) 0%, white 100%);
    animation: selectPop 0.3s ease;
}

/* Progress Bar */
.progress-container {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.progress-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

/* Helper Text */
.helper-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

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

@keyframes selectPop {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .provider-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-label {
        padding: 1rem 1.5rem;
    }
}

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

/* Accessibility Improvements */
.provider-input:focus + .provider-label {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* RTL Support */
[dir="rtl"] .form-label {
    text-align: right;
}

[dir="rtl"] .provider-options.is-invalid:after {
    right: auto;
    left: 0;
}
