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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
    font-family: 'Poppins', sans-serif;
}

@media (min-width: 768px) {
    .navbar {
        height: 80px;
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .nav-container {
        padding: 0;
    }
}

.nav-logo .logo-img {
    height: 32px;
}

@media (min-width: 768px) {
    .nav-logo .logo-img {
        height: 40px;
    }
}

.nav-menu {
    display: none;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    margin-left: 112px;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 48px;
}

.nav-link {
    text-decoration: none;
    color: #3364A7;
    font-size: 20px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #193D6D;
}

.navbar:not(.scrolled) .nav-link {
    color: #3364A7;
}

.navbar:not(.scrolled) .nav-link:hover {
    color: #e5e5e5;
}

.navbar:not(.scrolled) .nav-link.active {
    color: #193D6D;
}

.nav-auth {
    display: flex;
    gap: 16px;
}

.btn-login,
.btn-signup {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-login {
    background: transparent;
    color: #3364A7;
    border: 1px solid transparent;
}

.btn-login:hover {
    color: #193D6D;
}

.btn-signup {
    background: #3364A7;
    color: white;
    border: 1px solid #3364A7;
}

.btn-signup:hover {
    background: #193D6D;
    border-color: #193D6D;
}

.navbar:not(.scrolled) .btn-login {
    color: white;
    border: 1px solid white;
}

.navbar:not(.scrolled) .btn-login:hover {
    background: white;
    color: #3364A7;
}

.navbar:not(.scrolled) .btn-signup {
    background: white;
    color: #3364A7;
    border: 1px solid white;
}

.navbar:not(.scrolled) .btn-signup:hover {
    background: #e5e5e5;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #3364A7;
    cursor: pointer;
    transition: color 0.3s ease;
}

.navbar:not(.scrolled) .mobile-menu-btn {
    color: white;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 80px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    text-decoration: none;
    color: #3364A7;
    font-size: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #193D6D;
}

.mobile-auth-buttons {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-btn-login,
.mobile-btn-signup {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-btn-login {
    background: transparent;
    color: #3364A7;
    border: 1px solid #3364A7;
}

.mobile-btn-login:hover {
    background: #3364A7;
    color: white;
}

.mobile-btn-signup {
    background: #3364A7;
    color: white;
}

.mobile-btn-signup:hover {
    background: #193D6D;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135.63deg, #7B7C81 7.57%, #EBE0DA 75.28%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 550px;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-image.active {
    opacity: 1;
}

.hero-image.slide-in {
    animation: slideInFromRight 1s ease-in-out;
}

.hero-image.slide-out {
    animation: slideOutToLeft 1s ease-in-out;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutToLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100px);
    }
}

.hero-content {
    position: absolute;
    left: 50%;
    top: 33%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-family: 'Julius Sans One', cursive;
    font-size: 70px;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1;
}

.hero-subtitle {
    font-family: 'Inspiration', cursive;
    font-size: 85px;
    margin-bottom: 20px;
    line-height: 1;
}

.hero-download-btn {
    background: #12233A;
    color: white;
    padding: 8px 40px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-download-btn:hover {
    background: #0a1625;
}

/* Features Section */
.features {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    padding: 80px 0 32px;
    width: 100%;
}

.features-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
}

.features-title {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
    margin-bottom: 0;
}

.features-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: white;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1160px;
    height: 223px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 80px;
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 660px;
    height: 165px;
    border-radius: 80px;
    background: rgba(163, 163, 163, 0.2);
    backdrop-filter: blur(13.46px);
}

.feature-name {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

/* Popular Categories Section */
.popular {
    padding: 40px 0 20px;
    font-family: 'Poppins', sans-serif;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popular-container {
    width: 100%;
    max-width: 1460px;
    padding: 0 16px;
}

.popular-title {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
    margin-bottom: 32px;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    padding: 16px;
}

.category-item {
    width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-image-container {
    width: 360px;
    height: 453px;
    margin-bottom: 16px;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.53);
    border-radius: 126px;
}

.category-name {
    text-align: center;
    padding: 8px 0;
    font-size: 24px;
    font-weight: 500;
}

/* Download Section */
.download {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
}

.download-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 80px;
    color: white;
    z-index: 10;
}

.download-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.download-badge {
    background: rgba(59, 53, 53, 0.95);
    backdrop-filter: blur(14.46px);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
}

.download-text {
    text-align: right;
}

.download-title {
    font-size: 70px;
    font-weight: bold;
    line-height: 1;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 53, 53, 0.95);
    backdrop-filter: blur(14.46px);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 220px;
    justify-content: center;
}

.download-btn:hover {
    background: rgba(59, 53, 53, 0.8);
}

.store-icon {
    width: 36px;
    height: 36px;
}

.store-small {
    font-size: 13px;
}

.store-large {
    font-size: 18px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #5D5D7B;
    color: white;
    font-family: 'Inter', sans-serif;
    padding: 40px 0 32px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-container {
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.footer-brand-logo {
    max-width: 120px;
    height: auto;
}

.footer-section {
    text-align: center;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #D5DDE9CC;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e5e5e5;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #D5DDE9CC;
    font-size: 14px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 20px;
    height: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.8;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
}

.credit-highlight {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar {
        height: 64px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 35px;
    }
    
    .hero-subtitle {
        font-size: 52px;
    }
    
    .hero-download-btn {
        font-size: 10px;
        padding: 4px 20px;
    }
    
    .hero-image-container {
        height: 420px;
    }
    
    /* Features Mobile */
    .features {
        padding: 32px 0;
    }
    
    .features-title {
        font-size: 24px;
    }
    
    .features-list {
        gap: 16px;
    }
    
    .feature-item {
        width: 310px;
        height: 80px;
        border-radius: 80px;
    }
    
    .feature-content {
        width: 240px;
        height: 60px;
        border-radius: 80px;
    }
    
    .feature-name {
        font-size: 15px;
    }
    
    .feature-desc {
        font-size: 12px;
    }
    
    /* Popular Mobile */
    .popular {
        padding: 20px 0;
    }
    
    .popular-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .categories-grid {
        gap: 8px;
        padding: 4px;
    }
    
    .category-item {
        width: 85px;
    }
    
    .category-image-container {
        width: 85px;
        height: 85px;
        margin-bottom: 8px;
    }
    
    .category-image {
        border-radius: 50%;
    }
    
    .category-name {
        font-size: 7px;
        padding: 8px 0;
    }
    
    .download {
        height: auto;
        position: relative;
        overflow: hidden;
    }

    .download-bg {
        position: relative;
        width: 100%;
        height: auto;
    }
    
    .download-bg-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
    
    .download-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 20px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        z-index: 10;
    }
    
    .download-title {
        font-size: 12px;
    }
    
    .download-text {
        text-align: right;
    }
    
    .download-badge {
        font-size: 8px;
        padding: 4px 8px;
    }
    .download-text-container {
        gap: 10px;
        max-width: 50%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    
    .download-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: flex-end;
    }
    
    .download-btn {
        width: 126px;
        padding: 2px 4px;
        flex-direction: row;
        text-align: left;
        gap: 4px;
        align-items: center;
    }
    
   
    
    .store-icon {
        width: 20px;
        height: 20px;
    }
    
    .store-small {
        font-size: 8px;
    }
    
    .store-large {
        font-size: 8px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-logo-section {
        align-items: center;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    .contact-item {
        justify-content: center;
        font-size: 12px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        font-size: 10px;
    }
}
