/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #172B4D;
    background-color: #FAFBFC;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
}

/* Container */
.container {
    max-width: 480px;
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #DFE1E6;
    border-radius: 8px;
    padding: 2rem;
    margin: 0 auto;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.profile-image {
    margin-bottom: 1rem;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #DFE1E6;
    object-fit: cover;
}

.name {
    font-size: 1.75rem;
    font-weight: 600;
    color: #172B4D;
    margin-bottom: 0.5rem;
}

.bio {
    font-size: 1rem;
    color: #5E6C84;
    font-weight: 400;
    max-width: 300px;
    margin: 0 auto;
}

/* Links Section */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #172B4D;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #DFE1E6;
}

/* Link Items */
.link-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #DFE1E6;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    background-color: #FFFFFF;
}

.link-item:hover {
    border-color: #0052CC;
    background-color: #F4F5F7;
}

.link-item:active {
    transform: translateY(1px);
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: #F4F5F7;
    color: #5E6C84;
    margin-right: 1rem;
    flex-shrink: 0;
}

.link-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.link-title {
    font-size: 1rem;
    font-weight: 500;
    color: #172B4D;
    line-height: 1.3;
}

.link-description {
    font-size: 0.875rem;
    color: #5E6C84;
    line-height: 1.3;
}

/* Product Section Specific */
.product-group {
    margin-bottom: 1rem;
}

.product-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.product-icon img {
    border-radius: 6px;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #172B4D;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.product-description {
    font-size: 0.875rem;
    color: #5E6C84;
    margin-bottom: 0;
    line-height: 1.3;
}

.product-links {
    display: flex;
    flex-direction: column;
}

/* Responsive Design */
@media (max-width: 640px) {
    body {
        padding: 0;
        margin: 0;
    }
    
    .container {
        padding: 1.5rem;
        border: none;
        border-radius: 0;
        min-height: 100vh;
        max-width: none;
        width: 100vw;
        margin: 0;
    }
    
    .name {
        font-size: 1.5rem;
    }
    
    .bio {
        font-size: 0.9rem;
    }
    
    .link-item {
        padding: 0.875rem;
    }
    
    .link-icon {
        width: 36px;
        height: 36px;
        margin-right: 0.875rem;
    }
    
    
    .product-icon {
        width: 50px;
        height: 50px;
        margin-right: 0.875rem;
    }
}

@media (max-width: 480px) {
    .profile-image img {
        width: 100px;
        height: 100px;
    }
    
    .name {
        font-size: 1.375rem;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    .product-name {
        font-size: 1.125rem;
    }
}

/* Focus states for accessibility */
.link-item:focus {
    outline: 2px solid #0052CC;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .container {
        border-width: 2px;
    }
    
    .link-item {
        border-width: 2px;
    }
    
    .link-item:hover {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .link-item {
        transition: none;
    }
    
    .link-item:active {
        transform: none;
    }
}