/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #96D4FF 0%, #191326 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #96D4FF;
}

.cta-button {
    background: linear-gradient(135deg, #191326 0%, #2b2833 100%);
    color: white !important;
    padding: 12px 24px;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(25, 19, 38, 0.3);
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1.5rem;
}

.language-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border: 1px solid rgba(150, 212, 255, 0.3);
    border-radius: 30px;
    padding: 10px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #191326;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(150, 212, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.language-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(150, 212, 255, 0.3), rgba(150, 212, 255, 0.1), rgba(150, 212, 255, 0.3));
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.language-btn:hover::after {
    opacity: 1;
}

.language-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(150, 212, 255, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.language-btn:hover::before {
    left: 100%;
}

.language-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 248, 255, 0.95) 100%);
    border-color: #232133;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(150, 212, 255, 0.25);
    color: #232133;
}

.language-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(150, 212, 255, 0.2);
}

.language-btn i {
    font-size: 16px;
    color: #232133;
    transition: all 0.3s ease;
}

.language-btn i.fa-globe {
    animation: gentle-rotate 8s linear infinite;
}

@keyframes gentle-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.language-btn:hover i.fa-globe {
    animation-duration: 4s;
    color: #96D4FF;
}

.language-btn:hover i {
    transform: scale(1.1);
    color: #96D4FF;
}

.language-btn .fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-btn:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.language-btn #current-language {
    font-weight: 700;
    color: #191326;
    transition: all 0.3s ease;
    position: relative;
}

.language-btn:hover #current-language {
    color: #96D4FF;
    animation: gentle-pulse 2s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(150, 212, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(25, 19, 38, 0.15), 0 8px 16px rgba(150, 212, 255, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1001;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.language-dropdown::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #96D4FF, transparent);
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: #191326;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(150, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideInLeft 0.3s ease forwards;
}

.language-dropdown a:nth-child(1) { animation-delay: 0.1s; }
.language-dropdown a:nth-child(2) { animation-delay: 0.15s; }
.language-dropdown a:nth-child(3) { animation-delay: 0.2s; }
.language-dropdown a:nth-child(4) { animation-delay: 0.25s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.language-dropdown a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(150, 212, 255, 0.1), transparent);
    transition: width 0.3s ease;
}

.language-dropdown a:hover::before {
    width: 100%;
}

.language-dropdown a:last-child {
    border-bottom: none;
}

.language-dropdown a:hover {
    background: rgba(150, 212, 255, 0.08);
    color: #96D4FF;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(150, 212, 255, 0.15);
}

.language-dropdown a:hover span:first-child {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(150, 212, 255, 0.3));
}

.language-dropdown a span:first-child {
    transition: all 0.3s ease;
}

.language-dropdown a:first-child {
    border-radius: 20px 20px 0 0;
}

.language-dropdown a:last-child {
    border-radius: 0 0 20px 20px;
}

.language-dropdown a span {
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #000000;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/backgroud.png');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(45deg, #b7d7ee 0%, #c5bade 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: #191326;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #191326;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-image: url('assets/Screenshot_Elvai.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}



@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}



/* Features Section */
.features {
    padding: 100px 0;
    background: rgba(25, 19, 38, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(25, 19, 38, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(150, 212, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(25, 19, 38, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #191326 0%, #2b2833 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* How it works Section */
.how-it-works {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.02);
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #96D4FF 0%, transparent 100%);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #191326 0%, #2b2833 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.step p {
    color: #64748b;
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #191326 0%, #2b2833 100%);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: #333;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-download i {
    font-size: 28px;
}

.btn-download div {
    text-align: left;
}

.btn-download small {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

.btn-download strong {
    display: block;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #191326;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-brand-text {
    font-size: 20px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(150, 212, 255, 0.2);
    color: #a0aec0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .language-selector {
        margin-left: 0;
        margin-top: 1rem;
        align-self: center;
    }
    
    .language-btn {
        padding: 12px 20px;
        font-size: 15px;
        border-radius: 35px;
    }
    
    .language-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-15px) scale(0.95);
        min-width: 220px;
        top: calc(100% + 15px);
    }
    
    .language-dropdown.show {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    
    .language-dropdown a {
        padding: 18px 24px;
        font-size: 15px;
        justify-content: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .phone-mockup {
        display: none;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .language-selector {
        margin-top: 0.8rem;
    }
    
    .language-btn {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 30px;
    }
    
    .language-dropdown {
        min-width: 200px;
        left: 50%;
        transform: translateX(-50%) translateY(-15px) scale(0.95);
    }
    
    .language-dropdown.show {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    
    .language-dropdown a {
        padding: 16px 20px;
        font-size: 14px;
    }
}
