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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f7;
    color: #1d1d1f;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #0071e3;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #0077ed;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: relative;
    padding: 100px 24px 60px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.header-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 24px;
    letter-spacing: 1px;
}

header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 28px;
}

.header-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.header-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, transform 0.2s;
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-1px);
}

/* Section header */
.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #d2d2d7, transparent);
}

/* Apps */
.apps {
    padding: 64px 24px 80px;
}

.apps-grid {
    display: grid;
    gap: 20px;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border: 1px solid #e5e5e7;
    border-radius: 20px;
    padding: 28px 32px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
    color: inherit;
}

.app-card:hover .app-arrow {
    transform: translateX(4px);
    opacity: 1;
}

.app-icon-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(145deg, #f7c948, #ee8a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(238, 138, 42, 0.35);
}

.app-info {
    flex: 1;
    min-width: 0;
}

.app-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.app-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
}

.app-info p {
    font-size: 0.95rem;
    color: #6e6e73;
    margin-bottom: 12px;
    line-height: 1.5;
}

.app-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #764ba2;
    background: #f0e6f6;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #86868b;
    background: #f5f5f7;
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid #e5e5e7;
}

.app-arrow {
    color: #c7c7cc;
    flex-shrink: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.5;
}

/* Footer */
footer {
    padding: 32px 24px;
    background: #fff;
    border-top: 1px solid #e5e5e7;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 860px;
    margin: 0 auto;
}

footer p {
    color: #aeaeb2;
    font-size: 0.85rem;
}

footer a {
    color: #aeaeb2;
    font-size: 0.85rem;
    transition: color 0.2s;
}

footer a:hover {
    color: #6e6e73;
}

/* Responsive */
@media (max-width: 600px) {
    header {
        padding: 72px 16px 48px;
    }
    header h1 {
        font-size: 2rem;
    }
    .avatar {
        width: 64px;
        height: 64px;
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    .app-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .app-title-row {
        justify-content: center;
    }
    .app-tags {
        justify-content: center;
    }
    .app-icon-placeholder {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    .app-arrow {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
