:root {
    --color-primary: #4f46e5;
    --color-secondary: #818cf8;
    --color-bg: #f9fafb;
    --color-text: #1e293b;
    --color-accent: #22d3ee;
    --color-card-bg: white;
    --radius: 12px;
    --shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    --font-family: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    padding: 2rem 1rem 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-weight: 600;
    font-size: 3rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}

.slogan {
    font-weight: 300;
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-top: 0;
}

nav {
    margin-top: 1.5rem;
}

.lang-btn {
    background-color: var(--color-bg);
    border: none;
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    margin: 0 0.4rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(79, 70, 229, 0.25);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 10px var(--color-accent);
}

main {
    flex-grow: 1;
    max-width: 700px;
    margin: 2rem auto 3rem;
    width: 90%;
}

.section-center {
    text-align: center;
    margin-bottom: 3rem;
}

h2,
h3 {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

p {
    font-weight: 300;
    font-size: 1.15rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

.card {
    background-color: var(--color-card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 480px;
    margin: 0 auto 3rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-primary);
}

input[type="email"] {
    border: 2px solid var(--color-secondary);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #fafafa;
}

input[type="email"]:focus {
    border-color: var(--color-accent);
    outline: none;
    background-color: white;
}


/* Drag and Drop Styles */

#drop-area {
    position: relative;
    border: 3px dashed var(--color-secondary);
    border-radius: var(--radius);
    padding: 2rem 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    background-color: #fefefe;
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 1rem;
    user-select: none;
}

#drop-area.highlight {
    border-color: var(--color-accent);
    background-color: #e0f7fa;
    color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-accent);
}

#drop-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

#drop-area p {
    margin: 0;
    pointer-events: none;
}

#file-list {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-primary);
    max-height: 150px;
    overflow-y: auto;
    user-select: none;
}

#file-list ul {
    list-style: disc inside;
    padding-left: 1rem;
    margin: 0;
}

#file-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.15rem 0;
}

#file-list button.remove-btn {
    background: none;
    border: none;
    color: #c02323;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 0.5rem;
}


/* Submit button */

button[type="submit"] {
    background-image: linear-gradient(45deg, #4f46e5, #22d3ee);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0.85rem 0;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: 0 4px 15px var(--color-accent);
    transition: background-image 0.35s ease;
}

button[type="submit"]:hover {
    background-image: linear-gradient(45deg, #3730a3, #06b6d4);
}

#form-message {
    margin-top: 1rem;
    min-height: 1.5em;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

#reviews {
    max-width: 680px;
    margin: 0 auto 3rem;
}

#reviews-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#reviews-list li {
    background: white;
    border-radius: var(--radius);
    padding: 1.25rem 1.75rem;
    font-style: italic;
    color: var(--color-primary);
    box-shadow: var(--shadow);
}


/* Counter Styles */

.counters {
    max-width: 700px;
    margin: 0 auto 2rem;
    display: flex;
    gap: 3rem;
    justify-content: center;
    color: var(--color-primary);
    font-weight: 700;
    text-align: center;
    user-select: none;
}

.counters>div {
    background: linear-gradient(135deg, #a5b4fc, #818cf8);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 130px;
    color: white;
    /* text no-wrap */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.count {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.08em;
}


/* Label smaller to keep counters neat */

.label {
    font-weight: 400;
    font-size: 0.95rem;
    opacity: 0.85;
    white-space: normal;
}


/* Footer */

footer {
    text-align: center;
    padding: 1.25rem 1rem;
    font-weight: 300;
    color: var(--color-secondary);
    background: #eef2ff;
    user-select: none;
}


/* Responsive */

@media (max-width: 580px) {
    .counters {
        flex-direction: column;
        gap: 1.5rem;
    }
    .card {
        padding: 1.5rem 1rem;
    }
    header h1 {
        font-size: 2.25rem;
    }
    .slogan {
        font-size: 1rem;
    }
    #drop-area {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
}