* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #f1f1f1;
    background-color: #363636;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundMove 20s ease-in-out infinite;
}

/* Floating geometric shapes */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(52, 152, 219, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 60% 40%, rgba(52, 152, 219, 0.12) 0%, transparent 15%);
    z-index: -1;
    animation: floatingShapes 25s ease-in-out infinite;
}

@keyframes floatingShapes {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-20px) rotate(90deg) scale(1.1); }
    50% { transform: translateY(10px) rotate(180deg) scale(0.9); }
    75% { transform: translateY(-15px) rotate(270deg) scale(1.05); }
}

@keyframes backgroundMove {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(1deg); }
    66% { transform: translateY(20px) rotate(-1deg); }
}

/* Decorative elements */
.section-decorator {
    position: relative;
}

.section-decorator::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    border-radius: 2px;
}

.section-decorator::after {
    content: '◆';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    color: #3498db;
    font-size: 1.2em;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

/* Enhanced Header */
header {
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

header.scrolled::after {
    opacity: 1;
}

nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 0;
    transition: padding 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(52, 152, 219, 0.3));
}

.language-switcher {
    display: flex;
    gap: 10px;
    position: relative;
}

.language-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(52, 152, 219, 0.1));
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #3498db;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    width: 40px;
    height: 40px;
}

.dropdown-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.dropdown-toggle:hover::before {
    left: 100%;
}

.dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    border-color: #3498db;
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.flag-icon.flag-uk {
    background-image: url('flag-uk.svg');
}

.flag-icon.flag-mk {
    background-image: url('flag-mk.svg');
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.98), rgba(44, 44, 44, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 8px;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #f1f1f1;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(52, 152, 219, 0.1));
    transform: translateX(3px);
    color: #3498db;
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(135deg, #3498db 0%, #222222 100%);
    color: white;
    padding: 140px 0 100px;
    padding-bottom: 0.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>'),
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.02) 50%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

/* Floating decorative elements in hero */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatRight 15s ease-in-out infinite;
}

@keyframes floatRight {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(45deg, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.6em;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Support Content Section */
.support-content {
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(20px);
    padding: 80px 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.support-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.08) 0%, transparent 60%);
    animation: supportBackground 20s ease-in-out infinite;
}

@keyframes supportBackground {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Quick Help Section */
.quick-help {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.quick-help h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 50px;
    color: #f1f1f1;
    background: linear-gradient(45deg, #f1f1f1, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.help-card {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.9), rgba(44, 44, 44, 0.7));
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.help-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(52, 152, 219, 0.05) 50%, transparent 60%);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.help-card:hover::before {
    opacity: 1;
}

.help-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(52, 152, 219, 0.2);
}

.help-icon {
    font-size: 3.5em;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(52, 152, 219, 0.3));
    position: relative;
    display: inline-block;
}

.help-card h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #f1f1f1;
}

.help-card p {
    color: #b0b0b0;
    line-height: 1.7;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.help-details {
    text-align: left;
    margin-top: 25px;
}

.help-details ul {
    list-style: none;
    padding: 0;
}

.help-details li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: #d0d0d0;
    font-size: 0.95em;
}

.help-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Contact Support Section */
.contact-support {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.contact-support h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 50px;
    color: #f1f1f1;
    background: linear-gradient(45deg, #f1f1f1, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.9), rgba(44, 44, 44, 0.7));
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(52, 152, 219, 0.2);
}

.contact-icon {
    font-size: 3em;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #f1f1f1;
}

.contact-card p {
    color: #b0b0b0;
    line-height: 1.7;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.contact-btn, .resource-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 5px;
}

.contact-btn::before, .resource-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.contact-btn:hover::before, .resource-btn:hover::before {
    left: 100%;
}

.contact-btn:hover, .resource-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* FAQ Section */
.faq-section {
    position: relative;
    z-index: 1;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 50px;
    color: #f1f1f1;
    background: linear-gradient(45deg, #f1f1f1, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.9), rgba(44, 44, 44, 0.7));
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1em;
    color: #f1f1f1;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(52, 152, 219, 0.05);
}

.faq-toggle {
    font-size: 1.5em;
    color: #3498db;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(52, 152, 219, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #b0b0b0;
    line-height: 1.7;
    font-size: 1em;
}

/* Enhanced Footer */
footer {
    background: linear-gradient(135deg, #222222, #1a1a1a);
    color: white;
    text-align: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
}

footer::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

footer p {
    opacity: 0.9;
    font-size: 1.1em;
}

/* Add section separators */
.section-separator {
    height: 100px;
    background: linear-gradient(180deg, 
        rgba(54, 54, 54, 1) 0%, 
        rgba(44, 44, 44, 0.8) 50%, 
        rgba(54, 54, 54, 1) 100%);
    position: relative;
    overflow: hidden;
}

.section-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    animation: separatorGlow 4s ease-in-out infinite;
}

@keyframes separatorGlow {
    0%, 100% { opacity: 0.5; width: 200px; }
    50% { opacity: 1; width: 300px; }
}

/* Additional visual enhancements */
.visual-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 50%;
    margin: 0 10px;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Responsive */
@media (max-width: 768px) {
    /* Header adjustments */
    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    .logo {
        margin-right: 0;
    }

    .language-switcher {
        position: absolute;
        top: 15px;
        right: 20px;
        width: auto;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .support-content {
        padding: 60px 0;
    }

    .quick-help h2, .contact-support h2, .faq-section h2 {
        font-size: 2.2em;
    }

    .help-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .help-card, .contact-card {
        margin: 0 15px;
        padding: 30px 25px;
    }

    .contact-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faq-question {
        padding: 20px 25px;
        font-size: 1em;
    }

    .faq-answer {
        padding: 0 25px;
    }

    .faq-item.active .faq-answer {
        padding: 0 25px 20px 25px;
    }
}

/* Additional mobile optimization */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    .quick-help h2, .contact-support h2, .faq-section h2 {
        font-size: 1.8em;
    }

    .help-card h3, .contact-card h3 {
        font-size: 1.3em;
    }

    .help-card p, .contact-card p {
        font-size: 1em;
    }

    .contact-btn, .resource-btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .resource-links {
        flex-direction: column;
    }
}

/* Hide elements for language switching */
[data-lang]:not(.active) {
    display: none;
}

/* Scroll animations */
.fade-in-up {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
