/* Базовые стили */
:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #f9fafb;
    --card-bg: #ffffff;
    --section-padding: 5rem;
    --footer-bg: #111827;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
    height: 100%;
    max-width: 100%;
}

body {
    height: 100%;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Навигация */
#navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: fixed;
    z-index: 1000;
}

/* Герой секция */
.hero {
    position: relative;
    padding: 90px 0 100px;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    overflow: hidden;
    margin-top: 65px;
    /* Учитываем высоту навбара */
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #1f2937;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #4b5563;
    margin-bottom: 2.5rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.feature i {
    color: #3b82f6;
    margin-right: 8px;
    font-size: 1rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
}

.btn {
    gap: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 700px;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px 0 0 20px;
    box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.1);
}

/* Секции */
section {
    padding: 5rem 0;
    position: relative;
}

/* Виджет */
.widget-section {
    padding: var(--section-padding) 0;
    background: var(--bg);
}

.widget-card {
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin: 0 auto 2rem;
}

/* Преимущества */
.benefits {
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    background: #e0e7ff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Проблема и решение */
.problem-solution-section {
    background: var(--bg);
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.problem-box,
.solution-box {
    padding: 2rem;
    border-radius: 1rem;
}

.problem-box {
    background-color: #fff5f5;
    border-left: 4px solid #ff6b6b;
}

.solution-box {
    background-color: #f0fff4;
    border-left: 4px solid #48bb78;
}

.problem-item,
.solution-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.problem-icon,
.solution-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.problem-icon {
    color: #ff6b6b;
}

.solution-icon {
    color: #48bb78;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero {
        padding: 60px 0 80px;
    }

    .hero-image {
        opacity: 0.5;
    }

    .ps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding: 50px 0 60px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-cta {
        gap: 15px;
        justify-content: center;
    }

    .hero-image {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-cta {
        gap: 15px;
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Trust Badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0dc450 0%, #14b354 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    animation: fadeInDown 0.6s ease;
    box-shadow: 0 4px 12px rgba(13, 196, 80, 0.3);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 196, 80, 0.4);
}

/* Social Proof */
.social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars {
    display: flex;
    gap: 2px;
}

.rating i {
    color: #FFD700;
    font-size: 14px;
}

.rating-text {
    font-size: 14px;
    font-weight: 600;
}

.bookings-today {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    font-weight: 500;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Widget Header */
.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.widget-title h2 {
    font-size: 32px;
    color: #062c47;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title h2 i {
    color: #0056fd;
}

.widget-title p {
    color: #5a6d85;
    font-size: 16px;
    margin: 0;
}

.availability-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0dc450 0%, #14b354 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(13, 196, 80, 0.3);
}

.blink {
    animation: blink-animation 1.5s infinite;
}

@keyframes blink-animation {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg);
    padding: 80px 0;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 20px;
}

.testimonials-section h2 {
    font-size: 36px;
    color: #062c47;
    margin: 0;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.rating-badge i {
    color: #ff6b35;
    font-size: 16px;
}

.rating-badge span {
    font-size: 18px;
    font-weight: 700;
}

.rating-badge small {
    font-size: 14px;
    opacity: 0.8;
}

.testimonials-subtitle {
    text-align: center;
    font-size: 18px;
    color: #5a6d85;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: #f8f9fb;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #0056fd;
    box-shadow: 0 10px 30px rgba(0, 86, 253, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0056fd 0%, #004ad9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-right: 15px;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: #062c47;
    margin-bottom: 5px;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
}

.testimonial-rating i {
    color: #FFD700;
    font-size: 14px;
}

.testimonial-text {
    color: #5a6d85;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 15px;
}

.testimonial-heart {
    text-align: center;
    margin-top: 15px;
}

.testimonial-heart i {
    color: #ff6b6b;
    font-size: 20px;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.testimonials-cta {
    text-align: center;
}

.btn-testimonial {
    display: inline-block;
    background: linear-gradient(135deg, #0056fd 0%, #004ad9 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 86, 253, 0.3);
}

.btn-testimonial:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 253, 0.4);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
  .testimonials-header {
    justify-content: center;
  }
}