body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    background: #fff;
    color: #222;
    max-width: 100vw;
    overflow-x: hidden;
}

.header {
    justify-content: flex-start;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 32px;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    height: 80px;
    width: 80px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 32px;
        width: 32px;
        min-width: 28px;
        max-width: 40px;
    }
    .header {
        padding: 6px 2vw;
        gap: 6px;
    }
    .main-title {
        font-size: 1.3rem;
        padding: 0 2px;
    }
    .subtitle {
        font-size: 0.96rem;
        margin-bottom: 12px;
    }
    .main-nav ul {
        gap: 4px;
    }
    .main-nav ul li a {
        font-size: 0.97rem;
        padding: 8px 0;
    }
    .header-actions {
        gap: 4px;
    }
    .lang-btn, .download-btn {
        font-size: 0.97rem;
        padding: 7px 10px;
        border-radius: 12px;
    }
    .footer-section, .footer-links, .footer-apps {
        padding: 0 2vw;
        gap: 6px;
    }
    .footer-section h4 {
        font-size: 1rem;
    }
    .footer-section ul li a {
        font-size: 0.92rem;
    }
    .footer-bottom {
        font-size: 0.82rem;
        gap: 4px;
    }
}

@media (max-width: 350px) {
    .logo {
        height: 22px;
        width: 22px;
    }
    .main-title {
        font-size: 1.07rem;
    }
    .subtitle {
        font-size: 0.85rem;
    }
    .lang-btn, .download-btn {
        font-size: 0.9rem;
        padding: 5px 7px;
    }
}
.main-nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (max-width: 900px) {
    .main-nav ul {
        gap: 12px;
    }
}
@media (max-width: 700px) {
    .main-nav ul {
        display: none;
    }
    .main-nav.open ul {
        display: flex;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 1000;
        gap: 0;
        border-top: 1px solid #eee;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .main-nav.open ul li a {
        padding: 18px 24px;
        border-bottom: 1px solid #eee;
    }
}

.main-nav ul li a {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li .dot {
    color: #E8002D;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lang-btn {
    background: #f5f5f5;
    color: #222;
    border: none;
    border-radius: 16px;
    padding: 7px 18px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-right: 8px;
}
.lang-btn:hover {
    background: #e0e0e0;
}
.dot {
    color: #E8002D;
    font-size: 1.1em;
    vertical-align: middle;
}

.logo {
    height: 38px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.download-btn {
    background: #E8002D;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 22px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}
.download-btn:hover {
    background: #b80023;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background: #222;
    border-radius: 2px;
    transition: 0.3s;
}

.main-title-section {
    text-align: center;
    padding: 0px 16px 24px 16px;
}
.main-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 24px;
}
.horizontal-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}
.horizontal-menu ul {
    display: flex;
    gap: 36px;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: max-height 0.3s;
}
.horizontal-menu ul li a {
    display: block;
    padding: 12px 22px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border 0.2s;
}
.horizontal-menu ul li a.active, .horizontal-menu ul li a:hover {
    color: #E8002D;
    border-bottom: 2px solid #E8002D;
}

.contact-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px 24px 16px;
    background: #fafafa;
}
.contact-form-container {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 32px 28px 18px 28px;
    max-width: 400px;
    width: 100%;
}
.contact-form-container h2 {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
}
.contact-email {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #E8002D;
    font-weight: 500;
}
.contact-email a {
    color: #E8002D;
    text-decoration: underline;
    font-weight: 500;
}

.contact-subheading {
    color: #888;
    margin-bottom: 18px;
}
.contact-form .form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}
.contact-form label {
    font-weight: 500;
    margin-bottom: 6px;
}
.contact-form label span {
    color: #E8002D;
    margin-left: 2px;
}
.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 1rem;
    resize: none;
}
.contact-form textarea {
    min-height: 80px;
}
.send-btn {
    background: #E8002D;
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 7px;
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}
.send-btn:hover {
    background: #b80023;
}
.input-info {
    margin-top: 18px;
    font-size: 0.97rem;
    color: #666;
}

.chat-float {
    position: fixed !important;
    bottom: 16px !important;
    right: 16px !important;
    z-index: 9999 !important;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(232,0,45,0.18);
    border-radius: 50%;
    transition: transform 0.2s;
    background: transparent;
    outline: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 56px !important;
    height: 56px !important;
    min-width: 48px;
    min-height: 48px;
    max-width: 56px;
    max-height: 56px;
    opacity: 1 !important;
    pointer-events: auto !important;
}


.chat-float:focus {
    outline: 2px solid #E8002D;
}
.chat-float:hover {
    transform: scale(1.08);
}
.chat-pulse {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(232,0,45,0.18);
    animation: pulse 1.5s infinite;
    z-index: -1;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}
.chat-tooltip {
    position: absolute;
    right: 70px;
    bottom: 18px;
    background: #222;
    color: #fff;
    padding: 7px 16px;
    border-radius: 7px;
    font-size: 0.95rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    white-space: nowrap;
}
.chat-float:hover .chat-tooltip,
.chat-float:focus .chat-tooltip {
    opacity: 1;
}


.footer {
    background: #111;
    color: #fff;
    padding: 36px 0 18px 0;
    margin-top: 48px;
    font-size: 1rem;
}
.footer-sections {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    align-items: flex-start;
}
.footer-section {
    min-width: 180px;
}
.footer-section h4 {
    margin: 0 0 8px 0;
    font-size: 1.07rem;
    font-weight: 600;
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section ul li {
    margin-bottom: 5px;
}
.footer-section ul li a {
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
    font-size: 0.97rem;
    transition: opacity 0.2s;
}
.footer-section ul li a:hover {
    opacity: 1;
    text-decoration: underline;
    color: #E8002D;
}
.footer-section .new {
    background: #E8002D;
    color: #fff;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.8em;
    margin-left: 4px;
}
.footer-section .beta {
    background: #222;
    color: #fff;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.8em;
    margin-left: 4px;
}
.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.footer-logo {
    height: 32px;
    margin-right: 16px;
    vertical-align: middle;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
    font-size: 0.97rem;
}
.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
    color: #E8002D;
}
.footer-apps {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.footer-app {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.97rem;
}
.footer-app span {
    font-weight: 600;
    margin-right: 8px;
}
.footer-app img {
    height: 32px;
    background: #fff;
    border-radius: 6px;
    padding: 2px 4px;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 0.94rem;
    color: #bbb;
    margin-top: 12px;
    text-align: center;
}
.footer-bottom a {
    color: #fff;
    text-decoration: underline;
    opacity: 0.85;
    margin: 0 4px;
}
.footer-bottom a:hover {
    color: #E8002D;
    opacity: 1;
}
.footer-made {
    display: inline-block;
    margin: 0 8px;
}
.footer-copyright {
    display: inline-block;
    margin: 0 8px;
}
.region, .dbid, .footer-legal {
    display: inline-block;
    margin: 0 8px;
}

.footer-sections {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.footer-section h4 {
    margin: 0 0 8px 0;
    font-size: 1.07rem;
    font-weight: 600;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.98rem;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-section h4, .footer-section ul {
    text-align: left;
}

/* Footer Links Animation */
.footer-section a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 4px 0;
}

/* Hover Effect */
.footer-section a:hover {
    color: #E8002D;
    transform: translateX(4px);
}

/* Click/Press Effect */
.footer-section a:active {
    transform: translateX(4px) scale(0.98);
}

/* Underline Animation */
.footer-section a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #E8002D;
    transition: width 0.3s ease;
}

.footer-section a:hover::after {
    width: 100%;
}

/* For mobile/tap devices */
@media (hover: none) {
    .footer-section a:active {
        color: #E8002D;
        transform: scale(0.98);
    }
    .footer-section a::after {
        display: none;
    }
}

/* Responsive Styles */
@media (max-width: 600px) {
    html, body {
        width: 100vw;
        max-width: 100vw;
        min-width: 0;
        box-sizing: border-box;
    }
    .chat-float {
        right: 12px !important;
        bottom: 18px !important;
        width: 48px;
        height: 48px;
    }
    
    .footer-sections {
        padding-left: 6px;
    }
    .main-title-section, .contact-section {
        padding-left: 6px;
        padding-right: 6px;
    }
    .contact-form-container {
        max-width: 100vw;
        width: 100vw;
        min-width: 0;
        box-sizing: border-box;
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 6px;
        position: relative;
    }
    .main-nav {
        width: 100%;
        position: relative;
    }
    .main-nav ul {
        display: none;
    }
    .main-nav.open ul {
        display: flex;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 1000;
        gap: 0;
        border-top: 1px solid #eee;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .main-nav.open ul li a {
        padding: 18px 24px;
        border-bottom: 1px solid #eee;
    }
    .header-actions {
        flex-direction: row;
        width: 100%;
        justify-content: flex-end;
    }
    .horizontal-menu ul {
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        border-radius: 0;
        background: #fff;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 99;
    }
    .horizontal-menu ul.open {
        max-height: 300px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    }
    .horizontal-menu ul li a {
        padding: 16px 22px;
        border-bottom: 1px solid #eee;
    }
    .horizontal-menu {
        position: relative;
    }
    .footer-sections {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        width: 100%;
        padding-left: 18px;
    }
    .footer-section {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }
    .footer-section h4, .footer-section ul {
        text-align: left;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .footer-apps {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        font-size: 0.91rem;
    }
    .send-btn, .download-btn, .lang-btn {
        font-size: 1rem;
        padding: 12px 0;
    }
    .contact-form input, .contact-form textarea {
        font-size: 1rem;
    }
    .chat-float {
        right: 12px;
        bottom: 12px;
        width: 48px;
        height: 48px;
    }
}
