/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.container {
    display: flex;
    align-items: center;
    gap: 15px;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .container {
        gap: 10px;
    }
    nav {
        justify-content: flex-end;
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 0;
    display: block;
}

nav ul li a:hover {
    color: #0066ff;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066ff;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 36px;
    transition: all 0.3s;
}

/* Language toggle */
.language-toggle {
    display: flex;
    margin-left: 30px;
}

.lang-btn {
    background: none;
    border: none;
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-btn.active {
    color: #0066ff;
    font-weight: 600;
}

.lang-btn:not(.active):hover {
    color: #0066ff;
    opacity: 0.8;
}

/* Hero section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #0066ff, #00ccff), url('../img/cover1.png');
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: 200% 200%, cover;
    background-blend-mode: overlay;
    background-position: center;
    background-repeat: no-repeat;
    animation: gradientBG 15s ease infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 15s infinite linear, pulse 8s infinite ease-in-out;
    z-index: 0;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(5%, 5%);
    }
    50% {
        transform: translate(10%, 0);
    }
    75% {
        transform: translate(5%, -5%);
    }
    100% {
        transform: translate(0, 0);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
}

.hero p {
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
}

.hero .btn {
    margin-top: 10px;
}

/* Button styles */
.btn {
    display: inline-block;
    background-color: #fff;
    color: #0066ff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 102, 255, 0.1);
    border: 2px solid transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: all 0.7s ease-in-out;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.2);
}

.btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 102, 255, 0.2);
}

.btn:hover::before {
    left: 100%;
}

/* Features section */
.features {
    padding: 100px 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-left: 30px;

}

.feature {
    padding: 30px;
    border-radius: 10px;
    background-color: #fff;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.1);
    transform: perspective(1000px) rotateX(0deg);
}

.feature:hover {
    transform: perspective(1000px) rotateX(5deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
    background-color: #f8faff;
}

.feature h3 {
    margin-bottom: 15px;
    color: #0066ff;
}

/* Download section */
.download {
    background: url('../img/cover1.png');
    padding: 100px 0;
    background-color: #f0f7ff;
    text-align: center;
}

.download h2 {
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.download .download-options {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
}

.download-option {
    width: 100%;
}

@media (max-width: 768px) {
    .download-options {
        justify-content: center;
    }
}

.download-option {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(0deg);
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.download-option::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0066ff, #00ccff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.download-option:hover {
    transform: perspective(1000px) rotateX(5deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
    background-color: #f8faff;
    border-color: rgba(0, 102, 255, 0.3);
}

.download-option:hover::after {
    transform: scaleX(1);
}

.platform-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.platform-icon {
    font-size: 64px;
    margin-right: 10px;
    color: #007bff80;
    width: 30px;
    text-align: center;
    transition: all 0.3s;
}

.download-option:hover .platform-icon {
    color: #0066ff;
    transform: scale(1.1);
}

.download-option h3 {
    margin: 0;
    color: #0066ff;
}

/* Footer */
footer {
    padding: 30px 0;
    background-color: #333;
    color: #fff;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Mobile navigation */
    nav ul {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    /* Hamburger menu */
    .hamburger {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 20px;
        position: relative;
    }
    
    .hamburger span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #333;
        border-radius: 3px;
        transition: all 0.3s;
    }
    
    .hamburger span:nth-child(1) {
        top: 0;
    }
    
    .hamburger span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .hamburger span:nth-child(3) {
        bottom: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Layout adjustments */
    .feature-grid, .download-options {
        grid-template-columns: 1fr;
        margin-left: 0;
    }
    
    .feature, .download-option {
        padding: 20px;
    }
    
    /* Touch target sizes */
    .btn {
        padding: 15px 35px;
    }
    
    /* Header adjustments */
    header {
        padding: 15px 0;
    }
    
    .logo img {
        height: 30px;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .feature h3, .download h2 {
        font-size: 1.5rem;
    }
}
