/* Domain - Auditoría Financiera CSS */
/* Цветовая палитра:
   Основной: Неоново-салатовый (#A8FF60)
   Акцентный: Глубокий фиолетовый (#4B0082)
   Фон: Угольно-серый (#1E1E1E)
   Текст: Белый (#FFFFFF)
   Элементы: Мятный металлик (#3EB489)
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #1E1E1E;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1E1E1E 0%, #2A2A2A 100%);
    border-bottom: 2px solid #A8FF60;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #A8FF60;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: linear-gradient(45deg, #A8FF60, #3EB489);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1E1E1E;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: linear-gradient(45deg, #A8FF60, #3EB489);
    color: #1E1E1E;
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    gap: 2rem;
    color: #FFFFFF;
}

.contact-item {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1E1E1E 0%, #4B0082 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, #A8FF60 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, #3EB489 0%, transparent 50%);
    opacity: 0.1;
    animation: heroGlow 6s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.1; }
    100% { opacity: 0.3; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #A8FF60, #3EB489);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #A8FF60, #3EB489);
    color: #1E1E1E;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(168, 255, 96, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(168, 255, 96, 0.5);
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #1E1E1E 0%, #2A2A2A 100%);
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #A8FF60;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #A8FF60, #3EB489);
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: linear-gradient(135deg, #2A2A2A 0%, #1E1E1E 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #A8FF60, #4B0082, #3EB489);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #A8FF60;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #A8FF60, #3EB489);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #1E1E1E;
}

.service-card h3 {
    color: #A8FF60;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    text-align: center;
    padding: 1.5rem;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #4B0082, #A8FF60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #FFFFFF;
}

/* Form Styles */
.form-container {
    background: linear-gradient(135deg, #2A2A2A 0%, #1E1E1E 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid #A8FF60;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #A8FF60;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #3EB489;
    border-radius: 10px;
    background-color: #1E1E1E;
    color: #FFFFFF;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #A8FF60;
    box-shadow: 0 0 10px rgba(168, 255, 96, 0.3);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #3EB489;
    border-radius: 10px;
    background: linear-gradient(135deg, #2A2A2A 0%, #1E1E1E 100%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.radio-item:hover {
    border-color: #A8FF60;
    background: linear-gradient(135deg, #2A2A2A 0%, #252525 100%);
}

.radio-item input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #3EB489;
    border-radius: 50%;
    background: #1E1E1E;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.radio-item input[type="radio"]:checked {
    border-color: #A8FF60;
    background: linear-gradient(45deg, #A8FF60, #3EB489);
}

.radio-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1E1E1E;
}

.radio-item label {
    cursor: pointer;
    font-weight: 500;
    color: #FFFFFF;
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 2px solid #3EB489;
    border-radius: 10px;
    background: linear-gradient(135deg, #2A2A2A 0%, #1E1E1E 100%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.checkbox-group:hover {
    border-color: #A8FF60;
    background: linear-gradient(135deg, #2A2A2A 0%, #252525 100%);
}

.checkbox-group input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #3EB489;
    border-radius: 4px;
    background: #1E1E1E;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 0;
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked {
    border-color: #A8FF60;
    background: linear-gradient(45deg, #A8FF60, #3EB489);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1E1E1E;
    font-weight: bold;
    font-size: 12px;
}

.checkbox-group label {
    cursor: pointer;
    font-weight: 500;
    color: #FFFFFF;
    flex: 1;
    line-height: 1.4;
}

.submit-btn {
    background: linear-gradient(45deg, #A8FF60, #3EB489);
    color: #1E1E1E;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 10px 30px rgba(168, 255, 96, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(168, 255, 96, 0.5);
}

/* Страница благодарности */
.gracias-main {
    padding-top: 120px;
    min-height: 70vh;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1E1E1E 0%, #0A0A0A 100%);
    border-top: 2px solid #A8FF60;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #A8FF60;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #FFFFFF;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #A8FF60;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #3EB489;
    opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1E1E1E 0%, #4B0082 100%);
    border-top: 2px solid #A8FF60;
    padding: 1rem 2rem;
    z-index: 10000;
    display: none;
    transition: opacity 0.5s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
}

.cookie-text a {
    color: #A8FF60;
    text-decoration: none;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: linear-gradient(45deg, #A8FF60, #3EB489);
    color: #1E1E1E;
}

.cookie-decline {
    background: transparent;
    border: 2px solid #A8FF60;
    color: #A8FF60;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem 1rem;
    }
    
    .header-nav {
        gap: 1rem;
        margin: 0.5rem 0;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        font-size: 0.8rem;
    }
    
    .contact-item {
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 180px 0 60px;
    }
    
    .gracias-main {
        padding-top: 180px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    /* Адаптивность для раздела "Sobre Domain" */
    .section .container > div[style*="grid-template-columns: 1fr 1fr"] {
        display: block !important;
    }
    
    .section .container > div[style*="grid-template-columns: 1fr 1fr"] > div:first-child {
        margin-bottom: 2rem;
    }
    
    .section .container > div[style*="grid-template-columns: 1fr 1fr"] img {
        max-width: 100% !important;
        margin: 0 auto;
        display: block;
    }
    
    .form-container {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.5rem;
    }
    
    .header-nav {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .contact-info {
        gap: 0.8rem;
    }
    
    .contact-item {
        font-size: 0.7rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 170px 0 50px;
    }
    
    .gracias-main {
        padding-top: 170px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .service-card,
    .form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 320px) {
    .hero {
        padding: 190px 0 40px;
    }
    
    .gracias-main {
        padding-top: 190px;
    }
    
    .header-container {
        padding: 0.3rem;
    }
    
    .nav-link {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .contact-item {
        font-size: 0.65rem;
    }
}

/* Animation Utilities */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 