/* 
* Main Stylesheet for domain.com
* Palette:
* - Glubokiy lazurnyy (#023E8A)
* - Neonovyy laym (#B5F44A)
* - Teplyy korallovyy (#FF6B6B) 
* - Nezhnyy bezh (#FAF3E0)
* - Ul'trafioletovyy (#7C83FD)
* - Font: Poppins
*/

:root {
    --blue: #023E8A;
    --lime: #B5F44A;
    --coral: #FF6B6B;
    --beige: #FAF3E0;
    --violet: #7C83FD;
    --dark: #222222;
    --light: #FFFFFF;
    --gray: #EFEFEF;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--blue);
    transition: var(--transition);
}

a:hover {
    color: var(--violet);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--blue);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--violet), var(--lime));
    border-radius: 2px;
}

.highlight {
    position: relative;
    display: inline-block;
    color: var(--coral);
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
    outline: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--blue);
    color: var(--light);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--violet);
    color: var(--light);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--lime);
    color: var(--dark);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--coral);
    color: var(--light);
    transform: translateY(-3px);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--blue);
}

.nav {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    list-style: none;
}

.nav__item {
    margin-left: 30px;
}

.nav__link {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--violet));
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--blue), var(--violet));
    color: var(--light);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--lime);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--coral);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 8s ease-in-out infinite 1s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, 20px) rotate(10deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light);
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about__card {
    background: var(--light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.about__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about__icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--beige);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card__image {
    height: 200px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-card__image img {
    transform: scale(1.1);
}

.service-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.5rem;
    color: var(--blue);
}

.service-card p {
    padding: 0 20px 20px;
}

.service-card .btn {
    margin: 0 20px 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    color: var(--light);
}

.testimonials .section-title {
    color: var(--light);
}

.testimonials .section-title::after {
    background: linear-gradient(90deg, var(--lime), var(--coral));
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 20px;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-company {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Comparison Table Section */
.comparison {
    padding: 100px 0;
    background-color: var(--light);
}

.table-container {
    overflow-x: auto;
    box-shadow: var(--shadow);
    border-radius: 10px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, 
.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background-color: var(--blue);
    color: var(--light);
    font-weight: 600;
}

.comparison-table th:first-child {
    border-top-left-radius: 10px;
    text-align: left;
}

.comparison-table th:last-child {
    border-top-right-radius: 10px;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    font-weight: 500;
    text-align: left;
    color: var(--blue);
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f8f8;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--beige);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background-color: var(--light);
    color: var(--blue);
    padding: 20px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    background-color: var(--light);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Why Choose Us Section */
.why-us {
    padding: 100px 0;
    background-color: var(--blue);
    color: var(--light);
}

.why-us .section-title {
    color: var(--light);
}

.why-us .section-title::after {
    background: linear-gradient(90deg, var(--lime), var(--coral));
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-us__card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.why-us__card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.why-us__icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.why-us__card h3 {
    color: var(--lime);
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact__image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact__form {
    background-color: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--blue);
}

.input-icon {
    position: relative;
}

.input-icon svg {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.select-wrapper select {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.select-wrapper select:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(124, 131, 253, 0.2);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--blue);
    pointer-events: none;
    font-size: 0.8rem;
}

.select-wrapper select {
    appearance: none;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    margin-top: 5px;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    line-height: 1.4;
}

.form-group.checkbox a {
    color: var(--violet);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--gray);
    padding: 60px 0 20px;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer__column h4 {
    color: var(--light);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer__column h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--violet), var(--lime));
    border-radius: 2px;
}

.footer__info {
    list-style: none;
}

.footer__info li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer__info li svg {
    margin-right: 10px;
    min-width: 18px;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: var(--gray);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--lime);
}

.footer__description {
    grid-column: 1 / -1;
    margin-top: 20px;
}

.footer__copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: var(--dark);
    color: var(--light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    animation: slideIn 0.5s forwards;
}

.cookie-popup.show {
    display: block;
}

.cookie-popup p {
    margin-bottom: 15px;
}

.cookie-popup a {
    color: var(--lime);
    text-decoration: underline;
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Legal Pages */
.legal {
    padding: 150px 0 100px;
}

.legal__container {
    max-width: 900px;
}

.legal h1 {
    margin-bottom: 40px;
    color: var(--blue);
}

.legal h2 {
    margin: 40px 0 20px;
    color: var(--blue);
    font-size: 1.8rem;
}

.legal p, .legal ul {
    margin-bottom: 20px;
}

.legal ul {
    padding-left: 20px;
}

.legal ul li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thanks {
    padding: 150px 0 100px;
    text-align: center;
}

.thanks__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: var(--lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.thanks__icon svg {
    width: 60px;
    height: 60px;
}

.thanks h1 {
    margin-bottom: 20px;
    color: var(--blue);
}

.thanks p {
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about__grid, 
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 130px 0 80px;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav__list {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--light);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 99;
    }
    
    .nav__list.active {
        transform: translateY(0);
    }
    
    .nav__item {
        margin: 10px 0;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .about__grid, 
    .services__grid,
    .why-us__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
    }
} 