/* Основные стили для бухгалтерского сайта */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: linear-gradient(135deg, #3B0E6F 0%, #0AB1C1 100%);
    --accent-yellow: #FFDD00;
    --text-light: #F7F7F7;
    --text-dark: #1B1B1B;
    --button-green: #A5FF00;
    --shadow: rgba(59, 14, 111, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: var(--primary-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-shadow: 2px 2px 4px var(--shadow);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-shadow: 1px 1px 2px var(--shadow);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

/* Параграфы */
p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-green);
    color: var(--text-dark);
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(165, 255, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(165, 255, 0, 0.5);
    background: #8FE600;
}

.btn-secondary {
    background: var(--accent-yellow);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(255, 221, 0, 0.3);
}

.btn-secondary:hover {
    background: #E6C400;
    box-shadow: 0 8px 25px rgba(255, 221, 0, 0.5);
}

/* Header */
.header {
    background: rgba(59, 14, 111, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-yellow);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-yellow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background-image: 
        linear-gradient(135deg, rgba(59, 14, 111, 0.8) 0%, rgba(10, 177, 193, 0.8) 100%),
        url('./img/4vYbpQ.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 221, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(165, 255, 0, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--text-light), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 221, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 221, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 14, 111, 0.3);
    border-color: var(--accent-yellow);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
    display: block;
}

/* Why Choose Us */
.why-choose {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--button-green);
    margin-bottom: 15px;
}

/* Service Blocks */
.service-blocks {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.1);
}

.blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-block {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 25px;
    padding: 0;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.service-block-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 20px;
    margin: 30px auto 25px;
    display: block;
    box-shadow: 0 6px 20px rgba(59, 14, 111, 0.4);
    transition: all 0.3s ease;
}

.service-block:hover .service-block-image {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 14, 111, 0.5);
}

.service-block-content {
    padding: 0 40px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 221, 0, 0.2), transparent);
    transition: left 0.6s ease;
}

.service-block:hover::after {
    left: 100%;
}

.service-block:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 221, 0, 0.3);
}

.service-block h3 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-block p,
.service-block li {
    color: var(--text-light);
}

.service-block ul {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(5px);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--button-green);
    margin: 20px 0;
}

/* Process Steps */
.process {
    padding: 100px 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    position: relative;
    text-align: center;
    padding: 40px 20px;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.step:nth-child(1)::before { content: '1'; }
.step:nth-child(2)::before { content: '2'; }
.step:nth-child(3)::before { content: '3'; }
.step:nth-child(4)::before { content: '4'; }

.step h3 {
    margin-top: 80px;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.05);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-yellow);
    opacity: 0.5;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 14, 111, 0.2);
}

.testimonial-author {
    margin-top: 20px;
    font-weight: bold;
    color: var(--accent-yellow);
}

/* Contact Form */
.contact-form {
    padding: 100px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 50px 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 221, 0, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(255, 221, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.form-group select option {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: 10px;
}

.form-group input::placeholder {
    color: rgba(27, 27, 27, 0.7);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    accent-color: var(--accent-yellow);
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Contact Info */
.contact-info-section {
    padding: 100px 0 50px;
    background: rgba(0, 0, 0, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.contact-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--button-green);
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: rgba(27, 27, 27, 0.9);
    padding: 50px 0 20px;
    color: var(--text-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(27, 27, 27, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    padding: 20px;
    z-index: 10000;
    transition: bottom 0.5s ease;
    border-top: 3px solid var(--accent-yellow);
}

.cookie-banner.show {
    bottom: 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: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--button-green);
    color: var(--text-dark);
}

.cookie-accept:hover {
    background: #8FE600;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo img {
        height: 32px !important;
    }
    
    .nav-links {
        justify-content: center;
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .contact-info {
        align-items: center;
        font-size: 0.8rem;
        gap: 3px;
    }
    
    .hero {
        padding-top: 160px;
        min-height: 85vh;
        background-attachment: scroll;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .features-grid,
    .blocks-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .service-block {
        min-height: 420px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        margin: 0 15px;
        padding: 30px 25px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 8px 0;
    }
    
    .header-content {
        gap: 10px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo img {
        height: 28px !important;
    }
    
    .nav-links {
        gap: 10px;
        font-size: 0.85rem;
    }
    
    .contact-info {
        font-size: 0.75rem;
        gap: 2px;
    }
    
    .hero {
        padding-top: 140px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-block {
        min-height: 400px;
    }
    
    .service-block-content {
        padding: 0 25px 25px;
    }
    
    .service-block-image {
        width: 90px;
        height: 90px;
        margin: 25px auto 20px;
    }
    
    .step {
        padding: 30px 15px;
    }
    
    .testimonial {
        padding: 30px 20px;
    }
    
    .contact-item {
        padding: 30px 20px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .header,
    .cookie-banner,
    .cta-buttons {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
} 