:root {
    --color-primary: #6c63ff;
    --color-primary-dark: #5a52d5;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-background: #ffffff;
    --color-background-alt: #f9f9f9;
    --color-border: #e0e0e0;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --container-width: 1200px;
    --spacing-unit: 1rem;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-background);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn--primary {
    background-color: var(--color-primary);
    color: white;
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
}

.btn--outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn--full {
    width: 100%;
}

.btn--small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.logo__img {
    height: 40px;
    width: 40px;
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-weight: 500;
}

.nav__link:hover {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background-color: var(--color-background-alt);
}

.hero__container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero__content {
    flex: 1;
}

.hero__image {
    flex: 1;
}

.hero__title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.hero__text {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

/* Blocks */
.block {
    padding: 80px 0;
}

.block:nth-child(even) {
    background-color: var(--color-background-alt);
}

.block__container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.block__content {
    flex: 1;
}

.block__image {
    flex: 1;
}

.block--image-right .block__container {
    flex-direction: row;
}

.block--image-left .block__container {
    flex-direction: row-reverse;
}

.block__title {
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* Reviews */
.reviews {
    padding: 80px 0;
    background-color: var(--color-background);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-primary);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.review-card__name {
    margin: 0;
    font-size: 1.1rem;
}

.review-card__stars {
    color: gold;
}

.review-card__text {
    color: var(--color-text-light);
    font-style: italic;
}

/* Contact */
.contact {
    padding: 80px 0;
    background-color: var(--color-background-alt);
}

.contact__container {
    display: flex;
    gap: 50px;
}

.contact__info, .contact__form {
    flex: 1;
}

.contact__list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact__icon {
    width: 24px;
    height: 24px;
}

.contact__form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-agreement {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 15px;
    text-align: center;
}

.form-agreement a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 60px 0 0;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.logo--footer {
    color: white;
    margin-bottom: 15px;
}

.footer__text {
    color: #aaaaaa;
}

.footer__title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer__nav li {
    margin-bottom: 10px;
}

.footer__nav a {
    color: #aaaaaa;
}

.footer__nav a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

.footer__bottom {
    background-color: #1a1a1a;
    padding: 20px 0;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 2000;
    border-top: 1px solid var(--color-primary);
}

.cookie-banner__content {
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.cookie-banner__content h3 {
    margin-bottom: 10px;
}

.cookie-banner__options {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cookie-banner__buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none; /* In a real project, add JS for mobile menu toggle */
    }

    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-primary);
        margin-bottom: 6px;
    }

    .hero__container, .block__container, .contact__container {
        flex-direction: column;
        text-align: center;
    }
    
    .block--image-left .block__container, .block--image-right .block__container {
        flex-direction: column;
    }

    .block__image {
        order: -1; /* Image always on top on mobile */
    }

    .hero__title {
        font-size: 2.2rem;
    }
    
    .hero {
        padding-top: 100px;
    }
}
