:root {
    --atea-primary: #008d2a;
    --atea-secondary: #00a3e0;
    --atea-dark: #001f4d;
    --atea-accent: #ff6b35;
    --text-primary: #1a1a1a;
    --text-secondary: #5a5a5a;
    --text-light: #757575;
    --border-color: #e5e5e5;
    --background-light: #f8f9fa;
    --hover-shadow: 0 4px 20px rgba(0, 51, 141, 0.15);
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter";
    font-size: 16px;
    background: #f7f7f7;
    min-height: 100vh;
    color: var(--text-primary);
}

/* Country selector */
.country-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .country-selector label {
        color: var(--text-secondary);
        font-weight: 500;
    }

    .country-selector select {
        padding: 0.6rem 2.5rem 0.6rem 1rem;
        border: 1px solid var(--border-color);
        border-radius: 4px;
        border-color: #71797d;
        font-size: 0.95rem;
        background: #f7f7f7;
        cursor: pointer;
        transition: all 0.2s ease;
        appearance: none;
        background-image: url("../Welcome/Images/static-dropdown-arrow.svg");
        background-repeat: no-repeat;
        background-position: right 0.8rem center;
        background-size: 1.1rem;
        color: var(--text-primary);
    }

        .country-selector select:hover {
            border-color: var(--atea-primary);
            background-color: var(--background-light);
        }

        .country-selector select:focus {
            outline: none;
            border-color: var(--atea-primary);
            box-shadow: 0 0 0 2px rgba(0, 51, 141, 0.1);
        }

/* Main Content */
.container {
    margin: 4rem auto;
    padding: 32px;
    max-width: 1400px;
}

.welcome-section {
    margin-bottom: 4rem;
}

    .welcome-section h1 {
        font-family: Inter;
        font-weight: 500;
        font-style: Medium;
        font-size: 36px;
        line-height: 16px;
        letter-spacing: -0.25px;
        vertical-align: middle;
    }

    .welcome-section p {
        font-size: 1.15rem;
        color: var(--text-secondary);
        max-width: 650px;
        line-height: 1.6;
    }

/* Tiles Grid */
.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.tile {
    background: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: self-start;
    text-align: left;
    position: relative;
    overflow: hidden;
    padding: 32px;
    gap: 10px;
    min-width: 260px;
    max-width: 340px;
    height: 200px;
}

    .tile::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .tile:hover {
        box-shadow: var(--hover-shadow);
        border-color: var(--atea-primary);
    }

        .tile:hover::before {
            transform: scaleX(1);
        }

.tile-icon {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.tile h3 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
    color: #2e3438;
    font-weight: 600;
}

.tile p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.tile-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--atea-accent);
    color: white;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* No Services Message */
.no-services {
    text-align: center;
    padding: 3rem;
    background: var(--background-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

    .no-services h3 {
        color: var(--atea-primary);
        margin-bottom: 0.75rem;
        font-weight: 600;
    }

    .no-services p {
        color: var(--text-secondary);
    }

/* Footer */
.footer {
    text-align: center;
    padding: 2.5rem 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 5rem;
    background: var(--background-light);
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .welcome-section h1 {
        font-size: 2rem;
    }

    .tiles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .container {
        margin: 2rem auto;
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.lang-selector {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

@media (max-width: 768px) {
    .lang-selector {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .country-selector {
        margin-left: 0;
        width: 100%;
    }

    #countryLabel {
        display: none;
    }
}

.country-selector {
    margin-left: auto;
}

.other-platforms-container {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.other-platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 28px;
    border: 1px solid #cfd6dd;
    border-radius: 3px;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

    .other-platform-btn:hover {
        box-shadow: var(--hover-shadow);
        border-color: var(--atea-primary);
    }

.other-platforms-title {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.4px;
    vertical-align: middle;
}

.other-platforms {
    gap: 24px;
}

.header {
    background: #ffffff;
    padding: 1.5rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}
