/* Основные стили для сайта Domain - бухгалтерские услуги */

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Переменные цветов */
:root {
    --primary-cyan: #00FFD5;
    --primary-lime: #D8FF00;
    --background-dark: #1F0036;
    --background-purple: #320060;
    --accent-coral: #FF6A3D;
    --text-light: #FAFAFA;
    --text-secondary: #CCCCCC;
}

/* Основные стили */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--background-dark), var(--background-purple));
    min-height: 100vh;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хедер */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(31, 0, 54, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-cyan);
}

/* Основной контент */
main {
    margin-top: 80px;
}

/* Hero секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background-dark), var(--background-purple));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 0, 54, 0.8), rgba(50, 0, 96, 0.6));
    z-index: 1;
}

/* Декоративные элементы */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-lime));
    opacity: 0.1;
}

.decoration-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.decoration-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 10%;
    animation: float 4s ease-in-out infinite reverse;
}

.decoration-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid var(--primary-lime);
    opacity: 0.2;
}

.decoration-3 {
    top: 20%;
    right: 20%;
    animation: rotate 8s linear infinite;
}

.decoration-square {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--accent-coral);
    opacity: 0.15;
    transform: rotate(45deg);
}

.decoration-4 {
    top: 60%;
    left: 15%;
    animation: pulse 3s ease-in-out infinite;
}

.decoration-hexagon {
    position: absolute;
    width: 60px;
    height: 34px;
    background: var(--primary-cyan);
    opacity: 0.1;
}

.decoration-hexagon::before,
.decoration-hexagon::after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}

.decoration-hexagon::before {
    bottom: 100%;
    border-bottom: 17px solid var(--primary-cyan);
}

.decoration-hexagon::after {
    top: 100%;
    border-top: 17px solid var(--primary-cyan);
}

.decoration-5 {
    top: 30%;
    left: 80%;
    animation: float 5s ease-in-out infinite;
}

/* Иконка hero */
.hero-icon {
    margin-bottom: 2rem;
    animation: fadeInDown 1.5s ease;
}

.hero-icon svg {
    filter: drop-shadow(0 0 10px rgba(0, 255, 213, 0.3));
    animation: breathe 3s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-lime));
    color: var(--background-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 213, 0.3);
}

/* Секции */
.section {
    padding: 80px 0;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.4s; }
.section:nth-child(4) { animation-delay: 0.6s; }
.section:nth-child(5) { animation-delay: 0.8s; }
.section:nth-child(6) { animation-delay: 1s; }
.section:nth-child(7) { animation-delay: 1.2s; }
.section:nth-child(8) { animation-delay: 1.4s; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* О компании */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-lime);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Преимущества */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(50, 0, 96, 0.3);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 255, 213, 0.2);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 213, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-lime));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(50, 0, 96, 0.4);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 255, 213, 0.3);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 213, 0.2);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-card h3 {
    color: var(--primary-lime);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.2rem;
    color: var(--accent-coral);
    font-weight: bold;
    padding: 0.5rem 1rem;
    background: rgba(255, 106, 61, 0.1);
    border-radius: 25px;
    text-align: center;
    margin-top: 1rem;
}

/* Форма заказа */
.form-section {
    background: rgba(50, 0, 96, 0.2);
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(31, 0, 54, 0.8);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 213, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-lime);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 255, 213, 0.3);
    border-radius: 8px;
    background: rgba(50, 0, 96, 0.3);
    color: var(--text-light);
    transition: border-color 0.3s ease;
    font-size: 1rem;
}

.form-group select {
    background: rgba(31, 0, 54, 0.8);
    color: var(--text-light);
    cursor: pointer;
}

.form-group select option {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 8px;
}

.form-group select option:hover,
.form-group select option:focus {
    background: rgba(0, 255, 213, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: rgba(31, 0, 54, 0.6);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--primary-cyan);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-lime));
    color: var(--background-dark);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Отзывы */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(50, 0, 96, 0.3);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-cyan);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.testimonial-author {
    color: var(--primary-lime);
    font-weight: bold;
}

/* FAQ - чистый CSS аккордеон */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(50, 0, 96, 0.3);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.faq-radio {
    display: none;
}

.faq-question {
    display: block;
    padding: 1.5rem;
    background: rgba(31, 0, 54, 0.5);
    cursor: pointer;
    width: 100%;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: background 0.3s ease;
    position: relative;
    margin: 0;
    font-family: inherit;
    border: none;
}

.faq-question:hover {
    background: rgba(0, 255, 213, 0.1);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-cyan);
    transition: transform 0.3s ease;
}

.faq-radio:checked + .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(31, 0, 54, 0.3);
}

.faq-content {
    padding: 1.5rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0, 255, 213, 0.2);
}

.faq-radio:checked + .faq-question + .faq-answer {
    max-height: 300px;
}

/* Футер */
footer {
    background: rgba(31, 0, 54, 0.9);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 255, 213, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-lime);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-section a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 213, 0.2);
    color: var(--text-secondary);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(31, 0, 54, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 213, 0.3);
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.5s ease;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    color: var(--text-secondary);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-lime));
    color: var(--background-dark);
}

.cookie-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--text-secondary);
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(0, 255, 213, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(0, 255, 213, 0.8));
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: rotate(45deg) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: rotate(45deg) scale(1.2);
        opacity: 0.25;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.success-checkmark {
    animation: checkmark 1s ease-in-out, checkGlow 2s ease-in-out infinite;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-icon svg {
        width: 80px;
        height: 80px;
    }
    
    /* Скрыть некоторые декоративные элементы на мобильных */
    .decoration-1 {
        width: 100px;
        height: 100px;
        top: 5%;
        left: 3%;
    }
    
    .decoration-2 {
        width: 60px;
        height: 60px;
        top: 75%;
        right: 5%;
    }
    
    .decoration-3 {
        display: none;
    }
    
    .decoration-4 {
        width: 30px;
        height: 30px;
    }
    
    .decoration-5 {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .order-form {
        padding: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
} 