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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.linkedin-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.linkedin-link:hover {
    color: #ffffff;
}

.linkedin-link svg {
    width: 20px;
    height: 20px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: #888888;
}

/* Products */
.products {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.app-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
}

.product-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.platform {
    font-size: 0.875rem;
    color: #888888;
    margin-bottom: 1rem;
}

.description {
    color: #a0a0a0;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.app-store-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    color: #000000;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.product-card:hover .app-store-badge {
    background: #e0e0e0;
}

/* Portfolio Timeline */
.portfolio {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.portfolio h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.portfolio-subtitle {
    text-align: center;
    color: #888888;
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    transform: translateX(-5px);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.timeline-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.timeline-date {
    font-size: 0.85rem;
    color: #888888;
}

.timeline-role {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 0.75rem;
}

.timeline-note {
    font-size: 0.85rem;
    color: #666666;
    font-style: italic;
}

.timeline-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.app-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.app-link svg {
    opacity: 0.6;
}

.app-icon-small {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.inline-link {
    color: #a0a0a0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.inline-link:hover {
    color: #ffffff;
}

.rebrand-note {
    color: #888888;
    font-size: 0.8rem;
}

.app-link.delisted {
    background: rgba(255, 255, 255, 0.03);
    cursor: default;
    opacity: 0.7;
}

.delisted-badge {
    font-size: 0.7rem;
    color: #666666;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.25rem;
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
    font-size: 0.875rem;
}

footer a {
    color: #a0a0a0;
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    header {
        padding: 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .portfolio {
        padding: 3rem 1rem;
    }

    .portfolio h2 {
        font-size: 1.5rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-marker {
        left: -1.5rem;
    }

    .timeline-header {
        flex-direction: column;
        gap: 0.25rem;
    }
}
