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

body {
    font-family: 'Inter', sans-serif;
    background-color: #EFE9FF;
    color: #1F2937;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden; /* Prevent scrolling to fit all in one screen */
}

.background {
    position: fixed;
    top: -5%; /* Move background up */
    left: 0;
    width: 100%;
    height: 105%;
    background-image: url('assets/bg.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}

.main-content {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2vh 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    margin-bottom: 1vh;
    padding-top: 3vh;
    flex-shrink: 0;
}

.tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #8B5CF6;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0px;
    color: #111827;
    letter-spacing: -0.03em;
}

.hero-title .highlight {
    color: #8B5CF6;
}

.hero-subtitle {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 20px;
    flex-grow: 1;
    padding-bottom: 2vh;
    margin-top: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px -10px rgba(124, 58, 237, 0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.header-left {
    display: flex;
    gap: 16px;
}

.header-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.card-subtitle {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.4;
}

.view-all {
    font-size: 13px;
    color: #7C3AED;
    text-decoration: none;
    font-weight: 500;
}

.items-row {
    margin-bottom: 16px;
    flex: 1;
}

.screenshots-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.logos-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.image-box {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.screenshot-box {
    aspect-ratio: 16 / 9;
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.screenshot-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.logo-box {
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 24px;
}

.logo-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}



.purple-bg {
    background: #7C3AED;
    border: none;
}

.item-name {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-meta {
    font-size: 11px;
    color: #6B7280;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    background: transparent;
    color: #7C3AED;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.download-btn:hover {
    background: rgba(124, 58, 237, 0.05);
}

/* Placeholders for logos/icons */
.logo-placeholder {
    width: 36px;
    height: 36px;
    background: #7C3AED;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L14.5 9.5L22 12L14.5 14.5L12 22L9.5 14.5L2 12L9.5 9.5L12 2Z"/></svg>') center/contain no-repeat;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L14.5 9.5L22 12L14.5 14.5L12 22L9.5 14.5L2 12L9.5 9.5L12 2Z"/></svg>') center/contain no-repeat;
}
.color-logo { background: linear-gradient(135deg, #7C3AED, #EC4899); }
.purple-logo { background: #7C3AED; }
.black-logo { background: #000; }
.white-logo { background: #fff; }

.app-icon-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(124, 58, 237, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-icon-placeholder::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: #7C3AED;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L14.5 9.5L22 12L14.5 14.5L12 22L9.5 14.5L2 12L9.5 9.5L12 2Z"/></svg>') center/contain no-repeat;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2L14.5 9.5L22 12L14.5 14.5L12 22L9.5 14.5L2 12L9.5 9.5L12 2Z"/></svg>') center/contain no-repeat;
}
.app-icon-placeholder.alt { background: #7C3AED; }
.app-icon-placeholder.alt::after { background: #fff; }
.app-icon-placeholder.web { border-radius: 50%; }


.illus-placeholder {
    width: 48px;
    height: 48px;
    background: #EFE9FF;
    border-radius: 50%;
}


/* Simple footer */
.simple-footer {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 4vh;
    font-size: 15px;
    color: #6B7280;
}

.footer-link {
    font-size: 15px;
    font-weight: 600;
    color: #7C3AED;
    text-decoration: none;
}

.screenshot-box {
    aspect-ratio: 3 / 4;
    background: rgba(255,255,255,0.8);
    background-image: linear-gradient(to bottom, #f3f4f6, #e5e7eb);
}
