/* Modern CSS Reset */
* {
    box-sizing: border-box;
}

body::after {
    content: "";
    background: url('images/unjam_logo.png') top left no-repeat;
    background-size: contain;
    opacity: 0.05;
    top: 100px;
    left: 20px;
    bottom: 10px;
    right: 0;
    position: fixed;
    z-index: -1;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ECEFF1;
    color: #37474F;

}

.title-container {
    position: fixed;
    top: 0;
    width: 100%;
    background: #607D8B;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.title-container h1 {
    margin: 0;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1000px;
    margin: 120px auto 50px;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

h2 {
    color: #455A64;
    font-size: 2rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem 0;
    letter-spacing: -0.5px;
}

h2:first-of-type {
    margin-top: 0;
    font-size: 2.5rem;
    text-align: center;
    color: #37474F;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

p {
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

ul {
    text-align: left;
    margin: 1.5rem 0;
}

li {
    margin-bottom: 0.8rem;
    color: #4a5568;
    font-size: 1.05rem;
}

b {
    color: #37474F;
    font-weight: 600;
}

.screenshots {
    margin: 3rem 0;
}

.screenshots img {
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
    border-radius: 12px;
}

.screenshot-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: center;
    margin-top: 2rem;
}

.main-screenshot {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 350px;
}

.main-screenshot img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.main-screenshot img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.main-screenshot-text {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #455A64;
}

.thumbnail-list {
    width: 220px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.thumbnail {
    width: 100%;
    max-width: 100px;
    cursor: pointer;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.thumbnail:hover {
    opacity: 0.9;
    transform: scale(1.05);
    border-color: #607D8B;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Links Styling */
a {
    color: #607D8B;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

a:hover {
    color: #455A64;
    text-decoration: underline;
}

/* Feature List Styling */
ul {
    padding-left: 0;
    list-style: none;
}

li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #48bb78;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 100px 20px 30px;
        padding: 40px 25px;
        border-radius: 15px;
    }

    .title-container h1 {
        font-size: 1.5rem;
    }

    h2:first-of-type {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .screenshot-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .thumbnail-list {
        width: 100%;
        max-width: 300px;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
    }

    .main-screenshot {
        order: -1;
    }

    .store-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .store-links img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    .thumbnail-list {
        grid-template-columns: repeat(2, 1fr);
    }

    p,
    li {
        font-size: 1rem;
    }
}

.store-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.store-links a {
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
}

.store-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.store-links img {
    height: 60px;
    width: auto;
    display: block;
}