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

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
header {
    background-color: rgb(63, 81, 181);
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo {
    height: 50px;
    width: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

/* Navigation */
.nav-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 5px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: white;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.language-switcher {
    margin-right: 15px;
}

.language-switcher select {
    padding: 8px 30px 8px 12px;
    border: none;
    border-radius: 4px;
    background-color: white;
    color: rgb(63, 81, 181);
    cursor: pointer;
    font-weight: bold;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgb(63, 81, 181)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.desktop-lang {
    display: block;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    margin-left: 20px;
}

.bar1, .bar2, .bar3 {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* Animate hamburger to X */
.open .bar1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.open .bar2 {
    opacity: 0;
}

.open .bar3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    background-color: rgb(63, 81, 181);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.mobile-nav-links li {
    margin: 15px 0;
    text-align: center;
}

.mobile-lang {
    text-align: center;
    margin-top: 20px;
    display: none;
}

/* Main Content */
main {
    margin-top: 80px;
    padding: 20px 0;
}

section {
    margin-bottom: 40px;
    padding: 30px 0;
}

h1, h2 {
    color: rgb(63, 81, 181);
    margin-bottom: 20px;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
}

/* Intro Section */
#intro {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(180deg, #fff, #f9f9f9);
}

/* Features Section */
#features {
    padding: 50px 20px;
}

.features-list {
    list-style-type: none;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.features-list li {
    margin-bottom: 0;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid rgb(63, 81, 181);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-list li:before {
    content: none;
}

#features h2 {
    text-align: center;
}

/* Pricing Section */
#pricing {
    text-align: center;
    background-color: #f9f9f9;
    padding: 50px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

#pricing p {
    margin-bottom: 20px;
}

/* Contact Section */
#contact {
    background-color: rgb(63, 81, 181);
    color: white;
    padding: 60px 20px 40px;
    text-align: center;
    margin-bottom: 0;
    min-height: calc(100vh - 225px);
}

#contact h2 {
    color: white;
}

.contact-info {
    margin: 30px 0;
}

.cta-button {
    background-color: white;
    color: rgb(63, 81, 181);
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

#pricing .cta-button {
    background-color: rgb(63, 81, 181);
    color: white;
}

#pricing .cta-button:hover {
    background-color: rgb(53, 71, 171);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 0;
}

footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .logo {
        height: 40px;
    }
    
    header .container {
        justify-content: space-between;
    }
    
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .language-switcher select {
        padding: 6px 25px 6px 10px;
        font-size: 0.9rem;
    }
    
    .nav-container {
        display: flex;
        align-items: center;
        width: auto;
        justify-content: flex-end;
    }
    
    .mobile-menu {
        display: none;
        top: 69px;
    }
    
    .mobile-menu.open {
        display: block;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    #intro, #contact {
        padding: 40px 20px;
    }
    
    section {
        padding: 20px 0;
    }
    
    .features-list li {
        padding: 15px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .container {
        max-width: 100%;
    }
}
