/* Home page specific styles */
body {
    margin: 0;
    padding: 0;
    background: var(--depth-1);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.hero-section {
    text-align: center;
    padding: 100px 20px 80px;
    background: var(--depth-2);
    color: var(--foam-1);
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 0;
    text-shadow: none;
}

.hero-tagline {
    font-size: 1.4rem;
    margin-bottom: 25px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 400px;
    margin: 0 auto;
}

.hero-btn {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    flex: 1;
    min-width: 120px;
}

.hero-btn.primary {
    background: var(--depth-3);
    color: var(--current-1);
    border: 2px solid var(--current-1);
}

.hero-btn.secondary {
    background: color-mix(in srgb, var(--depth-3) 82%, transparent);
    color: var(--foam-1);
    border: 2px solid var(--depth-4);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--depth-1) 80%, transparent);
}

.features-section {
    padding: 0 20px 80px;
    background: var(--depth-1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
}

.feature-card {
    background: var(--depth-3);
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid var(--depth-4);
    box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--depth-1) 80%, transparent);
    text-align: left;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--depth-4) 30%, transparent);
    border-color: var(--current-2);
}

.feature-icon {
    display: none; /* Hide emojis as requested */
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--salt);
    position: relative;
}

.feature-title::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--current-1);
    border-radius: 2px;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--foam-2);
    margin: 0;
}

.security-highlight {
    background-color: color-mix(in srgb, var(--coral) 15%, var(--depth-3));
    border: 2px solid var(--coral);
}

.security-highlight:hover {
    border-color: color-mix(in srgb, var(--coral) 75%, var(--salt));
}

.security-highlight .feature-title::before {
    background: var(--coral);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--foam-1);
}

.home-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Footer Section */
.footer-section {
    background-color: var(--depth-2);
    padding: 20px 0 30px;
    text-align: center;
    border-top: 1px solid var(--depth-4);
}

.github-link-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.github-link {
    font-size: 0.85rem;
    color: var(--foam-2);
    margin: 0;
}

.github-link a {
    color: var(--foam-1);
    text-decoration: underline;
    font-weight: 500;
}

.github-link a:hover {
    color: var(--foam-1);
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 2rem;
        padding: 30px 0 10px 0;
    }
    
    .features-section {
        padding: 0 10px 60px;
    }
}

/* Share List Styles */
.share-list-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.share-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-list-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--foam-1);
    margin: 0;
}

.share-list-refresh {
    padding: 10px 20px;
    background-color: var(--coral);
    color: var(--salt);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.share-list-refresh:hover {
    background-color: color-mix(in srgb, var(--coral) 80%, var(--depth-1));
    transform: translateY(-1px);
}

.share-list-container {
    background-color: var(--depth-3);
    border-radius: 12px;
    border: 1px solid var(--depth-4);
    box-shadow: 0 2px 8px color-mix(in srgb, var(--depth-1) 80%, transparent);
    overflow: hidden;
}

.share-item {
    padding: 20px;
    border-bottom: 1px solid var(--depth-4);
    transition: background 0.2s ease;
}

.share-item:last-child {
    border-bottom: none;
}

.share-item:hover {
    background-color: var(--depth-2);
}

.share-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.share-item-info {
    flex: 1;
}

.share-item-id {
    font-size: 0.9rem;
    color: var(--foam-2);
    font-family: 'Courier New', monospace;
    margin-bottom: 4px;
}

.share-item-file {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foam-1);
    margin-bottom: 8px;
}

.share-item-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--foam-2);
}

.share-item-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.share-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.share-action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.share-action-btn.copy {
    background-color: var(--current-1);
    color: var(--salt);
}

.share-action-btn.copy:hover {
    background-color: var(--current-2);
}

.share-action-btn.revoke {
    background-color: var(--phosphor);
    color: var(--depth-1);
}

.share-action-btn.revoke:hover {
    background: color-mix(in srgb, var(--phosphor) 82%, var(--depth-1));
}

.share-action-btn.delete {
    background-color: var(--coral);
    color: var(--salt);
}

.share-action-btn.delete:hover {
    background-color: var(--coral);
}

.share-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.share-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.share-status-badge.active {
    background-color: color-mix(in srgb, var(--biolum) 15%, var(--depth-3));
    color: var(--biolum);
}

.share-status-badge.revoked {
    background-color: color-mix(in srgb, var(--coral) 15%, var(--depth-3));
    color: var(--coral);
}

.share-status-badge.expired {
    background-color: var(--depth-4);
    color: var(--foam-1);
}

.share-list-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--foam-2);
}

.share-list-empty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.share-list-empty-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.share-list-error {
    padding: 20px;
    background-color: color-mix(in srgb, var(--coral) 15%, var(--depth-3));
    border: 1px solid var(--coral);
    border-radius: 8px;
    color: var(--coral);
    margin-bottom: 20px;
}

.share-list-loading {
    padding: 40px;
    text-align: center;
    color: var(--foam-2);
}

@media (max-width: 768px) {
    .share-list-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .share-item-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .share-item-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .share-action-btn {
        flex: 1;
    }
    
    .share-item-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 15px 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .share-list-section {
        padding: 0 10px;
    }
    
    .share-item {
        padding: 15px;
    }
    
    .share-item-actions {
        flex-direction: column;
    }
}
