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

:root {
    --bg: #f6f4fb;
    --surface: #ffffff;
    --text: #2d2d3a;
    --text-secondary: #555570;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --accent-bg: #f3f0ff;
    --border: #e8e5f0;
    --gradient-start: #7c3aed;
    --gradient-mid: #a855f7;
    --gradient-end: #ec4899;
    --card-shadow: 0 1px 3px rgba(124, 58, 237, 0.06), 0 4px 16px rgba(124, 58, 237, 0.04);
    --card-hover-shadow: 0 4px 12px rgba(124, 58, 237, 0.1), 0 8px 32px rgba(124, 58, 237, 0.06);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 0 48px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

img.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    display: block;
}

div.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 24px;
    margin: 0 auto 24px;
    line-height: 1;
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.tagline {
    font-size: 16px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 16px;
}

.bio {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 480px;
    margin: 0 auto 28px;
}

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

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-btn:hover {
    border-color: var(--accent-light);
    color: var(--accent);
    background: var(--accent-bg);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

/* Sections */
h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.apps {
    margin-bottom: 56px;
}

.app-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    gap: 24px;
    transition: all 0.2s ease;
    box-shadow: var(--card-shadow);
}

.app-card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-2px);
    border-color: var(--accent-light);
}

img.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    flex-shrink: 0;
    object-fit: cover;
}

div.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plnr-icon {
    background: linear-gradient(135deg, #9b8ec4, #b8a9d4);
    color: white;
}

.sya-icon {
    background: linear-gradient(135deg, #9b8ec4, #b8a9d4);
    color: white;
}

.app-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.app-name-link {
    color: inherit;
    text-decoration: none;
}

.app-name-link:hover {
    color: var(--accent);
}

.app-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.55;
}

.app-platforms {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.platform-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--accent-bg);
    color: var(--accent);
}

.app-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.store-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all 0.2s ease;
}

.store-link:hover {
    color: var(--accent);
    border-color: var(--accent-light);
    background: var(--accent-bg);
}

/* About */
.about {
    margin-bottom: 56px;
}

.about p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* App sub-pages */
.app-hero {
    text-align: center;
    padding: 80px 0 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.back-link {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--accent);
}

img.app-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 4px;
    display: block;
}

div.app-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.app-tagline {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.app-description {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    background: var(--accent);
    transition: all 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.download-btn.webapp {
    background: var(--surface);
    color: var(--accent);
    border: 1px solid var(--border);
}

.download-btn.webapp:hover {
    border-color: var(--accent-light);
    background: var(--accent-bg);
    box-shadow: var(--card-hover-shadow);
}

.plnr-buttons .download-btn {
    background: #5ba896;
}

.plnr-buttons .download-btn:hover {
    box-shadow: 0 4px 12px rgba(91, 168, 150, 0.3);
}

.plnr-buttons .download-btn.webapp {
    background: var(--surface);
    color: #5ba896;
    border: 1px solid var(--border);
}

.plnr-buttons .download-btn.webapp:hover {
    border-color: #5ba896;
    background: #f0faf7;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 32px 0 48px;
    border-top: 1px solid var(--border);
}

footer p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Mobile */
@media (max-width: 600px) {
    .hero {
        padding: 56px 0 36px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .app-card {
        flex-direction: column;
        gap: 16px;
        padding: 22px;
    }

    .app-icon {
        width: 56px;
        height: 56px;
    }

    .app-links {
        gap: 8px;
    }

    .store-link {
        font-size: 12px;
        padding: 6px 12px;
    }
}
