* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(145deg, #1a1e2c 0%, #0f121d 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Шапка сайта */
.site-header {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding: 20px 30px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border-radius: 60px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #FFAE00, #FF6A00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: #c0c5d9;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #FFAE00;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 40px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: rgba(255,174,0,0.2);
    border-color: #FFAE00;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #131725;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    min-width: 160px;
    z-index: 100;
    display: none;
    overflow: hidden;
}

.lang-switcher.active .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #c0c5d9;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.lang-dropdown a:hover {
    background: rgba(255,174,0,0.1);
    color: #FFAE00;
}

.lang-dropdown a.active {
    background: rgba(255,174,0,0.2);
    color: #FFAE00;
}

/* Модальный фон */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Контейнер */
.modal-container {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.modal-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border-radius: 48px;
    padding: 48px 32px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 45px rgba(0,0,0,0.3);
}

.header-badge {
    margin-bottom: 24px;
}

.badge {
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    letter-spacing: 1px;
    color: #ccc;
    font-weight: 500;
}

.title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(135deg, #FFAE00, #FF6A00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    color: #a0a5b9;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.price-btn {
    display: inline-block;
    background: linear-gradient(90deg, #FFAE00, #FF6A00);
    padding: 14px 32px;
    border-radius: 60px;
    color: #1a1e2c;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 20px rgba(255,110,0,0.3);
    cursor: pointer;
    border: none;
}

.price-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255,110,0,0.4);
}

.created-by {
    margin-top: 48px;
    color: #5a5f77;
    font-size: 13px;
}

.created-by a {
    color: #a0a5b9;
    text-decoration: none;
}

.created-by a:hover {
    color: #FFAE00;
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #131725;
    max-width: 500px;
    width: 90%;
    border-radius: 32px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    color: #fff;
}

.modal-header h2 {
    font-size: 24px;
}

.close-btn {
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    color: #aaa;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #FFAE00;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    color: #fff;
    font-size: 15px;
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFAE00;
    background: rgba(255,255,255,0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

.checkbox-label a {
    color: #FFAE00;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(90deg, #FFAE00, #FF6A00);
    border: none;
    padding: 14px;
    border-radius: 40px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.submit-btn:hover {
    opacity: 0.9;
}

.alert {
    padding: 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.alert.success {
    background: #1e4a2f;
    color: #b0ffc0;
}

.alert.error {
    background: #5a1e1e;
    color: #ffb0b0;
}

/* Cloudflare Turnstile */
.cf-turnstile {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

@media (max-width: 480px) {
    .cf-turnstile {
        transform: scale(0.9);
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(19, 23, 37, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,174,0,0.3);
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 2;
    min-width: 250px;
}

.cookie-text strong {
    color: #FFAE00;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

.cookie-text p {
    color: #c0c5d9;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.cookie-text a {
    color: #FFAE00;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.cookie-btn.accept {
    background: linear-gradient(90deg, #FFAE00, #FF6A00);
    color: #1a1e2c;
}

.cookie-btn.accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,110,0,0.3);
}

.cookie-btn.necessary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.cookie-btn.necessary:hover {
    background: rgba(255,255,255,0.15);
}

.cookie-btn.customize {
    background: transparent;
    color: #FFAE00;
    border: 1px solid #FFAE00;
}

.cookie-btn.customize:hover {
    background: rgba(255,174,0,0.1);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    max-width: 550px;
    width: 90%;
}

.cookie-settings {
    max-height: 400px;
    overflow-y: auto;
    margin: 20px 0;
}

.cookie-setting-item {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cookie-setting-item:last-child {
    border-bottom: none;
}

.cookie-setting-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 8px;
}

.cookie-setting-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FFAE00;
}

.cookie-setting-label span {
    color: #fff;
    font-size: 15px;
}

.cookie-setting-desc {
    color: #a0a5b9;
    font-size: 13px;
    margin: 8px 0 0 30px;
    line-height: 1.4;
}

.cookie-settings-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.cookie-settings-buttons .submit-btn {
    flex: 1;
}

/* Region display block */
.region-display {
    background: rgba(255,174,0,0.1);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(255,174,0,0.3);
}

.region-icon {
    font-size: 14px;
    color: #FFAE00;
    margin-bottom: 5px;
}

.region-name {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.region-law {
    font-size: 12px;
    color: #a0a5b9;
    margin-top: 5px;
}

.legal-info {
    margin: 15px 0;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    font-size: 12px;
    color: #a0a5b9;
    text-align: center;
}

.legal-info a {
    color: #FFAE00;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        text-align: center;
        border-radius: 32px;
        padding: 15px 20px;
    }
    
    .main-nav {
        justify-content: center;
    }
    
    .title {
        font-size: 32px;
    }
    
    .modal-card {
        padding: 32px 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

/* Страницы политик */
.policy-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

.policy-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 48px 40px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: left;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #FFAE00;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.8;
}

.policy-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.policy-date {
    color: #a0a5b9;
    font-size: 14px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.policy-section {
    margin-bottom: 32px;
}

.policy-section h2 {
    color: #FFAE00;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.policy-section h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 12px;
    margin-top: 20px;
    font-weight: 500;
}

.policy-section p,
.policy-section li {
    color: #c0c5d9;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 12px;
}

.policy-section ul,
.policy-section ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

.policy-section li {
    margin-bottom: 8px;
}

.highlight-box {
    background: rgba(255,174,0,0.1);
    border-left: 3px solid #FFAE00;
    padding: 20px;
    border-radius: 16px;
    margin: 20px 0;
}

.contact-info {
    background: rgba(255,174,0,0.1);
    border-left: 3px solid #FFAE00;
    padding: 20px;
    border-radius: 16px;
    margin-top: 40px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info strong {
    color: #FFAE00;
}

@media (max-width: 768px) {
    .policy-card {
        padding: 28px 20px;
    }
    .policy-title {
        font-size: 28px;
    }
}