* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    text-align: center;
    margin-bottom: 60px;
}

.logo-placeholder {
    width: 200px;
    height: 80px;
    background: #6e586b;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    border-radius: 12px;
}

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

.country-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(110, 88, 107, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(110, 88, 107, 0.2);
}

.country-link {
    text-decoration: none;
    color: #6e586b;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px 30px;
    flex: 1;
}

.country-emoji {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
}

.country-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.country-link:hover .country-title {
    color: #f1d6df;
}

.stylist-count {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

.cities-btn-wrapper {
    width: 100%;
    border-top: 1px solid #f0f0f0;
}

.cities-btn {
    background: transparent;
    color: #6e586b;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cities-btn:hover {
    background: #f1d6df;
    color: #6e586b;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 40px auto;
    padding: 50px;
    border-radius: 20px;
    max-width: 900px;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 35px;
    font-weight: 300;
    color: #6e586b;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #f1d6df;
}

.modal-title {
    color: #6e586b;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.modal-title-link {
    color: #6e586b;
    text-decoration: none;
}

.modal-title-link:hover {
    color: #f1d6df;
}

.modal-top-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.modal-top-tag {
    display: inline-block;
    background: #f1d6df;
    color: #6e586b;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-top-tag:hover {
    background: #6e586b;
    color: white;
    transform: scale(1.05);
}

.modal-intro {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.section-title {
    color: #6e586b;
    font-size: 22px;
    margin: 30px 0 20px;
    font-weight: 600;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.tag {
    display: inline-block;
    background: #f1d6df;
    color: #6e586b;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #6e586b;
    color: white;
    transform: scale(1.05);
}

.routine-btn {
    display: inline-block;
    background: #6e586b;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.routine-btn:hover {
    background: #f1d6df;
    color: #6e586b;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        padding: 30px 20px;
    }

    .countries-grid {
        grid-template-columns: 1fr;
    }

    .modal-title {
        font-size: 24px;
    }
}