/* איחוד הלוואות CSS */

:root {
    --color-primary: #041235;
    --color-secondary: #0c1d5a;
    --color-tertiary: #192e80;
    --color-accent: #d4af37;
    --color-accent-bright: #f9d454;
    --color-dark: #040b14;
    --color-light: #ffffff;
    --color-light-alt: #f0f4f8;
    --color-gray: #e0e1e2;
    --color-dark-gray: #6c757d;
    --color-silver: #adadad;
    --color-platinum: #e5e5e5;
    --color-error: #e74c3c;
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-accent-bright));
    --gradient-blue: linear-gradient(135deg, var(--color-secondary), var(--color-tertiary));
    --gradient-dark: linear-gradient(135deg, var(--color-dark), var(--color-primary));
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(10, 12, 35, 0.25);
    --glass-blur: blur(15px);
    --dm-bg: #070914;
    --dm-text: #f7f9fe;
    --dm-card: #0c112b;
    --dm-border: rgba(255, 255, 255, 0.07);
    --shadow-sm: 0 3px 10px rgba(10, 12, 35, 0.1);
    --shadow-md: 0 10px 30px rgba(10, 12, 35, 0.15);
    --shadow-lg: 0 20px 60px rgba(10, 12, 35, 0.2);
    --shadow-xl: 0 30px 100px rgba(10, 12, 35, 0.25);
    --font-primary: 'Rubik', sans-serif;
    --font-secondary: 'Heebo', sans-serif;
    --header-height: 88px;
    --container-max: 1440px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.8s ease;
    --z-backdrop: -1;
    --z-base: 1;
    --z-above: 10;
    --z-modal: 100;
    --z-overlay: 1000;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    direction: rtl;
    line-height: 1.6;
    color: var(--color-dark);
    background: var(--color-light);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    padding-right: 1.5rem;
    margin-bottom: 1rem;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 6rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSJub25lIiBvcGFjaXR5PSIwLjA3Ij48Y2lyY2xlIGN4PSIxNSIgY3k9IjE1IiByPSIxIiBmaWxsPSIjZmZmIi8+PGNpcmNsZSBjeD0iMzAiIGN5PSIxNSIgcj0iMSIgZmlsbD0iI2ZmZiIvPjxjaXJjbGUgY3g9IjQ1IiBjeT0iMTUiIHI9IjEiIGZpbGw9IiNmZmYiLz48Y2lyY2xlIGN4PSIxNSIgY3k9IjMwIiByPSIxIiBmaWxsPSIjZmZmIi8+PGNpcmNsZSBjeD0iMzAiIGN5PSIzMCIgcj0iMSIgZmlsbD0iI2ZmZiIvPjxjaXJjbGUgY3g9IjQ1IiBjeT0iMzAiIHI9IjEiIGZpbGw9IiNmZmYiLz48Y2lyY2xlIGN4PSIxNSIgY3k9IjQ1IiByPSIxIiBmaWxsPSIjZmZmIi8+PGNpcmNsZSBjeD0iMzAiIGN5PSI0NSIgcj0iMSIgZmlsbD0iI2ZmZiIvPjxjaXJjbGUgY3g9IjQ1IiBjeT0iNDUiIHI9IjEiIGZpbGw9IiNmZmYiLz48L2c+PC9zdmc+');
    opacity: 0.2;
    z-index: 0;
}

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

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.highlight {
    color: var(--color-accent);
    font-weight: 700;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-family: var(--font-secondary);
}

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

.btn-gold:hover {
    background: var(--color-accent-bright);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-submit {
    background: var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-submit:hover {
    background: var(--color-accent-bright);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Shape Divider */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.shape-divider-bottom {
    bottom: -2px;
    left: 0;
}

.shape-fill {
    fill: var(--color-light);
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background-color: var(--color-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

.section-subtitle {
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-dark-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-gray);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.benefit-text {
    color: var(--color-dark-gray);
    line-height: 1.7;
}

/* Explanation Section */
.explanation-section {
    padding: 5rem 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    width: 50%;
    padding: 0 15px;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.callout {
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 20px;
    border-radius: 10px;
    margin: 2rem 0;
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow-md);
}

/* Steps Section */
.steps-section {
    padding: 5rem 0;
    background-color: var(--color-light-alt);
    position: relative;
}

.step-list {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 20px;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.step-description {
    color: var(--color-dark-gray);
    line-height: 1.7;
}

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

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
    border-radius: 15px;
    overflow: hidden;
}

.comparison-table th {
    background-color: var(--color-primary);
    color: white;
    padding: 15px;
    text-align: center;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid var(--color-gray);
    text-align: center;
}

.comparison-table tbody tr:nth-child(odd) {
    background-color: white;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.check-icon {
    color: green;
    font-size: 1.2rem;
}

.times-icon {
    color: red;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--color-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--color-gray);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: var(--color-primary);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question.active {
    background-color: var(--color-primary);
    color: white;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    background-color: var(--color-light);
    border-bottom: 1px solid var(--color-gray);
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}

.breadcrumb-item span {
    margin-right: 0.5rem;
}

.breadcrumb-item.active {
    color: var(--color-dark-gray);
}

/* Section */
.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .col-md-6 {
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .step-item {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 15px;
        margin-left: 0;
    }

    .contact-form {
        padding: 20px;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}