/* Reset and normalization */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #2D3748;
    font-size: 16px;
    line-height: 1.5;
    color: #1F2937;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    padding-top: 6rem;
    padding-bottom: 4rem;
    background: #FFFFFF;
}

/* Header */
header {
    background: #FFFFFF;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1F2937;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-left: -1rem;
}

.burger-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 60;
    margin-left: auto;
    order: 2;
}

.burger-toggle span {
    width: 100%;
    height: 3px;
    background: #1F2937;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-toggle.active span:nth-child(2) {
    opacity: 0;
}

.burger-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-left: 7%;
    order: 1;
}

.nav-item {
    position: relative;
    color: #1F2937;
    text-decoration: none;
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-item i {
    font-size: 1rem;
    color: #0066FF;
    transition: color 0.3s;
    margin-right: 0.75rem;
}

.nav-item:hover i {
    color: #0055CC;
}

.nav-item > span {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-item > span::after,
.nav-item > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: #0066FF;
    transition: width 0.3s;
}

.nav-item:hover > span::after,
.nav-item:hover > a::after {
    width: 100%;
}

.dropdown-arrow {
    font-size: 0.875rem;
    color: #1F2937;
    transition: color 0.3s;
}

.nav-item:hover .dropdown-arrow {
    color: #0066FF;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    min-width: 220px;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-item:hover .dropdown {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #1F2937;
    text-decoration: none;
    font-size: 1rem;
}

.dropdown-item:hover {
    background: #F3F4F6;
}

.language-switcher {
    display: flex;
    align-items: center;
}

.nav-menu .flex.items-center {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu .flex.items-center .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
}

@media (max-width: 768px) {
    .burger-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #FFFFFF;
        flex-direction: column;
        align-items: flex-start;
        padding: 4rem 1.5rem;
        transition: right 0.3s ease;
        z-index: 50;
        overflow-y: auto;
        margin-left: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        font-size: 1.25rem;
        padding: 0.5rem 0;
        white-space: nowrap;
    }

    .nav-item i {
        font-size: 1.125rem;
        margin-right: 0.75rem;
    }

    .nav-item > span {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .dropdown-arrow {
        font-size: 0.875rem;
    }

    .dropdown {
        position: static;
        width: 100%;
        border: none;
        box-shadow: none;
        margin-top: 0.5rem;
        display: none;
    }

    .nav-item.active .dropdown {
        display: block;
    }

    .dropdown-item {
        color: #1F2937;
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    .dropdown-item:hover {
        background: #F3F4F6;
    }

    .btn-primary {
        color: #FFFFFF;
        font-size: 1.25rem;
        width: auto;
        padding: 0.5rem 1.5rem;
        text-align: center;
    }
}

nav a {
    color: #1F2937;
    text-decoration: none;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: #0066FF;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.btn-primary {
    background: #FF9500;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.3s ease;
    display: inline-block;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #D27A00;
}

/* Hero Section */
.wordpress-hero {
    background: #FFFFFF;
    color: #1F2937;
    padding: 3rem 1rem;
    text-align: center;
}

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

.wordpress-hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.6s ease-in;
}

.wordpress-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4B5563;
    animation: fadeIn 0.6s ease-in;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Uploader Section */
.uploader-section {
    background: #FFFFFF;
    color: #1F2937;
    padding: 3rem 1rem;
    text-align: center;
}

.uploader-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.6s ease-in;
}

.uploader-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4B5563;
    animation: fadeIn 0.6s ease-in;
}

.uploader-image img {
    max-width: 110%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-left: 2rem;
}

/* File Manager Section */
.filemanager-section {
    background: #FFFFFF;
    color: #1F2937;
    padding: 3rem 1rem;
    text-align: center;
}

.filemanager-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.6s ease-in;
}

.filemanager-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4B5563;
    animation: fadeIn 0.6s ease-in;
}

.filemanager-content {
    padding-left: 2rem;
}

.filemanager-image img {
    max-width: 125%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-left: -2rem;
}

/* Download Section */
.download-section {
    background: #FFFFFF;
    color: #1F2937;
    padding: 3rem 1rem;
    text-align: center;
}

.download-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.6s ease-in;
}

.download-buttons {
    border: 1px solid #1F2937;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.download-section .btn-primary {
    width: 100%;
    font-size: 1.125rem;
    padding: 1rem;
}

@media (min-width: 768px) {
    .wordpress-hero .container,
    .uploader-section .container,
    .filemanager-section .container {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .hero-image,
    .hero-content,
    .uploader-image,
    .uploader-content,
    .filemanager-image,
    .filemanager-content {
        flex: 1;
    }

    .wordpress-hero h1,
    .uploader-section h2,
    .filemanager-section h2 {
        font-size: 3rem;
    }

    .wordpress-hero p,
    .uploader-section p,
    .filemanager-section p {
        font-size: 1.5rem;
    }

    .uploader-image img {
        max-width: 100%;
        margin-left: 3rem;
    }

    .filemanager-content {
        padding-left: 3rem;
    }

    .filemanager-image img {
        max-width: 115%;
        margin-left: -3rem;
    }

    .download-buttons {
        flex-direction: row;
        gap: 2rem;
        padding: 2rem;
        max-width: 800px;
    }

    .download-section .btn-primary {
        width: auto;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }

    .wordpress-hero, .uploader-section, .filemanager-section, .download-section {
        padding: 1.5rem 0.5rem;
    }

    .wordpress-hero .container,
    .uploader-section .container,
    .filemanager-section .container {
        flex-direction: column;
    }

    .hero-image,
    .hero-content,
    .uploader-image,
    .uploader-content,
    .filemanager-image,
    .filemanager-content {
        width: 100%;
        text-align: center;
    }

    .hero-image img,
    .uploader-image img,
    .filemanager-image img {
        max-width: 100%;
        margin-left: 0;
    }

    .filemanager-content {
        padding-left: 0;
    }

    .wordpress-hero h1,
    .uploader-section h2,
    .filemanager-section h2,
    .download-section h2 {
        font-size: 2rem;
    }

    .wordpress-hero p,
    .uploader-section p,
    .filemanager-section p {
        font-size: 1.125rem;
    }

    .download-buttons {
        padding: 1rem;
        gap: 1rem;
    }

    .download-section .btn-primary {
        font-size: 1rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    main {
        padding-top: 3rem;
        padding-bottom: 1.5rem;
    }

    .wordpress-hero, .uploader-section, .filemanager-section, .download-section {
        padding: 1rem 0.25rem;
    }

    .wordpress-hero h1,
    .uploader-section h2,
    .filemanager-section h2,
    .download-section h2 {
        font-size: 1.75rem;
    }

    .wordpress-hero p,
    .uploader-section p,
    .filemanager-section p {
        font-size: 1rem;
    }

    .download-buttons {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .download-section .btn-primary {
        font-size: 0.875rem;
        padding: 0.5rem;
    }
}

/* Footer */
footer {
    background: #2D3748;
    color: #F3F4F6;
    padding: 2rem 1rem;
    width: 100%;
    flex-shrink: 0;
}

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

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }
}

.footer-section {
    flex: 1 1;
    min-width: 150px;
}

@media (max-width: 767px) {
    .footer-section {
        flex: 1 1 45%;
    }

    .footer-section:nth-child(4), .footer-section:nth-child(5) {
        flex: 1 1;
    }
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-section nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: #F3F4F6;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
    text-align: left;
}

.footer-section a:hover {
    color: #93C5FD;
}

.social-links {
    display: flex;
    flex-direction: row !important;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 767px) {
    .social-links {
        gap: 0.75rem;
    }
}

.social-icon {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    transform: none;
}

.footer-bottom {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    border-top: 1px solid #4B5563;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-legal {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-legal a {
    color: #F3F4F6;
    text-decoration: none;
    margin: 0;
}

.footer-legal a:hover {
    color: #93C5FD;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}