:root {
    --primary: #4361ee;
    --primary-light: #3a0ca3;
    --secondary: #f72585;
    --accent: #4cc9f0;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --success: #06d6a0;
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
}

/* Global Styles */
body {
    font-family: 'Inter', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #f5f7ff;
    background-image: 
        radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 0.2) 0px, transparent 50%);
    box-sizing: border-box;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

/* Header Styles */
h1 {
    color: var(--primary-light);
    font-size: 2.8rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.03em;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

h2 {
    color: var(--primary);
    font-size: 2rem;
    margin: 50px 0 25px;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 5px;
    background: var(--gradient);
    border-radius: 3px;
}

/* Policy Section */
.policy-section {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 40px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.policy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.contact-info {
    background: linear-gradient(to right, rgba(248, 249, 250, 0.8), white);
    border-left: 5px solid var(--primary);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.rights-list {
    margin-top: 20px;
    text-decoration: none;
}

.rights-list li {
    margin-bottom: 18px;
    position: relative;
    padding-left: 35px;
    font-size: 1.05rem;
}

.rights-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--gradient);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: var(--primary);
}

.effective-date {
    font-style: italic;
    color: #64748b;
    margin: 30px 0;
    font-size: 1rem;
    padding: 12px 20px;
    background-color: rgba(241, 245, 249, 0.6);
    border-radius: 8px;
    display: inline-block;
}

/* Content Section Styles */
.content-section {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 40px;
    width: 100%;
    border: none;
    transition: transform 0.3s ease;
}

.content-section:hover {
    transform: translateY(-5px);
}

/* List Styles */
ul {
    padding-left: 20px;
}

li {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Divider Style */
.divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    margin: 40px 0;
    opacity: 0.3;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(to right, rgba(240, 249, 255, 0.7), white);
    border-left: 5px solid var(--primary);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Table Styles */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    border: none;
}

.comparison-table caption {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-light);
    padding: 25px;
    text-align: center;
    caption-side: top;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, rgba(241, 245, 249, 0.5), white);
}

.comparison-table th {
    background: var(--gradient);
    color: white;
    padding: 18px 25px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.comparison-table th:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.3);
}

.comparison-table td {
    padding: 16px 25px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(248, 250, 252, 0.5);
}

.comparison-table tr:hover td {
    background-color: rgba(224, 242, 254, 0.5);
}

/* Highlight important information */
.interest-rate {
    color: var(--success);
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

.interest-rate::before {
    content: '↑';
    position: absolute;
    left: 0;
    color: inherit;
}

.feature-list {
    margin: 0;
    padding-left: 25px;
}

/* Investment Links */
.investment-links {
    justify-content: center; /* Добавьте это свойство */
    text-align: center; /* И это для текста внутри ссылки */
    list-style: none;
    padding: 0;
    margin: 20px auto; /* Изменено: автоматические отступы по бокам для центрирования */
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 700px;
    width: 100%; /* Добавлено: занимает всю доступную ширину */
    align-items: center; /* Добавлено: центрирование элементов внутри контейнера */
    justify-content: center; /* Добавлено: дополнительное центрирование */
    margin-left: 0; /* Удалено: фиксированное смещение влево */
}

.investment-link {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    background: white;
    border: none;
    border-radius: 12px;
    color: var(--primary-light);
    text-decoration: none;
    font-family: 'Inter', 'Arial', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.investment-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(58, 12, 163, 0.05));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.investment-link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.investment-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
    color: var(--primary-light);
}

.investment-link:hover::before {
    opacity: 1;
}

.investment-link:hover::after {
    width: 8px;
}

.investment-link .link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 10px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
    transition: transform 0.3s ease;
}

.investment-link:hover .link-icon {
    transform: scale(1.1) rotate(5deg);
}

.investment-link .link-arrow {
    margin-left: auto;
    color: var(--primary);
    font-weight: bold;
    transition: all 0.3s ease;
}

.investment-link:hover .link-arrow {
    transform: translateX(8px);
    color: var(--secondary);
}

/* Imprint Container */
.imprint-container {
    max-width: 800px;
    width: 90%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 50px;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
}

.imprint-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gradient);
}

.imprint-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    position: relative;
}

.imprint-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.imprint-title {
    color: var(--primary-light);
    font-size: 2.5rem;
    margin: 0 0 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.company-info {
    margin-bottom: 40px;
}

.company-name {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    display: inline-block;
    position: relative;
}

.company-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 3px;
    background: var(--gradient);
}

.address-block {
    margin-bottom: 25px;
    line-height: 1.9;
    font-size: 1.1rem;
}

.contact-item {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

.legal-details {
    background: linear-gradient(to right, rgba(248, 249, 250, 0.7), white);
    border-left: 5px solid var(--primary);
    padding: 30px;
    border-radius: 0 15px 15px 0;
    margin-top: 40px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
}

.legal-title {
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.legal-text {
    margin: 10px 0;
    line-height: 1.9;
}

.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0;
    font-family: 'Arial', sans-serif;
    margin-top: 50px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Остальные стили футера остаются без изменений */
.footer-links {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #3498db;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 10px;
}

.footer-divider {
    width: 80%;
    max-width: 400px;
    height: 1px;
    background-color: rgba(236, 240, 241, 0.2);
    margin: 15px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-section, 
    .policy-section,
    .imprint-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .footer-links {
                gap: 15px;
            }
            
            .footer-link {
                font-size: 0.9rem;
            }
    body {
        padding: 0 15px;
        background-image: none;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .content-section,
    .policy-section,
    .imprint-container {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 14px 20px;
    }
    
    .investment-link {
         padding: 0 20px;
    }
    
    .imprint-title {
        font-size: 2rem;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
                flex-direction: column;
                gap: 10px;
            }
            
            .footer {
                padding: 25px 0;
            }

    body {
        padding: 0 12px;
    }
    
    h1 {
        font-size: 1.9rem;
    }
    
    h2 {
        font-size: 1.4rem;
        padding-left: 15px;
    }
    
    .content-section,
    .policy-section,
    .imprint-container {
        padding: 20px;
        border-radius: 12px;
    }
    
    .investment-link {
        padding: 16px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .investment-link .link-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-icon {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .imprint-title {
        font-size: 1.8rem;
    }
}