/* Стили для страницы результатов */
.results-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.results-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Карточки результатов */
.result-section {
    animation: fadeInUp 1s ease-out;
}

.result-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 50px;
    backdrop-filter: blur(20px);
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9b59b6 0%, #8e44ad 50%, #7d3c98 100%);
}

.result-card.urgent::before {
    background: linear-gradient(90deg, #ff6b6b 0%, #ff5252 50%, #f44336 100%);
}

/* Иконки результатов */
.result-icon {
    margin-bottom: 30px;
}

.crystal-icon {
    font-size: 4rem;
    animation: crystalGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(155, 89, 182, 0.6));
}

.warning-icon {
    font-size: 2rem;
    animation: warningPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.8));
}

@keyframes crystalGlow {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(155, 89, 182, 0.6));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 30px rgba(155, 89, 182, 0.9));
    }
}

@keyframes warningPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.8));
    }
    50% { 
        transform: scale(1.15);
        filter: drop-shadow(0 0 40px rgba(255, 107, 107, 1));
    }
}

/* Заголовки результатов */
.result-title {
    font-family: 'Cormorant', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.2;
}

.result-title.urgent {
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.result-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #b8b8d4;
}

.result-subtitle.urgent {
    color: #ff8a80;
}

.result-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e6e6ff;
    margin-bottom: 40px;
}

/* Блок контента результата */
.result-content-block {
    margin-bottom: 40px;
    text-align: left;
}

/* Рекомендации */
.recommendations {
    background: rgba(155, 89, 182, 0.1);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.recommendations h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #9b59b6;
}

.recommendations-list {
    list-style: none;
    padding: 0;
}

.recommendations-list li {
    padding: 10px 0;
    font-size: 1rem;
    color: #e6e6ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recommendations-list li:last-child {
    border-bottom: none;
}

/* Блок предупреждения */
.warning-block {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.warning-icon-small {
    font-size: 1.5rem;
    animation: warningBlink 1.5s ease-in-out infinite;
}

@keyframes warningBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.warning-text {
    color: #ffcdd2;
    line-height: 1.6;
}

/* Симптомы */
.urgent-symptoms {
    background: rgba(255, 107, 107, 0.05);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.urgent-symptoms h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ff6b6b;
}

.symptoms-list {
    list-style: none;
    padding: 0;
}

.symptoms-list li {
    padding: 12px 0;
    font-size: 1rem;
    color: #ffcdd2;
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
}

.symptoms-list li:last-child {
    border-bottom: none;
}

/* CTA секция */
.cta-section {
    margin-top: 40px;
}

.cta-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.cta-section.urgent h3 {
    color: #ff6b6b;
    animation: urgentGlow 2s ease-in-out infinite;
}

@keyframes urgentGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 107, 107, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 107, 107, 0.8); }
}

.cta-section p {
    font-size: 1rem;
    color: #b8b8d4;
    margin-bottom: 30px;
}

/* Кнопки CTA */
.cta-button {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 15px auto;
    padding: 18px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(155, 89, 182, 0.5);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #9b59b6;
    color: #9b59b6;
}

.cta-button.secondary:hover {
    background: rgba(155, 89, 182, 0.1);
    transform: translateY(-2px);
}

.cta-button.urgent {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    animation: urgentButtonPulse 3s ease-in-out infinite;
}

.cta-button.urgent:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

@keyframes urgentButtonPulse {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.7), 0 0 30px rgba(255, 107, 107, 0.3);
    }
}

/* Таймер срочности */
.urgency-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    color: #ff8a80;
    font-weight: 600;
    animation: urgentTimer 2s ease-in-out infinite;
}

@keyframes urgentTimer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Форма сбора контактов */
.contact-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.contact-form-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-form {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-form:hover {
    color: #ff6b6b;
}

.contact-form-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
    text-align: center;
}

.contact-form-modal p {
    color: #b8b8d4;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.5;
}

/* Стили формы */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #9b59b6;
    box-shadow: 0 0 10px rgba(155, 89, 182, 0.3);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.submit-button {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.4);
}

/* Социальное доказательство */
.social-proof {
    margin-top: 60px;
    text-align: center;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #9b59b6;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #b8b8d4;
}

/* Отзывы */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.testimonial-photo-bottom {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.testimonial-photo-bottom:hover {
    border-color: rgba(212, 175, 55, 0.7);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.testimonial-avatar-bottom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-content-bottom {
    flex-grow: 1;
}

.testimonial-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-style: italic;
    color: #e6e6ff;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    color: #9b59b6;
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
    .results-container {
        padding: 15px;
    }
    
    .result-card {
        padding: 30px 20px;
    }
    
    .result-title {
        font-size: 2.2rem;
    }
    
    .result-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-form-modal {
        padding: 30px 20px;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        padding: 20px;
        gap: 15px;
    }
    
    .testimonial-photo-bottom {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 15px 25px;
    }
}

@media (max-width: 480px) {
    .result-card {
        padding: 25px 15px;
    }
    
    .result-title {
        font-size: 1.8rem;
    }
    
    .crystal-icon,
    .warning-icon {
        font-size: 2rem;
    }
    
    .contact-form-modal {
        width: 95%;
        padding: 25px 15px;
    }
    
    .recommendations,
    .urgent-symptoms,
    .warning-block {
        padding: 20px 15px;
    }
    
    .testimonial {
        padding: 15px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-photo-bottom {
        width: 50px;
        height: 50px;
        border-width: 2px;
        align-self: center;
    }
    
    .testimonial-stars {
        font-size: 1.1rem;
        justify-content: center;
    }
}

/* Анимации появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideInFromBottom 0.8s ease-out;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Успешная отправка формы */
.form-success {
    text-align: center;
    color: #4caf50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    padding: 15px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
}

.form-error {
    text-align: center;
    color: #ff6b6b;
    font-size: 1rem;
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
} 

/* Стили валидации полей */
.validation-field {
    transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.validation-field.valid {
    border-color: #4caf50 !important;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3) !important;
    background: rgba(76, 175, 80, 0.05) !important;
}

.validation-field.invalid {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.3) !important;
    background: rgba(255, 107, 107, 0.05) !important;
}

.validation-message {
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
    transition: all 0.3s ease;
}

.validation-message.success {
    color: #4caf50;
}

.validation-message.error {
    color: #ff6b6b;
}

.required {
    color: #ff6b6b;
    font-weight: 600;
}

/* Стили чекбокса */
.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    cursor: pointer;
    line-height: 1.4;
    position: relative;
    padding-left: 35px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
    background: rgba(255, 255, 255, 0.15);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background: #4caf50;
    border-color: #4caf50;
}

.checkbox-label input[type="checkbox"].invalid ~ .checkmark {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 0px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark:after {
    display: block;
}

/* Отображение знака зодиака */
.zodiac-display {
    margin-top: 10px;
    padding: 10px 15px;
    background: rgba(155, 89, 182, 0.1);
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.5s ease;
}

.zodiac-icon {
    font-size: 1.5rem;
}

.zodiac-name {
    color: #9b59b6;
    font-weight: 600;
    font-size: 1rem;
}

/* Анимация для появления знака зодиака */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Состояние кнопки отправки */
.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Улучшенные стили для полей ввода */
.form-group input[type="date"] {
    color-scheme: dark;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Стили для телефонного поля */
.form-group input[type="tel"] {
    font-family: monospace;
}

/* УТП блок */
.utp-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 71, 87, 0.1) 100%);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.utp-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.utp-icon {
    font-size: 2.5rem;
    color: #ff6b6b;
    animation: starGlow 2s ease-in-out infinite;
}

/* Адаптивность для новых элементов */
@media (max-width: 480px) {
    .checkbox-label {
        font-size: 0.9rem;
        padding-left: 30px;
    }
    
    .checkmark {
        height: 18px;
        width: 18px;
    }
    
    .zodiac-display {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .zodiac-icon {
        font-size: 1.3rem;
    }
}

/* Стили для новой секции recommendations */
.second-title {
    font-family: 'Cormorant', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.2;
    text-align: center;
}

.second-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #b8b8d4;
    line-height: 1.6;
}

.warning-content {
    flex: 1;
}

.consultation-offer {
    margin-top: 30px;
}

.consultation-offer .second-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Секция преимуществ */
.benefits-section {
    margin: 40px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    font-size: 1.5rem;
    color: #4caf50;
    flex-shrink: 0;
}

.benefit-text {
    color: #e6e6ff;
    line-height: 1.6;
    font-size: 1rem;
    text-align: left;
}

.benefit-text strong {
    color: #ffffff;
    font-weight: 600;
}

/* Стили для текста гарантии */
.guarantee-text {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
}

.guarantee-text small {
    color: #4caf50;
    font-size: 0.9rem;
    line-height: 1.4;
}

.guarantee-text strong {
    color: #4caf50;
    font-weight: 600;
}

/* Адаптивность для новых элементов */
@media (max-width: 768px) {
    .second-title {
        font-size: 2.2rem;
    }
    
    .second-subtitle {
        font-size: 1.2rem;
    }
    
    .utp-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .consultation-offer .second-subtitle {
        font-size: 1.1rem;
    }
    
    .benefit-item {
        padding: 15px;
    }
    
    .benefit-icon {
        font-size: 1.3rem;
    }
    
    .guarantee-text {
        margin: 15px 0;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .second-title {
        font-size: 1.8rem;
    }
    
    .second-subtitle {
        font-size: 1rem;
    }
    
    .consultation-offer .second-subtitle {
        font-size: 1rem;
    }
    
    .benefit-item {
        padding: 12px;
        gap: 12px;
    }
    
    .benefit-icon {
        font-size: 1.2rem;
    }
    
    .benefit-text {
        font-size: 0.9rem;
    }
    
    .guarantee-text {
        margin: 12px 0;
        padding: 10px;
    }
    
    .guarantee-text small {
        font-size: 0.8rem;
    }
} 