:root {
        --font-family: "Lato", sans-serif;
        --background: #FFFFFF;
        --text-primary: #1A1A1A;
        --text-secondary: #5A5A5A;
        --primary: #36454F;
        --secondary: #F5F5F5;
    }
@font-face {
        font-family: 'Lato';
        src: url('../fonts/Lato/Lato-Bold.ttf') format('truetype');
        font-weight: 700;
        font-style: normal;
        }

@font-face {
        font-family: 'Lato';
        src: url('../fonts/Lato/Lato-Regular.ttf') format('truetype');
        font-weight: 400;
        font-style: normal;
        }
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--background) 0%, color-mix(in srgb, var(--background) 95%, var(--secondary)) 100%);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    line-height: 1.6;
}

.app-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--secondary);
    box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

/* Hero Header with Glassmorphism */
.hero-header {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.top-nav {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.purchases-badge {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.25rem 0 0 0;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    max-width: 420px;
    width: 100%;
    animation: float 4s ease-in-out infinite;
}

.hero-cta {
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--text-secondary));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.cta-button:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Main Content */
.main-content {
    padding: 4rem 2rem;
    background: var(--secondary);
}

section {
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease-out;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--text-secondary));
    border-radius: 2px;
}

.description {
    overflow-wrap: break-word;
}

.description p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* Carousel Styles */
.carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.carousel__track {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.carousel__track::-webkit-scrollbar {
    height: 10px;
}

.carousel__track::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary), var(--text-secondary));
    border-radius: 5px;
}

.carousel__track::-webkit-scrollbar-track {
    background: var(--background);
    border-radius: 5px;
}

.carousel__track div {
    margin-right: 12px;
    flex-shrink: 0;
    scroll-snap-align: start;
    height: 100%;
}

.carousel__track div img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.carousel__track div img:hover {
    transform: scale(1.02);
}

.download_button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--text-secondary));
    border: none;
    padding: 1rem 2.5rem;
    color: white;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    margin: 2rem auto;
}

.download_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, var(--text-secondary), var(--primary));
    color: white;
    padding: 3rem 2rem 2rem;
}

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

.footer-accordion {
    margin-bottom: 2rem;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.accordion-header span {
    font-size: 1.1rem;
    font-weight: 600;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.3s ease-out;
}

.accordion-content p {
    margin: 0.5rem 0;
    line-height: 1.8;
}

.accordion-content a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.accordion-content a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Read More Functionality */
#about.description p {
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative;
}

#about.description.collapsed p {
    max-height: 30dvh;
}

#about.description.collapsed p::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3rem;
    background: linear-gradient(to top, var(--secondary), rgba(255, 255, 255, 0));
}

#about.description .read-more {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--primary);
    cursor: pointer;
    text-align: center;
    user-select: none;
    transition: color 0.2s ease;
    font-weight: 600;
}

#about.description .read-more:hover {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top-nav {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

    .hero-header {
        min-height: 500px;
        padding: 1.5rem;
    }

    .hero-card {
        padding: 2rem;
    }

    .main-content {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .app-wrapper {
        border-radius: 0;
    }

    .brand-title {
        font-size: 1.5rem;
    }

    .nav-logo {
        width: 60px;
        height: 60px;
    }

    .hero-header {
        min-height: 400px;
        padding: 1rem;
    }

    .hero-card {
        padding: 1.5rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .carousel__track div img {
        height: 300px;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 1.25rem;
    }

    .hero-header {
        min-height: 350px;
    }

    .hero-card {
        padding: 1.25rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .carousel__track div img {
        height: 250px;
    }
}

#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    width: 80%;
    max-width: 520px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    font-family: system-ui, sans-serif;
    z-index: 9999;
}

#cookie-banner.hidden {
    display: none;
}

#cookie-banner h2 {
    margin-top: 0;
    font-size: 18px;
}

#cookie-banner p {
    font-size: 14px;
    margin: 0 0 10px;
    line-height: 1.5;
}

#cookie-categories label {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 14px;
}

#cookie-categories input {
    margin-right: 8px;
}

#cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

button {
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

#accept-all {
    background: #007bff;
    color: #fff;
}

#reject-all {
    background: #e0e0e0;
    color: #333;
}

#save-preferences {
    background: #4caf50;
    color: #fff;
}

#manage-cookies {
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
    margin-top: 6px;
}

#cookie-settings {
    display: none;
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 480px;
    width: 80%;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
}

#cookie-settings.active {
    display: block;
    color: #333;
}

#cookie-settings h3 {
    margin-top: 0;
}

#open-cookie-settings {
    background: transparent;
    margin-top: 1rem;
}

.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.accordion-header {
    background-color: #f7f7f7;
    padding: 10px 15px;
    width: 100%;
    text-align: left;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.accordion-header:hover {
    background-color: #eee;
}

.accordion-content {
    display: none;
    padding: 10px 15px;
    background-color: #fff;
}

.accordion-content p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
}

.accordion-content label {
    font-size: 14px;
}

.accordion-header[aria-expanded="true"] + .accordion-content {
    display: block;
}

#cookie-buttons {
    margin-top: 15px;
}

#save-preferences {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

#save-preferences:hover {
    background-color: #0056b3;
}
